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 44449
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 1080 . 2 (if-(𝜑, (𝜓 ∨ 𝜒), (𝜃 ∨ 𝜏)) ↔ ((𝜑 → (𝜓 ∨ 𝜒)) ∧ (¬ 𝜑 → (𝜃 ∨ 𝜏))))
2 df-or 862 . . . 4 ((𝜓 ∨ 𝜒) ↔ (¬ 𝜓 → 𝜒))
32imbi2i 339 . . 3 ((𝜑 → (𝜓 ∨ 𝜒)) ↔ (𝜑 → (¬ 𝜓 → 𝜒)))
4 df-or 862 . . . 4 ((𝜃 ∨ 𝜏) ↔ (¬ 𝜃 → 𝜏))
54imbi2i 339 . . 3 ((¬ 𝜑 → (𝜃 ∨ 𝜏)) ↔ (¬ 𝜑 → (¬ 𝜃 → 𝜏)))
63, 5anbi12i 640 . 2 (((𝜑 → (𝜓 ∨ 𝜒)) ∧ (¬ 𝜑 → (𝜃 ∨ 𝜏))) ↔ ((𝜑 → (¬ 𝜓 → 𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃 → 𝜏))))
7 ifpimimb 44448 . . 3 (if-(𝜑, (¬ 𝜓 → 𝜒), (¬ 𝜃 → 𝜏)) ↔ (if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)))
8 dfifp2 1080 . . 3 (if-(𝜑, (¬ 𝜓 → 𝜒), (¬ 𝜃 → 𝜏)) ↔ ((𝜑 → (¬ 𝜓 → 𝜒)) ∧ (¬ 𝜑 → (¬ 𝜃 → 𝜏))))
9 imor 867 . . . 4 ((if-(𝜑, ¬ 𝜓, ¬ 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ∨ if-(𝜑, 𝜒, 𝜏)))
10 ifpnot23d 44429 . . . . 5 (¬ if-(𝜑, ¬ 𝜓, ¬ 𝜃) ↔ if-(𝜑, 𝜓, 𝜃))
1110orbi1i 927 . . . 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
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861  if-wif 1078
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079
This theorem is used by:  ifpananb  44450
  Copyright terms: Public domain W3C validator