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

Theorem kmlem14 9919
Description: Lemma for 5-quantifier AC of Kurt Maes, Th. 4, part of 5 <=> 4. (Contributed by NM, 4-Apr-2004.)
Hypotheses
Ref Expression
kmlem14.1 (𝜑 ↔ (𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)))
kmlem14.2 (𝜓 ↔ (𝑧𝑥 → ((𝑣𝑧𝑣𝑦) ∧ ((𝑢𝑧𝑢𝑦) → 𝑢 = 𝑣))))
kmlem14.3 (𝜒 ↔ ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ (𝑧𝑦))
Assertion
Ref Expression
kmlem14 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢   𝜑,𝑢
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤,𝑣)   𝜓(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)   𝜒(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)

Proof of Theorem kmlem14
StepHypRef Expression
1 neeq1 3006 . . . . . 6 (𝑧 = 𝑦 → (𝑧𝑤𝑦𝑤))
2 ineq1 4139 . . . . . . 7 (𝑧 = 𝑦 → (𝑧𝑤) = (𝑦𝑤))
32eleq2d 2824 . . . . . 6 (𝑧 = 𝑦 → (𝑣 ∈ (𝑧𝑤) ↔ 𝑣 ∈ (𝑦𝑤)))
41, 3anbi12d 631 . . . . 5 (𝑧 = 𝑦 → ((𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
54rexbidv 3226 . . . 4 (𝑧 = 𝑦 → (∃𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
65raleqbi1dv 3340 . . 3 (𝑧 = 𝑦 → (∀𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
76cbvrexvw 3384 . 2 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑥𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)))
8 df-rex 3070 . 2 (∃𝑦𝑥𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∃𝑦(𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
9 eleq1w 2821 . . . . . . . . 9 (𝑣 = 𝑧 → (𝑣 ∈ (𝑦𝑤) ↔ 𝑧 ∈ (𝑦𝑤)))
109anbi2d 629 . . . . . . . 8 (𝑣 = 𝑧 → ((𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1110rexbidv 3226 . . . . . . 7 (𝑣 = 𝑧 → (∃𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1211cbvralvw 3383 . . . . . 6 (∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∀𝑧𝑦𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))
13 df-ral 3069 . . . . . 6 (∀𝑧𝑦𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1412, 13bitri 274 . . . . 5 (∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1514anbi2i 623 . . . 4 ((𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ (𝑦𝑥 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))))
16 19.28v 1994 . . . 4 (∀𝑧(𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ (𝑦𝑥 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))))
17 neeq2 3007 . . . . . . . . . . . 12 (𝑤 = 𝑣 → (𝑦𝑤𝑦𝑣))
18 ineq2 4140 . . . . . . . . . . . . 13 (𝑤 = 𝑣 → (𝑦𝑤) = (𝑦𝑣))
1918eleq2d 2824 . . . . . . . . . . . 12 (𝑤 = 𝑣 → (𝑧 ∈ (𝑦𝑤) ↔ 𝑧 ∈ (𝑦𝑣)))
2017, 19anbi12d 631 . . . . . . . . . . 11 (𝑤 = 𝑣 → ((𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2120cbvrexvw 3384 . . . . . . . . . 10 (∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∃𝑣𝑥 (𝑦𝑣𝑧 ∈ (𝑦𝑣)))
22 df-rex 3070 . . . . . . . . . 10 (∃𝑣𝑥 (𝑦𝑣𝑧 ∈ (𝑦𝑣)) ↔ ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2321, 22bitri 274 . . . . . . . . 9 (∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2423imbi2i 336 . . . . . . . 8 ((𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))) ↔ (𝑧𝑦 → ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
25 19.37v 1995 . . . . . . . 8 (∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))) ↔ (𝑧𝑦 → ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
2624, 25bitr4i 277 . . . . . . 7 ((𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))) ↔ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
2726anbi2i 623 . . . . . 6 ((𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ (𝑦𝑥 ∧ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
28 19.42v 1957 . . . . . 6 (∃𝑣(𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ (𝑦𝑥 ∧ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
29 19.3v 1985 . . . . . . . 8 (∀𝑢(𝑦𝑥𝜑) ↔ (𝑦𝑥𝜑))
30 kmlem14.1 . . . . . . . . . 10 (𝜑 ↔ (𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)))
31 elin 3903 . . . . . . . . . . . . . 14 (𝑧 ∈ (𝑦𝑣) ↔ (𝑧𝑦𝑧𝑣))
3231baibr 537 . . . . . . . . . . . . 13 (𝑧𝑦 → (𝑧𝑣𝑧 ∈ (𝑦𝑣)))
3332anbi2d 629 . . . . . . . . . . . 12 (𝑧𝑦 → (((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣) ↔ ((𝑣𝑥𝑦𝑣) ∧ 𝑧 ∈ (𝑦𝑣))))
34 anass 469 . . . . . . . . . . . 12 (((𝑣𝑥𝑦𝑣) ∧ 𝑧 ∈ (𝑦𝑣)) ↔ (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
3533, 34bitrdi 287 . . . . . . . . . . 11 (𝑧𝑦 → (((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣) ↔ (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3635pm5.74i 270 . . . . . . . . . 10 ((𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)) ↔ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3730, 36bitri 274 . . . . . . . . 9 (𝜑 ↔ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3837anbi2i 623 . . . . . . . 8 ((𝑦𝑥𝜑) ↔ (𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
3929, 38bitr2i 275 . . . . . . 7 ((𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ ∀𝑢(𝑦𝑥𝜑))
4039exbii 1850 . . . . . 6 (∃𝑣(𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ ∃𝑣𝑢(𝑦𝑥𝜑))
4127, 28, 403bitr2i 299 . . . . 5 ((𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ ∃𝑣𝑢(𝑦𝑥𝜑))
4241albii 1822 . . . 4 (∀𝑧(𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ ∀𝑧𝑣𝑢(𝑦𝑥𝜑))
4315, 16, 423bitr2i 299 . . 3 ((𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ ∀𝑧𝑣𝑢(𝑦𝑥𝜑))
4443exbii 1850 . 2 (∃𝑦(𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
457, 8, 443bitri 297 1 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537  wex 1782  wcel 2106  ∃!weu 2568  wne 2943  wral 3064  wrex 3065  cin 3886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-in 3894
This theorem is referenced by:  kmlem16  9921
  Copyright terms: Public domain W3C validator