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 33659
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 3488 . . 3 𝑦[(𝑓𝑥) / 𝑦]𝜑
2 sbceq1a 3479 . . 3 (𝑦 = (𝑓𝑥) → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
31, 2ac6gf 33657 . 2 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑))
4 fdm 6089 . . . . . . 7 (𝑓:𝐴𝐵 → dom 𝑓 = 𝐴)
5 vex 3234 . . . . . . . 8 𝑓 ∈ V
65dmex 7141 . . . . . . 7 dom 𝑓 ∈ V
74, 6syl6eqelr 2739 . . . . . 6 (𝑓:𝐴𝐵𝐴 ∈ V)
8 ffn 6083 . . . . . 6 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
9 fnrndomg 9396 . . . . . 6 (𝐴 ∈ V → (𝑓 Fn 𝐴 → ran 𝑓𝐴))
107, 8, 9sylc 65 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐴)
1110adantr 480 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐴)
12 frn 6091 . . . . 5 (𝑓:𝐴𝐵 → ran 𝑓𝐵)
1312adantr 480 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ran 𝑓𝐵)
14 nfv 1883 . . . . . 6 𝑥 𝑓:𝐴𝐵
15 nfra1 2970 . . . . . 6 𝑥𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
1614, 15nfan 1868 . . . . 5 𝑥(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
17 ffun 6086 . . . . . . . . . 10 (𝑓:𝐴𝐵 → Fun 𝑓)
1817adantr 480 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → Fun 𝑓)
194eleq2d 2716 . . . . . . . . . 10 (𝑓:𝐴𝐵 → (𝑥 ∈ dom 𝑓𝑥𝐴))
2019biimpar 501 . . . . . . . . 9 ((𝑓:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝑓)
21 fvelrn 6392 . . . . . . . . 9 ((Fun 𝑓𝑥 ∈ dom 𝑓) → (𝑓𝑥) ∈ ran 𝑓)
2218, 20, 21syl2anc 694 . . . . . . . 8 ((𝑓:𝐴𝐵𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
2322adantlr 751 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → (𝑓𝑥) ∈ ran 𝑓)
24 rspa 2959 . . . . . . . 8 ((∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
2524adantll 750 . . . . . . 7 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → [(𝑓𝑥) / 𝑦]𝜑)
26 rspesbca 3553 . . . . . . 7 (((𝑓𝑥) ∈ ran 𝑓[(𝑓𝑥) / 𝑦]𝜑) → ∃𝑦 ∈ ran 𝑓𝜑)
2723, 25, 26syl2anc 694 . . . . . 6 (((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) ∧ 𝑥𝐴) → ∃𝑦 ∈ ran 𝑓𝜑)
2827ex 449 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ∃𝑦 ∈ ran 𝑓𝜑))
2916, 28ralrimi 2986 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑)
30 nfv 1883 . . . . . 6 𝑦 𝑓:𝐴𝐵
31 nfcv 2793 . . . . . . 7 𝑦𝐴
3231, 1nfral 2974 . . . . . 6 𝑦𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑
3330, 32nfan 1868 . . . . 5 𝑦(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑)
34 fvelrnb 6282 . . . . . . . 8 (𝑓 Fn 𝐴 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
358, 34syl 17 . . . . . . 7 (𝑓:𝐴𝐵 → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
3635adantr 480 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 ↔ ∃𝑥𝐴 (𝑓𝑥) = 𝑦))
37 rsp 2958 . . . . . . . . 9 (∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑 → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
3837adantl 481 . . . . . . . 8 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴[(𝑓𝑥) / 𝑦]𝜑))
392eqcoms 2659 . . . . . . . . 9 ((𝑓𝑥) = 𝑦 → (𝜑[(𝑓𝑥) / 𝑦]𝜑))
4039biimprcd 240 . . . . . . . 8 ([(𝑓𝑥) / 𝑦]𝜑 → ((𝑓𝑥) = 𝑦𝜑))
4138, 40syl6 35 . . . . . . 7 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑥𝐴 → ((𝑓𝑥) = 𝑦𝜑)))
4216, 41reximdai 3041 . . . . . 6 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (∃𝑥𝐴 (𝑓𝑥) = 𝑦 → ∃𝑥𝐴 𝜑))
4336, 42sylbid 230 . . . . 5 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → (𝑦 ∈ ran 𝑓 → ∃𝑥𝐴 𝜑))
4433, 43ralrimi 2986 . . . 4 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)
455rnex 7142 . . . . 5 ran 𝑓 ∈ V
46 breq1 4688 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐴 ↔ ran 𝑓𝐴))
47 sseq1 3659 . . . . . . 7 (𝑐 = ran 𝑓 → (𝑐𝐵 ↔ ran 𝑓𝐵))
4846, 47anbi12d 747 . . . . . 6 (𝑐 = ran 𝑓 → ((𝑐𝐴𝑐𝐵) ↔ (ran 𝑓𝐴 ∧ ran 𝑓𝐵)))
49 rexeq 3169 . . . . . . . 8 (𝑐 = ran 𝑓 → (∃𝑦𝑐 𝜑 ↔ ∃𝑦 ∈ ran 𝑓𝜑))
5049ralbidv 3015 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑥𝐴𝑦𝑐 𝜑 ↔ ∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑))
51 raleq 3168 . . . . . . 7 (𝑐 = ran 𝑓 → (∀𝑦𝑐𝑥𝐴 𝜑 ↔ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))
5250, 51anbi12d 747 . . . . . 6 (𝑐 = ran 𝑓 → ((∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑) ↔ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)))
5348, 52anbi12d 747 . . . . 5 (𝑐 = ran 𝑓 → (((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)) ↔ ((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑))))
5445, 53spcev 3331 . . . 4 (((ran 𝑓𝐴 ∧ ran 𝑓𝐵) ∧ (∀𝑥𝐴𝑦 ∈ ran 𝑓𝜑 ∧ ∀𝑦 ∈ ran 𝑓𝑥𝐴 𝜑)) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5511, 13, 29, 44, 54syl22anc 1367 . . 3 ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
5655exlimiv 1898 . 2 (∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑓𝑥) / 𝑦]𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
573, 56syl 17 1 ((𝐴𝑀 ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑐((𝑐𝐴𝑐𝐵) ∧ (∀𝑥𝐴𝑦𝑐 𝜑 ∧ ∀𝑦𝑐𝑥𝐴 𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1523  wex 1744  wcel 2030  wral 2941  wrex 2942  Vcvv 3231  [wsbc 3468  wss 3607   class class class wbr 4685  dom cdm 5143  ran crn 5144  Fun wfun 5920   Fn wfn 5921  wf 5922  cfv 5926  cdom 7995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-reg 8538  ax-inf2 8576  ax-ac2 9323
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-iin 4555  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-isom 5935  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-er 7787  df-map 7901  df-en 7998  df-dom 7999  df-r1 8665  df-rank 8666  df-card 8803  df-acn 8806  df-ac 8977
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator