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

Theorem kmlem8 8862
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 2975 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 ↔ ¬ ∃𝑧𝑢𝑤𝑧 𝜓)
2 df-rex 2902 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ∃𝑤(𝑤𝑧 ∧ ¬ 𝜓))
3 rexnal 2978 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ¬ ∀𝑤𝑧 𝜓)
42, 3bitr3i 265 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) ↔ ¬ ∀𝑤𝑧 𝜓)
5 exsimpl 1783 . . . . . . . 8 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → ∃𝑤 𝑤𝑧)
6 n0 3890 . . . . . . . 8 (𝑧 ≠ ∅ ↔ ∃𝑤 𝑤𝑧)
75, 6sylibr 223 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → 𝑧 ≠ ∅)
84, 7sylbir 224 . . . . . 6 (¬ ∀𝑤𝑧 𝜓𝑧 ≠ ∅)
98ralimi 2936 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
101, 9sylbir 224 . . . 4 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
11 biimt 349 . . . . . . . . 9 (𝑧 ≠ ∅ → (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1211ralimi 2936 . . . . . . . 8 (∀𝑧𝑢 𝑧 ≠ ∅ → ∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
13 ralbi 3050 . . . . . . . 8 (∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1412, 13syl 17 . . . . . . 7 (∀𝑧𝑢 𝑧 ≠ ∅ → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1514anbi2d 736 . . . . . 6 (∀𝑧𝑢 𝑧 ≠ ∅ → ((¬ 𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ (¬ 𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
1615exbidv 1837 . . . . 5 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
17 kmlem2 8856 . . . . 5 (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1816, 17syl6rbbr 278 . . . 4 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1910, 18syl 17 . . 3 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2019pm5.74i 259 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
21 pm4.64 386 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2220, 21bitri 263 1 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  wex 1695  wcel 1977  ∃!weu 2458  wne 2780  wral 2896  wrex 2897  cin 3539  c0 3874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-sn 4126  df-pr 4128  df-uni 4373
This theorem is referenced by:  dfackm  8871
  Copyright terms: Public domain W3C validator