Users' Mathboxes Mathbox for Anthony Hart < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  df3nandALT1 Structured version   Visualization version   GIF version

Theorem df3nandALT1 33645
Description: The double nand expressed in terms of pure nand. (Contributed by Anthony Hart, 2-Sep-2011.)
Assertion
Ref Expression
df3nandALT1 ((𝜑𝜓𝜒) ↔ (𝜑 ⊼ ((𝜓𝜒) ⊼ (𝜓𝜒))))

Proof of Theorem df3nandALT1
StepHypRef Expression
1 iman 402 . . 3 ((𝜑 → ((𝜓𝜒) ∧ (𝜓𝜒))) ↔ ¬ (𝜑 ∧ ¬ ((𝜓𝜒) ∧ (𝜓𝜒))))
2 imnan 400 . . . . . . . 8 ((𝜓 → ¬ 𝜒) ↔ ¬ (𝜓𝜒))
32biimpi 217 . . . . . . 7 ((𝜓 → ¬ 𝜒) → ¬ (𝜓𝜒))
43, 3jca 512 . . . . . 6 ((𝜓 → ¬ 𝜒) → (¬ (𝜓𝜒) ∧ ¬ (𝜓𝜒)))
52biimpri 229 . . . . . . 7 (¬ (𝜓𝜒) → (𝜓 → ¬ 𝜒))
65adantl 482 . . . . . 6 ((¬ (𝜓𝜒) ∧ ¬ (𝜓𝜒)) → (𝜓 → ¬ 𝜒))
74, 6impbii 210 . . . . 5 ((𝜓 → ¬ 𝜒) ↔ (¬ (𝜓𝜒) ∧ ¬ (𝜓𝜒)))
8 df-nan 1476 . . . . . 6 ((𝜓𝜒) ↔ ¬ (𝜓𝜒))
98, 8anbi12i 626 . . . . 5 (((𝜓𝜒) ∧ (𝜓𝜒)) ↔ (¬ (𝜓𝜒) ∧ ¬ (𝜓𝜒)))
107, 9bitr4i 279 . . . 4 ((𝜓 → ¬ 𝜒) ↔ ((𝜓𝜒) ∧ (𝜓𝜒)))
1110imbi2i 337 . . 3 ((𝜑 → (𝜓 → ¬ 𝜒)) ↔ (𝜑 → ((𝜓𝜒) ∧ (𝜓𝜒))))
12 df-nan 1476 . . . . 5 (((𝜓𝜒) ⊼ (𝜓𝜒)) ↔ ¬ ((𝜓𝜒) ∧ (𝜓𝜒)))
1312anbi2i 622 . . . 4 ((𝜑 ∧ ((𝜓𝜒) ⊼ (𝜓𝜒))) ↔ (𝜑 ∧ ¬ ((𝜓𝜒) ∧ (𝜓𝜒))))
1413notbii 321 . . 3 (¬ (𝜑 ∧ ((𝜓𝜒) ⊼ (𝜓𝜒))) ↔ ¬ (𝜑 ∧ ¬ ((𝜓𝜒) ∧ (𝜓𝜒))))
151, 11, 143bitr4i 304 . 2 ((𝜑 → (𝜓 → ¬ 𝜒)) ↔ ¬ (𝜑 ∧ ((𝜓𝜒) ⊼ (𝜓𝜒))))
16 df-3nand 33644 . 2 ((𝜑𝜓𝜒) ↔ (𝜑 → (𝜓 → ¬ 𝜒)))
17 df-nan 1476 . 2 ((𝜑 ⊼ ((𝜓𝜒) ⊼ (𝜓𝜒))) ↔ ¬ (𝜑 ∧ ((𝜓𝜒) ⊼ (𝜓𝜒))))
1815, 16, 173bitr4i 304 1 ((𝜑𝜓𝜒) ↔ (𝜑 ⊼ ((𝜓𝜒) ⊼ (𝜓𝜒))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wnan 1475  w3nand 33643
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 208  df-an 397  df-nan 1476  df-3nand 33644
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator