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

Theorem anifp 1065
Description: The conditional operator is implied by the conjunction of its possible outputs. Dual statement of ifpor 1066. (Contributed by BJ, 30-Sep-2019.)
Assertion
Ref Expression
anifp ((𝜓𝜒) → if-(𝜑, 𝜓, 𝜒))

Proof of Theorem anifp
StepHypRef Expression
1 olc 864 . . 3 (𝜓 → (¬ 𝜑𝜓))
2 olc 864 . . 3 (𝜒 → (𝜑𝜒))
31, 2anim12i 614 . 2 ((𝜓𝜒) → ((¬ 𝜑𝜓) ∧ (𝜑𝜒)))
4 dfifp4 1061 . 2 (if-(𝜑, 𝜓, 𝜒) ↔ ((¬ 𝜑𝜓) ∧ (𝜑𝜒)))
53, 4sylibr 236 1 ((𝜓𝜒) → if-(𝜑, 𝜓, 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  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:  bj-consensus  33911  bj-consensusALT  33912  axfrege58a  40218
  Copyright terms: Public domain W3C validator