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 36602
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 3798 . . 3 𝑦[(𝑓𝑥) / 𝑦]𝜑
2 sbceq1a 3789 . . 3 (𝑦 = (𝑓𝑥) → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
31, 2ac6gf 36600 . 2 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑))
4 fdm 6727 . . . . . . 7 (𝑓:𝐴𝐵 → dom 𝑓 = 𝐴)
5 vex 3479 . . . . . . . 8 𝑓 ∈ V
65dmex 7902 . . . . . . 7 dom 𝑓 ∈ V
74, 6eqeltrrdi 2843 . . . . . 6 (𝑓:𝐴𝐵𝐴 ∈ V)
8 ffn 6718 . . . . . 6 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
9 fnrndomg 10531 . . . . . 6 (𝐴 ∈ V → (𝑓 Fn 𝐴 → ran 𝑓𝐴))
107, 8, 9sylc 65 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐴)
1110adantr 482 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐴)
12 frn 6725 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐵)
1312adantr 482 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐵)
14 nfv 1918 . . . . . 6 𝑥 𝑓:𝐴𝐵
15 nfra1 3282 . . . . . 6 𝑥𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
1614, 15nfan 1903 . . . . 5 𝑥(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
17 ffun 6721 . . . . . . . . . 10 (𝑓:𝐴𝐵 → Fun 𝑓)
1817adantr 482 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → Fun 𝑓)
194eleq2d 2820 . . . . . . . . . 10 (𝑓:𝐴𝐵 → (𝑥 ∈ dom 𝑓𝑥𝐴))
2019biimpar 479 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝑓)
21 fvelrn 7079 . . . . . . . . 9 ((Fun 𝑓𝑥 ∈ dom 𝑓) → (𝑓𝑥) ∈ ran 𝑓)
2218, 20, 21syl2anc 585 . . . . . . . 8 ((𝑓:𝐴𝐵𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
2322adantlr 714 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
24 rspa 3246 . . . . . . . 8 ((∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
2524adantll 713 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
26 rspesbca 3876 . . . . . . 7 (((𝑓𝑥) ∈ ran 𝑓[(𝑓𝑥) / 𝑦]𝜑) → ∃𝑦 ∈ ran 𝑓𝜑)
2723, 25, 26syl2anc 585 . . . . . 6 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → ∃𝑦 ∈ ran 𝑓𝜑)
2827ex 414 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ∃𝑦 ∈ ran 𝑓𝜑))
2916, 28ralrimi 3255 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑)
30 nfv 1918 . . . . . 6 𝑦 𝑓:𝐴𝐵
31 nfcv 2904 . . . . . . 7 𝑦𝐴
3231, 1nfralw 3309 . . . . . 6 𝑦𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
3330, 32nfan 1903 . . . . 5 𝑦(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
34 fvelrnb 6953 . . . . . . . 8 (𝑓 Fn 𝐴 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
358, 34syl 17 . . . . . . 7 (𝑓:𝐴𝐵 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
3635adantr 482 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
37 rsp 3245 . . . . . . . . 9 (∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑 → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
3837adantl 483 . . . . . . . 8 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
392eqcoms 2741 . . . . . . . . 9 ((𝑓𝑥) = 𝑦 → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
4039biimprcd 249 . . . . . . . 8 ([(𝑓𝑥) / 𝑦]𝜑 → ((𝑓𝑥) = 𝑦𝜑))
4138, 40syl6 35 . . . . . . 7 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ((𝑓𝑥) = 𝑦𝜑)))
4216, 41reximdai 3259 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (∃𝑥𝐴 (𝑓𝑥) = 𝑦 → ∃𝑥𝐴 𝜑))
4336, 42sylbid 239 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 → ∃𝑥𝐴 𝜑))
4433, 43ralrimi 3255 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)
455rnex 7903 . . . . 5 ran 𝑓 ∈ V
46 breq1 5152 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐴 ↔ ran 𝑓𝐴))
47 sseq1 4008 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐵 ↔ ran 𝑓𝐵))
4846, 47anbi12d 632 . . . . . 6 (𝑐 = ran 𝑓 → ((𝑐𝐴𝑐𝐵) ↔ (ran 𝑓𝐴 ∧ ran 𝑓𝐵)))
49 rexeq 3322 . . . . . . . 8 (𝑐 = ran 𝑓 → (∃𝑦𝑐 𝜑 ↔ ∃𝑦 ∈ ran 𝑓𝜑))
5049ralbidv 3178 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑥𝐴𝑦𝑐 𝜑 ↔ ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑))
51 raleq 3323 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑦𝑐𝑥𝐴 𝜑 ↔ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))
5250, 51anbi12d 632 . . . . . 6 (𝑐 = ran 𝑓 → ((∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑) ↔ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)))
5348, 52anbi12d 632 . . . . 5 (𝑐 = ran 𝑓 → (((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)) ↔ ((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))))
5445, 53spcev 3597 . . . 4 (((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5511, 13, 29, 44, 54syl22anc 838 . . 3 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5655exlimiv 1934 . 2 (∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
573, 56syl 17 1 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wex 1782  wcel 2107  wral 3062  wrex 3071  Vcvv 3475  [wsbc 3778  wss 3949   class class class wbr 5149  dom cdm 5677  ran crn 5678  Fun wfun 6538   Fn wfn 6539  wf 6540  cfv 6544  cdom 8937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725  ax-reg 9587  ax-inf2 9636  ax-ac2 10458
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rmo 3377  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-int 4952  df-iun 5000  df-iin 5001  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-se 5633  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-isom 6553  df-riota 7365  df-ov 7412  df-oprab 7413  df-mpo 7414  df-om 7856  df-1st 7975  df-2nd 7976  df-frecs 8266  df-wrecs 8297  df-recs 8371  df-rdg 8410  df-er 8703  df-map 8822  df-en 8940  df-dom 8941  df-r1 9759  df-rank 9760  df-card 9934  df-acn 9937  df-ac 10111
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator