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

Theorem ptcmplem5 22807
Description: Lemma for ptcmp 22809. (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 4088 . 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 22803 . . 3 (𝜑 → (𝑋 = (ran 𝑆 ∪ {𝑋}) ∧ (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋})))))
87simpld 498 . 2 (𝜑𝑋 = (ran 𝑆 ∪ {𝑋}))
97simprd 499 . 2 (𝜑 → (∏t𝐹) = (topGen‘(fi‘(ran 𝑆 ∪ {𝑋}))))
10 elpwi 4497 . . . . . 6 (𝑦 ∈ 𝒫 ran 𝑆𝑦 ⊆ ran 𝑆)
115ad2antrr 726 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝐴𝑉)
126ad2antrr 726 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝐹:𝐴⟶Comp)
131ad2antrr 726 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑋 ∈ (UFL ∩ dom card))
14 simplrl 777 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑦 ⊆ ran 𝑆)
15 simplrr 778 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → 𝑋 = 𝑦)
16 simpr 488 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) → ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
17 imaeq2 5899 . . . . . . . . . . 11 (𝑧 = 𝑢 → ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) = ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢))
1817eleq1d 2817 . . . . . . . . . 10 (𝑧 = 𝑢 → (((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) ∈ 𝑦 ↔ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝑦))
1918cbvrabv 3393 . . . . . . . . 9 {𝑧 ∈ (𝐹𝑘) ∣ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑧) ∈ 𝑦} = {𝑢 ∈ (𝐹𝑘) ∣ ((𝑤𝑋 ↦ (𝑤𝑘)) “ 𝑢) ∈ 𝑦}
203, 4, 11, 12, 13, 14, 15, 16, 19ptcmplem4 22806 . . . . . . . 8 ¬ ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
21 iman 405 . . . . . . . 8 (((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧) ↔ ¬ ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) ∧ ¬ ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2220, 21mpbir 234 . . . . . . 7 ((𝜑 ∧ (𝑦 ⊆ ran 𝑆𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
2322expr 460 . . . . . 6 ((𝜑𝑦 ⊆ ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2410, 23sylan2 596 . . . . 5 ((𝜑𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
2524adantlr 715 . . . 4 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
26 velpw 4493 . . . . . . 7 (𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ↔ 𝑦 ⊆ (ran 𝑆 ∪ {𝑋}))
27 eldif 3853 . . . . . . . 8 (𝑦 ∈ (𝒫 (ran 𝑆 ∪ {𝑋}) ∖ 𝒫 ran 𝑆) ↔ (𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆))
28 elpwunsn 4574 . . . . . . . 8 (𝑦 ∈ (𝒫 (ran 𝑆 ∪ {𝑋}) ∖ 𝒫 ran 𝑆) → 𝑋𝑦)
2927, 28sylbir 238 . . . . . . 7 ((𝑦 ∈ 𝒫 (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
3026, 29sylanbr 585 . . . . . 6 ((𝑦 ⊆ (ran 𝑆 ∪ {𝑋}) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
3130adantll 714 . . . . 5 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → 𝑋𝑦)
32 snssi 4696 . . . . . . . . 9 (𝑋𝑦 → {𝑋} ⊆ 𝑦)
3332adantl 485 . . . . . . . 8 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → {𝑋} ⊆ 𝑦)
34 snfi 8642 . . . . . . . 8 {𝑋} ∈ Fin
35 elfpw 8899 . . . . . . . 8 ({𝑋} ∈ (𝒫 𝑦 ∩ Fin) ↔ ({𝑋} ⊆ 𝑦 ∧ {𝑋} ∈ Fin))
3633, 34, 35sylanblrc 593 . . . . . . 7 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → {𝑋} ∈ (𝒫 𝑦 ∩ Fin))
37 unisng 4817 . . . . . . . . 9 (𝑋𝑦 {𝑋} = 𝑋)
3837eqcomd 2744 . . . . . . . 8 (𝑋𝑦𝑋 = {𝑋})
3938adantl 485 . . . . . . 7 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → 𝑋 = {𝑋})
40 unieq 4807 . . . . . . . 8 (𝑧 = {𝑋} → 𝑧 = {𝑋})
4140rspceeqv 3541 . . . . . . 7 (({𝑋} ∈ (𝒫 𝑦 ∩ Fin) ∧ 𝑋 = {𝑋}) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
4236, 39, 41syl2anc 587 . . . . . 6 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
4342a1d 25 . . . . 5 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ 𝑋𝑦) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4431, 43syldan 594 . . . 4 (((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) ∧ ¬ 𝑦 ∈ 𝒫 ran 𝑆) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4525, 44pm2.61dan 813 . . 3 ((𝜑𝑦 ⊆ (ran 𝑆 ∪ {𝑋})) → (𝑋 = 𝑦 → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧))
4645impr 458 . 2 ((𝜑 ∧ (𝑦 ⊆ (ran 𝑆 ∪ {𝑋}) ∧ 𝑋 = 𝑦)) → ∃𝑧 ∈ (𝒫 𝑦 ∩ Fin)𝑋 = 𝑧)
472, 8, 9, 46alexsub 22796 1 (𝜑 → (∏t𝐹) ∈ Comp)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1542  wcel 2114  wrex 3054  {crab 3057  cdif 3840  cun 3841  cin 3842  wss 3843  𝒫 cpw 4488  {csn 4516   cuni 4796  cmpt 5110  ccnv 5524  dom cdm 5525  ran crn 5526  cima 5528  wf 6335  cfv 6339  cmpo 7172  Xcixp 8507  Fincfn 8555  ficfi 8947  cardccrd 9437  topGenctg 16814  tcpt 16815  Compccmp 22137  UFLcufl 22651
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 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-nel 3039  df-ral 3058  df-rex 3059  df-reu 3060  df-rmo 3061  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-tp 4521  df-op 4523  df-uni 4797  df-int 4837  df-iun 4883  df-iin 4884  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5483  df-se 5484  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-isom 6348  df-riota 7127  df-ov 7173  df-oprab 7174  df-mpo 7175  df-om 7600  df-1st 7714  df-2nd 7715  df-wrecs 7976  df-recs 8037  df-rdg 8075  df-1o 8131  df-oadd 8135  df-omul 8136  df-er 8320  df-map 8439  df-ixp 8508  df-en 8556  df-dom 8557  df-fin 8559  df-fi 8948  df-wdom 9102  df-card 9441  df-acn 9444  df-topgen 16820  df-pt 16821  df-fbas 20214  df-fg 20215  df-top 21645  df-topon 21662  df-bases 21697  df-cld 21770  df-ntr 21771  df-cls 21772  df-nei 21849  df-cmp 22138  df-fil 22597  df-ufil 22652  df-ufl 22653  df-flim 22690  df-fcls 22692
This theorem is referenced by:  ptcmpg  22808
  Copyright terms: Public domain W3C validator