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

Theorem kmlem8 8979
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 2992 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 ↔ ¬ ∃𝑧𝑢𝑤𝑧 𝜓)
2 df-rex 2918 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ∃𝑤(𝑤𝑧 ∧ ¬ 𝜓))
3 rexnal 2995 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ¬ ∀𝑤𝑧 𝜓)
42, 3bitr3i 266 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) ↔ ¬ ∀𝑤𝑧 𝜓)
5 exsimpl 1795 . . . . . . . 8 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → ∃𝑤 𝑤𝑧)
6 n0 3931 . . . . . . . 8 (𝑧 ≠ ∅ ↔ ∃𝑤 𝑤𝑧)
75, 6sylibr 224 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → 𝑧 ≠ ∅)
84, 7sylbir 225 . . . . . 6 (¬ ∀𝑤𝑧 𝜓𝑧 ≠ ∅)
98ralimi 2952 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
101, 9sylbir 225 . . . 4 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
11 biimt 350 . . . . . . . . 9 (𝑧 ≠ ∅ → (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1211ralimi 2952 . . . . . . . 8 (∀𝑧𝑢 𝑧 ≠ ∅ → ∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
13 ralbi 3068 . . . . . . . 8 (∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1412, 13syl 17 . . . . . . 7 (∀𝑧𝑢 𝑧 ≠ ∅ → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1514anbi2d 740 . . . . . 6 (∀𝑧𝑢 𝑧 ≠ ∅ → ((¬ 𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ (¬ 𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
1615exbidv 1850 . . . . 5 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
17 kmlem2 8973 . . . . 5 (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1816, 17syl6rbbr 279 . . . 4 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1910, 18syl 17 . . 3 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2019pm5.74i 260 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
21 pm4.64 387 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2220, 21bitri 264 1 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  wex 1704  wcel 1990  ∃!weu 2470  wne 2794  wral 2912  wrex 2913  cin 3573  c0 3915
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-sn 4178  df-pr 4180  df-uni 4437
This theorem is referenced by:  dfackm  8988
  Copyright terms: Public domain W3C validator