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

Theorem kmlem12 9848
Description: Lemma for 5-quantifier AC of Kurt Maes, Th. 4, part of 3 => 4. (Contributed by NM, 27-Mar-2004.)
Hypothesis
Ref Expression
kmlem9.1 𝐴 = {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))}
Assertion
Ref Expression
kmlem12 (∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → (∀𝑧𝐴 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) → ∀𝑧𝑥 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑣,𝑢,𝑡   𝑦,𝐴,𝑧,𝑣
Allowed substitution hints:   𝐴(𝑥,𝑢,𝑡)

Proof of Theorem kmlem12
StepHypRef Expression
1 difeq1 4046 . . . . . . 7 (𝑡 = 𝑧 → (𝑡 (𝑥 ∖ {𝑡})) = (𝑧 (𝑥 ∖ {𝑡})))
2 sneq 4568 . . . . . . . . . 10 (𝑡 = 𝑧 → {𝑡} = {𝑧})
32difeq2d 4053 . . . . . . . . 9 (𝑡 = 𝑧 → (𝑥 ∖ {𝑡}) = (𝑥 ∖ {𝑧}))
43unieqd 4850 . . . . . . . 8 (𝑡 = 𝑧 (𝑥 ∖ {𝑡}) = (𝑥 ∖ {𝑧}))
54difeq2d 4053 . . . . . . 7 (𝑡 = 𝑧 → (𝑧 (𝑥 ∖ {𝑡})) = (𝑧 (𝑥 ∖ {𝑧})))
61, 5eqtrd 2778 . . . . . 6 (𝑡 = 𝑧 → (𝑡 (𝑥 ∖ {𝑡})) = (𝑧 (𝑥 ∖ {𝑧})))
76neeq1d 3002 . . . . 5 (𝑡 = 𝑧 → ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ ↔ (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅))
87cbvralvw 3372 . . . 4 (∀𝑡𝑥 (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ ↔ ∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅)
96ineq1d 4142 . . . . . . 7 (𝑡 = 𝑧 → ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦) = ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦))
109eleq2d 2824 . . . . . 6 (𝑡 = 𝑧 → (𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦) ↔ 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦)))
1110eubidv 2586 . . . . 5 (𝑡 = 𝑧 → (∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦) ↔ ∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦)))
1211cbvralvw 3372 . . . 4 (∀𝑡𝑥 ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦) ↔ ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦))
138, 12imbi12i 350 . . 3 ((∀𝑡𝑥 (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∀𝑡𝑥 ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)) ↔ (∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦)))
14 in12 4151 . . . . . . . . . 10 (𝑧 ∩ (𝑦 𝐴)) = (𝑦 ∩ (𝑧 𝐴))
15 incom 4131 . . . . . . . . . 10 (𝑦 ∩ (𝑧 𝐴)) = ((𝑧 𝐴) ∩ 𝑦)
1614, 15eqtri 2766 . . . . . . . . 9 (𝑧 ∩ (𝑦 𝐴)) = ((𝑧 𝐴) ∩ 𝑦)
17 kmlem9.1 . . . . . . . . . . 11 𝐴 = {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))}
1817kmlem11 9847 . . . . . . . . . 10 (𝑧𝑥 → (𝑧 𝐴) = (𝑧 (𝑥 ∖ {𝑧})))
1918ineq1d 4142 . . . . . . . . 9 (𝑧𝑥 → ((𝑧 𝐴) ∩ 𝑦) = ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦))
2016, 19eqtr2id 2792 . . . . . . . 8 (𝑧𝑥 → ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦) = (𝑧 ∩ (𝑦 𝐴)))
2120eleq2d 2824 . . . . . . 7 (𝑧𝑥 → (𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦) ↔ 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴))))
2221eubidv 2586 . . . . . 6 (𝑧𝑥 → (∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦) ↔ ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴))))
23 ax-1 6 . . . . . 6 (∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴))))
2422, 23syl6bi 252 . . . . 5 (𝑧𝑥 → (∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)))))
2524ralimia 3084 . . . 4 (∀𝑧𝑥 ∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦) → ∀𝑧𝑥 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴))))
2625imim2i 16 . . 3 ((∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ ((𝑧 (𝑥 ∖ {𝑧})) ∩ 𝑦)) → (∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → ∀𝑧𝑥 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)))))
2713, 26sylbi 216 . 2 ((∀𝑡𝑥 (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∀𝑡𝑥 ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)) → (∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → ∀𝑧𝑥 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)))))
2817raleqi 3337 . . . 4 (∀𝑧𝐴 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) ↔ ∀𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)))
29 df-ral 3068 . . . 4 (∀𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) ↔ ∀𝑧(𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
30 vex 3426 . . . . . . . . 9 𝑧 ∈ V
31 eqeq1 2742 . . . . . . . . . 10 (𝑢 = 𝑧 → (𝑢 = (𝑡 (𝑥 ∖ {𝑡})) ↔ 𝑧 = (𝑡 (𝑥 ∖ {𝑡}))))
3231rexbidv 3225 . . . . . . . . 9 (𝑢 = 𝑧 → (∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡})) ↔ ∃𝑡𝑥 𝑧 = (𝑡 (𝑥 ∖ {𝑡}))))
3330, 32elab 3602 . . . . . . . 8 (𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} ↔ ∃𝑡𝑥 𝑧 = (𝑡 (𝑥 ∖ {𝑡})))
3433imbi1i 349 . . . . . . 7 ((𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ (∃𝑡𝑥 𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
35 r19.23v 3207 . . . . . . 7 (∀𝑡𝑥 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ (∃𝑡𝑥 𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
3634, 35bitr4i 277 . . . . . 6 ((𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ∀𝑡𝑥 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
3736albii 1823 . . . . 5 (∀𝑧(𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ∀𝑧𝑡𝑥 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
38 ralcom4 3161 . . . . 5 (∀𝑡𝑥𝑧(𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ∀𝑧𝑡𝑥 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))))
39 vex 3426 . . . . . . . 8 𝑡 ∈ V
4039difexi 5247 . . . . . . 7 (𝑡 (𝑥 ∖ {𝑡})) ∈ V
41 neeq1 3005 . . . . . . . 8 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ ↔ (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅))
42 ineq1 4136 . . . . . . . . . 10 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧𝑦) = ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦))
4342eleq2d 2824 . . . . . . . . 9 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑣 ∈ (𝑧𝑦) ↔ 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
4443eubidv 2586 . . . . . . . 8 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (∃!𝑣 𝑣 ∈ (𝑧𝑦) ↔ ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
4541, 44imbi12d 344 . . . . . . 7 (𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → ((𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) ↔ ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦))))
4640, 45ceqsalv 3457 . . . . . 6 (∀𝑧(𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
4746ralbii 3090 . . . . 5 (∀𝑡𝑥𝑧(𝑧 = (𝑡 (𝑥 ∖ {𝑡})) → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ∀𝑡𝑥 ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
4837, 38, 473bitr2i 298 . . . 4 (∀𝑧(𝑧 ∈ {𝑢 ∣ ∃𝑡𝑥 𝑢 = (𝑡 (𝑥 ∖ {𝑡}))} → (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦))) ↔ ∀𝑡𝑥 ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
4928, 29, 483bitri 296 . . 3 (∀𝑧𝐴 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) ↔ ∀𝑡𝑥 ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
50 ralim 3082 . . 3 (∀𝑡𝑥 ((𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)) → (∀𝑡𝑥 (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∀𝑡𝑥 ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
5149, 50sylbi 216 . 2 (∀𝑧𝐴 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) → (∀𝑡𝑥 (𝑡 (𝑥 ∖ {𝑡})) ≠ ∅ → ∀𝑡𝑥 ∃!𝑣 𝑣 ∈ ((𝑡 (𝑥 ∖ {𝑡})) ∩ 𝑦)))
5227, 51syl11 33 1 (∀𝑧𝑥 (𝑧 (𝑥 ∖ {𝑧})) ≠ ∅ → (∀𝑧𝐴 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧𝑦)) → ∀𝑧𝑥 (𝑧 ≠ ∅ → ∃!𝑣 𝑣 ∈ (𝑧 ∩ (𝑦 𝐴)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1537   = wceq 1539  wcel 2108  ∃!weu 2568  {cab 2715  wne 2942  wral 3063  wrex 3064  cdif 3880  cin 3882  c0 4253  {csn 4558   cuni 4836
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-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  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-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-sn 4559  df-uni 4837  df-iun 4923
This theorem is referenced by:  kmlem13  9849
  Copyright terms: Public domain W3C validator