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 36879
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 210 . . . 4 ((𝜑𝜒) → (𝜒𝜑))
2 nanbi2 1448 . . . 4 ((𝜑𝜒) → ((𝜓𝜑) ↔ (𝜓𝜒)))
31, 2nanbi12d 1455 . . 3 ((𝜑𝜒) → ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
4 nannan 1443 . . . . . 6 ((𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 → (𝜓𝜒)))
5 simpr 476 . . . . . . 7 ((𝜓𝜒) → 𝜒)
65imim2i 16 . . . . . 6 ((𝜑 → (𝜓𝜒)) → (𝜑𝜒))
74, 6sylbi 206 . . . . 5 ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒))
8 nannan 1443 . . . . . 6 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 → (𝜓𝜑)))
9 simpr 476 . . . . . . 7 ((𝜓𝜑) → 𝜑)
109imim2i 16 . . . . . 6 ((𝜒 → (𝜓𝜑)) → (𝜒𝜑))
118, 10sylbi 206 . . . . 5 ((𝜒 ⊼ (𝜓𝜑)) → (𝜒𝜑))
127, 11impbid21d 200 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) → ((𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
138notbii 309 . . . . . . 7 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ ¬ (𝜒 → (𝜓𝜑)))
14 pm4.61 441 . . . . . . 7 (¬ (𝜒 → (𝜓𝜑)) ↔ (𝜒 ∧ ¬ (𝜓𝜑)))
15 ianor 508 . . . . . . . 8 (¬ (𝜓𝜑) ↔ (¬ 𝜓 ∨ ¬ 𝜑))
1615anbi2i 726 . . . . . . 7 ((𝜒 ∧ ¬ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
1713, 14, 163bitri 285 . . . . . 6 (¬ (𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)))
184notbii 309 . . . . . . 7 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ ¬ (𝜑 → (𝜓𝜒)))
19 pm4.61 441 . . . . . . 7 (¬ (𝜑 → (𝜓𝜒)) ↔ (𝜑 ∧ ¬ (𝜓𝜒)))
20 ianor 508 . . . . . . . 8 (¬ (𝜓𝜒) ↔ (¬ 𝜓 ∨ ¬ 𝜒))
2120anbi2i 726 . . . . . . 7 ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
2218, 19, 213bitri 285 . . . . . 6 (¬ (𝜑 ⊼ (𝜓𝜒)) ↔ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
23 pm5.1 898 . . . . . . . 8 ((𝜑𝜒) → (𝜑𝜒))
2423ancoms 468 . . . . . . 7 ((𝜒𝜑) → (𝜑𝜒))
2524ad2ant2r 779 . . . . . 6 (((𝜒 ∧ (¬ 𝜓 ∨ ¬ 𝜑)) ∧ (𝜑 ∧ (¬ 𝜓 ∨ ¬ 𝜒))) → (𝜑𝜒))
2617, 22, 25syl2anb 495 . . . . 5 ((¬ (𝜒 ⊼ (𝜓𝜑)) ∧ ¬ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
2726ex 449 . . . 4 (¬ (𝜒 ⊼ (𝜓𝜑)) → (¬ (𝜑 ⊼ (𝜓𝜒)) → (𝜑𝜒)))
2812, 27bija 369 . . 3 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) → (𝜑𝜒))
293, 28impbii 198 . 2 ((𝜑𝜒) ↔ ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))))
30 nancom 1442 . . . . 5 ((𝜓𝜑) ↔ (𝜑𝜓))
3130nanbi2i 1451 . . . 4 ((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜒 ⊼ (𝜑𝜓)))
32 nancom 1442 . . . 4 ((𝜒 ⊼ (𝜑𝜓)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3331, 32bitri 263 . . 3 ((𝜒 ⊼ (𝜓𝜑)) ↔ ((𝜑𝜓) ⊼ 𝜒))
3433bibi1i 327 . 2 (((𝜒 ⊼ (𝜓𝜑)) ↔ (𝜑 ⊼ (𝜓𝜒))) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
3529, 34bitri 263 1 ((𝜑𝜒) ↔ (((𝜑𝜓) ⊼ 𝜒) ↔ (𝜑 ⊼ (𝜓𝜒))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  wnan 1439
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 196  df-or 384  df-an 385  df-nan 1440
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator