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

Theorem ifpororb 40666
Description: Factor conditional logic operator over disjunction in terms 2 and 3. (Contributed by RP, 21-Apr-2020.)
Assertion
Ref Expression
ifpororb (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))

Proof of Theorem ifpororb
StepHypRef Expression
1 dfifp2 1064 . 2 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ ((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))))
2 df-or 847 . . . 4 ((𝜓𝜒) ↔ (¬ 𝜓𝜒))
32imbi2i 339 . . 3 ((𝜑 → (𝜓𝜒)) ↔ (𝜑 → (¬ 𝜓𝜒)))
4 df-or 847 . . . 4 ((𝜃𝜏) ↔ (¬ 𝜃𝜏))
54imbi2i 339 . . 3 ((¬ 𝜑 → (𝜃𝜏)) ↔ (¬ 𝜑 → (¬ 𝜃𝜏)))
63, 5anbi12i 630 . 2 (((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
7 ifpimimb 40665 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ (if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)))
8 dfifp2 1064 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
9 imor 852 . . . 4 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
10 ifpnot23d 40646 . . . . 5 (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ↔ if-(𝜑, 𝜓, 𝜃))
1110orbi1i 913 . . . 4 ((¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
129, 11bitri 278 . . 3 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
137, 8, 123bitr3i 304 . 2 (((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
141, 6, 133bitri 300 1 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 846  if-wif 1062
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 847  df-ifp 1063
This theorem is referenced by:  ifpananb  40667
  Copyright terms: Public domain W3C validator