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

Theorem ptcmplem1 22671
 Description: Lemma for ptcmp 22677. (Contributed by Mario Carneiro, 26-Aug-2015.)
Hypotheses
Ref Expression
ptcmp.1 𝑆 = (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
ptcmp.2 𝑋 = X𝑛𝐴 (𝐹𝑛)
ptcmp.3 (𝜑𝐴𝑉)
ptcmp.4 (𝜑𝐹:𝐴⟶Comp)
ptcmp.5 (𝜑𝑋 ∈ (UFL ∩ dom card))
Assertion
Ref Expression
ptcmplem1 (𝜑 → (𝑋 = (ran 𝑆 ∪ {𝑋}) ∧ (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋})))))
Distinct variable groups:   𝑘,𝑛,𝑢,𝑤,𝐴   𝑆,𝑘,𝑛,𝑢   𝜑,𝑘,𝑛,𝑢   𝑘,𝑉,𝑛,𝑢,𝑤   𝑘,𝐹,𝑛,𝑢,𝑤   𝑘,𝑋,𝑛,𝑢,𝑤
Allowed substitution hints:   𝜑(𝑤)   𝑆(𝑤)

Proof of Theorem ptcmplem1
Dummy variables 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ptcmp.3 . . . . . . 7 (𝜑𝐴𝑉)
2 ptcmp.4 . . . . . . . 8 (𝜑𝐹:𝐴⟶Comp)
32ffnd 6491 . . . . . . 7 (𝜑𝐹 Fn 𝐴)
4 eqid 2798 . . . . . . . 8 {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}
54ptval 22189 . . . . . . 7 ((𝐴𝑉𝐹 Fn 𝐴) → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
61, 3, 5syl2anc 587 . . . . . 6 (𝜑 → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
7 cmptop 22014 . . . . . . . . . . 11 (𝑥 ∈ Comp → 𝑥 ∈ Top)
87ssriv 3919 . . . . . . . . . 10 Comp ⊆ Top
9 fss 6504 . . . . . . . . . 10 ((𝐹:𝐴⟶Comp ∧ Comp ⊆ Top) → 𝐹:𝐴⟶Top)
102, 8, 9sylancl 589 . . . . . . . . 9 (𝜑𝐹:𝐴⟶Top)
11 ptcmp.2 . . . . . . . . . 10 𝑋 = X𝑛𝐴 (𝐹𝑛)
124, 11ptbasfi 22200 . . . . . . . . 9 ((𝐴𝑉𝐹:𝐴⟶Top) → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
131, 10, 12syl2anc 587 . . . . . . . 8 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
14 uncom 4080 . . . . . . . . . 10 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran 𝑆)
15 ptcmp.1 . . . . . . . . . . . 12 𝑆 = (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1615rneqi 5772 . . . . . . . . . . 11 ran 𝑆 = ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1716uneq2i 4087 . . . . . . . . . 10 ({𝑋} ∪ ran 𝑆) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1814, 17eqtri 2821 . . . . . . . . 9 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1918fveq2i 6653 . . . . . . . 8 (fi‘(ran 𝑆 ∪ {𝑋})) = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))))
2013, 19eqtr4di 2851 . . . . . . 7 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘(ran 𝑆 ∪ {𝑋})))
2120fveq2d 6654 . . . . . 6 (𝜑 → (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
226, 21eqtrd 2833 . . . . 5 (𝜑 → (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
2322unieqd 4815 . . . 4 (𝜑 (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
24 fibas 21596 . . . . 5 (fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases
25 unitg 21586 . . . . 5 ((fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases → (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋})))
2624, 25ax-mp 5 . . . 4 (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋}))
2723, 26eqtrdi 2849 . . 3 (𝜑 (∏t𝐹) = (fi‘(ran 𝑆 ∪ {𝑋})))
28 eqid 2798 . . . . . 6 (∏t𝐹) = (∏t𝐹)
2928ptuni 22213 . . . . 5 ((𝐴𝑉𝐹:𝐴⟶Top) → X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
301, 10, 29syl2anc 587 . . . 4 (𝜑X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
3111, 30syl5eq 2845 . . 3 (𝜑𝑋 = (∏t𝐹))
32 ptcmp.5 . . . . . . 7 (𝜑𝑋 ∈ (UFL ∩ dom card))
3332pwexd 5246 . . . . . 6 (𝜑 → 𝒫 𝑋 ∈ V)
34 eqid 2798 . . . . . . . . . . . 12 (𝑤𝑋 ↦ (𝑤𝑘)) = (𝑤𝑋 ↦ (𝑤𝑘))
3534mptpreima 6060 . . . . . . . . . . 11 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) = {𝑤𝑋 ∣ (𝑤𝑘) ∈ 𝑢}
3635ssrab3 4008 . . . . . . . . . 10 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋
3732adantr 484 . . . . . . . . . . 11 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → 𝑋 ∈ (UFL ∩ dom card))
38 elpw2g 5212 . . . . . . . . . . 11 (𝑋 ∈ (UFL ∩ dom card) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
3937, 38syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
4036, 39mpbiri 261 . . . . . . . . 9 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4140ralrimivva 3156 . . . . . . . 8 (𝜑 → ∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4215fmpox 7754 . . . . . . . 8 (∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4341, 42sylib 221 . . . . . . 7 (𝜑𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4443frnd 6497 . . . . . 6 (𝜑 → ran 𝑆 ⊆ 𝒫 𝑋)
4533, 44ssexd 5193 . . . . 5 (𝜑 → ran 𝑆 ∈ V)
46 snex 5298 . . . . 5 {𝑋} ∈ V
47 unexg 7459 . . . . 5 ((ran 𝑆 ∈ V ∧ {𝑋} ∈ V) → (ran 𝑆 ∪ {𝑋}) ∈ V)
4845, 46, 47sylancl 589 . . . 4 (𝜑 → (ran 𝑆 ∪ {𝑋}) ∈ V)
49 fiuni 8883 . . . 4 ((ran 𝑆 ∪ {𝑋}) ∈ V → (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5048, 49syl 17 . . 3 (𝜑 (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5127, 31, 503eqtr4d 2843 . 2 (𝜑𝑋 = (ran 𝑆 ∪ {𝑋}))
5251, 22jca 515 1 (𝜑 → (𝑋 = (ran 𝑆 ∪ {𝑋}) ∧ (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋})))))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   ∧ w3a 1084   = wceq 1538  ∃wex 1781   ∈ wcel 2111  {cab 2776  ∀wral 3106  ∃wrex 3107  Vcvv 3441   ∖ cdif 3878   ∪ cun 3879   ∩ cin 3880   ⊆ wss 3881  𝒫 cpw 4497  {csn 4525  ∪ cuni 4801  ∪ ciun 4882   ↦ cmpt 5111   × cxp 5518  ◡ccnv 5519  dom cdm 5520  ran crn 5521   “ cima 5523   Fn wfn 6322  ⟶wf 6323  ‘cfv 6327   ∈ cmpo 7142  Xcixp 8451  Fincfn 8499  ficfi 8865  cardccrd 9355  topGenctg 16710  ∏tcpt 16711  Topctop 21512  TopBasesctb 21564  Compccmp 22005  UFLcufl 22519 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5155  ax-sep 5168  ax-nul 5175  ax-pow 5232  ax-pr 5296  ax-un 7448 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4802  df-int 4840  df-iun 4884  df-iin 4885  df-br 5032  df-opab 5094  df-mpt 5112  df-tr 5138  df-id 5426  df-eprel 5431  df-po 5439  df-so 5440  df-fr 5479  df-we 5481  df-xp 5526  df-rel 5527  df-cnv 5528  df-co 5529  df-dm 5530  df-rn 5531  df-res 5532  df-ima 5533  df-pred 6119  df-ord 6165  df-on 6166  df-lim 6167  df-suc 6168  df-iota 6286  df-fun 6329  df-fn 6330  df-f 6331  df-f1 6332  df-fo 6333  df-f1o 6334  df-fv 6335  df-ov 7143  df-oprab 7144  df-mpo 7145  df-om 7568  df-1st 7678  df-2nd 7679  df-wrecs 7937  df-recs 7998  df-rdg 8036  df-1o 8092  df-oadd 8096  df-er 8279  df-ixp 8452  df-en 8500  df-dom 8501  df-fin 8503  df-fi 8866  df-topgen 16716  df-pt 16717  df-top 21513  df-bases 21565  df-cmp 22006 This theorem is referenced by:  ptcmplem5  22675
 Copyright terms: Public domain W3C validator