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 41032
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 935 . 2 ((𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
4 dfifp6 1065 . 2 (if-(𝜑, 𝜓, 𝜑) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜑)))
53, 4bitr4i 277 1 ((𝜑𝜓) ↔ if-(𝜑, 𝜓, 𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  if-wif 1059
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 396  df-or 844  df-ifp 1060
This theorem is referenced by:  ifpancor  41033
  Copyright terms: Public domain W3C validator