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 38379
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 837 . . . 4 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)))
2 ifpnot23 38349 . . . . 5 (¬ if-(𝜑, 𝜒, 𝜏) ↔ if-(𝜑, ¬ 𝜒, ¬ 𝜏))
32imbi1i 338 . . . 4 ((¬ if-(𝜑, 𝜒, 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
41, 3bitri 264 . . 3 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ (if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)))
5 ifpim123g 38371 . . 3 ((if-(𝜑, ¬ 𝜒, ¬ 𝜏) → if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
64, 5bitri 264 . 2 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))))
7 pm4.64 838 . . . . 5 ((¬ 𝜒𝜃) ↔ (𝜒𝜃))
87orbi2i 898 . . . 4 (((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ↔ ((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)))
9 pm4.64 838 . . . . 5 ((¬ 𝜏𝜃) ↔ (𝜏𝜃))
109orbi2i 898 . . . 4 (((𝜓𝜑) ∨ (¬ 𝜏𝜃)) ↔ ((𝜓𝜑) ∨ (𝜏𝜃)))
118, 10anbi12i 612 . . 3 ((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ↔ (((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))))
12 pm4.64 838 . . . . 5 ((¬ 𝜒𝜂) ↔ (𝜒𝜂))
1312orbi2i 898 . . . 4 (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ↔ ((𝜑𝜓) ∨ (𝜒𝜂)))
14 pm4.64 838 . . . . 5 ((¬ 𝜏𝜂) ↔ (𝜏𝜂))
1514orbi2i 898 . . . 4 (((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)) ↔ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))
1613, 15anbi12i 612 . . 3 ((((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂))) ↔ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂))))
1711, 16anbi12i 612 . 2 (((((𝜑 → ¬ 𝜓) ∨ (¬ 𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (¬ 𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (¬ 𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (¬ 𝜏𝜂)))) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
186, 17bitri 264 1 ((if-(𝜑, 𝜒, 𝜏) ∨ if-(𝜓, 𝜃, 𝜂)) ↔ ((((𝜑 → ¬ 𝜓) ∨ (𝜒𝜃)) ∧ ((𝜓𝜑) ∨ (𝜏𝜃))) ∧ (((𝜑𝜓) ∨ (𝜒𝜂)) ∧ ((¬ 𝜓𝜑) ∨ (𝜏𝜂)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 382  wo 836  if-wif 1049
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 197  df-an 383  df-or 837  df-ifp 1050
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator