Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Tree method for logical decomposition

created by m_turner

(idea) by m_turner (1.5 y) (print)   ?   1 C! I like it! Tue Oct 31 2000 at 22:42:25

The tree method for logical decomposition is useful when dealing with a large number of clauses and variables inside a logical expression. Each clause can be broken down into smaller clauses. This is can be more useful than truth tables at times.

AND                | NOT AND
1) A and B  x      | 1) !(A and B) x
----------         | -------------
2) A               |       /\
3) B               |      /  \
                   |     /    \
                   | 2)!A    3)!B
-------------------+------------------
OR                 | NOT OR
1) A or B x        | 1) !(A or B) x
---------          | ------------
    /\             | 2) !A
   /  \            | 3) !B
  /    \           |
2)A   3)B          |
-------------------+------------------
IMPLIES            | NOT IMPLIES
1) A -> B x        | 1) !(A -> B) x
---------          | ------------
     /\            | 2) A
    /  \           | 3) !B
   /    \          |
2)!A   3)A         |
       4)B         |
-------------------+------------------
IFF                | NOT IFF
1) A <=> B x       | 1) !(A <=> B) x
----------         | -------------
     /\            |      /\
    /  \           |     /  \
   /    \          |    /    \
2)A    3)!A        | 2)!A    3)A
4)B    5)!B        | 4)B     5)!B
Complex statements can be broken up into smaller ones.
1) (A or (B or C)) <=> (D and (E -> F))  x
---------------------------------------
                  /\
                 /  \
                /    \
               /      \
              /        \
             /          \
    2) (A or (B or C)  3)!(A or B (or C))
    4)(D and (E -> F)) 4)!(D and (E -> F)
After each line is decomposed, an 'x' is placed next to the line to show that it has already been taken care of. It is often a good idea to put a comment on the right hand side showing where the statement came from for checking the work.

When a branch has a logical inconsistency in it (both 'A' and '!A' show up in the same branch), an 'x' is placed under that branch with the two statement numbers that have the inconsistency. No further work need be done on that branch.


printable version
chaos

Truth table formal logic Iterative methods for solving systems of linear equations Supremacy Clause
A Society of People Named Elihu Logically inconsistent Semantic Tableaux proof method for predicate logic propositional calculus
Dead Puppies Russian doll toy fluke Turning death into flowers - ecological burial
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
Things you could have written:
Shall I Compare Thee to a Dead Portuguese Man-of-War Lying Bloated on a Polluted Beach?
The "My parents suck with computers" node
Hydrogen engine
Our Exagmination Round His Factification for Incamination of Work in Progress
ten grave precepts
The Day the Earth Stood Still
Choosing to be gay
Do you take it I would astonish? Does the daylight astonish?
liquid ventilation
The Third Man
Sitting in the rain at night
Carl Jung
Penny Lane
New Writeups
Scaevola
Roman marriage(thing)
rootbeer277
m&m's Ice Cream Treats(review)
Transitional Man
Gus's Chalet(review)
minnow
.410 bore(thing)
shaogo
Phonautogram(thing)
Morkel
Changing your sexuality(idea)
teleny
Baron Samedi(person)
Ouzo
The Great Barbershop Race Wars(log)
Mannerisky
second language(essay)
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)
This affordable entertainment brought to you by The Everything Development Company