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

Theorem kmlem8 9418
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 3198 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 ↔ ¬ ∃𝑧𝑢𝑤𝑧 𝜓)
2 df-rex 3109 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ∃𝑤(𝑤𝑧 ∧ ¬ 𝜓))
3 rexnal 3200 . . . . . . . 8 (∃𝑤𝑧 ¬ 𝜓 ↔ ¬ ∀𝑤𝑧 𝜓)
42, 3bitr3i 278 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) ↔ ¬ ∀𝑤𝑧 𝜓)
5 exsimpl 1848 . . . . . . . 8 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → ∃𝑤 𝑤𝑧)
6 n0 4224 . . . . . . . 8 (𝑧 ≠ ∅ ↔ ∃𝑤 𝑤𝑧)
75, 6sylibr 235 . . . . . . 7 (∃𝑤(𝑤𝑧 ∧ ¬ 𝜓) → 𝑧 ≠ ∅)
84, 7sylbir 236 . . . . . 6 (¬ ∀𝑤𝑧 𝜓𝑧 ≠ ∅)
98ralimi 3125 . . . . 5 (∀𝑧𝑢 ¬ ∀𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
101, 9sylbir 236 . . . 4 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∀𝑧𝑢 𝑧 ≠ ∅)
11 biimt 362 . . . . . . . . 9 (𝑧 ≠ ∅ → (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1211ralimi 3125 . . . . . . . 8 (∀𝑧𝑢 𝑧 ≠ ∅ → ∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
13 ralbi 3132 . . . . . . . 8 (∀𝑧𝑢 (∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1412, 13syl 17 . . . . . . 7 (∀𝑧𝑢 𝑧 ≠ ∅ → (∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦) ↔ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1514anbi2d 628 . . . . . 6 (∀𝑧𝑢 𝑧 ≠ ∅ → ((¬ 𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ (¬ 𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
1615exbidv 1897 . . . . 5 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)))))
17 kmlem2 9412 . . . . 5 (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1816, 17syl6rbbr 291 . . . 4 (∀𝑧𝑢 𝑧 ≠ ∅ → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
1910, 18syl 17 . . 3 (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → (∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦)) ↔ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2019pm5.74i 272 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
21 pm4.64 844 . 2 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
2220, 21bitri 276 1 ((¬ ∃𝑧𝑢𝑤𝑧 𝜓 → ∃𝑦𝑧𝑢 (𝑧 ≠ ∅ → ∃!𝑤 𝑤 ∈ (𝑧𝑦))) ↔ (∃𝑧𝑢𝑤𝑧 𝜓 ∨ ∃𝑦𝑦𝑢 ∧ ∀𝑧𝑢 ∃!𝑤 𝑤 ∈ (𝑧𝑦))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wo 842  wex 1759  wcel 2079  ∃!weu 2609  wne 2982  wral 3103  wrex 3104  cin 3853  c0 4206
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1775  ax-4 1789  ax-5 1886  ax-6 1945  ax-7 1990  ax-8 2081  ax-9 2089  ax-10 2110  ax-11 2124  ax-12 2139  ax-ext 2767  ax-sep 5088  ax-nul 5095  ax-pr 5214  ax-un 7310
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-tru 1523  df-ex 1760  df-nf 1764  df-sb 2041  df-mo 2574  df-eu 2610  df-clab 2774  df-cleq 2786  df-clel 2861  df-nfc 2933  df-ne 2983  df-ral 3108  df-rex 3109  df-rab 3112  df-v 3434  df-dif 3857  df-un 3859  df-in 3861  df-ss 3869  df-nul 4207  df-sn 4467  df-pr 4469  df-uni 4740
This theorem is referenced by:  dfackm  9427
  Copyright terms: Public domain W3C validator