Propositional formula: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Impredicative propositions: change the word "complex" to "compound"
Line 64: Line 64:


This is an example of the [[paradox]]es that result from an [[impredicative definition]] -- that is, when an object m has a property P, but the object m is defined in terms of property P. <ref>This definition is given by [[Stephen Kleene]]. Both [[Kurt Gödel]] and Kleene believed that the classical paradoxes are uniformly examples of this sort of definition. But Kleene went on to assert that the problem has not been solved satisfactorily and impredicative definitions can be found in [[analysis]]. He gives as example the definition of the [[least upper bound]] (l.u.b) '''u''' of '''M'''. Given a [[Dedekind cut]] of the number line '''C''' and the two parts into which the number line is cut, i.e. '''M''' and ('''C''' - '''M'''), l.u.b. = '''u''' is defined in terms of the notion '''M''', whereas '''M''' is defined in terms of '''C'''. Thus the definition of '''u''', an element of '''C''', is defined in terms of the totality '''C''' and this makes its definition impredicative. Kleene asserts that attempts to argue this away can be used to uphold the impredicative definitions in the paradoxes.(Kleene 1952:43).</ref> The best advice for a rhetorician or one involved in deductive analysis is avoid impredicative definitions but at the same time be aware of them when they appear. Engineers, on the other hand, put them to work in the form of propositional formulas with feedback.
This is an example of the [[paradox]]es that result from an [[impredicative definition]] -- that is, when an object m has a property P, but the object m is defined in terms of property P. <ref>This definition is given by [[Stephen Kleene]]. Both [[Kurt Gödel]] and Kleene believed that the classical paradoxes are uniformly examples of this sort of definition. But Kleene went on to assert that the problem has not been solved satisfactorily and impredicative definitions can be found in [[analysis]]. He gives as example the definition of the [[least upper bound]] (l.u.b) '''u''' of '''M'''. Given a [[Dedekind cut]] of the number line '''C''' and the two parts into which the number line is cut, i.e. '''M''' and ('''C''' - '''M'''), l.u.b. = '''u''' is defined in terms of the notion '''M''', whereas '''M''' is defined in terms of '''C'''. Thus the definition of '''u''', an element of '''C''', is defined in terms of the totality '''C''' and this makes its definition impredicative. Kleene asserts that attempts to argue this away can be used to uphold the impredicative definitions in the paradoxes.(Kleene 1952:43).</ref> The best advice for a rhetorician or one involved in deductive analysis is avoid impredicative definitions but at the same time be aware of them when they appear. Engineers, on the other hand, put them to work in the form of propositional formulas with feedback.

== Propositional formula with "feedback" ==
[[Image:Propositional formula 3.png|300px|thumb|right| Output "q" has now been "fed back" to become input "p"; "p" has been renamed "q". The resulting propositional formula contains "q" on both sides of the "equivalence" sign. But rules of arithmetic algebra are not available in this system, and another approach is required to analyze the propositional formula. This formula is a known as "clocked flip-flop" memory ("c" is the "clock" and "d" is the "data"). It works as follows: When c = 1 the data d (either 0 or 1) is "clocked into" the flip-flop and the value of the data appears at output "q". If d does not change during the time when c = 1, then when c does return to 0 the previous (clocke-in) value of d remains at output "p" even if d later changes.]]

[[Image:Propositional formula 4.png|300px|thumb|right| If one were to analyze this formula as if there were two inputs "c" and "d" and one output "p", its behavior would appear to be random, and hence undecidable: given that "c" = "d" = 0, sometimes output "p" would be 1 and other times 0. This can be resolved by bringing what used to be input "p" outside the box and connecting it to "q". Now "p" is no longer a "hidden variable".]]

The simplest case is when the output of OR feeds back into one of its inputs. Begin with (p V a) = q, then let p = q. Observe that q's "definition" in terms of the OR depends on itself as well as "a"; this definition of q is thus '''impredicative'''.

No stipulation within the theory (either the axiomatic or truth-table systems of objects and relations) forbids this from happening. The following illustrates what happens when a formula derives one of its inputs e.g. “p” from its output e.g. “q”.
: Example: ( ( c & d ) V ( p & ( ~( d ) & ~( c ) ) ) ) = q, but now let p = q
: ( ( c & d ) V ( '''q''' & ( ~( d ) & ~( c ) ) ) ) = '''q'''

Either of two conditions can result<ref>More precisely, given enough "loop gain", either oscillation or memory will occur. In idealized mathematical systems adequate loop gain is not a problem.</ref>: (1) oscillation, (2) memory:
:(1) Oscillation: Without the notion of “delay”, this condition presents itself as undecidability; neither { T, F }, (or { ON, OFF }, { 1, 0 }, etc) can be determined. With delay the condition presents itself as alternating values e.g. TFTFTFTF...TF, or 1010101010..., ''ad infinitum''.

:(2) Memory: Without delay inconsitencies must be eliminated from a truth table analysis. With the notion of “delay”, this condition presents itself as a momentary inconsistency between the fed-back output variable q is acting as an input (e.g. p = q). But the overall formula remains consitent.
'''Analysis''': A truth table can reveal the rows where inconsistencies occur between q at the input and q at the output. The analysis proceeds in the conventional manner after "breaking the line" (cf Mcklusky p. 194-5). In every row the output q is compared to the now-independent input p and any inconsistencies between p and q are noted (i.e. p = 0 and q = 1, p = 1 and q = 0; when the "line" is "remade" both are rendered impossible by the Law of contradiction ~(p & ~p)). Rows revealing inconsistences are either considered '''transient states''' (McCluskey) or just eliminated as inconsistent and hence "impossible".
{|{{prettytable}}
|- style="font-size:9pt"
| width="20.25" Height="24" align="center" |
| width="33" align="center" | motor ON
| width="33" align="center" | door closed
| width="28.5" align="center" | clock active
| width="14.25" align="center" |
| width="14.25" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="14.25" align="center" |
| width="29.25" align="center" | motor ON
| width="12" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="11.25" align="center" |
| width="11.25" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="19.5" align="center" |
| width="12.75" align="center" |
| width="19.5" align="center" |
| width="14.25" align="center" |
| width="14.25" align="center" |
| width="14.25" align="center" |
| width="14.25" align="center" |
| width="14.25" align="center" |
| width="301.5" valign="bottom" |

|- style="font-size:9pt"
| Height="24" align="center" |
| align="center" | picnic
| align="center" | nice day
| align="center" | noon
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" | picnic
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| valign="bottom" |

|- style="font-size:9pt"
| Height="12" align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="background-color:#DBE5F1" align="center" | s
| align="center" |
| align="center" |
|style="background-color:#FDE9D9;font-weight:bold" align="center" | q
| align="center" |
| align="center" |
|style="background-color:#DBE5F1" align="center" | q1
|style="background-color:#EAF1DD" align="center" | r~
| align="center" |
| align="center" |
| align="center" |
|style="background-color:#DBE5F1" align="center" | r
|style="background-color:#EAF1DD" align="center" | d~
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| |

|- style="font-size:9pt" align="center"
|style="background-color:#F2F2F2" Height="14.25" | row
|style="font-weight:bold" | q
|style="font-weight:bold" | d
|style="font-weight:bold" | c
|style="font-weight:bold" | (
|style="font-weight:bold" | (
|style="font-weight:bold" | c
|style="background-color:#DBE5F1;font-weight:bold" | &
|style="font-weight:bold" | d
|style="font-weight:bold" | )
|style="background-color:#FDE9D9;font-weight:bold" | V
|style="font-weight:bold" | (
|style="background-color:#FDE9D9;font-weight:bold" | q
|style="background-color:#DBE5F1;font-weight:bold" | &
|style="background-color:#EAF1DD;font-weight:bold" | ~
|style="font-weight:bold" | (
|style="font-weight:bold" | (
|style="font-weight:bold" | c
|style="background-color:#DBE5F1;font-weight:bold" | &
|style="background-color:#EAF1DD;font-weight:bold" | ~
|style="font-weight:bold" | (
|style="font-weight:bold" | d
|style="font-weight:bold" | )
|style="font-weight:bold" | )
|style="font-weight:bold" | )
|style="font-weight:bold" | )
|style="font-weight:bold" | )
|style="font-weight:bold" | Description

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 0
| align="center" | 0
| align="center" | 0
| align="center" | 0
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
| align="center" | 0
| align="center" |
|style="background-color:#FDE9D9" align="center" | 0
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" | 0
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 0.00: RESET: c is inactive and d inactive but flip-flop is reset

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 1
| align="center" | 0
| align="center" | 0
| align="center" | 1
| align="center" |
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 0
| align="center" | 0
| align="center" |
|style="background-color:#FDE9D9" align="center" | 0
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 0
| align="center" |
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 1
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" | 0
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 0.1: RESET: c is active but not d, flip-flop remains reset)

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 2
| align="center" | 0
| align="center" | 1
| align="center" | 0
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
| align="center" | 1
| align="center" |
|style="background-color:#FDE9D9" align="center" | 0
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 0
| align="center" |
| align="center" | 1
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 0.2: RESET: d is active but not c, flip-flop remains reset)

|- style="font-size:9pt"
|style="background-color:#BFBFBF;font-weight:bold" Height="12" align="center" | 3
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#FF0000" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#FF0000" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" |

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 4
| align="center" | 1
| align="center" | 0
| align="center" | 0
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
| align="center" | 0
| align="center" |
|style="background-color:#FDE9D9" align="center" | 1
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 1
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" | 0
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 1.00: SET: c is inactive & d is inactive, flip-flop is no longer being set

|- style="font-size:9pt"
|style="background-color:#BFBFBF;font-weight:bold" Height="12" align="center" | 5
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#FF0000" align="center" | 0
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#FF0000" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" | 1
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" | 0
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" align="center" |
|style="background-color:#BFBFBF" |

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 6
| align="center" | 1
| align="center" | 1
| align="center" | 0
| align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
| align="center" | 1
| align="center" |
|style="background-color:#FDE9D9" align="center" | 1
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 1
|style="background-color:#EAF1DD" align="center" | 1
|style="background-color:#EAF1DD" align="center" |
| align="center" |
| align="center" | 0
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 0
| align="center" |
| align="center" | 1
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 1.01: SET: c is inactive & d is active, flip-flop is no longer being set

|- style="font-size:9pt"
|style="background-color:#F2F2F2;font-weight:bold" Height="12" align="center" | 7
| align="center" | 1
| align="center" | 1
| align="center" | 1
| align="center" |
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 1
| align="center" | 1
| align="center" |
|style="background-color:#FDE9D9" align="center" | 1
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 1
|style="background-color:#EAF1DD" align="center" | 1
| align="center" |
| align="center" |
| align="center" | 1
|style="background-color:#DBE5F1" align="center" | 0
|style="background-color:#EAF1DD" align="center" | 0
| align="center" |
| align="center" | 1
| align="center" |
| align="center" |
| align="center" |
| align="center" |
| align="center" |
|style="font-weight:bold" | 1.11: SET: c is active & d is active, flip-flop is being set

|}
When input p is considered to be the same as ouput q and when c=0 and d=0, the output q can be either 1 or 0. Without knowledge of what is going on “inside” the formula, this represents a condition of [randomness]. That is, sometimes when we look at q we see 0 and other times 1. To avoid this problem one has to know the '''state''' (condition) of the "hidden" variable p (i.e. q fed back). When this is known the apparent inconsistency goes away.
To understand [predict] the behavior of formulas with feedback requires the more sophisticated analysis of [[sequential circuit]]s. One discovers that propositional formulas with feedback lead, in their simplest form, to state machines; they also lead to memories in the form of Turing tapes and counter-machine counters. From combinations of these elements one can build any sort of bounded computational model (e.g. Turing machines, counter machines, register machines, Macintosh computers, etc).


== Footnotes ==
== Footnotes ==

Revision as of 18:24, 31 October 2007

In propositional logic, a propositional formula is a particular type of syntactic expression. A propositional formulas may also be called a propositional expression, a well formed formula, a wff, a sentence, or a sentential formula. In order to be a propositional formula, an expression must be structured so that a unique truth value for the formula can be deduced from truth values of the propositional variables it contains.

In contexts of discussion that involve little risk of confusion, a propositional formula may be more briefly referred to as a "proposition", but the distinction between a proposition, a formal object under discussion, and a propositional formula, a formal expression that denotes it, is often of importance.

Propositional variables

The simplest type of propositional formula is a propositional variable. These are atomic, symbolic expressions often denoted by A, B, etc. A propositional variable in intended to represent an atomic proposition, such as "It is Saturday" or "I only go to the movies on Monday".

More complex formulas

Arbitrary propositional formulas are built from propositional variables and other propositional formulas using propositional connectives. Examples of connectives include:

  • The unary negation connective. If is a formula, then is a formula.
  • The classical binary connectives . Thus, for example, if and are formulas, so is .
  • Other binary connectives, such as NAND, NOR, and XOR
  • Constant 0-ary connectives and

Connectives that take more than two arguments are also studied.

Inductive definition

The classical presentation of propositional logic (see Enderton 2002) uses the connectives . The set of formulas over a given set of propositional variables is inductively defined to be the smallest set of expressions such that:

  • Each propositional variable in the set is a formula,
  • is a formula whenever is, and
  • is a formula whenever and are formulas and is one of the binary connectives .

This inductive definition can be easily extended to cover additional connectives.

The inductive definition can also be rephrased in terms of a closure operation (Enderton 2002). Let V denote a set of propositional variables and let XV denote the set of all strings from an alphabet including symbols in V, left and right parentheses, and all the logical connectives under consideration. Each logical connective corresponds to a formula building operation, a function from XXV to XXV:

  • Given a string z, the operation returns .
  • Given strings y and z, the operation returns . There are similar operations , , and corresponding to the other binary connectives.

The set of formulas over V is defined to be the smallest subset of XXV containing V and closed under all the formula building operations.

Parsing formulas

A key property of formulas is that they can be uniquely parsed to determine the structure of the formula in terms of its propositional variables and logical connectives. When formulas are written in infix notation, as above, unique readability is ensured through an appropriate use of parentheses in the definition of formulas. Alternatively, formulas can be written in Polish notation or reverse Polish notation, eliminating the need for parentheses altogether.

The inductive definition of infix formulas in the previous section can be converted to a formal grammar in Backus-Naur form:

<formula> := <propositional variable>
| ( <formula> )
| ( <formula> <formula>)
| ( <formula> <formula> )
| ( <formula> <formula> )
| ( <formula> <formula> )

It can be shown that any expression matched by the grammar has a balanced number of left and right parentheses, and any nonempty initial segment of a formula has more left than right parentheses (Enderton 2002). This fact can be used to give an algorithm for parsing formulas. For example, suppose that an expression x begins with . Starting after the second symbol, match the shortest subexpression y of x that has balanced parentheses. If x is a formula, there is exactly one symbol left after this expression, this symbol is a closing parenthesis, and y itself is a formula. This idea can be used to generate a recursive descent parser for formulas.

Reduced sets of connectives

A set of logical connectives is called complete if every propositional formula is tautologically equivalent to a formula with just the connectives in that set. There are many complete sets of connectives, including , , and . There are two binary connectives that are complete on their own, corresponding to NAND and NOR, respectively.

Normal forms

An arbitrary propositional formula may have a very complicated structure. It is often convenient to work with formulas that have simpler forms, known as normal forms. Some common normal forms include conjunctive normal form and disjunctive normal form.

Impredicative propositions

Consider the following proposition expressing a definition: "A proposition (sentence, assertion) is either simple or compound but not both; a compound sentence is two or more simple sentences linked by a connective such as AND (BUT, semicolon ; ), OR, IF ..., THEN..., and NEITHER ... NOR ... ".

So given this definition, what does one make of the following:

(1) "This sentence is simple." (2) "This sentence is not simple; it is complex, and it is conjoined by AND."

Define "compound" = "not simple". Then assign the variable "s" to the left-most sentence "This sentence is simple", "c" to "This sentence is compound", and "j" by "It [this sentence] is cojoined by AND". Substitute the words "NOT simple" for "compound". the second sentence can be expressed as:

( NOT(s) AND c AND j )

If truth values are to be placed on the sentences s, c and j per the definitions, then all are clearly FALSEHOODS: e.g. "This sentence is complex" is a FALSEHOOD (it is simple, by definition). So their conjuction (AND) is a falsehood. But when taken in its assembed form, the sentence a TRUTH.

This is an example of the paradoxes that result from an impredicative definition -- that is, when an object m has a property P, but the object m is defined in terms of property P. [1] The best advice for a rhetorician or one involved in deductive analysis is avoid impredicative definitions but at the same time be aware of them when they appear. Engineers, on the other hand, put them to work in the form of propositional formulas with feedback.

Propositional formula with "feedback"

Output "q" has now been "fed back" to become input "p"; "p" has been renamed "q". The resulting propositional formula contains "q" on both sides of the "equivalence" sign. But rules of arithmetic algebra are not available in this system, and another approach is required to analyze the propositional formula. This formula is a known as "clocked flip-flop" memory ("c" is the "clock" and "d" is the "data"). It works as follows: When c = 1 the data d (either 0 or 1) is "clocked into" the flip-flop and the value of the data appears at output "q". If d does not change during the time when c = 1, then when c does return to 0 the previous (clocke-in) value of d remains at output "p" even if d later changes.
If one were to analyze this formula as if there were two inputs "c" and "d" and one output "p", its behavior would appear to be random, and hence undecidable: given that "c" = "d" = 0, sometimes output "p" would be 1 and other times 0. This can be resolved by bringing what used to be input "p" outside the box and connecting it to "q". Now "p" is no longer a "hidden variable".

The simplest case is when the output of OR feeds back into one of its inputs. Begin with (p V a) = q, then let p = q. Observe that q's "definition" in terms of the OR depends on itself as well as "a"; this definition of q is thus impredicative.

No stipulation within the theory (either the axiomatic or truth-table systems of objects and relations) forbids this from happening. The following illustrates what happens when a formula derives one of its inputs e.g. “p” from its output e.g. “q”.

Example: ( ( c & d ) V ( p & ( ~( d ) & ~( c ) ) ) ) = q, but now let p = q
( ( c & d ) V ( q & ( ~( d ) & ~( c ) ) ) ) = q

Either of two conditions can result[2]: (1) oscillation, (2) memory:

(1) Oscillation: Without the notion of “delay”, this condition presents itself as undecidability; neither { T, F }, (or { ON, OFF }, { 1, 0 }, etc) can be determined. With delay the condition presents itself as alternating values e.g. TFTFTFTF...TF, or 1010101010..., ad infinitum.
(2) Memory: Without delay inconsitencies must be eliminated from a truth table analysis. With the notion of “delay”, this condition presents itself as a momentary inconsistency between the fed-back output variable q is acting as an input (e.g. p = q). But the overall formula remains consitent.

Analysis: A truth table can reveal the rows where inconsistencies occur between q at the input and q at the output. The analysis proceeds in the conventional manner after "breaking the line" (cf Mcklusky p. 194-5). In every row the output q is compared to the now-independent input p and any inconsistencies between p and q are noted (i.e. p = 0 and q = 1, p = 1 and q = 0; when the "line" is "remade" both are rendered impossible by the Law of contradiction ~(p & ~p)). Rows revealing inconsistences are either considered transient states (McCluskey) or just eliminated as inconsistent and hence "impossible".

motor ON door closed clock active motor ON
picnic nice day noon picnic
s q q1 r~ r d~
row q d c ( ( c & d ) V ( q & ~ ( ( c & ~ ( d ) ) ) ) ) Description
0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0.00: RESET: c is inactive and d inactive but flip-flop is reset
1 0 0 1 1 0 0 0 0 0 0 1 1 1 0 0.1: RESET: c is active but not d, flip-flop remains reset)
2 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0.2: RESET: d is active but not c, flip-flop remains reset)
3 0 1 1 1 1 1 1 0 0 1 1 0 0 1
4 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1.00: SET: c is inactive & d is inactive, flip-flop is no longer being set
5 1 0 1 1 0 0 0 1 0 0 1 1 1 0
6 1 1 0 0 0 1 1 1 1 1 0 0 0 1 1.01: SET: c is inactive & d is active, flip-flop is no longer being set
7 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1.11: SET: c is active & d is active, flip-flop is being set

When input p is considered to be the same as ouput q and when c=0 and d=0, the output q can be either 1 or 0. Without knowledge of what is going on “inside” the formula, this represents a condition of [randomness]. That is, sometimes when we look at q we see 0 and other times 1. To avoid this problem one has to know the state (condition) of the "hidden" variable p (i.e. q fed back). When this is known the apparent inconsistency goes away.

To understand [predict] the behavior of formulas with feedback requires the more sophisticated analysis of sequential circuits. One discovers that propositional formulas with feedback lead, in their simplest form, to state machines; they also lead to memories in the form of Turing tapes and counter-machine counters. From combinations of these elements one can build any sort of bounded computational model (e.g. Turing machines, counter machines, register machines, Macintosh computers, etc).

Footnotes

  1. ^ This definition is given by Stephen Kleene. Both Kurt Gödel and Kleene believed that the classical paradoxes are uniformly examples of this sort of definition. But Kleene went on to assert that the problem has not been solved satisfactorily and impredicative definitions can be found in analysis. He gives as example the definition of the least upper bound (l.u.b) u of M. Given a Dedekind cut of the number line C and the two parts into which the number line is cut, i.e. M and (C - M), l.u.b. = u is defined in terms of the notion M, whereas M is defined in terms of C. Thus the definition of u, an element of C, is defined in terms of the totality C and this makes its definition impredicative. Kleene asserts that attempts to argue this away can be used to uphold the impredicative definitions in the paradoxes.(Kleene 1952:43).
  2. ^ More precisely, given enough "loop gain", either oscillation or memory will occur. In idealized mathematical systems adequate loop gain is not a problem.

References

  • Enderton, H. B. (2002). A Mathematical Introduction to Logic. Harcourt/Academic Press. ISBN 0-12-238452-0