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
The best nodes of all time:
To Kill a Mockingbird
A Table Alphabeticall
Merry Christmas vs. Happy Holidays
Strip club
Schlieffen Plan
Kilwa
Sysadmin cool
hair
Addressing others by their user names
How conflict builds
Discovery
journalism and technology
Jessica Lynch
New Writeups
choirotey
Violent pickup lines(idea)
Ouzo
Blue Ovaries, Grrrrrrwl(log)
uncljoedoc
explanation(person)
Noung
One no longer loves one's insight when one communicates it(idea)
AspieDad
Pornology(essay)
nailbiter
Nicole duFresne(person)
Simulacron3
stigmergy(idea)
nakusavi
Yesterday I learned how to kiss(idea)
aneurin
UK Local Elections 2008(event)
Phyrkrakr
Kansas City Royals(thing)
niruena
Amalric of Bena(person)
niruena
Third Crusade(event)
Ariloulaleelay
I am a female android(personal)
csmith1492
Sublime Optimism(person)
etouffee
A tentative laugh, she expected to be interrupted(poetry)
Everything 2 is brought to you by the letter C and The Everything Development Company