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

Theorem ptcmplem5 23188
Description: Lemma for ptcmp 23190. (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
ptcmplem5 (𝜑 → (∏t𝐹) ∈ Comp)
Distinct variable groups:   𝑘,𝑛,𝑢,𝑤,𝐴   𝑆,𝑘,𝑛,𝑢   𝜑,𝑘,𝑛,𝑢   𝑘,𝑉,𝑛,𝑢,𝑤   𝑘,𝐹,𝑛,𝑢,𝑤   𝑘,𝑋,𝑛,𝑢,𝑤
Allowed substitution hints:   𝜑(𝑤)   𝑆(𝑤)

Proof of Theorem ptcmplem5
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ptcmp.5 . . 3 (𝜑𝑋 ∈ (UFL ∩ dom card))
21elin1d 4136 . 2 (𝜑𝑋 ∈ UFL)
3 ptcmp.1 . . . 4 𝑆 = (𝑘𝐴, 𝑢 ∈ (𝐹𝑘) ↦ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
4 ptcmp.2 . . . 4 𝑋 = X𝑛𝐴 (𝐹𝑛)
5 ptcmp.3 . . . 4 (𝜑𝐴𝑉)
6 ptcmp.4 . . . 4 (𝜑𝐹:𝐴⟶Comp)
73, 4, 5, 6, 1ptcmplem1 23184 . . 3 (𝜑 → (𝑋 = (ran 𝑆 ∪ {𝑋}) ∧ (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋})))))
87simpld 494 . 2 (𝜑𝑋 = (ran 𝑆 ∪ {𝑋}))
97simprd 495 . 2 (𝜑 → (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
10 elpwi 4547 . . . . . 6 (𝑦 ∈ 𝒫 ran 𝑆𝑦 ⊆ ran 𝑆)
115ad2antrr 722 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝐴𝑉)
126ad2antrr 722 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝐹:𝐴⟶Comp)
131ad2antrr 722 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑋 ∈ (UFL ∩ dom card))
14 simplrl 773 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑦 ⊆ ran 𝑆)
15 simplrr 774 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑋 = 𝑦)
16 simpr 484 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
17 imaeq2 5962 . . . . . . . . . . 11 (𝑧 = 𝑢 → ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) = ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1817eleq1d 2824 . . . . . . . . . 10 (𝑧 = 𝑢 → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) ∈ 𝑦 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝑦))
1918cbvrabv 3424 . . . . . . . . 9 {𝑧 ∈ (𝐹𝑘) ∣ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) ∈ 𝑦} = {𝑢 ∈ (𝐹𝑘) ∣ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝑦}
203, 4, 11, 12, 13, 14, 15, 16, 19ptcmplem4 23187 . . . . . . . 8 ¬ ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
21 iman 401 . . . . . . . 8 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) ↔ ¬ ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2220, 21mpbir 230 . . . . . . 7 ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
2322expr 456 . . . . . 6 ((𝜑𝑦 ⊆ ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2410, 23sylan2 592 . . . . 5 ((𝜑𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2524adantlr 711 . . . 4 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
26 velpw 4543 . . . . . . 7 (𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ↔ 𝑦 ⊆ (ran 𝑆 ∪ {𝑋}))
27 eldif 3901 . . . . . . . 8 (𝑦 ∈ (𝒫 (ran 𝑆 ∪ {𝑋}) ∖ 𝒫 ran 𝑆) ↔ (𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆))
28 elpwunsn 4624 . . . . . . . 8 (𝑦 ∈ (𝒫 (ran 𝑆 ∪ {𝑋}) ∖ 𝒫 ran 𝑆) → 𝑋𝑦)
2927, 28sylbir 234 . . . . . . 7 ((𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
3026, 29sylanbr 581 . . . . . 6 ((𝑦 ⊆ (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
3130adantll 710 . . . . 5 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
32 snssi 4746 . . . . . . . . 9 (𝑋𝑦 → {𝑋} ⊆ 𝑦)
3332adantl 481 . . . . . . . 8 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → {𝑋} ⊆ 𝑦)
34 snfi 8804 . . . . . . . 8 {𝑋} ∈ Fin
35 elfpw 9082 . . . . . . . 8 ({𝑋} ∈ (𝒫 𝑦 ∩ Fin) ↔ ({𝑋} ⊆ 𝑦 ∧ {𝑋} ∈ Fin))
3633, 34, 35sylanblrc 589 . . . . . . 7 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → {𝑋} ∈ (𝒫 𝑦 ∩ Fin))
37 unisng 4865 . . . . . . . . 9 (𝑋𝑦 {𝑋} = 𝑋)
3837eqcomd 2745 . . . . . . . 8 (𝑋𝑦𝑋 = {𝑋})
3938adantl 481 . . . . . . 7 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → 𝑋 = {𝑋})
40 unieq 4855 . . . . . . . 8 (𝑧 = {𝑋} → 𝑧 = {𝑋})
4140rspceeqv 3575 . . . . . . 7 (({𝑋} ∈ (𝒫 𝑦 ∩ Fin) ∧ 𝑋 = {𝑋}) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
4236, 39, 41syl2anc 583 . . . . . 6 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
4342a1d 25 . . . . 5 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4431, 43syldan 590 . . . 4 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4525, 44pm2.61dan 809 . . 3 ((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4645impr 454 . 2 ((𝜑 ∧ (𝑦 ⊆ (ran 𝑆 ∪ {𝑋}) ∧ 𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
472, 8, 9, 46alexsub 23177 1 (𝜑 → (∏t𝐹) ∈ Comp)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1541  wcel 2109  wrex 3066  {crab 3069  cdif 3888  cun 3889  cin 3890  wss 3891  𝒫 cpw 4538  {csn 4566   cuni 4844  cmpt 5161  ccnv 5587  dom cdm 5588  ran crn 5589  cima 5591  wf 6426  cfv 6430  cmpo 7270  Xcixp 8659  Fincfn 8707  ficfi 9130  cardccrd 9677  topGenctg 17129  tcpt 17130  Compccmp 22518  UFLcufl 23032
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-int 4885  df-iun 4931  df-iin 4932  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-se 5544  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-isom 6439  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-oadd 8285  df-omul 8286  df-er 8472  df-map 8591  df-ixp 8660  df-en 8708  df-dom 8709  df-fin 8711  df-fi 9131  df-wdom 9285  df-card 9681  df-acn 9684  df-topgen 17135  df-pt 17136  df-fbas 20575  df-fg 20576  df-top 22024  df-topon 22041  df-bases 22077  df-cld 22151  df-ntr 22152  df-cls 22153  df-nei 22230  df-cmp 22519  df-fil 22978  df-ufil 23033  df-ufl 23034  df-flim 23071  df-fcls 23073
This theorem is referenced by:  ptcmpg  23189
  Copyright terms: Public domain W3C validator