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 41105
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 845 . . . 4 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)))
2 ifpnot23 41075 . . . . 5 (¬ if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜑, ¬ 𝜒, ¬ 𝜏))
32imbi1i 350 . . . 4 ((¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
41, 3bitri 274 . . 3 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
5 ifpim123g 41097 . . 3 ((if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
64, 5bitri 274 . 2 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
7 pm4.64 846 . . . . 5 ((¬ 𝜒𝜃) ↔ (𝜒𝜃))
87orbi2i 910 . . . 4 (((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ↔ ((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)))
9 pm4.64 846 . . . . 5 ((¬ 𝜏𝜃) ↔ (𝜏𝜃))
109orbi2i 910 . . . 4 (((𝜓𝜑) ∨ (¬ 𝜏𝜃)) ↔ ((𝜓𝜑) ∨ (𝜏𝜃)))
118, 10anbi12i 627 . . 3 ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ↔ (((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))))
12 pm4.64 846 . . . . 5 ((¬ 𝜒𝜂) ↔ (𝜒𝜂))
1312orbi2i 910 . . . 4 (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ↔ ((𝜑𝜓) ∨ (𝜒𝜂)))
14 pm4.64 846 . . . . 5 ((¬ 𝜏𝜂) ↔ (𝜏𝜂))
1514orbi2i 910 . . . 4 (((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)) ↔ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))
1613, 15anbi12i 627 . . 3 ((((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂))) ↔ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂))))
1711, 16anbi12i 627 . 2 (((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
186, 17bitri 274 1 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  if-wif 1060
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 397  df-or 845  df-ifp 1061
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator