MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  acnlem Structured version   Visualization version   GIF version

Theorem acnlem 10185
Description: Construct a mapping satisfying the consequent of isacn 10181. (Contributed by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
acnlem ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∃𝑔∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥))
Distinct variable groups:   𝑓,𝑔,𝑥,𝐴   𝐵,𝑔
Allowed substitution hints:   𝐵(𝑥, 𝑓)   𝑉(𝑥, 𝑓, 𝑔)

Proof of Theorem acnlem
StepHypRef Expression
1 fvssunirn 6965 . . . . . 6 (𝑓‘𝑥) ⊆ ∪ ran 𝑓
2 simpr 490 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ (𝑓‘𝑥))
31, 2sselid 3918 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ ∪ ran 𝑓)
43ralimiaa 3113 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓)
5 eqid 2774 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
65fmpt 7160 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
74, 6sylib 221 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
8 id 23 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ∈ 𝑉)
9 vex 3465 . . . . . 6 𝑓 ∈ V
109rnex 7975 . . . . 5 ran 𝑓 ∈ V
1110uniex 7809 . . . 4 ∪ ran 𝑓 ∈ V
12 fex2 8001 . . . 4 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉 ∧ ∪ ran 𝑓 ∈ V) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
1311, 12mp3an3 1482 . . 3 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
147, 8, 13syl2anr 609 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
155fvmpt2 7054 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
1615, 2eqeltrd 2875 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1716ralimiaa 3113 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1817adantl 487 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
19 nfmpt1 5218 . . . 4 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
2019nfeq2 2954 . . 3 Ⅎ𝑥 𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21 fveq1 6933 . . . 4 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑔‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥))
2221eleq1d 2860 . . 3 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → ((𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2320, 22ralbid 3287 . 2 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2414, 18, 23spcedv 3563 1 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∃𝑔∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∀wral 3091  Vcvv 3461  ∪ cuni 4880   ↦ cmpt 5200  ran crn 5667  ⟶wf 6575  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fv 6587
This theorem is used by:  numacn  10186  acndom  10188  acndom2  10191
  Copyright terms: Public domain W3C validator