Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rp-fakenanass Structured version   Visualization version   GIF version

Theorem rp-fakenanass 38379
Description: A special case where nand appears to conform to a mixed associative law. (Contributed by Richard Penner, 29-Feb-2020.)
Assertion
Ref Expression
rp-fakenanass ((𝜑𝜒) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))

Proof of Theorem rp-fakenanass
StepHypRef Expression
1 bicom1 211 . . . 4 ((𝜑𝜒) → (𝜒𝜑))
2 nanbi2 1603 . . . 4 ((𝜑𝜒) → ((𝜓𝜑) ↔ (𝜓𝜒)))
31, 2nanbi12d 1610 . . 3 ((𝜑𝜒) → ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
4 nannan 1598 . . . . . 6 ((𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 → (𝜓𝜒)))
5 simpr 471 . . . . . . 7 ((𝜓𝜒) → 𝜒)
65imim2i 16 . . . . . 6 ((𝜑 → (𝜓𝜒)) → (𝜑𝜒))
74, 6sylbi 207 . . . . 5 ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒))
8 nannan 1598 . . . . . 6 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 → (𝜓𝜑)))
9 simpr 471 . . . . . . 7 ((𝜓𝜑) → 𝜑)
109imim2i 16 . . . . . 6 ((𝜒 → (𝜓𝜑)) → (𝜒𝜑))
118, 10sylbi 207 . . . . 5 ((𝜒 ⊼ (𝜓𝜑)) → (𝜒𝜑))
127, 11impbid21d 201 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) → ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
138notbii 309 . . . . . . 7 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ ¬ (𝜒 → (𝜓𝜑)))
14 pm4.61 391 . . . . . . 7 (¬ (𝜒 → (𝜓𝜑)) ↔ (𝜒 ∧ ¬ (𝜓𝜑)))
15 ianor 910 . . . . . . . 8 (¬ (𝜓𝜑) ↔ (¬ 𝜓 ∨ ¬ 𝜑))
1615anbi2i 601 . . . . . . 7 ((𝜒 ∧ ¬ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
1713, 14, 163bitri 286 . . . . . 6 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
184notbii 309 . . . . . . 7 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ ¬ (𝜑 → (𝜓𝜒)))
19 pm4.61 391 . . . . . . 7 (¬ (𝜑 → (𝜓𝜒)) ↔ (𝜑 ∧ ¬ (𝜓𝜒)))
20 ianor 910 . . . . . . . 8 (¬ (𝜓𝜒) ↔ (¬ 𝜓 ∨ ¬ 𝜒))
2120anbi2i 601 . . . . . . 7 ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
2218, 19, 213bitri 286 . . . . . 6 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
23 pm5.1 804 . . . . . . . 8 ((𝜑𝜒) → (𝜑𝜒))
2423ancoms 455 . . . . . . 7 ((𝜒𝜑) → (𝜑𝜒))
2524ad2ant2r 733 . . . . . 6 (((𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)) ∧ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒))) → (𝜑𝜒))
2617, 22, 25syl2anb 577 . . . . 5 ((¬ (𝜒 ⊼ (𝜓𝜑)) ∧ ¬ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
2726ex 397 . . . 4 (¬ (𝜒 ⊼ (𝜓𝜑)) → (¬ (𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
2812, 27bija 369 . . 3 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
293, 28impbii 199 . 2 ((𝜑𝜒) ↔ ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
30 nancom 1597 . . . . 5 ((𝜓𝜑) ↔ (𝜑𝜓))
3130nanbi2i 1606 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ⊼ (𝜑𝜓)))
32 nancom 1597 . . . 4 ((𝜒 ⊼ (𝜑𝜓)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3331, 32bitri 264 . . 3 ((𝜒 ⊼ (𝜓𝜑)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3433bibi1i 327 . 2 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
3529, 34bitri 264 1 ((𝜑𝜒) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 382  wo 826  wnan 1594
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 197  df-an 383  df-or 827  df-nan 1595
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator