FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/Truth_function

Truth function

Logical connectives
NOT A∧‾B,A↑B,A∣B,A⋅B‾
OR A⊙B,A∨_B‾
└ equivalent A≢B,A⇎B,A↮B
implies A⇐B,A⊂B,A←B
converse nonimplication

In logic, a truth function is a function that accepts truth values as input and produces a unique truth value as output. In other words: the input and output of a truth function are all truth values; a truth function will always output exactly one truth value, and inputting the same truth value(s) will always output the same truth value. The typical example is in propositional logic, wherein a compound statement is constructed using individual statements connected by logical connectives; if the truth value of the compound statement is entirely determined by the truth value(s) of the constituent statement(s), the compound statement is called a truth function, and any logical connectives used are said to be truth functional.

Classical propositional logic is a truth-functional logic, in that every statement has exactly one truth value which is either true or false, and every logical connective is truth functional (with a correspondent truth table), thus every compound statement is a truth function. On the other hand, modal logic is non-truth-functional.

⊤
"top"
P
Contradiction/False
Notation Equivalent
formulas
Truth table Venn diagram
¬P
Opq
  Q
0 1
P 0    0   0 
1    0   0 
I''pq''"},"truthtable-00":{"wt":"0"},"truthtable-01":{"wt":"0"},"truthtable-10":{"wt":"1"},"truthtable-11":{"wt":"1"},"image":{"wt":"Venn0101.svg"}},"i":0}}]}'>
Proposition P
Notation Equivalent
formulas
Truth table Venn diagram
P p
Ipq
  Q
0 1
P 0    0   0 
1    1   1 
\\neg</math>''P''<br />~''P''<br />NOT&nbsp;''P''"},"equivalents":{"wt":"N''p''<br />F''pq''"},"truthtable-00":{"wt":"1"},"truthtable-01":{"wt":"1"},"truthtable-10":{"wt":"0"},"truthtable-11":{"wt":"0"},"image":{"wt":"Venn1010.svg"}},"i":0}}]}'>
Negation of P
Notation Equivalent
formulas
Truth table Venn diagram
Negation of Q
Notation Equivalent
formulas
Truth table Venn diagram
∧ Q
P ¬Q
¬P
Non-conjunction/Alternative denial
Notation Equivalent
formulas
Truth table Venn diagram
P ¬P → ← Q
Dpq
  Q
0 1
P 0    1   1 
1    1   0 
\\lor</math> ''Q''<br />''P'' <math>\\cup</math> ''Q''<br />''P'' <math>+</math> ''Q''<br />''P''&nbsp;OR&nbsp;''Q''"},"equivalents":{"wt":"''P'' <math>\\leftarrow</math> <math>\\neg</math>''Q'' <br /> <math>\\neg</math>''P'' <math>\\rightarrow</math> ''Q'' <br /> <math>\\neg</math>''P'' <math>\\uparrow</math> <math>\\neg</math>''Q''<br />A''pq''"},"truthtable-00":{"wt":"0"},"truthtable-01":{"wt":"1"},"truthtable-10":{"wt":"1"},"truthtable-11":{"wt":"1"},"image":{"wt":"Venn0111.svg"}},"i":0}}]}'>
Disjunction
Notation Equivalent
formulas
Truth table Venn diagram
P + Q
P OR Q
P ¬P ↑ ∨‾ Q
P ∧ ¬Q
Material implication
Notation Equivalent
formulas
Truth table Venn diagram
P ≤ Q
P IMPLY Q
↑ ←↛ Q
P ∧ ↓ Q
¬Q
Lpq
  Q
0 1
P 0    0   0 
1    1   0 
\\leftarrow</math> ''Q'' <br /> ''P'' <math>\\supseteq</math> ''Q'' <br /> ''P'' <math>\\geq</math> ''Q''<br />''Q''&nbsp;IMPLY&nbsp;''P''"},"equivalents":{"wt":"''P'' <math>\\lor</math> <math>\\neg</math>''Q'' <br /> <math>\\neg</math>''P'' <math>\\uparrow</math> ''Q'' <br /> <math>\\neg</math>''P'' <math>\\rightarrow</math><math>\\neg</math>''Q''<br />B''pq''"},"truthtable-00":{"wt":"1"},"truthtable-01":{"wt":"0"},"truthtable-10":{"wt":"1"},"truthtable-11":{"wt":"1"},"image":{"wt":"Venn1101.svg"}},"i":0}}]}'>
Converse implication
Notation Equivalent
formulas
Truth table Venn diagram
P ≥ Q
Q IMPLY P
P ¬P →↚ Q
P ¬P ¬Q
¬Q
Mpq
  Q
0 1
P 0    0   1 
1    0   0 
''P'' <math>\\equiv</math> ''Q''<br /> ''P'' <math>\\odot</math> ''Q''<br />''P''&nbsp;XNOR&nbsp;''Q''"},"equivalents":{"wt":"''P'' <math>\\not\\leftrightarrow</math> <math>\\neg</math>''Q'' <br /> <math>\\neg</math>''P'' <math>\\not\\leftrightarrow</math> ''Q'' <br /><math>\\neg</math>''P'' {{eqv}}<math>\\neg</math>''Q''<br />E''pq''"},"truthtable-00":{"wt":"1"},"truthtable-01":{"wt":"0"},"truthtable-10":{"wt":"0"},"truthtable-11":{"wt":"1"},"image":{"wt":"Venn1001.svg"}},"i":0}}]}'>
Equivalence/Biconditional
Notation Equivalent
formulas
Truth table Venn diagram
P ⊙ Q
P XNOR Q
P ¬P ↔↮ Q
P ¬Q
¬P P → Q. The conditional operator "→" is therefore not necessary for a classical-based logical system if "¬" (not) and "∨" (or) are already in use.

A minimal set of operators that can express every statement expressible in the propositional calculus is called a minimal functionally complete set. A minimally complete set of operators is achieved by NAND alone {↑} and NOR alone {↓}.

The following are the minimal functionally complete sets of operators whose arities do not exceed 2:

One element
{↑}, {↓}.
Two elements
{→,¬}, {←,⊥}, {→,↛}, {←,↚}, {↛,⊤}, {↚,↔}.
Three elements
{∨,↮,⊤}, {∧,↮,⊤}.

Algebraic properties

edit

Some truth functions possess properties which may be expressed in the theorems containing the corresponding connective. Some of those properties that a binary truth function (or a corresponding logical connective) may have are:

  • associativity: Within an expression containing two or more of the same associative connectives in a row, the order of the operations does not matter as long as the sequence of the operands is not changed.
  • commutativity: The operands of the connective may be swapped without affecting the truth-value of the expression.
  • distributivity: A connective denoted by · distributes over another connective denoted by +, if a · (b + c) = (a · b) + (a · c) for all operands a, b, c.
  • idempotence: Whenever the operands of the operation are the same, the connective gives the operand as the result. In other words, the operation is both truth-preserving and falsehood-preserving (see below).
  • absorption: A pair of connectives ∨,∧,⊤,⊥.
  • affine: For each variable, changing its value either always or never changes the truth-value of the operation, for all fixed values of all other variables. E.g., ¬.
  • truth-preserving: The interpretation under which all variables are assigned a truth value of true produces a truth value of true as a result of these operations. E.g., 33n n-ary operators. In k-valued logic, there are k nullary operators, kk3 ternary operators, and |ℤk||ℤkn|=kkn, which is how the above numbers were derived.

    However, some of the operators of a particular arity are actually degenerate forms that perform a lower-arity operation on some of the inputs and ignore the rest of the inputs. Out of the 256 ternary Boolean operators cited above, P ∧ Q,P ∨ Q,P → Q,P ↔ Q).

    The set of logical operators Ωj is the set of operator symbols of arity Ω0={⊥,⊤}

    unary operators: I be an interpretation function, let not</sub>\n"},"2":{"wt":" ''I''(&) {{=}} ''I''({{and}}) {{=}} ''f''<sub>and</sub>\n"},"3":{"wt":" ''I''(''v'') {{=}} ''I''({{or-}}) {{=}} ''f''<sub>or</sub>\n"},"4":{"wt":" ''I''(~Φ) {{=}} ''I''({{not}}Φ) {{=}} ''I''({{not}})(''I''(Φ)) {{=}} ''f''<sub>not</sub>(''I''(Φ))\n"},"5":{"wt":" ''I''(Φ{{and}}Ψ) {{=}} ''I''({{and}})(''I''(Φ), ''I''(Ψ)) {{=}} ''f''<sub>and</sub>(''I''(Φ), ''I''(Ψ))\n"}},"i":0}}]}">
    • I(~) = I(∨) = for
    • I(~Φ) = I(∧Ψ) = I(⁠ϕ to a new function {T,F}.

      1. If ϕ‾(¬A)=fnot(ϕ‾(A)).
      2. ϕ‾(A→B)=ϕ‾(¬A∨B).
      3. {T,F}.

        It is defined, for each truth assignment ϕ‾(A) is the same as the one displayed in the final column of the truth table of A, on the row identified with

        1. ↑ Roy T. Cook (2009). A Dictionary of Philosophical Logic, p. 294: Truth Function. Edinburgh University Press.
        2. ↑ Roy T. Cook (2009). A Dictionary of Philosophical Logic, p. 295: Truth Functional. Edinburgh University Press.
        3. ↑ Internet Encyclopedia of Philosophy: Propositional Logic, by Kevin C. Klement
        4. ↑ Roy T. Cook (2009). A Dictionary of Philosophical Logic, p. 47: Classical Logic. Edinburgh University Press.
        5. ↑ Wernick, William (1942) "Complete Sets of Logical Functions," Transactions of the American Mathematical Society 51: 117–32. In his list on the last page of the article, Wernick does not distinguish between ← and →, or between This article incorporates material from TruthFunction on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.

    Further reading

    edit
    • Józef Maria Bocheński (1959), A Précis of Mathematical Logic, translated from the French and German versions by Otto Bird, Dordrecht, South Holland: D. Reidel.
    • Alonzo Church (1944), Introduction to Mathematical Logic, Princeton, NJ: Princeton University Press. See the Introduction for a history of the truth function concept.
General
Law of noncontradiction
Classical logics
Principles
Rules
Introduction
Elimination
People
Works
‌Logical truth ⊤
Functional:
Formal:
Negation 

View original on Wikipedia | Back | FazBrowse Home