Mathbox for Richard Penner < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ifpim2 Structured version   Visualization version   GIF version

Theorem ifpim2 38133
 Description: Restate implication as conditional logic operator. (Contributed by RP, 20-Apr-2020.)
Assertion
Ref Expression
ifpim2 ((𝜑𝜓) ↔ if-(𝜓, ⊤, ¬ 𝜑))

Proof of Theorem ifpim2
StepHypRef Expression
1 tru 1527 . . . 4
21olci 405 . . 3 𝜓 ∨ ⊤)
32biantrur 526 . 2 ((𝜓 ∨ ¬ 𝜑) ↔ ((¬ 𝜓 ∨ ⊤) ∧ (𝜓 ∨ ¬ 𝜑)))
4 imor 427 . . 3 ((𝜑𝜓) ↔ (¬ 𝜑𝜓))
5 orcom 401 . . 3 ((¬ 𝜑𝜓) ↔ (𝜓 ∨ ¬ 𝜑))
64, 5bitri 264 . 2 ((𝜑𝜓) ↔ (𝜓 ∨ ¬ 𝜑))
7 dfifp4 1036 . 2 (if-(𝜓, ⊤, ¬ 𝜑) ↔ ((¬ 𝜓 ∨ ⊤) ∧ (𝜓 ∨ ¬ 𝜑)))
83, 6, 73bitr4i 292 1 ((𝜑𝜓) ↔ if-(𝜓, ⊤, ¬ 𝜑))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∨ wo 382   ∧ wa 383  if-wif 1032  ⊤wtru 1524 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 197  df-or 384  df-an 385  df-ifp 1033  df-tru 1526 This theorem is referenced by:  ifpdfbi  38135
 Copyright terms: Public domain W3C validator