MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  casesifp Structured version   Visualization version   GIF version

Theorem casesifp 1093
Description: Version of cases 1057 expressed using if-. Case disjunction according to the value of 𝜑. One can see this as a proof that the two hypotheses characterize the conditional operator for propositions. For the converses, see ifptru 1090 and ifpfal 1091. (Contributed by BJ, 20-Sep-2019.)
Hypotheses
Ref Expression
casesifp.1 (𝜑 → (𝜓𝜒))
casesifp.2 𝜑 → (𝜓𝜃))
Assertion
Ref Expression
casesifp (𝜓 ↔ if-(𝜑, 𝜒, 𝜃))

Proof of Theorem casesifp
StepHypRef Expression
1 casesifp.1 . . 3 (𝜑 → (𝜓𝜒))
2 casesifp.2 . . 3 𝜑 → (𝜓𝜃))
31, 2cases 1057 . 2 (𝜓 ↔ ((𝜑𝜒) ∨ (¬ 𝜑𝜃)))
4 df-ifp 1078 . 2 (if-(𝜑, 𝜒, 𝜃) ↔ ((𝜑𝜒) ∨ (¬ 𝜑𝜃)))
53, 4bitr4i 281 1 (𝜓 ↔ if-(𝜑, 𝜒, 𝜃))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 400  wo 860  if-wif 1077
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ifp 1078
This theorem is used by:  hadifp  1634  cadifp  1648  brif1  7509  wl-1xor  38156  wl-1mintru1  38162  brif2  43023  brif12  43024
  Copyright terms: Public domain W3C validator