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

Theorem kmlem14 9850
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 3005 . . . . . 6 (𝑧 = 𝑦 → (𝑧𝑤𝑦𝑤))
2 ineq1 4136 . . . . . . 7 (𝑧 = 𝑦 → (𝑧𝑤) = (𝑦𝑤))
32eleq2d 2824 . . . . . 6 (𝑧 = 𝑦 → (𝑣 ∈ (𝑧𝑤) ↔ 𝑣 ∈ (𝑦𝑤)))
41, 3anbi12d 630 . . . . 5 (𝑧 = 𝑦 → ((𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
54rexbidv 3225 . . . 4 (𝑧 = 𝑦 → (∃𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
65raleqbi1dv 3331 . . 3 (𝑧 = 𝑦 → (∀𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
76cbvrexvw 3373 . 2 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑥𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)))
8 df-rex 3069 . 2 (∃𝑦𝑥𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∃𝑦(𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))))
9 eleq1w 2821 . . . . . . . . 9 (𝑣 = 𝑧 → (𝑣 ∈ (𝑦𝑤) ↔ 𝑧 ∈ (𝑦𝑤)))
109anbi2d 628 . . . . . . . 8 (𝑣 = 𝑧 → ((𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1110rexbidv 3225 . . . . . . 7 (𝑣 = 𝑧 → (∃𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1211cbvralvw 3372 . . . . . 6 (∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∀𝑧𝑦𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))
13 df-ral 3068 . . . . . 6 (∀𝑧𝑦𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1412, 13bitri 274 . . . . 5 (∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤)) ↔ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))))
1514anbi2i 622 . . . 4 ((𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ (𝑦𝑥 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))))
16 19.28v 1995 . . . 4 (∀𝑧(𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ (𝑦𝑥 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))))
17 neeq2 3006 . . . . . . . . . . . 12 (𝑤 = 𝑣 → (𝑦𝑤𝑦𝑣))
18 ineq2 4137 . . . . . . . . . . . . 13 (𝑤 = 𝑣 → (𝑦𝑤) = (𝑦𝑣))
1918eleq2d 2824 . . . . . . . . . . . 12 (𝑤 = 𝑣 → (𝑧 ∈ (𝑦𝑤) ↔ 𝑧 ∈ (𝑦𝑣)))
2017, 19anbi12d 630 . . . . . . . . . . 11 (𝑤 = 𝑣 → ((𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2120cbvrexvw 3373 . . . . . . . . . 10 (∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∃𝑣𝑥 (𝑦𝑣𝑧 ∈ (𝑦𝑣)))
22 df-rex 3069 . . . . . . . . . 10 (∃𝑣𝑥 (𝑦𝑣𝑧 ∈ (𝑦𝑣)) ↔ ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2321, 22bitri 274 . . . . . . . . 9 (∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)) ↔ ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
2423imbi2i 335 . . . . . . . 8 ((𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))) ↔ (𝑧𝑦 → ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
25 19.37v 1996 . . . . . . . 8 (∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))) ↔ (𝑧𝑦 → ∃𝑣(𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
2624, 25bitr4i 277 . . . . . . 7 ((𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤))) ↔ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
2726anbi2i 622 . . . . . 6 ((𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ (𝑦𝑥 ∧ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
28 19.42v 1958 . . . . . 6 (∃𝑣(𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ (𝑦𝑥 ∧ ∃𝑣(𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
29 19.3v 1986 . . . . . . . 8 (∀𝑢(𝑦𝑥𝜑) ↔ (𝑦𝑥𝜑))
30 kmlem14.1 . . . . . . . . . 10 (𝜑 ↔ (𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)))
31 elin 3899 . . . . . . . . . . . . . 14 (𝑧 ∈ (𝑦𝑣) ↔ (𝑧𝑦𝑧𝑣))
3231baibr 536 . . . . . . . . . . . . 13 (𝑧𝑦 → (𝑧𝑣𝑧 ∈ (𝑦𝑣)))
3332anbi2d 628 . . . . . . . . . . . 12 (𝑧𝑦 → (((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣) ↔ ((𝑣𝑥𝑦𝑣) ∧ 𝑧 ∈ (𝑦𝑣))))
34 anass 468 . . . . . . . . . . . 12 (((𝑣𝑥𝑦𝑣) ∧ 𝑧 ∈ (𝑦𝑣)) ↔ (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))
3533, 34bitrdi 286 . . . . . . . . . . 11 (𝑧𝑦 → (((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣) ↔ (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3635pm5.74i 270 . . . . . . . . . 10 ((𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)) ↔ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3730, 36bitri 274 . . . . . . . . 9 (𝜑 ↔ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣)))))
3837anbi2i 622 . . . . . . . 8 ((𝑦𝑥𝜑) ↔ (𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))))
3929, 38bitr2i 275 . . . . . . 7 ((𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ ∀𝑢(𝑦𝑥𝜑))
4039exbii 1851 . . . . . 6 (∃𝑣(𝑦𝑥 ∧ (𝑧𝑦 → (𝑣𝑥 ∧ (𝑦𝑣𝑧 ∈ (𝑦𝑣))))) ↔ ∃𝑣𝑢(𝑦𝑥𝜑))
4127, 28, 403bitr2i 298 . . . . 5 ((𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ ∃𝑣𝑢(𝑦𝑥𝜑))
4241albii 1823 . . . 4 (∀𝑧(𝑦𝑥 ∧ (𝑧𝑦 → ∃𝑤𝑥 (𝑦𝑤𝑧 ∈ (𝑦𝑤)))) ↔ ∀𝑧𝑣𝑢(𝑦𝑥𝜑))
4315, 16, 423bitr2i 298 . . 3 ((𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ ∀𝑧𝑣𝑢(𝑦𝑥𝜑))
4443exbii 1851 . 2 (∃𝑦(𝑦𝑥 ∧ ∀𝑣𝑦𝑤𝑥 (𝑦𝑤𝑣 ∈ (𝑦𝑤))) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
457, 8, 443bitri 296 1 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537  wex 1783  wcel 2108  ∃!weu 2568  wne 2942  wral 3063  wrex 3064  cin 3882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-in 3890
This theorem is referenced by:  kmlem16  9852
  Copyright terms: Public domain W3C validator