Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-ifpimpr Structured version   Visualization version   GIF version

Theorem wl-ifpimpr 35331
Description: If one case of an if- condition is a consequence of the other, the expression in df-ifp 1064 can be shortened. (Contributed by Wolf Lammen, 12-Jun-2024.)
Assertion
Ref Expression
wl-ifpimpr ((𝜒𝜓) → (if-(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ 𝜒)))

Proof of Theorem wl-ifpimpr
StepHypRef Expression
1 pm4.72 950 . . . . . . 7 ((𝜒𝜓) ↔ (𝜓 ↔ (𝜒𝜓)))
21biimpi 219 . . . . . 6 ((𝜒𝜓) → (𝜓 ↔ (𝜒𝜓)))
3 orcom 870 . . . . . 6 ((𝜒𝜓) ↔ (𝜓𝜒))
42, 3bitrdi 290 . . . . 5 ((𝜒𝜓) → (𝜓 ↔ (𝜓𝜒)))
54anbi2d 632 . . . 4 ((𝜒𝜓) → ((𝜑𝜓) ↔ (𝜑 ∧ (𝜓𝜒))))
6 andi 1008 . . . 4 ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ∨ (𝜑𝜒)))
75, 6bitrdi 290 . . 3 ((𝜒𝜓) → ((𝜑𝜓) ↔ ((𝜑𝜓) ∨ (𝜑𝜒))))
87orbi1d 917 . 2 ((𝜒𝜓) → (((𝜑𝜓) ∨ (¬ 𝜑𝜒)) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∨ (¬ 𝜑𝜒))))
9 df-ifp 1064 . 2 (if-(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (¬ 𝜑𝜒)))
10 biidd 265 . . . . 5 (𝜑 → (𝜒𝜒))
11 biidd 265 . . . . 5 𝜑 → (𝜒𝜒))
1210, 11cases 1043 . . . 4 (𝜒 ↔ ((𝜑𝜒) ∨ (¬ 𝜑𝜒)))
1312orbi2i 913 . . 3 (((𝜑𝜓) ∨ 𝜒) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (¬ 𝜑𝜒))))
14 orass 922 . . 3 ((((𝜑𝜓) ∨ (𝜑𝜒)) ∨ (¬ 𝜑𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (¬ 𝜑𝜒))))
1513, 14bitr4i 281 . 2 (((𝜑𝜓) ∨ 𝜒) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∨ (¬ 𝜑𝜒)))
168, 9, 153bitr4g 317 1 ((𝜒𝜓) → (if-(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ 𝜒)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847  if-wif 1063
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 210  df-an 400  df-or 848  df-ifp 1064
This theorem is referenced by:  wl-ifp4impr  35332  wl-df2-3mintru2  35350
  Copyright terms: Public domain W3C validator