Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  acunirnmpt2 Structured version   Visualization version   GIF version

Theorem acunirnmpt2 33297
Description: Axiom of choice for the union of the range of a mapping to function. (Contributed by Thierry Arnoux, 7-Nov-2019.)
Hypotheses
Ref Expression
acunirnmpt.0 (𝜑 → 𝐴 ∈ 𝑉)
acunirnmpt.1 ((𝜑 ∧ 𝑗 ∈ 𝐴) → 𝐵 ≠ ∅)
acunirnmpt2.2 𝐶 = ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵)
acunirnmpt2.3 (𝑗 = (𝑓‘𝑥) → 𝐵 = 𝐷)
Assertion
Ref Expression
acunirnmpt2 (𝜑 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))
Distinct variable groups:   𝑓,𝑗,𝑥,𝐴   𝐵,𝑓   𝐶,𝑓,𝑗,𝑥   𝐷,𝑗   𝜑,𝑓,𝑗,𝑥
Allowed substitution hints:   𝐵(𝑥, 𝑗)   𝐷(𝑥, 𝑓)   𝑉(𝑥, 𝑓, 𝑗)

Proof of Theorem acunirnmpt2
Dummy variables 𝑐 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simplr 781 . . . . . 6 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
2 vex 3454 . . . . . . 7 𝑦 ∈ V
3 eqid 2760 . . . . . . . 8 (𝑗 ∈ 𝐴 ↦ 𝐵) = (𝑗 ∈ 𝐴 ↦ 𝐵)
43elrnmpt 5939 . . . . . . 7 (𝑦 ∈ V → (𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑗 ∈ 𝐴 𝑦 = 𝐵))
52, 4ax-mp 5 . . . . . 6 (𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑗 ∈ 𝐴 𝑦 = 𝐵)
61, 5sylib 221 . . . . 5 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → ∃𝑗 ∈ 𝐴 𝑦 = 𝐵)
7 nfv 1946 . . . . . . . 8 Ⅎ𝑗(𝜑 ∧ 𝑥 ∈ 𝐶)
8 nfcv 2922 . . . . . . . . 9 Ⅎ𝑗𝑦
9 nfmpt1 5203 . . . . . . . . . 10 Ⅎ𝑗(𝑗 ∈ 𝐴 ↦ 𝐵)
109nfrn 5933 . . . . . . . . 9 Ⅎ𝑗ran (𝑗 ∈ 𝐴 ↦ 𝐵)
118, 10nfel 2936 . . . . . . . 8 Ⅎ𝑗 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)
127, 11nfan 1931 . . . . . . 7 Ⅎ𝑗((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
13 nfv 1946 . . . . . . 7 Ⅎ𝑗 𝑥 ∈ 𝑦
1412, 13nfan 1931 . . . . . 6 Ⅎ𝑗(((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦)
15 simpllr 788 . . . . . . . . 9 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝑦)
16 simpr 490 . . . . . . . . 9 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵)
1715, 16eleqtrd 2862 . . . . . . . 8 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐵)
1817ex 418 . . . . . . 7 (((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) → (𝑦 = 𝐵 → 𝑥 ∈ 𝐵))
1918ex 418 . . . . . 6 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → (𝑗 ∈ 𝐴 → (𝑦 = 𝐵 → 𝑥 ∈ 𝐵)))
2014, 19reximdai 3264 . . . . 5 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → (∃𝑗 ∈ 𝐴 𝑦 = 𝐵 → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵))
216, 20mpd 16 . . . 4 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵)
22 acunirnmpt2.2 . . . . . . . 8 𝐶 = ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵)
2322eleq2i 2852 . . . . . . 7 (𝑥 ∈ 𝐶 ↔ 𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
2423biimpi 219 . . . . . 6 (𝑥 ∈ 𝐶 → 𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
25 eluni2 4870 . . . . . 6 (𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2624, 25sylib 221 . . . . 5 (𝑥 ∈ 𝐶 → ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2726adantl 487 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2821, 27r19.29a 3170 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵)
2928ralrimiva 3154 . 2 (𝜑 → ∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵)
30 acunirnmpt.0 . . . . 5 (𝜑 → 𝐴 ∈ 𝑉)
31 mptexg 7227 . . . . 5 (𝐴 ∈ 𝑉 → (𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V)
32 rnexg 7914 . . . . 5 ((𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V → ran (𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V)
33 uniexg 7757 . . . . 5 (ran (𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V → ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V)
3430, 31, 32, 334syl 20 . . . 4 (𝜑 → ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ∈ V)
3522, 34eqeltrid 2864 . . 3 (𝜑 → 𝐶 ∈ V)
36 id 23 . . . . . 6 (𝑐 = 𝐶 → 𝑐 = 𝐶)
3736raleqdv 3319 . . . . 5 (𝑐 = 𝐶 → (∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 ↔ ∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵))
3836feq2d 6693 . . . . . . 7 (𝑐 = 𝐶 → (𝑓:𝑐⟶𝐴 ↔ 𝑓:𝐶⟶𝐴))
3936raleqdv 3319 . . . . . . 7 (𝑐 = 𝐶 → (∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷 ↔ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))
4038, 39anbi12d 644 . . . . . 6 (𝑐 = 𝐶 → ((𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷) ↔ (𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4140exbidv 1953 . . . . 5 (𝑐 = 𝐶 → (∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷) ↔ ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4237, 41imbi12d 347 . . . 4 (𝑐 = 𝐶 → ((∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷)) ↔ (∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))))
43 vex 3454 . . . . 5 𝑐 ∈ V
44 acunirnmpt2.3 . . . . . 6 (𝑗 = (𝑓‘𝑥) → 𝐵 = 𝐷)
4544eleq2d 2846 . . . . 5 (𝑗 = (𝑓‘𝑥) → (𝑥 ∈ 𝐵 ↔ 𝑥 ∈ 𝐷))
4643, 45ac6s 10563 . . . 4 (∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷))
4742, 46vtoclg 3517 . . 3 (𝐶 ∈ V → (∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4835, 47syl 18 . 2 (𝜑 → (∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4929, 48mpd 16 1 (𝜑 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  Vcvv 3450  ∅c0 4278  ∪ cuni 4866   ↦ cmpt 5185  ran crn 5651  ⟶wf 6534  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-reg 9587  ax-inf2 9643  ax-ac2 10542
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-se 5604  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-om 7878  df-2nd 8002  df-frecs 8300  df-wrecs 8331  df-recs 8380  df-rdg 8419  df-en 8975  df-r1 9769  df-rank 9770  df-scott 9930  df-card 10021  df-ac 10196
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator