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

Theorem cmpcovf 21416
Description: Combine cmpcov 21414 with ac6sfi 8371 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 474 . 2 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → 𝐽 ∈ Comp)
2 iscmp.1 . . 3 𝑋 = 𝐽
32cmpcov2 21415 . 2 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → ∃𝑢 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑))
4 elfpw 8435 . . . 4 (𝑢 ∈ (𝒫 𝐽 ∩ Fin) ↔ (𝑢𝐽𝑢 ∈ Fin))
5 simplrl 819 . . . . . . . 8 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢𝐽)
6 selpw 4309 . . . . . . . 8 (𝑢 ∈ 𝒫 𝐽𝑢𝐽)
75, 6sylibr 224 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ 𝒫 𝐽)
8 simplrr 820 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ Fin)
97, 8elind 3941 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑢 ∈ (𝒫 𝐽 ∩ Fin))
10 simprl 811 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → 𝑋 = 𝑢)
11 simprr 813 . . . . . . 7 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∀𝑦𝑢𝑧𝐴 𝜑)
12 cmpcovf.2 . . . . . . . 8 (𝑧 = (𝑓𝑦) → (𝜑𝜓))
1312ac6sfi 8371 . . . . . . 7 ((𝑢 ∈ Fin ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))
148, 11, 13syl2anc 696 . . . . . 6 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))
15 unieq 4596 . . . . . . . . 9 (𝑠 = 𝑢 𝑠 = 𝑢)
1615eqeq2d 2770 . . . . . . . 8 (𝑠 = 𝑢 → (𝑋 = 𝑠𝑋 = 𝑢))
17 feq2 6188 . . . . . . . . . 10 (𝑠 = 𝑢 → (𝑓:𝑠𝐴𝑓:𝑢𝐴))
18 raleq 3277 . . . . . . . . . 10 (𝑠 = 𝑢 → (∀𝑦𝑠 𝜓 ↔ ∀𝑦𝑢 𝜓))
1917, 18anbi12d 749 . . . . . . . . 9 (𝑠 = 𝑢 → ((𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓) ↔ (𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓)))
2019exbidv 1999 . . . . . . . 8 (𝑠 = 𝑢 → (∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓) ↔ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓)))
2116, 20anbi12d 749 . . . . . . 7 (𝑠 = 𝑢 → ((𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)) ↔ (𝑋 = 𝑢 ∧ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))))
2221rspcev 3449 . . . . . 6 ((𝑢 ∈ (𝒫 𝐽 ∩ Fin) ∧ (𝑋 = 𝑢 ∧ ∃𝑓(𝑓:𝑢𝐴 ∧ ∀𝑦𝑢 𝜓))) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
239, 10, 14, 22syl12anc 1475 . . . . 5 (((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) ∧ (𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑)) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
2423ex 449 . . . 4 ((𝐽 ∈ Comp ∧ (𝑢𝐽𝑢 ∈ Fin)) → ((𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
254, 24sylan2b 493 . . 3 ((𝐽 ∈ Comp ∧ 𝑢 ∈ (𝒫 𝐽 ∩ Fin)) → ((𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
2625rexlimdva 3169 . 2 (𝐽 ∈ Comp → (∃𝑢 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑢 ∧ ∀𝑦𝑢𝑧𝐴 𝜑) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓))))
271, 3, 26sylc 65 1 ((𝐽 ∈ Comp ∧ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∃𝑧𝐴 𝜑)) → ∃𝑠 ∈ (𝒫 𝐽 ∩ Fin)(𝑋 = 𝑠 ∧ ∃𝑓(𝑓:𝑠𝐴 ∧ ∀𝑦𝑠 𝜓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1632  wex 1853  wcel 2139  wral 3050  wrex 3051  cin 3714  wss 3715  𝒫 cpw 4302   cuni 4588  wf 6045  cfv 6049  Fincfn 8123  Compccmp 21411
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7115
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-om 7232  df-1o 7730  df-er 7913  df-en 8124  df-fin 8127  df-cmp 21412
This theorem is referenced by:  txtube  21665  txcmplem1  21666  txcmplem2  21667  xkococnlem  21684  cnheibor  22975  heicant  33775
  Copyright terms: Public domain W3C validator