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

Theorem ifpimimb 44463
Description: Factor conditional logic operator over implication in terms 2 and 3. (Contributed by RP, 21-Apr-2020.)
Assertion
Ref Expression
ifpimimb (if-(𝜑, (𝜓 → 𝜒), (𝜃 → 𝜏)) ↔ (if-(𝜑, 𝜓, 𝜃) → if-(𝜑, 𝜒, 𝜏)))

Proof of Theorem ifpimimb
StepHypRef Expression
1 dfifp2 1080 . 2 (if-(𝜑, (𝜓 → 𝜒), (𝜃 → 𝜏)) ↔ ((𝜑 → (𝜓 → 𝜒)) ∧ (¬ 𝜑 → (𝜃 → 𝜏))))
2 imor 867 . . . 4 ((𝜑 → (𝜓 → 𝜒)) ↔ (¬ 𝜑 ∨ (𝜓 → 𝜒)))
3 pm4.8 398 . . . . . 6 ((𝜑 → ¬ 𝜑) ↔ ¬ 𝜑)
43bicomi 227 . . . . 5 (¬ 𝜑 ↔ (𝜑 → ¬ 𝜑))
54orbi1i 927 . . . 4 ((¬ 𝜑 ∨ (𝜓 → 𝜒)) ↔ ((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)))
6 id 23 . . . . . 6 (𝜑 → 𝜑)
76orci 879 . . . . 5 ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))
87biantru 539 . . . 4 (((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ↔ (((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ∧ ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))))
92, 5, 83bitri 300 . . 3 ((𝜑 → (𝜓 → 𝜒)) ↔ (((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ∧ ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))))
10 pm4.64 863 . . . 4 ((¬ 𝜑 → (𝜃 → 𝜏)) ↔ (𝜑 ∨ (𝜃 → 𝜏)))
11 pm4.81 399 . . . . . 6 ((¬ 𝜑 → 𝜑) ↔ 𝜑)
1211bicomi 227 . . . . 5 (𝜑 ↔ (¬ 𝜑 → 𝜑))
1312orbi1i 927 . . . 4 ((𝜑 ∨ (𝜃 → 𝜏)) ↔ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏)))
146orci 879 . . . . 5 ((𝜑 → 𝜑) ∨ (𝜓 → 𝜏))
1514biantrur 540 . . . 4 (((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏)) ↔ (((𝜑 → 𝜑) ∨ (𝜓 → 𝜏)) ∧ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏))))
1610, 13, 153bitri 300 . . 3 ((¬ 𝜑 → (𝜃 → 𝜏)) ↔ (((𝜑 → 𝜑) ∨ (𝜓 → 𝜏)) ∧ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏))))
179, 16anbi12i 640 . 2 (((𝜑 → (𝜓 → 𝜒)) ∧ (¬ 𝜑 → (𝜃 → 𝜏))) ↔ ((((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ∧ ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))) ∧ (((𝜑 → 𝜑) ∨ (𝜓 → 𝜏)) ∧ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏)))))
18 ifpim123g 44459 . . 3 ((if-(𝜑, 𝜓, 𝜃) → if-(𝜑, 𝜒, 𝜏)) ↔ ((((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ∧ ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))) ∧ (((𝜑 → 𝜑) ∨ (𝜓 → 𝜏)) ∧ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏)))))
1918bicomi 227 . 2 (((((𝜑 → ¬ 𝜑) ∨ (𝜓 → 𝜒)) ∧ ((𝜑 → 𝜑) ∨ (𝜃 → 𝜒))) ∧ (((𝜑 → 𝜑) ∨ (𝜓 → 𝜏)) ∧ ((¬ 𝜑 → 𝜑) ∨ (𝜃 → 𝜏)))) ↔ (if-(𝜑, 𝜓, 𝜃) → if-(𝜑, 𝜒, 𝜏)))
201, 17, 193bitri 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:  ifpororb  44464  ifpbibib  44469
  Copyright terms: Public domain W3C validator