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 41013
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 844 . . . 4 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)))
2 ifpnot23 40983 . . . . 5 (¬ if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜑, ¬ 𝜒, ¬ 𝜏))
32imbi1i 349 . . . 4 ((¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
41, 3bitri 274 . . 3 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
5 ifpim123g 41005 . . 3 ((if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
64, 5bitri 274 . 2 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
7 pm4.64 845 . . . . 5 ((¬ 𝜒𝜃) ↔ (𝜒𝜃))
87orbi2i 909 . . . 4 (((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ↔ ((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)))
9 pm4.64 845 . . . . 5 ((¬ 𝜏𝜃) ↔ (𝜏𝜃))
109orbi2i 909 . . . 4 (((𝜓𝜑) ∨ (¬ 𝜏𝜃)) ↔ ((𝜓𝜑) ∨ (𝜏𝜃)))
118, 10anbi12i 626 . . 3 ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ↔ (((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))))
12 pm4.64 845 . . . . 5 ((¬ 𝜒𝜂) ↔ (𝜒𝜂))
1312orbi2i 909 . . . 4 (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ↔ ((𝜑𝜓) ∨ (𝜒𝜂)))
14 pm4.64 845 . . . . 5 ((¬ 𝜏𝜂) ↔ (𝜏𝜂))
1514orbi2i 909 . . . 4 (((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)) ↔ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))
1613, 15anbi12i 626 . . 3 ((((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂))) ↔ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂))))
1711, 16anbi12i 626 . 2 (((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
186, 17bitri 274 1 ((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: (None)
  Copyright terms: Public domain W3C validator