Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Propositional formula
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Substitution versus replacement === '''Substitution''': The variable or sub-formula to be substituted with another variable, constant, or sub-formula must be replaced in all instances throughout the overall formula. : Example: (c & d) ∨ (p & ~(c & ~d)), but (q1 & ~q2) β‘ d. Now wherever variable "d" occurs, substitute (q<sub>1</sub> & ~q<sub>2</sub>): :: (c & (q<sub>1</sub> & ~q<sub>2</sub>)) ∨ (p & ~(c & ~(q<sub>1</sub> & ~q<sub>2</sub>))) '''Replacement''': (i) the formula to be replaced must be within a tautology, i.e. ''logically equivalent'' ( connected by β‘ or β) to the formula that replaces it, and (ii) unlike substitution its permissible for the replacement to occur only in one place (i.e. for one formula). : Example: Use this set of formula schemas/equivalences: :# ( (a ∨ 0) β‘ a ). :# ( (a & ~a) β‘ 0 ). :# ( (~a ∨ b) =<sub>Df</sub> (a β b) ). :# <li value="6"> ( ~(~a) β‘ a )</li> :{{ordered list|list-style-type=lower-alpha | start with "a": a | Use 1 to replace "a" with (a ∨ 0): (a ∨ 0) | Use the notion of "schema" to substitute b for a in 2: ( (a & ~a) β‘ 0 ) | Use 2 to replace 0 with (b & ~b): ( a ∨ (b & ~b) ) | (see below for how to distribute "a ∨" over (b & ~b), etc.) }}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)