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

Theorem ifpdfan2 42214
Description: Define and with conditional logic operator. (Contributed by RP, 25-Apr-2020.)
Assertion
Ref Expression
ifpdfan2 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, 𝜑))

Proof of Theorem ifpdfan2
StepHypRef Expression
1 id 22 . . . 4 (𝜑𝜑)
21notnoti 143 . . 3 ¬ ¬ (𝜑𝜑)
32biorfi 938 . 2 ((𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
4 dfifp6 1068 . 2 (if-(𝜑, 𝜓, 𝜑) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
53, 4bitr4i 278 1 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, 𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  wo 846  if-wif 1062
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 206  df-an 398  df-or 847  df-ifp 1063
This theorem is referenced by:  ifpancor  42215
  Copyright terms: Public domain W3C validator