Tuesday 12 June 2012

Symbolic Logic-Truth functions[part 1]

[wikipedia]


In mathematical logic, a truth function is a function from a set of truth values to truth values. Classically the domain and range of a truth function are {truth, falsehood}, but they may have any number of truth values, including an infinity of these.
A sentence is truth-functional if the truth-value of the sentence is a function of the truth-value of its sub-sentences. A class of sentences is truth-functional if each of its members is. For example, the sentence "Apples are fruits and carrots are vegetables" is truth-functional since it is true just in case each of its sub-sentences "apples are fruits" and "carrots are vegetables" is true, and it is false otherwise. Not all sentences of a natural language, such as English, are truth-functional.
Sentences of the form "x believes that..." are typical examples of sentences that are not truth-functional. Let us say that Mary mistakenly believes that Al Gore was President of the USA on April 20, 2000, but she does not believe that the moon is made of green cheese. Then the sentence
"Mary believes that Al Gore was President of the USA on April 20, 2000"
is true while
"Mary believes that the moon is made of green cheese"
is false. In both cases, each component sentence (i.e. "Al Gore was president of the USA on April 20, 2000" and "the moon is made of green cheese") is false, but each compound sentence formed by prefixing the phrase "Mary believes that" differs in truth-value. That is, the truth-value of a sentence of the form "Mary believes that..." is not determined solely by the truth-value of its component sentence, and hence the (unary) connective (or simply operator since it is unary) is non-truth-functional.
In classical logic a truth function is a compound proposition whose truth or falsity is unequivocally determined by the truth or falsity of its components for all cases, the class of its formulas (including sentences) is truth-functional since every sentential connective (e.g. &, →, etc.) used in the construction of formulas is truth-functional. Their values for various truth-values as argument are usually given by truth tablesTruth-functional propositional calculus is a formal system whose formulas may be interpreted as either true or false.

Boolian Function[part 1]
Contradiction/False
NotationEquivalent
formulas
Truth tableVenn diagram
\bot
"bottom"
P \wedge ¬P
Opq
Q
01
P0   0  0 
1   0  0 
Venn0000.svg

Tautology/True
NotationEquivalent
formulas
Truth tableVenn diagram
\top
"top"
P \vee ¬P
Vpq
Q
01
P0   1  1 
1   1  1 
Venn1111.svg

Proposition P
NotationEquivalent
formulas
Truth tableVenn diagram
Pp
Ipq
Q
01
P0   0  0 
1   1  1 
Venn0101.svg

Negation of P
NotationEquivalent
formulas
Truth tableVenn diagram
¬P
~P
Np
Fpq
Q
01
P0   1  1 
1   0  0 
Venn1010.svg

Proposition Q
NotationEquivalent
formulas
Truth tableVenn diagram
Qq
Hpq
Q
01
P0   0  1 
1   0  1 
Venn0011.svg

Negation of Q
NotationEquivalent
formulas
Truth tableVenn diagram
¬Q
~Q
Nq
Gpq
Q
01
P0   1  0 
1   1  0 
Venn1100.svg

Conjunction
NotationEquivalent
formulas
Truth tableVenn diagram
P \wedge Q
P & Q
P · Q
P AND Q
P \not\rightarrow¬Q
¬P \not\leftarrow Q
¬P \downarrow ¬Q
Kpq
Q
01
P0   0  0 
1   0  1 
Venn0001.svg

Alternative denial
NotationEquivalent
formulas
Truth tableVenn diagram
P ↑ Q
P | Q
P NAND Q
P → ¬Q
¬P ← Q
¬P \lor ¬Q
Dpq
Q
01
P0   1  1 
1   1  0 
Venn1110.svg

Disjunction
NotationEquivalent
formulas
Truth tableVenn diagram
P \lor Q
P OR Q
P \leftarrow ¬Q
¬P → Q
¬P ↑ ¬Q
¬(¬P \wedge ¬Q)
Apq
Q
01
P0   0  1 
1   1  1 
Venn0111.svg

Joint denial
NotationEquivalent
formulas
Truth tableVenn diagram
P ↓ Q
P NOR Q
P \not\leftarrow ¬Q
¬P \not\rightarrow Q
¬P \wedge ¬Q
Xpq
Q
01
P0   1  0 
1   0  0 
Venn1000.svg

Material nonimplication
NotationEquivalent
formulas
Truth tableVenn diagram
P \not\rightarrow Q
P \not\supset Q
P \wedge ¬Q
¬P ↓ Q
¬P \not\leftarrow ¬Q
Lpq
Q
01
P0   0  0 
1   1  0 
Venn0100.svg

Material implication
NotationEquivalent
formulas
Truth tableVenn diagram
P → Q
P \supset Q
P ↑ ¬Q
¬P \lor Q
¬P ← ¬Q
Cpq
Q
01
P0   1  1 
1   0  1 
Venn1011.svg

Converse nonimplication
NotationEquivalent
formulas
Truth tableVenn diagram
P \not\leftarrow Q
P \not\subset Q
P ↓ ¬Q
¬P \wedge Q
¬P \not\rightarrow ¬Q
Mpq
Q
01
P0   0  1 
1   0  0 
Venn0010.svg

Converse implication
NotationEquivalent
formulas
Truth tableVenn diagram
P \leftarrow Q
P \subset Q
P \lor ¬Q
¬P ↑ Q
¬P → ¬Q
Bpq
Q
01
P0   1  0 
1   1  1 
Venn1101.svg

Exclusive disjunction
NotationEquivalent
formulas
Truth tableVenn diagram
P \not\leftrightarrow Q
P \not\equiv Q
P \oplus Q
P XOR Q
P \leftrightarrow ¬Q
¬P \leftrightarrow Q
¬P \not\leftrightarrow ¬Q
Jpq
Q
01
P0   0  1 
1   1  0 
Venn0110.svg

Biconditional
NotationEquivalent
formulas
Truth tableVenn diagram
P \leftrightarrow Q
P ≡ Q
P XNOR Q
P IFF Q
P \not\leftrightarrow ¬Q
¬P \not\leftrightarrow Q
¬P \leftrightarrow ¬Q
Epq
Q
01
P0   1  0 
1   0  1 
Venn1001.svg




No comments:

Sad Eyes - Robert John HD (1080p)

                           sigh...