http://www.acm.org/jacm/
( ((P1 → (P2 ∨ P3) ∧ (¬P1 → (P3 ∨ P4)))) ∧ ((P3 → ¬ P6) ∧ (¬P3 → (P4 → P1))) ∧ ( ¬(P2 ∧ P5) ∧ (P2 → P3) ) ) → ¬(P3 → P6)
(f ∧ Q) → P
f ∧ Q
() → P
f → P
t
φ
name simplification -------------- -------------- not-true ¬t simplifies to f not-false ¬f simplifies to t and-true φ ∧ t simplifies to φ true-and t ∧ φ simplifies to φ and-false φ ∧ f simplifies to f false-and f ∧ φ simplifies to f or-true φ ∨ t simplifies to t true-or t ∨ φ simplifies to t or-false φ ∨ f simplifies to φ false-or f ∨ φ simplifies to φ if-true t → φ simplifies to φ if-false f → φ simplifies to t then-true φ → t simplifies to t then-false φ → f simplifies to ¬φ iff-true φ ↔ t simplifies to φ true-iff t ↔ φ simplifies to φ iff-false φ ↔ f simplifies to ¬φ false-iff f ↔ φ simplifies to ¬φ not-not ¬ ¬ φ simplifies to φ not-and-not ¬(¬φ1 ∧ ¬φ2) simplifies to φ1 ∨ φ2 not-or-not ¬(¬φ1 ∨ ¬φ2) simplifies to φ1 ∧ φ2 not-if ¬(φ1 → ¬φ2) simplifies to φ1 ∧ φ2 not-iff-left ¬(¬φ1 ↔ φ2) simplifies to φ1 ↔ φ2 not-iff-right ¬(φ1 ↔ ¬φ2) simplifies to φ1 ↔ φ2 and-two φ ∧ φ simplifies to φ and-not φ ∧ ¬φ simplifies to f not-and ¬φ ∧ φ simplifies to f or-two φ ∨ φ simplifies to φ or-not φ ∨ ¬φ simplifies to t not-or ¬φ ∨ φ simplifies to t if-two φ → φ simplifies to t if-not ¬φ → φ simplifies to φ then-not φ → ¬φ simplifies to ¬φ contrapositive ¬φ2 → ¬φ1 simplifies to φ1 → φ2 or-two φ ↔ φ simplifies to t or-not φ ↔ ¬φ simplifies to f not-or ¬φ ↔ φ simplifies to f
[(P ∧ Q) → t] ∧ [R ↔ f] ≡ // by the "then-true" simplification [ t ] ∧ [R ↔ f] ≡ // by the "iff-false" simplification t ∧ [ ¬R ] ≡ // by the "true-and" simplification ¬R
(P ∧ ¬¬P) → (Q ∨ f) ≡ // by the "not-not" simplification (P ∧ P ) → (Q ∨ f) ≡ // by the "and-two" simplification ( P ) → (Q ∨ f) ≡ // by the "or-false" simplification ( P ) → ( Q )
¬(¬Q → ¬P) ∧ (P → Q) ≡ // by the "contrapositive" simplification ¬( P → Q ) ∧ (P → Q) ≡ // by the "not-and" simplification f
(P ∧ Q) → P
¬ (φ1 ∧ φ2) ≡ ¬φ1 ∨ ¬φ2 // DeMorgan's Law not-and ¬ (φ1 ∨ φ2) ≡ ¬φ1 ∧ ¬φ2 // DeMorgan's Law not-or φ1 → φ2 ≡ ¬φ1 ∨ φ2 // if-or φ1 ∧ φ2 ≡ φ2 ∧ φ1 // commut. and (φ1 ∨ φ2) ∨ φ3 ≡ φ1 ∨ (φ2 ∨ φ3) // assoc. or φ1 ∧ (φ2 ∨ φ3) ≡ (φ1 ∧ φ2) ∨ (φ1 ∧ φ3) // distrib. and-or φ1 ∨ (φ2 ∧ φ3) ≡ (φ1 ∨ φ2) ∧ (φ1 ∨ φ3) // distrib. or-and · · ·
(P ∧ Q) → P ≡ // by if-or rewriting ¬(P ∧ Q) ∨ P ≡ // by DeMorgan's (¬P ∨ ¬Q) ∨ P ≡ // by commutativity P ∨ (¬P ∨ ¬Q) ≡ // by associativity (P ∨ ¬P) ∨ ¬Q ≡ // by the "or-not" simplification t ∨ ¬Q ≡ // by the "true-or" simplification t
(P → Q) ↔ (¬Q → ¬P) ≡ // by if-or rewriting (P → Q) ↔ ( ¬(¬Q) ∨ ¬P ) ≡ // by the "not-not" simplification (P → Q) ↔ ( Q ∨ ¬P ) ≡ // by commutativity (P → Q) ↔ (¬P ∨ Q) ≡ // by if-or-rewriting right-to-left (P → Q) ↔ (P → Q) ⇒ // by the "iff two" simplification t