MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cases2ALT Structured version   Visualization version   GIF version

Theorem cases2ALT 1064
Description: Alternate proof of cases2 1063, not using dedlema 1061 or dedlemb 1062. (Contributed by BJ, 6-Apr-2019.) (Proof shortened by Wolf Lammen, 2-Jan-2020.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
cases2ALT (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) ↔ ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)))

Proof of Theorem cases2ALT
StepHypRef Expression
1 pm3.4 822 . . . 4 ((𝜑 ∧ 𝜓) → (𝜑 → 𝜓))
2 pm2.24 125 . . . . 5 (𝜑 → (¬ 𝜑 → 𝜒))
32adantr 486 . . . 4 ((𝜑 ∧ 𝜓) → (¬ 𝜑 → 𝜒))
41, 3jca 521 . . 3 ((𝜑 ∧ 𝜓) → ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)))
5 pm2.21 124 . . . . 5 (¬ 𝜑 → (𝜑 → 𝜓))
65adantr 486 . . . 4 ((¬ 𝜑 ∧ 𝜒) → (𝜑 → 𝜓))
7 pm3.4 822 . . . 4 ((¬ 𝜑 ∧ 𝜒) → (¬ 𝜑 → 𝜒))
86, 7jca 521 . . 3 ((¬ 𝜑 ∧ 𝜒) → ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)))
94, 8jaoi 871 . 2 (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) → ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)))
10 pm2.27 43 . . . . . 6 (𝜑 → ((𝜑 → 𝜓) → 𝜓))
1110imdistani 579 . . . . 5 ((𝜑 ∧ (𝜑 → 𝜓)) → (𝜑 ∧ 𝜓))
1211orcd 887 . . . 4 ((𝜑 ∧ (𝜑 → 𝜓)) → ((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)))
1312adantrr 730 . . 3 ((𝜑 ∧ ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒))) → ((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)))
14 pm2.27 43 . . . . . 6 (¬ 𝜑 → ((¬ 𝜑 → 𝜒) → 𝜒))
1514imdistani 579 . . . . 5 ((¬ 𝜑 ∧ (¬ 𝜑 → 𝜒)) → (¬ 𝜑 ∧ 𝜒))
1615olcd 888 . . . 4 ((¬ 𝜑 ∧ (¬ 𝜑 → 𝜒)) → ((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)))
1716adantrl 729 . . 3 ((¬ 𝜑 ∧ ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒))) → ((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)))
1813, 17pm2.61ian 824 . 2 (((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)) → ((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)))
199, 18impbii 212 1 (((𝜑 ∧ 𝜓) ∨ (¬ 𝜑 ∧ 𝜒)) ↔ ((𝜑 → 𝜓) ∧ (¬ 𝜑 → 𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861
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
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator