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

Theorem cmpcovf 22523
Description: Combine cmpcov 22521 with ac6sfi 9019 to show the existence of a function that indexes the elements that are generating the open cover. (Contributed by Mario Carneiro, 14-Sep-2014.)
Hypotheses
Ref Expression
iscmp.1 𝑋 = 𝐽
cmpcovf.2 (𝑧 = (𝑓𝑦) → (𝜑𝜓))
Assertion
Ref Expression
cmpcovf ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
Distinct variable groups:   𝑓,𝑠,𝑥,𝑦,𝑧,𝐴   𝐽,𝑠,𝑥,𝑦,𝑧   𝜑,𝑓,𝑠,𝑥   𝜓,𝑠,𝑧   𝑥,𝑋,𝑠
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝜓(𝑥,𝑦,𝑓)   𝐽(𝑓)   𝑋(𝑦,𝑧,𝑓)

Proof of Theorem cmpcovf
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 simpl 482 . 2 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → 𝐽 ∈ Comp)
2 iscmp.1 . . 3 𝑋 = 𝐽
32cmpcov2 22522 . 2 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → ∃𝑢 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑))
4 elfpw 9082 . . . 4 (𝑢 ∈ (𝒫 𝐽 ∩ Fin) ↔ (𝑢𝐽𝑢 ∈ Fin))
5 simplrl 773 . . . . . . . 8 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢𝐽)
6 velpw 4543 . . . . . . . 8 (𝑢 ∈ 𝒫 𝐽𝑢𝐽)
75, 6sylibr 233 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ 𝒫 𝐽)
8 simplrr 774 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ Fin)
97, 8elind 4132 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ (𝒫 𝐽 ∩ Fin))
10 simprl 767 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑋 = 𝑢)
11 simprr 769 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∀𝑦𝑢𝑧𝐴 𝜑)
12 cmpcovf.2 . . . . . . . 8 (𝑧 = (𝑓𝑦) → (𝜑𝜓))
1312ac6sfi 9019 . . . . . . 7 ((𝑢 ∈ Fin ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))
148, 11, 13syl2anc 583 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))
15 unieq 4855 . . . . . . . . 9 (𝑠 = 𝑢 𝑠 = 𝑢)
1615eqeq2d 2750 . . . . . . . 8 (𝑠 = 𝑢 → (𝑋 = 𝑠𝑋 = 𝑢))
17 feq2 6578 . . . . . . . . . 10 (𝑠 = 𝑢 → (𝑓:𝑠𝐴𝑓:𝑢𝐴))
18 raleq 3340 . . . . . . . . . 10 (𝑠 = 𝑢 → (∀𝑦𝑠 𝜓 ↔ ∀𝑦𝑢 𝜓))
1917, 18anbi12d 630 . . . . . . . . 9 (𝑠 = 𝑢 → ((𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓) ↔ (𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓)))
2019exbidv 1927 . . . . . . . 8 (𝑠 = 𝑢 → (∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓) ↔ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓)))
2116, 20anbi12d 630 . . . . . . 7 (𝑠 = 𝑢 → ((𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)) ↔ (𝑋 = 𝑢 ∧ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))))
2221rspcev 3560 . . . . . 6 ((𝑢 ∈ (𝒫 𝐽 ∩ Fin) ∧ (𝑋 = 𝑢 ∧ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
239, 10, 14, 22syl12anc 833 . . . . 5 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
2423ex 412 . . . 4 ((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) → ((𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
254, 24sylan2b 593 . . 3 ((𝐽 ∈ Comp ∧ 𝑢 ∈ (𝒫 𝐽 ∩ Fin)) → ((𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
2625rexlimdva 3214 . 2 (𝐽 ∈ Comp → (∃𝑢 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
271, 3, 26sylc 65 1 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1541  wex 1785  wcel 2109  wral 3065  wrex 3066  cin 3890  wss 3891  𝒫 cpw 4538   cuni 4844  wf 6426  cfv 6430  Fincfn 8707  Compccmp 22518
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-sep 5226  ax-nul 5233  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-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  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-br 5079  df-opab 5141  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  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-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-om 7701  df-en 8708  df-fin 8711  df-cmp 22519
This theorem is referenced by:  txtube  22772  txcmplem1  22773  txcmplem2  22774  xkococnlem  22791  cnheibor  24099  heicant  35791
  Copyright terms: Public domain W3C validator