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

Theorem ifpid1g 41063
Description: Restate wff as conditional logic operator. (Contributed by RP, 20-Apr-2020.)
Assertion
Ref Expression
ifpid1g ((𝜑 ↔ if-(𝜑, 𝜓, 𝜒)) ↔ ((𝜒𝜑) ∧ (𝜑𝜓)))

Proof of Theorem ifpid1g
StepHypRef Expression
1 ifpidg 41060 . 2 ((𝜑 ↔ if-(𝜑, 𝜓, 𝜒)) ↔ ((((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓)) ∧ ((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒)))))
2 ancom 460 . 2 (((((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓)) ∧ ((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒)))) ↔ (((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒))) ∧ (((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓))))
3 pm4.25 902 . . . . 5 (𝜑 ↔ (𝜑𝜑))
43imbi2i 335 . . . 4 ((𝜒𝜑) ↔ (𝜒 → (𝜑𝜑)))
5 orc 863 . . . . 5 (𝜑 → (𝜑𝜒))
65biantru 529 . . . 4 ((𝜒 → (𝜑𝜑)) ↔ ((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒))))
74, 6bitr2i 275 . . 3 (((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒))) ↔ (𝜒𝜑))
8 pm4.24 563 . . . . 5 (𝜑 ↔ (𝜑𝜑))
98imbi1i 349 . . . 4 ((𝜑𝜓) ↔ ((𝜑𝜑) → 𝜓))
10 simpl 482 . . . . 5 ((𝜑𝜓) → 𝜑)
1110biantrur 530 . . . 4 (((𝜑𝜑) → 𝜓) ↔ (((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓)))
129, 11bitr2i 275 . . 3 ((((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓)) ↔ (𝜑𝜓))
137, 12anbi12i 626 . 2 ((((𝜒 → (𝜑𝜑)) ∧ (𝜑 → (𝜑𝜒))) ∧ (((𝜑𝜓) → 𝜑) ∧ ((𝜑𝜑) → 𝜓))) ↔ ((𝜒𝜑) ∧ (𝜑𝜓)))
141, 2, 133bitri 296 1 ((𝜑 ↔ if-(𝜑, 𝜓, 𝜒)) ↔ ((𝜒𝜑) ∧ (𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  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: (None)
  Copyright terms: Public domain W3C validator