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 38424
Description: A particular instance of orddi 1027 and anddi 1028 converting between disjunctive and conjunctive normal forms, when both 𝜑 and ¬ 𝜑 appear. This theorem in fact rephrases cases2 1063, and is related to consensus 1068. I restate it here in DNF and CNF. The proof deliberately does not use df-ifp 1079 and dfifp4 1082, 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 908 . . . . 5 (𝜑 ∨ ¬ 𝜑)
21biantrur 540 . . . 4 ((𝜑 ∨ 𝜒) ↔ ((𝜑 ∨ ¬ 𝜑) ∧ (𝜑 ∨ 𝜒)))
3 orcom 884 . . . . 5 ((¬ 𝜑 ∨ 𝜓) ↔ (𝜓 ∨ ¬ 𝜑))
4 orcom 884 . . . . 5 ((𝜒 ∨ 𝜓) ↔ (𝜓 ∨ 𝜒))
53, 4anbi12i 640 . . . 4 (((¬ 𝜑 ∨ 𝜓) ∧ (𝜒 ∨ 𝜓)) ↔ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓 ∨ 𝜒)))
62, 5anbi12i 640 . . 3 (((𝜑 ∨ 𝜒) ∧ ((¬ 𝜑 ∨ 𝜓) ∧ (𝜒 ∨ 𝜓))) ↔ (((𝜑 ∨ ¬ 𝜑) ∧ (𝜑 ∨ 𝜒)) ∧ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓 ∨ 𝜒))))
7 anass 474 . . 3 ((((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) ∧ (𝜒 ∨ 𝜓)) ↔ ((𝜑 ∨ 𝜒) ∧ ((¬ 𝜑 ∨ 𝜓) ∧ (𝜒 ∨ 𝜓))))
8 orddi 1027 . . 3 (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) ↔ (((𝜑 ∨ ¬ 𝜑) ∧ (𝜑 ∨ 𝜒)) ∧ ((𝜓 ∨ ¬ 𝜑) ∧ (𝜓 ∨ 𝜒))))
96, 7, 83bitr4ri 307 . 2 (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) ↔ (((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) ∧ (𝜒 ∨ 𝜓)))
10 wl-orel12 38423 . . 3 (((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) → (𝜒 ∨ 𝜓))
1110pm4.71i 569 . 2 (((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) ↔ (((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) ∧ (𝜒 ∨ 𝜓)))
12 ancom 466 . 2 (((𝜑 ∨ 𝜒) ∧ (¬ 𝜑 ∨ 𝜓)) ↔ ((¬ 𝜑 ∨ 𝜓) ∧ (𝜑 ∨ 𝜒)))
139, 11, 123bitr2i 302 1 (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) ↔ ((¬ 𝜑 ∨ 𝜓) ∧ (𝜑 ∨ 𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   ∨ wo 861
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator