Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  indexdom Structured version   Visualization version   GIF version

Theorem indexdom 35819
Description: If for every element of an indexing set 𝐴 there exists a corresponding element of another set 𝐵, then there exists a subset of 𝐵 consisting only of those elements which are indexed by 𝐴, and which is dominated by the set 𝐴. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
indexdom ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
Distinct variable groups:   𝐴,𝑐,𝑥,𝑦   𝐵,𝑐,𝑥,𝑦   𝜑,𝑐
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝑀(𝑥,𝑦,𝑐)

Proof of Theorem indexdom
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 nfsbc1v 3731 . . 3 𝑦[(𝑓𝑥) / 𝑦]𝜑
2 sbceq1a 3722 . . 3 (𝑦 = (𝑓𝑥) → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
31, 2ac6gf 35817 . 2 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑))
4 fdm 6593 . . . . . . 7 (𝑓:𝐴𝐵 → dom 𝑓 = 𝐴)
5 vex 3426 . . . . . . . 8 𝑓 ∈ V
65dmex 7732 . . . . . . 7 dom 𝑓 ∈ V
74, 6eqeltrrdi 2848 . . . . . 6 (𝑓:𝐴𝐵𝐴 ∈ V)
8 ffn 6584 . . . . . 6 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
9 fnrndomg 10223 . . . . . 6 (𝐴 ∈ V → (𝑓 Fn 𝐴 → ran 𝑓𝐴))
107, 8, 9sylc 65 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐴)
1110adantr 480 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐴)
12 frn 6591 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐵)
1312adantr 480 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐵)
14 nfv 1918 . . . . . 6 𝑥 𝑓:𝐴𝐵
15 nfra1 3142 . . . . . 6 𝑥𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
1614, 15nfan 1903 . . . . 5 𝑥(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
17 ffun 6587 . . . . . . . . . 10 (𝑓:𝐴𝐵 → Fun 𝑓)
1817adantr 480 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → Fun 𝑓)
194eleq2d 2824 . . . . . . . . . 10 (𝑓:𝐴𝐵 → (𝑥 ∈ dom 𝑓𝑥𝐴))
2019biimpar 477 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝑓)
21 fvelrn 6936 . . . . . . . . 9 ((Fun 𝑓𝑥 ∈ dom 𝑓) → (𝑓𝑥) ∈ ran 𝑓)
2218, 20, 21syl2anc 583 . . . . . . . 8 ((𝑓:𝐴𝐵𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
2322adantlr 711 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
24 rspa 3130 . . . . . . . 8 ((∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
2524adantll 710 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
26 rspesbca 3810 . . . . . . 7 (((𝑓𝑥) ∈ ran 𝑓[(𝑓𝑥) / 𝑦]𝜑) → ∃𝑦 ∈ ran 𝑓𝜑)
2723, 25, 26syl2anc 583 . . . . . 6 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → ∃𝑦 ∈ ran 𝑓𝜑)
2827ex 412 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ∃𝑦 ∈ ran 𝑓𝜑))
2916, 28ralrimi 3139 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑)
30 nfv 1918 . . . . . 6 𝑦 𝑓:𝐴𝐵
31 nfcv 2906 . . . . . . 7 𝑦𝐴
3231, 1nfralw 3149 . . . . . 6 𝑦𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
3330, 32nfan 1903 . . . . 5 𝑦(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
34 fvelrnb 6812 . . . . . . . 8 (𝑓 Fn 𝐴 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
358, 34syl 17 . . . . . . 7 (𝑓:𝐴𝐵 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
3635adantr 480 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
37 rsp 3129 . . . . . . . . 9 (∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑 → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
3837adantl 481 . . . . . . . 8 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
392eqcoms 2746 . . . . . . . . 9 ((𝑓𝑥) = 𝑦 → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
4039biimprcd 249 . . . . . . . 8 ([(𝑓𝑥) / 𝑦]𝜑 → ((𝑓𝑥) = 𝑦𝜑))
4138, 40syl6 35 . . . . . . 7 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ((𝑓𝑥) = 𝑦𝜑)))
4216, 41reximdai 3239 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (∃𝑥𝐴 (𝑓𝑥) = 𝑦 → ∃𝑥𝐴 𝜑))
4336, 42sylbid 239 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 → ∃𝑥𝐴 𝜑))
4433, 43ralrimi 3139 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)
455rnex 7733 . . . . 5 ran 𝑓 ∈ V
46 breq1 5073 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐴 ↔ ran 𝑓𝐴))
47 sseq1 3942 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐵 ↔ ran 𝑓𝐵))
4846, 47anbi12d 630 . . . . . 6 (𝑐 = ran 𝑓 → ((𝑐𝐴𝑐𝐵) ↔ (ran 𝑓𝐴 ∧ ran 𝑓𝐵)))
49 rexeq 3334 . . . . . . . 8 (𝑐 = ran 𝑓 → (∃𝑦𝑐 𝜑 ↔ ∃𝑦 ∈ ran 𝑓𝜑))
5049ralbidv 3120 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑥𝐴𝑦𝑐 𝜑 ↔ ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑))
51 raleq 3333 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑦𝑐𝑥𝐴 𝜑 ↔ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))
5250, 51anbi12d 630 . . . . . 6 (𝑐 = ran 𝑓 → ((∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑) ↔ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)))
5348, 52anbi12d 630 . . . . 5 (𝑐 = ran 𝑓 → (((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)) ↔ ((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))))
5445, 53spcev 3535 . . . 4 (((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5511, 13, 29, 44, 54syl22anc 835 . . 3 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5655exlimiv 1934 . 2 (∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
573, 56syl 17 1 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wral 3063  wrex 3064  Vcvv 3422  [wsbc 3711  wss 3883   class class class wbr 5070  dom cdm 5580  ran crn 5581  Fun wfun 6412   Fn wfn 6413  wf 6414  cfv 6418  cdom 8689
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-reg 9281  ax-inf2 9329  ax-ac2 10150
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-r1 9453  df-rank 9454  df-card 9628  df-acn 9631  df-ac 9803
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator