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 39869
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 1059 . 2 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ ((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))))
2 df-or 844 . . . 4 ((𝜓𝜒) ↔ (¬ 𝜓𝜒))
32imbi2i 338 . . 3 ((𝜑 → (𝜓𝜒)) ↔ (𝜑 → (¬ 𝜓𝜒)))
4 df-or 844 . . . 4 ((𝜃𝜏) ↔ (¬ 𝜃𝜏))
54imbi2i 338 . . 3 ((¬ 𝜑 → (𝜃𝜏)) ↔ (¬ 𝜑 → (¬ 𝜃𝜏)))
63, 5anbi12i 628 . 2 (((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
7 ifpimimb 39868 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ (if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)))
8 dfifp2 1059 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
9 imor 849 . . . 4 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
10 ifpnot23d 39849 . . . . 5 (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ↔ if-(𝜑, 𝜓, 𝜃))
1110orbi1i 910 . . . 4 ((¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
129, 11bitri 277 . . 3 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
137, 8, 123bitr3i 303 . 2 (((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
141, 6, 133bitri 299 1 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  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:  ifpananb  39870
  Copyright terms: Public domain W3C validator