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

Theorem ttukey2g 10203
Description: The Teichmüller-Tukey Lemma ttukey 10205 with a slightly stronger conclusion: we can set up the maximal element of 𝐴 so that it also contains some given 𝐵𝐴 as a subset. (Contributed by Mario Carneiro, 15-May-2015.)
Assertion
Ref Expression
ttukey2g (( 𝐴 ∈ dom card ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦

Proof of Theorem ttukey2g
Dummy variables 𝑤 𝑓 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 difss 4062 . . . 4 ( 𝐴𝐵) ⊆ 𝐴
2 ssnum 9726 . . . 4 (( 𝐴 ∈ dom card ∧ ( 𝐴𝐵) ⊆ 𝐴) → ( 𝐴𝐵) ∈ dom card)
31, 2mpan2 687 . . 3 ( 𝐴 ∈ dom card → ( 𝐴𝐵) ∈ dom card)
4 isnum3 9643 . . . . 5 (( 𝐴𝐵) ∈ dom card ↔ (card‘( 𝐴𝐵)) ≈ ( 𝐴𝐵))
5 bren 8701 . . . . 5 ((card‘( 𝐴𝐵)) ≈ ( 𝐴𝐵) ↔ ∃𝑓 𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵))
64, 5bitri 274 . . . 4 (( 𝐴𝐵) ∈ dom card ↔ ∃𝑓 𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵))
7 simp1 1134 . . . . . . 7 ((𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → 𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵))
8 simp2 1135 . . . . . . 7 ((𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → 𝐵𝐴)
9 simp3 1136 . . . . . . 7 ((𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴))
10 dmeq 5801 . . . . . . . . . . 11 (𝑤 = 𝑧 → dom 𝑤 = dom 𝑧)
1110unieqd 4850 . . . . . . . . . . 11 (𝑤 = 𝑧 dom 𝑤 = dom 𝑧)
1210, 11eqeq12d 2754 . . . . . . . . . 10 (𝑤 = 𝑧 → (dom 𝑤 = dom 𝑤 ↔ dom 𝑧 = dom 𝑧))
1310eqeq1d 2740 . . . . . . . . . . 11 (𝑤 = 𝑧 → (dom 𝑤 = ∅ ↔ dom 𝑧 = ∅))
14 rneq 5834 . . . . . . . . . . . 12 (𝑤 = 𝑧 → ran 𝑤 = ran 𝑧)
1514unieqd 4850 . . . . . . . . . . 11 (𝑤 = 𝑧 ran 𝑤 = ran 𝑧)
1613, 15ifbieq2d 4482 . . . . . . . . . 10 (𝑤 = 𝑧 → if(dom 𝑤 = ∅, 𝐵, ran 𝑤) = if(dom 𝑧 = ∅, 𝐵, ran 𝑧))
17 id 22 . . . . . . . . . . . 12 (𝑤 = 𝑧𝑤 = 𝑧)
1817, 11fveq12d 6763 . . . . . . . . . . 11 (𝑤 = 𝑧 → (𝑤 dom 𝑤) = (𝑧 dom 𝑧))
1911fveq2d 6760 . . . . . . . . . . . . . . 15 (𝑤 = 𝑧 → (𝑓 dom 𝑤) = (𝑓 dom 𝑧))
2019sneqd 4570 . . . . . . . . . . . . . 14 (𝑤 = 𝑧 → {(𝑓 dom 𝑤)} = {(𝑓 dom 𝑧)})
2118, 20uneq12d 4094 . . . . . . . . . . . . 13 (𝑤 = 𝑧 → ((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) = ((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}))
2221eleq1d 2823 . . . . . . . . . . . 12 (𝑤 = 𝑧 → (((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴 ↔ ((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴))
2322, 20ifbieq1d 4480 . . . . . . . . . . 11 (𝑤 = 𝑧 → if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅) = if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅))
2418, 23uneq12d 4094 . . . . . . . . . 10 (𝑤 = 𝑧 → ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅)) = ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅)))
2512, 16, 24ifbieq12d 4484 . . . . . . . . 9 (𝑤 = 𝑧 → if(dom 𝑤 = dom 𝑤, if(dom 𝑤 = ∅, 𝐵, ran 𝑤), ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅))) = if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅))))
2625cbvmptv 5183 . . . . . . . 8 (𝑤 ∈ V ↦ if(dom 𝑤 = dom 𝑤, if(dom 𝑤 = ∅, 𝐵, ran 𝑤), ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅)))) = (𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅))))
27 recseq 8176 . . . . . . . 8 ((𝑤 ∈ V ↦ if(dom 𝑤 = dom 𝑤, if(dom 𝑤 = ∅, 𝐵, ran 𝑤), ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅)))) = (𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅)))) → recs((𝑤 ∈ V ↦ if(dom 𝑤 = dom 𝑤, if(dom 𝑤 = ∅, 𝐵, ran 𝑤), ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅))))) = recs((𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅))))))
2826, 27ax-mp 5 . . . . . . 7 recs((𝑤 ∈ V ↦ if(dom 𝑤 = dom 𝑤, if(dom 𝑤 = ∅, 𝐵, ran 𝑤), ((𝑤 dom 𝑤) ∪ if(((𝑤 dom 𝑤) ∪ {(𝑓 dom 𝑤)}) ∈ 𝐴, {(𝑓 dom 𝑤)}, ∅))))) = recs((𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝑓 dom 𝑧)}) ∈ 𝐴, {(𝑓 dom 𝑧)}, ∅)))))
297, 8, 9, 28ttukeylem7 10202 . . . . . 6 ((𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦))
30293expib 1120 . . . . 5 (𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) → ((𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦)))
3130exlimiv 1934 . . . 4 (∃𝑓 𝑓:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵) → ((𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦)))
326, 31sylbi 216 . . 3 (( 𝐴𝐵) ∈ dom card → ((𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦)))
333, 32syl 17 . 2 ( 𝐴 ∈ dom card → ((𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦)))
34333impib 1114 1 (( 𝐴 ∈ dom card ∧ 𝐵𝐴 ∧ ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴)) → ∃𝑥𝐴 (𝐵𝑥 ∧ ∀𝑦𝐴 ¬ 𝑥𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085  wal 1537   = wceq 1539  wex 1783  wcel 2108  wral 3063  wrex 3064  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  wpss 3884  c0 4253  ifcif 4456  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  cmpt 5153  dom cdm 5580  ran crn 5581  1-1-ontowf1o 6417  cfv 6418  recscrecs 8172  cen 8688  Fincfn 8691  cardccrd 9624
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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  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-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-fin 8695  df-card 9628
This theorem is referenced by:  ttukeyg  10204
  Copyright terms: Public domain W3C validator