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 40755
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 939 . 2 ((𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
4 dfifp6 1069 . 2 (if-(𝜑, 𝜓, 𝜑) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
53, 4bitr4i 281 1 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, 𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847  if-wif 1063
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 210  df-an 400  df-or 848  df-ifp 1064
This theorem is referenced by:  ifpancor  40756
  Copyright terms: Public domain W3C validator