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 37860
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 1456 . . . 4 ((𝜑𝜒) → ((𝜓𝜑) ↔ (𝜓𝜒)))
31, 2nanbi12d 1463 . . 3 ((𝜑𝜒) → ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
4 nannan 1451 . . . . . 6 ((𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 → (𝜓𝜒)))
5 simpr 477 . . . . . . 7 ((𝜓𝜒) → 𝜒)
65imim2i 16 . . . . . 6 ((𝜑 → (𝜓𝜒)) → (𝜑𝜒))
74, 6sylbi 207 . . . . 5 ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒))
8 nannan 1451 . . . . . 6 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 → (𝜓𝜑)))
9 simpr 477 . . . . . . 7 ((𝜓𝜑) → 𝜑)
109imim2i 16 . . . . . 6 ((𝜒 → (𝜓𝜑)) → (𝜒𝜑))
118, 10sylbi 207 . . . . 5 ((𝜒 ⊼ (𝜓𝜑)) → (𝜒𝜑))
127, 11impbid21d 201 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) → ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
138notbii 310 . . . . . . 7 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ ¬ (𝜒 → (𝜓𝜑)))
14 pm4.61 442 . . . . . . 7 (¬ (𝜒 → (𝜓𝜑)) ↔ (𝜒 ∧ ¬ (𝜓𝜑)))
15 ianor 509 . . . . . . . 8 (¬ (𝜓𝜑) ↔ (¬ 𝜓 ∨ ¬ 𝜑))
1615anbi2i 730 . . . . . . 7 ((𝜒 ∧ ¬ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
1713, 14, 163bitri 286 . . . . . 6 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
184notbii 310 . . . . . . 7 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ ¬ (𝜑 → (𝜓𝜒)))
19 pm4.61 442 . . . . . . 7 (¬ (𝜑 → (𝜓𝜒)) ↔ (𝜑 ∧ ¬ (𝜓𝜒)))
20 ianor 509 . . . . . . . 8 (¬ (𝜓𝜒) ↔ (¬ 𝜓 ∨ ¬ 𝜒))
2120anbi2i 730 . . . . . . 7 ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
2218, 19, 213bitri 286 . . . . . 6 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
23 pm5.1 902 . . . . . . . 8 ((𝜑𝜒) → (𝜑𝜒))
2423ancoms 469 . . . . . . 7 ((𝜒𝜑) → (𝜑𝜒))
2524ad2ant2r 783 . . . . . 6 (((𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)) ∧ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒))) → (𝜑𝜒))
2617, 22, 25syl2anb 496 . . . . 5 ((¬ (𝜒 ⊼ (𝜓𝜑)) ∧ ¬ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
2726ex 450 . . . 4 (¬ (𝜒 ⊼ (𝜓𝜑)) → (¬ (𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
2812, 27bija 370 . . 3 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
293, 28impbii 199 . 2 ((𝜑𝜒) ↔ ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
30 nancom 1450 . . . . 5 ((𝜓𝜑) ↔ (𝜑𝜓))
3130nanbi2i 1459 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ⊼ (𝜑𝜓)))
32 nancom 1450 . . . 4 ((𝜒 ⊼ (𝜑𝜓)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3331, 32bitri 264 . . 3 ((𝜒 ⊼ (𝜓𝜑)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3433bibi1i 328 . 2 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
3529, 34bitri 264 1 ((𝜑𝜒) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  wnan 1447
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-or 385  df-an 386  df-nan 1448
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator