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 41074
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 1061 . 2 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ ((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))))
2 df-or 844 . . . 4 ((𝜓𝜒) ↔ (¬ 𝜓𝜒))
32imbi2i 335 . . 3 ((𝜑 → (𝜓𝜒)) ↔ (𝜑 → (¬ 𝜓𝜒)))
4 df-or 844 . . . 4 ((𝜃𝜏) ↔ (¬ 𝜃𝜏))
54imbi2i 335 . . 3 ((¬ 𝜑 → (𝜃𝜏)) ↔ (¬ 𝜑 → (¬ 𝜃𝜏)))
63, 5anbi12i 626 . 2 (((𝜑 → (𝜓𝜒)) ∧ (¬ 𝜑 → (𝜃𝜏))) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
7 ifpimimb 41073 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ (if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)))
8 dfifp2 1061 . . 3 (if-(𝜑, (¬ 𝜓𝜒), (¬ 𝜃𝜏)) ↔ ((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))))
9 imor 849 . . . 4 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
10 ifpnot23d 41054 . . . . 5 (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ↔ if-(𝜑, 𝜓, 𝜃))
1110orbi1i 910 . . . 4 ((¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
129, 11bitri 274 . . 3 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
137, 8, 123bitr3i 300 . 2 (((𝜑 → (¬ 𝜓𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃𝜏))) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
141, 6, 133bitri 296 1 (if-(𝜑, (𝜓𝜒), (𝜃𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  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:  ifpananb  41075
  Copyright terms: Public domain W3C validator