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 33254
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 3455 . . . . . . 7 𝑦 ∈ V
3 eqid 2761 . . . . . . . 8 (𝑗 ∈ 𝐴 ↦ 𝐵) = (𝑗 ∈ 𝐴 ↦ 𝐵)
43elrnmpt 5940 . . . . . . 7 (𝑦 ∈ V → (𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑗 ∈ 𝐴 𝑦 = 𝐵))
52, 4ax-mp 5 . . . . . 6 (𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑗 ∈ 𝐴 𝑦 = 𝐵)
61, 5sylib 221 . . . . 5 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → ∃𝑗 ∈ 𝐴 𝑦 = 𝐵)
7 nfv 1947 . . . . . . . 8 Ⅎ𝑗(𝜑 ∧ 𝑥 ∈ 𝐶)
8 nfcv 2923 . . . . . . . . 9 Ⅎ𝑗𝑦
9 nfmpt1 5204 . . . . . . . . . 10 Ⅎ𝑗(𝑗 ∈ 𝐴 ↦ 𝐵)
109nfrn 5934 . . . . . . . . 9 Ⅎ𝑗ran (𝑗 ∈ 𝐴 ↦ 𝐵)
118, 10nfel 2937 . . . . . . . 8 Ⅎ𝑗 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)
127, 11nfan 1932 . . . . . . 7 Ⅎ𝑗((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
13 nfv 1947 . . . . . . 7 Ⅎ𝑗 𝑥 ∈ 𝑦
1412, 13nfan 1932 . . . . . 6 Ⅎ𝑗(((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦)
15 simpllr 788 . . . . . . . . 9 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝑦)
16 simpr 490 . . . . . . . . 9 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵)
1715, 16eleqtrd 2863 . . . . . . . 8 ((((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐵)
1817ex 418 . . . . . . 7 (((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) ∧ 𝑗 ∈ 𝐴) → (𝑦 = 𝐵 → 𝑥 ∈ 𝐵))
1918ex 418 . . . . . 6 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → (𝑗 ∈ 𝐴 → (𝑦 = 𝐵 → 𝑥 ∈ 𝐵)))
2014, 19reximdai 3265 . . . . 5 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → (∃𝑗 ∈ 𝐴 𝑦 = 𝐵 → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵))
216, 20mpd 16 . . . 4 ((((𝜑 ∧ 𝑥 ∈ 𝐶) ∧ 𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)) ∧ 𝑥 ∈ 𝑦) → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵)
22 acunirnmpt2.2 . . . . . . . 8 𝐶 = ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵)
2322eleq2i 2853 . . . . . . 7 (𝑥 ∈ 𝐶 ↔ 𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
2423biimpi 219 . . . . . 6 (𝑥 ∈ 𝐶 → 𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵))
25 eluni2 4871 . . . . . 6 (𝑥 ∈ ∪ ran (𝑗 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2624, 25sylib 221 . . . . 5 (𝑥 ∈ 𝐶 → ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2726adantl 487 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ∃𝑦 ∈ ran (𝑗 ∈ 𝐴 ↦ 𝐵)𝑥 ∈ 𝑦)
2821, 27r19.29a 3171 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵)
2928ralrimiva 3155 . 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 2865 . . 3 (𝜑 → 𝐶 ∈ V)
36 id 23 . . . . . 6 (𝑐 = 𝐶 → 𝑐 = 𝐶)
3736raleqdv 3320 . . . . 5 (𝑐 = 𝐶 → (∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 ↔ ∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵))
3836feq2d 6693 . . . . . . 7 (𝑐 = 𝐶 → (𝑓:𝑐⟶𝐴 ↔ 𝑓:𝐶⟶𝐴))
3936raleqdv 3320 . . . . . . 7 (𝑐 = 𝐶 → (∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷 ↔ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))
4038, 39anbi12d 644 . . . . . 6 (𝑐 = 𝐶 → ((𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷) ↔ (𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4140exbidv 1954 . . . . 5 (𝑐 = 𝐶 → (∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷) ↔ ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷)))
4237, 41imbi12d 347 . . . 4 (𝑐 = 𝐶 → ((∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷)) ↔ (∀𝑥 ∈ 𝐶 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝐶⟶𝐴 ∧ ∀𝑥 ∈ 𝐶 𝑥 ∈ 𝐷))))
43 vex 3455 . . . . 5 𝑐 ∈ V
44 acunirnmpt2.3 . . . . . 6 (𝑗 = (𝑓‘𝑥) → 𝐵 = 𝐷)
4544eleq2d 2847 . . . . 5 (𝑗 = (𝑓‘𝑥) → (𝑥 ∈ 𝐵 ↔ 𝑥 ∈ 𝐷))
4643, 45ac6s 10562 . . . 4 (∀𝑥 ∈ 𝑐 ∃𝑗 ∈ 𝐴 𝑥 ∈ 𝐵 → ∃𝑓(𝑓:𝑐⟶𝐴 ∧ ∀𝑥 ∈ 𝑐 𝑥 ∈ 𝐷))
4742, 46vtoclg 3518 . . 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 1570  ∃wex 1812   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  Vcvv 3451  ∅c0 4279  ∪ cuni 4867   ↦ cmpt 5186  ran crn 5652  ⟶wf 6534  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-reg 9586  ax-inf2 9642  ax-ac2 10541
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  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 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-en 8974  df-r1 9768  df-rank 9769  df-scott 9929  df-card 10020  df-ac 10195
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator