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 39821
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 145 . . 3 ¬ ¬ (𝜑𝜑)
32biorfi 935 . 2 ((𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
4 dfifp6 1063 . 2 (if-(𝜑, 𝜓, 𝜑) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
53, 4bitr4i 280 1 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, 𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  if-wif 1057
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
This theorem is referenced by:  ifpancor  39822
  Copyright terms: Public domain W3C validator