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

Theorem ptcmplem1 23201
Description: Lemma for ptcmp 23207. (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 6599 . . . . . . 7 (𝜑𝐹 Fn 𝐴)
4 eqid 2740 . . . . . . . 8 {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}
54ptval 22719 . . . . . . 7 ((𝐴𝑉𝐹 Fn 𝐴) → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
61, 3, 5syl2anc 584 . . . . . 6 (𝜑 → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
7 cmptop 22544 . . . . . . . . . . 11 (𝑥 ∈ Comp → 𝑥 ∈ Top)
87ssriv 3930 . . . . . . . . . 10 Comp ⊆ Top
9 fss 6615 . . . . . . . . . 10 ((𝐹:𝐴⟶Comp ∧ Comp ⊆ Top) → 𝐹:𝐴⟶Top)
102, 8, 9sylancl 586 . . . . . . . . 9 (𝜑𝐹:𝐴⟶Top)
11 ptcmp.2 . . . . . . . . . 10 𝑋 = X𝑛𝐴 (𝐹𝑛)
124, 11ptbasfi 22730 . . . . . . . . 9 ((𝐴𝑉𝐹:𝐴⟶Top) → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
131, 10, 12syl2anc 584 . . . . . . . 8 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
14 uncom 4092 . . . . . . . . . 10 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran 𝑆)
15 ptcmp.1 . . . . . . . . . . . 12 𝑆 = (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1615rneqi 5845 . . . . . . . . . . 11 ran 𝑆 = ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1716uneq2i 4099 . . . . . . . . . 10 ({𝑋} ∪ ran 𝑆) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1814, 17eqtri 2768 . . . . . . . . 9 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1918fveq2i 6774 . . . . . . . 8 (fi‘(ran 𝑆 ∪ {𝑋})) = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))))
2013, 19eqtr4di 2798 . . . . . . 7 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘(ran 𝑆 ∪ {𝑋})))
2120fveq2d 6775 . . . . . 6 (𝜑 → (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
226, 21eqtrd 2780 . . . . 5 (𝜑 → (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
2322unieqd 4859 . . . 4 (𝜑 (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
24 fibas 22125 . . . . 5 (fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases
25 unitg 22115 . . . . 5 ((fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases → (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋})))
2624, 25ax-mp 5 . . . 4 (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋}))
2723, 26eqtrdi 2796 . . 3 (𝜑 (∏t𝐹) = (fi‘(ran 𝑆 ∪ {𝑋})))
28 eqid 2740 . . . . . 6 (∏t𝐹) = (∏t𝐹)
2928ptuni 22743 . . . . 5 ((𝐴𝑉𝐹:𝐴⟶Top) → X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
301, 10, 29syl2anc 584 . . . 4 (𝜑X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
3111, 30eqtrid 2792 . . 3 (𝜑𝑋 = (∏t𝐹))
32 ptcmp.5 . . . . . . 7 (𝜑𝑋 ∈ (UFL ∩ dom card))
3332pwexd 5306 . . . . . 6 (𝜑 → 𝒫 𝑋 ∈ V)
34 eqid 2740 . . . . . . . . . . . 12 (𝑤𝑋 ↦ (𝑤𝑘)) = (𝑤𝑋 ↦ (𝑤𝑘))
3534mptpreima 6140 . . . . . . . . . . 11 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) = {𝑤𝑋 ∣ (𝑤𝑘) ∈ 𝑢}
3635ssrab3 4020 . . . . . . . . . 10 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋
3732adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → 𝑋 ∈ (UFL ∩ dom card))
38 elpw2g 5272 . . . . . . . . . . 11 (𝑋 ∈ (UFL ∩ dom card) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
3937, 38syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
4036, 39mpbiri 257 . . . . . . . . 9 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4140ralrimivva 3117 . . . . . . . 8 (𝜑 → ∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4215fmpox 7900 . . . . . . . 8 (∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4341, 42sylib 217 . . . . . . 7 (𝜑𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4443frnd 6606 . . . . . 6 (𝜑 → ran 𝑆 ⊆ 𝒫 𝑋)
4533, 44ssexd 5252 . . . . 5 (𝜑 → ran 𝑆 ∈ V)
46 snex 5358 . . . . 5 {𝑋} ∈ V
47 unexg 7593 . . . . 5 ((ran 𝑆 ∈ V ∧ {𝑋} ∈ V) → (ran 𝑆 ∪ {𝑋}) ∈ V)
4845, 46, 47sylancl 586 . . . 4 (𝜑 → (ran 𝑆 ∪ {𝑋}) ∈ V)
49 fiuni 9165 . . . 4 ((ran 𝑆 ∪ {𝑋}) ∈ V → (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5048, 49syl 17 . . 3 (𝜑 (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5127, 31, 503eqtr4d 2790 . 2 (𝜑𝑋 = (ran 𝑆 ∪ {𝑋}))
5251, 22jca 512 1 (𝜑 → (𝑋 = (ran 𝑆 ∪ {𝑋}) ∧ (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋})))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1542  wex 1786  wcel 2110  {cab 2717  wral 3066  wrex 3067  Vcvv 3431  cdif 3889  cun 3890  cin 3891  wss 3892  𝒫 cpw 4539  {csn 4567   cuni 4845   ciun 4930  cmpt 5162   × cxp 5588  ccnv 5589  dom cdm 5590  ran crn 5591  cima 5593   Fn wfn 6427  wf 6428  cfv 6432  cmpo 7273  Xcixp 8668  Fincfn 8716  ficfi 9147  cardccrd 9694  topGenctg 17146  tcpt 17147  Topctop 22040  TopBasesctb 22093  Compccmp 22535  UFLcufl 23049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-rep 5214  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-int 4886  df-iun 4932  df-iin 4933  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-ord 6268  df-on 6269  df-lim 6270  df-suc 6271  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-om 7707  df-1st 7824  df-2nd 7825  df-1o 8288  df-er 8481  df-ixp 8669  df-en 8717  df-dom 8718  df-fin 8720  df-fi 9148  df-topgen 17152  df-pt 17153  df-top 22041  df-bases 22094  df-cmp 22536
This theorem is referenced by:  ptcmplem5  23205
  Copyright terms: Public domain W3C validator