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

Theorem kmlem8 9736
Description: Lemma for 5-quantifier AC of Kurt Maes, Th. 4 1 <=> 4. (Contributed by NM, 4-Apr-2004.)
Assertion
Ref Expression
kmlem8 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
Distinct variable group:   𝑦,𝑢,𝑤,𝑧
Allowed substitution hints:   𝜓(𝑦,𝑧,𝑤,𝑢)

Proof of Theorem kmlem8
StepHypRef Expression
1 ralnex 3148 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 ↔ ¬ ∃𝑧𝑢𝑤𝑧 𝜓)
2 df-rex 3057 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ∃𝑤(𝑤𝑧 ∧ ¬ 𝜓))
3 rexnal 3150 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ¬ ∀𝑤𝑧 𝜓)
42, 3bitr3i 280 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) ↔ ¬ ∀𝑤𝑧 𝜓)
5 exsimpl 1876 . . . . . . . 8 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → ∃𝑤 𝑤𝑧)
6 n0 4247 . . . . . . . 8 (𝑧 ≠ ∅ ↔ ∃𝑤 𝑤𝑧)
75, 6sylibr 237 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → 𝑧 ≠ ∅)
84, 7sylbir 238 . . . . . 6 (¬ ∀𝑤𝑧 𝜓𝑧 ≠ ∅)
98ralimi 3073 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
101, 9sylbir 238 . . . 4 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
11 kmlem2 9730 . . . . 5 (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
12 biimt 364 . . . . . . . . 9 (𝑧 ≠ ∅ → (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1312ralimi 3073 . . . . . . . 8 (∀𝑧𝑢 𝑧 ≠ ∅ → ∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
14 ralbi 3080 . . . . . . . 8 (∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1513, 14syl 17 . . . . . . 7 (∀𝑧𝑢 𝑧 ≠ ∅ → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1615anbi2d 632 . . . . . 6 (∀𝑧𝑢 𝑧 ≠ ∅ → ((¬ 𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ (¬ 𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
1716exbidv 1929 . . . . 5 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
1811, 17bitr4id 293 . . . 4 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1910, 18syl 17 . . 3 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2019pm5.74i 274 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
21 pm4.64 849 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2220, 21bitri 278 1 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847  wex 1787  wcel 2112  ∃!weu 2567  wne 2932  wral 3051  wrex 3052  cin 3852  c0 4223
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307  ax-un 7501
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-sn 4528  df-pr 4530  df-uni 4806
This theorem is referenced by:  dfackm  9745
  Copyright terms: Public domain W3C validator