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

Theorem acnlem 10166
Description: Construct a mapping satisfying the consequent of isacn 10162. (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 6947 . . . . . 6 (𝑓‘𝑥) ⊆ ∪ ran 𝑓
2 simpr 490 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ (𝑓‘𝑥))
31, 2sselid 3911 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ ∪ ran 𝑓)
43ralimiaa 3102 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓)
5 eqid 2763 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
65fmpt 7142 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
74, 6sylib 221 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
8 id 23 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ∈ 𝑉)
9 vex 3458 . . . . . 6 𝑓 ∈ V
109rnex 7956 . . . . 5 ran 𝑓 ∈ V
1110uniex 7790 . . . 4 ∪ ran 𝑓 ∈ V
12 fex2 7982 . . . 4 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉 ∧ ∪ ran 𝑓 ∈ V) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
1311, 12mp3an3 1480 . . 3 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
147, 8, 13syl2anr 609 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
155fvmpt2 7036 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
1615, 2eqeltrd 2864 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1716ralimiaa 3102 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1817adantl 487 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
19 nfmpt1 5210 . . . 4 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
2019nfeq2 2943 . . 3 Ⅎ𝑥 𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21 fveq1 6915 . . . 4 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑔‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥))
2221eleq1d 2849 . . 3 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → ((𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2320, 22ralbid 3279 . 2 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2414, 18, 23spcedv 3556 1 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∃𝑔∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  Vcvv 3454  ∪ cuni 4872   ↦ cmpt 5192  ran crn 5659  ⟶wf 6562  ‘cfv 6566
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574
This theorem is used by:  numacn  10167  acndom  10169  acndom2  10172
  Copyright terms: Public domain W3C validator