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 33196
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 3441 . . 3 𝑦[(𝑓𝑥) / 𝑦]𝜑
2 sbceq1a 3432 . . 3 (𝑦 = (𝑓𝑥) → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
31, 2ac6gf 33194 . 2 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑))
4 fdm 6013 . . . . . . 7 (𝑓:𝐴𝐵 → dom 𝑓 = 𝐴)
5 vex 3192 . . . . . . . 8 𝑓 ∈ V
65dmex 7053 . . . . . . 7 dom 𝑓 ∈ V
74, 6syl6eqelr 2707 . . . . . 6 (𝑓:𝐴𝐵𝐴 ∈ V)
8 ffn 6007 . . . . . 6 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
9 fnrndomg 9310 . . . . . 6 (𝐴 ∈ V → (𝑓 Fn 𝐴 → ran 𝑓𝐴))
107, 8, 9sylc 65 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐴)
1110adantr 481 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐴)
12 frn 6015 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐵)
1312adantr 481 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐵)
14 nfv 1840 . . . . . 6 𝑥 𝑓:𝐴𝐵
15 nfra1 2936 . . . . . 6 𝑥𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
1614, 15nfan 1825 . . . . 5 𝑥(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
17 ffun 6010 . . . . . . . . . 10 (𝑓:𝐴𝐵 → Fun 𝑓)
1817adantr 481 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → Fun 𝑓)
194eleq2d 2684 . . . . . . . . . 10 (𝑓:𝐴𝐵 → (𝑥 ∈ dom 𝑓𝑥𝐴))
2019biimpar 502 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝑓)
21 fvelrn 6313 . . . . . . . . 9 ((Fun 𝑓𝑥 ∈ dom 𝑓) → (𝑓𝑥) ∈ ran 𝑓)
2218, 20, 21syl2anc 692 . . . . . . . 8 ((𝑓:𝐴𝐵𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
2322adantlr 750 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
24 rspa 2925 . . . . . . . 8 ((∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
2524adantll 749 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
26 rspesbca 3505 . . . . . . 7 (((𝑓𝑥) ∈ ran 𝑓[(𝑓𝑥) / 𝑦]𝜑) → ∃𝑦 ∈ ran 𝑓𝜑)
2723, 25, 26syl2anc 692 . . . . . 6 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → ∃𝑦 ∈ ran 𝑓𝜑)
2827ex 450 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ∃𝑦 ∈ ran 𝑓𝜑))
2916, 28ralrimi 2952 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑)
30 nfv 1840 . . . . . 6 𝑦 𝑓:𝐴𝐵
31 nfcv 2761 . . . . . . 7 𝑦𝐴
3231, 1nfral 2940 . . . . . 6 𝑦𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
3330, 32nfan 1825 . . . . 5 𝑦(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
34 fvelrnb 6205 . . . . . . . 8 (𝑓 Fn 𝐴 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
358, 34syl 17 . . . . . . 7 (𝑓:𝐴𝐵 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
3635adantr 481 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
37 rsp 2924 . . . . . . . . 9 (∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑 → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
3837adantl 482 . . . . . . . 8 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
392eqcoms 2629 . . . . . . . . 9 ((𝑓𝑥) = 𝑦 → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
4039biimprcd 240 . . . . . . . 8 ([(𝑓𝑥) / 𝑦]𝜑 → ((𝑓𝑥) = 𝑦𝜑))
4138, 40syl6 35 . . . . . . 7 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ((𝑓𝑥) = 𝑦𝜑)))
4216, 41reximdai 3007 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (∃𝑥𝐴 (𝑓𝑥) = 𝑦 → ∃𝑥𝐴 𝜑))
4336, 42sylbid 230 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 → ∃𝑥𝐴 𝜑))
4433, 43ralrimi 2952 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)
455rnex 7054 . . . . 5 ran 𝑓 ∈ V
46 breq1 4621 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐴 ↔ ran 𝑓𝐴))
47 sseq1 3610 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐵 ↔ ran 𝑓𝐵))
4846, 47anbi12d 746 . . . . . 6 (𝑐 = ran 𝑓 → ((𝑐𝐴𝑐𝐵) ↔ (ran 𝑓𝐴 ∧ ran 𝑓𝐵)))
49 rexeq 3131 . . . . . . . 8 (𝑐 = ran 𝑓 → (∃𝑦𝑐 𝜑 ↔ ∃𝑦 ∈ ran 𝑓𝜑))
5049ralbidv 2981 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑥𝐴𝑦𝑐 𝜑 ↔ ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑))
51 raleq 3130 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑦𝑐𝑥𝐴 𝜑 ↔ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))
5250, 51anbi12d 746 . . . . . 6 (𝑐 = ran 𝑓 → ((∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑) ↔ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)))
5348, 52anbi12d 746 . . . . 5 (𝑐 = ran 𝑓 → (((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)) ↔ ((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))))
5445, 53spcev 3289 . . . 4 (((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5511, 13, 29, 44, 54syl22anc 1324 . . 3 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5655exlimiv 1855 . 2 (∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
573, 56syl 17 1 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wex 1701  wcel 1987  wral 2907  wrex 2908  Vcvv 3189  [wsbc 3421  wss 3559   class class class wbr 4618  dom cdm 5079  ran crn 5080  Fun wfun 5846   Fn wfn 5847  wf 5848  cfv 5852  cdom 7905
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-reg 8449  ax-inf2 8490  ax-ac2 9237
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-iin 4493  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-se 5039  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5644  df-ord 5690  df-on 5691  df-lim 5692  df-suc 5693  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-isom 5861  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-om 7020  df-1st 7120  df-2nd 7121  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-er 7694  df-map 7811  df-en 7908  df-dom 7909  df-r1 8579  df-rank 8580  df-card 8717  df-acn 8720  df-ac 8891
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator