Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-cases2-dnf Structured version   Visualization version   GIF version

Theorem wl-cases2-dnf 34751
Description: A particular instance of orddi 1006 and anddi 1007 converting between disjunctive and conjunctive normal forms, when both 𝜑 and ¬ 𝜑 appear. This theorem in fact rephrases cases2 1042, and is related to consensus 1047. I restate it here in DNF and CNF. The proof deliberately does not use df-ifp 1058 and dfifp4 1061, by which it can be shortened. (Contributed by Wolf Lammen, 21-Jun-2020.) (Proof modification is discouraged.)
Assertion
Ref Expression
wl-cases2-dnf (((𝜑𝜓) ∨ (¬ 𝜑𝜒)) ↔ ((¬ 𝜑𝜓) ∧ (𝜑𝜒)))

Proof of Theorem wl-cases2-dnf
StepHypRef Expression
1 exmid 891 . . . . 5 (𝜑 ∨ ¬ 𝜑)
21biantrur 533 . . . 4 ((𝜑𝜒) ↔ ((𝜑 ∨ ¬ 𝜑) ∧ (𝜑𝜒)))
3 orcom 866 . . . . 5 ((¬ 𝜑𝜓) ↔ (𝜓 ∨ ¬ 𝜑))
4 orcom 866 . . . . 5 ((𝜒𝜓) ↔ (𝜓𝜒))
53, 4anbi12i 628 . . . 4 (((¬ 𝜑𝜓) ∧ (𝜒𝜓)) ↔ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓𝜒)))
62, 5anbi12i 628 . . 3 (((𝜑𝜒) ∧ ((¬ 𝜑𝜓) ∧ (𝜒𝜓))) ↔ (((𝜑 ∨ ¬ 𝜑) ∧ (𝜑𝜒)) ∧ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓𝜒))))
7 anass 471 . . 3 ((((𝜑𝜒) ∧ (¬ 𝜑𝜓)) ∧ (𝜒𝜓)) ↔ ((𝜑𝜒) ∧ ((¬ 𝜑𝜓) ∧ (𝜒𝜓))))
8 orddi 1006 . . 3 (((𝜑𝜓) ∨ (¬ 𝜑𝜒)) ↔ (((𝜑 ∨ ¬ 𝜑) ∧ (𝜑𝜒)) ∧ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓𝜒))))
96, 7, 83bitr4ri 306 . 2 (((𝜑𝜓) ∨ (¬ 𝜑𝜒)) ↔ (((𝜑𝜒) ∧ (¬ 𝜑𝜓)) ∧ (𝜒𝜓)))
10 wl-orel12 34750 . . 3 (((𝜑𝜒) ∧ (¬ 𝜑𝜓)) → (𝜒𝜓))
1110pm4.71i 562 . 2 (((𝜑𝜒) ∧ (¬ 𝜑𝜓)) ↔ (((𝜑𝜒) ∧ (¬ 𝜑𝜓)) ∧ (𝜒𝜓)))
12 ancom 463 . 2 (((𝜑𝜒) ∧ (¬ 𝜑𝜓)) ↔ ((¬ 𝜑𝜓) ∧ (𝜑𝜒)))
139, 11, 123bitr2i 301 1 (((𝜑𝜓) ∨ (¬ 𝜑𝜒)) ↔ ((¬ 𝜑𝜓) ∧ (𝜑𝜒)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398  wo 843
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator