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

Theorem ptcmplem1 23212
Description: Lemma for ptcmp 23218. (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 6610 . . . . . . 7 (𝜑𝐹 Fn 𝐴)
4 eqid 2739 . . . . . . . 8 {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}
54ptval 22730 . . . . . . 7 ((𝐴𝑉𝐹 Fn 𝐴) → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
61, 3, 5syl2anc 584 . . . . . 6 (𝜑 → (∏t𝐹) = (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}))
7 cmptop 22555 . . . . . . . . . . 11 (𝑥 ∈ Comp → 𝑥 ∈ Top)
87ssriv 3926 . . . . . . . . . 10 Comp ⊆ Top
9 fss 6626 . . . . . . . . . 10 ((𝐹:𝐴⟶Comp ∧ Comp ⊆ Top) → 𝐹:𝐴⟶Top)
102, 8, 9sylancl 586 . . . . . . . . 9 (𝜑𝐹:𝐴⟶Top)
11 ptcmp.2 . . . . . . . . . 10 𝑋 = X𝑛𝐴 (𝐹𝑛)
124, 11ptbasfi 22741 . . . . . . . . 9 ((𝐴𝑉𝐹:𝐴⟶Top) → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
131, 10, 12syl2anc 584 . . . . . . . 8 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))))
14 uncom 4088 . . . . . . . . . 10 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran 𝑆)
15 ptcmp.1 . . . . . . . . . . . 12 𝑆 = (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1615rneqi 5849 . . . . . . . . . . 11 ran 𝑆 = ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1716uneq2i 4095 . . . . . . . . . 10 ({𝑋} ∪ ran 𝑆) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1814, 17eqtri 2767 . . . . . . . . 9 (ran 𝑆 ∪ {𝑋}) = ({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢)))
1918fveq2i 6786 . . . . . . . 8 (fi‘(ran 𝑆 ∪ {𝑋})) = (fi‘({𝑋} ∪ ran (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))))
2013, 19eqtr4di 2797 . . . . . . 7 (𝜑 → {𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))} = (fi‘(ran 𝑆 ∪ {𝑋})))
2120fveq2d 6787 . . . . . 6 (𝜑 → (topGen‘{𝑥 ∣ ∃𝑔((𝑔 Fn 𝐴 ∧ ∀𝑦𝐴 (𝑔𝑦) ∈ (𝐹𝑦) ∧ ∃𝑧 ∈ Fin ∀𝑦 ∈ (𝐴𝑧)(𝑔𝑦) = (𝐹𝑦)) ∧ 𝑥 = X𝑦𝐴 (𝑔𝑦))}) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
226, 21eqtrd 2779 . . . . 5 (𝜑 → (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
2322unieqd 4854 . . . 4 (𝜑 (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
24 fibas 22136 . . . . 5 (fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases
25 unitg 22126 . . . . 5 ((fi‘(ran 𝑆 ∪ {𝑋})) ∈ TopBases → (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋})))
2624, 25ax-mp 5 . . . 4 (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))) = (fi‘(ran 𝑆 ∪ {𝑋}))
2723, 26eqtrdi 2795 . . 3 (𝜑 (∏t𝐹) = (fi‘(ran 𝑆 ∪ {𝑋})))
28 eqid 2739 . . . . . 6 (∏t𝐹) = (∏t𝐹)
2928ptuni 22754 . . . . 5 ((𝐴𝑉𝐹:𝐴⟶Top) → X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
301, 10, 29syl2anc 584 . . . 4 (𝜑X𝑛𝐴 (𝐹𝑛) = (∏t𝐹))
3111, 30eqtrid 2791 . . 3 (𝜑𝑋 = (∏t𝐹))
32 ptcmp.5 . . . . . . 7 (𝜑𝑋 ∈ (UFL ∩ dom card))
3332pwexd 5303 . . . . . 6 (𝜑 → 𝒫 𝑋 ∈ V)
34 eqid 2739 . . . . . . . . . . . 12 (𝑤𝑋 ↦ (𝑤𝑘)) = (𝑤𝑋 ↦ (𝑤𝑘))
3534mptpreima 6146 . . . . . . . . . . 11 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) = {𝑤𝑋 ∣ (𝑤𝑘) ∈ 𝑢}
3635ssrab3 4016 . . . . . . . . . 10 ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋
3732adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → 𝑋 ∈ (UFL ∩ dom card))
38 elpw2g 5269 . . . . . . . . . . 11 (𝑋 ∈ (UFL ∩ dom card) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
3937, 38syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ⊆ 𝑋))
4036, 39mpbiri 257 . . . . . . . . 9 ((𝜑 ∧ (𝑘𝐴𝑢 ∈ (𝐹𝑘))) → ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4140ralrimivva 3124 . . . . . . . 8 (𝜑 → ∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋)
4215fmpox 7916 . . . . . . . 8 (∀𝑘𝐴𝑢 ∈ (𝐹𝑘)((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝒫 𝑋𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4341, 42sylib 217 . . . . . . 7 (𝜑𝑆: 𝑘𝐴 ({𝑘} × (𝐹𝑘))⟶𝒫 𝑋)
4443frnd 6617 . . . . . 6 (𝜑 → ran 𝑆 ⊆ 𝒫 𝑋)
4533, 44ssexd 5249 . . . . 5 (𝜑 → ran 𝑆 ∈ V)
46 snex 5355 . . . . 5 {𝑋} ∈ V
47 unexg 7608 . . . . 5 ((ran 𝑆 ∈ V ∧ {𝑋} ∈ V) → (ran 𝑆 ∪ {𝑋}) ∈ V)
4845, 46, 47sylancl 586 . . . 4 (𝜑 → (ran 𝑆 ∪ {𝑋}) ∈ V)
49 fiuni 9196 . . . 4 ((ran 𝑆 ∪ {𝑋}) ∈ V → (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5048, 49syl 17 . . 3 (𝜑 (ran 𝑆 ∪ {𝑋}) = (fi‘(ran 𝑆 ∪ {𝑋})))
5127, 31, 503eqtr4d 2789 . 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 1539  wex 1782  wcel 2107  {cab 2716  wral 3065  wrex 3066  Vcvv 3433  cdif 3885  cun 3886  cin 3887  wss 3888  𝒫 cpw 4534  {csn 4562   cuni 4840   ciun 4925  cmpt 5158   × cxp 5588  ccnv 5589  dom cdm 5590  ran crn 5591  cima 5593   Fn wfn 6432  wf 6433  cfv 6437  cmpo 7286  Xcixp 8694  Fincfn 8742  ficfi 9178  cardccrd 9702  topGenctg 17157  tcpt 17158  Topctop 22051  TopBasesctb 22104  Compccmp 22546  UFLcufl 23060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-rep 5210  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-int 4881  df-iun 4927  df-iin 4928  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  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 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-ov 7287  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-1o 8306  df-er 8507  df-ixp 8695  df-en 8743  df-dom 8744  df-fin 8746  df-fi 9179  df-topgen 17163  df-pt 17164  df-top 22052  df-bases 22105  df-cmp 22547
This theorem is referenced by:  ptcmplem5  23216
  Copyright terms: Public domain W3C validator