Everything2
Near Matches
Ignore Exact
Full Text
Everything2

semantic proof

created by Gritchka

(idea) by Gritchka (2.3 y) (print)   ?   2 C!s I like it! Sat Dec 27 2003 at 12:03:07

A form of proof in propositional logic that determines whether a proposition follows from other propositions, by working through the truth tables for the premisses, and checking whether the consequent is true whenever the premisses are. If so, the consequent is proved. The method is guaranteed to be correct but is impossibly cumbersome beyond small examples because the size of the calculation is exponential on the number of premisses.

Contrast syntactic proof, which uses logical operations such as modus ponens to rearrange and combine theorems derived from the premisses, but which is not guaranteed to find an elegant solution.

Suppose we know that (A) I won't need my umbrella just in case it doesn't rain today, (B) it always rains on Saturdays, and (C) today is Saturday. We want to prove whether I'll need my umbrella. Let these propositions be built out of simple ones:

P = I'll need my umbrella
Q = it will rain today
R = today is Saturday
Then the propositions we know as premisses (know to be true; are assuming to be true) are:
(A) ~Q <-> ~P
(B) R -> Q
(C) R
And what we want to ascertain is whether P (I'll need my umbrella) is a valid deduction from these.

Now we build the truth table for these:

P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T
T  T  F
T  F  T
T  F  F
F  T  T
F  T  F
F  F  T
F  F  F
Boolean operators inside complex propositions need to evaluated in order of bracketing or binding, innermost to outermost. So do the negatives first:
P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T    F      F
T  T  F    F      F
T  F  T    T      F
T  F  F    T      F
F  T  T    F      T
F  T  F    F      T
F  F  T    T      T
F  F  F    T      T
Now do the biconditional and the implication:
P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T    F   T  F        T
T  T  F    F   T  F        T
T  F  T    T   F  F        F
T  F  F    T   F  F        T
F  T  T    F   F  T        T
F  T  F    F   F  T        T
F  F  T    T   T  T        F
F  F  F    T   T  T        T
We want to work out what follows if all three of our premisses are true. The first premiss (A), which is ~Q <-> ~P, is true in the following lines of the table:
P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T    F   T  F        T
T  T  F    F   T  F        T
F  F  T    T   T  T        F
F  F  F    T   T  T        T
The next one, (B) which is R -> Q, is true in the following lines of that subtable:
P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T    F   T  F        T
T  T  F    F   T  F        T
F  F  F    T   T  T        T
The final premiss (C) is R, and that's true in the following part of the previous subtable:
P  Q  R    ~Q <-> ~P  ,  R -> Q
T  T  T    F   T  F        T
The conclusion we're looking for is P. We see that in all lines of the current table, P is true. So P follows deductively from the three premisses.

printable version
chaos

Premiss Truth table Semantic Tableaux proof method for predicate logic propositional logic
syntactic proof semantic attack Boolean logic Two Dogmas of Empiricism
Semantics and Set Theory Lexical semantic ambiguity Deductive Modus Ponens
semantic error propositional calculus truth value semantic network
logical operators semantics denotational semantics conclusion
Consequent NP-complete theorem assumption
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
Telegard
Ethnic Stereotypes in Street Fighter 2
Losing Time
Manufacturing Consent
The Birth of a Nation
Opal
Olympic Games
Everything Quest - WWII history
The Resistible Rise of Arturo Ui
Reactions from Clampe's students
Comma Splices and Run-on Sentences
Editor Log: December 2003
pocket full of quarters
New Writeups
aneurin
British Monomarks(idea)
FrankThomas
How and why do we (humans) have culture?(essay)
lee_cad
Isaac(person)
kalen
downvota(poetry)
Andrew Aguecheek
Wstfgl(thing)
ncc05
overheard at IHOP(event)
calgon
Bottomless(poetry)
lismaraxt
Ice Theory of The Origin of Life(idea)
allthetime
Apple Cinnamon Suicide(idea)
Lucy-S
shovelglove(idea)
Adaptive Child
Mexican secret sauce(recipe)
Adaptive Child
nacho libre(recipe)
TheLady
Iron Man(review)
Scaevola
Risk in the Roman law of sale(idea)
semicolon
overheard at IHOP(event)
This affordable entertainment brought to you by The Everything Development Company