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

Theorem ifpdfnan 39926
Description: Define nand as conditional logic operator. (Contributed by RP, 20-Apr-2020.)
Assertion
Ref Expression
ifpdfnan ((𝜑𝜓) ↔ if-(𝜑, ¬ 𝜓, ⊤))

Proof of Theorem ifpdfnan
StepHypRef Expression
1 df-nan 1481 . 2 ((𝜑𝜓) ↔ ¬ (𝜑𝜓))
2 ifpdfan 39906 . . 3 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, ⊥))
32notbii 322 . 2 (¬ (𝜑𝜓) ↔ ¬ if-(𝜑, 𝜓, ⊥))
4 ifpnot23 39918 . . 3 (¬ if-(𝜑, 𝜓, ⊥) ↔ if-(𝜑, ¬ 𝜓, ¬ ⊥))
5 notfal 1564 . . . 4 (¬ ⊥ ↔ ⊤)
6 ifpbi3 39908 . . . 4 ((¬ ⊥ ↔ ⊤) → (if-(𝜑, ¬ 𝜓, ¬ ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤)))
75, 6ax-mp 5 . . 3 (if-(𝜑, ¬ 𝜓, ¬ ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤))
84, 7bitri 277 . 2 (¬ if-(𝜑, 𝜓, ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤))
91, 3, 83bitri 299 1 ((𝜑𝜓) ↔ if-(𝜑, ¬ 𝜓, ⊤))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398  if-wif 1057  wnan 1480  wtru 1537  wfal 1548
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 209  df-an 399  df-or 844  df-ifp 1058  df-nan 1481  df-tru 1539  df-fal 1549
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator