Conditioned disjunction

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Conditioned disjunction
Venn diagram of Conditioned disjunction
Definition(qp)(¬qr)
Truth table(01000111)
Normal forms
Disjunctivepqr+pqr+pqr+pqr
Conjunctive(q+p)(q+r)
Zhegalkin polynomialqpqrr
Post's lattices
0-preservingyes
1-preservingyes
Monotoneno
Affineno
Self-dualno

In logic, conditioned disjunction (sometimes called conditional disjunction) is a ternary logical connective introduced by Church.[1][2] Given operands p, q, and r, which represent truth-valued propositions, the meaning of the conditioned disjunction [p, q, r] is given by

[p,q,r](qp)(¬qr).

In words, [p, q, r] is equivalent to: "if q, then p, else r", or "p or r, according as q or not q". This may also be stated as "q implies p, and not q implies r". So, for any values of p, q, and r, the value of [p, q, r] is the value of p when q is true, and is the value of r otherwise.

The conditioned disjunction is also equivalent to

(qp)(¬qr)

and has the same truth table as the ternary conditional operator ?: in many programming languages (with [b,a,c] being equivalent to a ? b : c). In electronic logic terms, it may also be viewed as a single-bit multiplexer.

In conjunction with truth constants denoting each truth-value, conditioned disjunction is truth-functionally complete for classical logic.[3] There are other truth-functionally complete ternary connectives.

Truth table

[edit | edit source]

The truth table for [p,q,r]:

p q r [p,q,r]
True True True True
True True False True
True False True True
True False False False
False True True False
False True False False
False False True True
False False False False

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
[edit | edit source]
  • Error creating thumbnail: File missing Media related to Lua error in Module:Commons_link at line 62: attempt to index field 'wikibase' (a nil value). at Wikimedia Commons