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

Theorem ifpor123g 36872
Description: Disjunction of conditional logical operators. (Contributed by RP, 18-Apr-2020.)
Assertion
Ref Expression
ifpor123g ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))

Proof of Theorem ifpor123g
StepHypRef Expression
1 df-or 384 . . . 4 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)))
2 ifpnot23 36842 . . . . 5 (¬ if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜑, ¬ 𝜒, ¬ 𝜏))
32imbi1i 338 . . . 4 ((¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
41, 3bitri 263 . . 3 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
5 ifpim123g 36864 . . 3 ((if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
64, 5bitri 263 . 2 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
7 pm4.64 386 . . . . 5 ((¬ 𝜒𝜃) ↔ (𝜒𝜃))
87orbi2i 540 . . . 4 (((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ↔ ((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)))
9 pm4.64 386 . . . . 5 ((¬ 𝜏𝜃) ↔ (𝜏𝜃))
109orbi2i 540 . . . 4 (((𝜓𝜑) ∨ (¬ 𝜏𝜃)) ↔ ((𝜓𝜑) ∨ (𝜏𝜃)))
118, 10anbi12i 729 . . 3 ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ↔ (((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))))
12 pm4.64 386 . . . . 5 ((¬ 𝜒𝜂) ↔ (𝜒𝜂))
1312orbi2i 540 . . . 4 (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ↔ ((𝜑𝜓) ∨ (𝜒𝜂)))
14 pm4.64 386 . . . . 5 ((¬ 𝜏𝜂) ↔ (𝜏𝜂))
1514orbi2i 540 . . . 4 (((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)) ↔ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))
1613, 15anbi12i 729 . . 3 ((((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂))) ↔ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂))))
1711, 16anbi12i 729 . 2 (((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
186, 17bitri 263 1 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  if-wif 1006
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 196  df-or 384  df-an 385  df-ifp 1007
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator