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

Theorem acnlem 10127
Description: Construct a mapping satisfying the consequent of isacn 10123. (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 6916 . . . . . 6 (𝑓‘𝑥) ⊆ ∪ ran 𝑓
2 simpr 490 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ (𝑓‘𝑥))
31, 2sselid 3929 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ ∪ ran 𝑓)
43ralimiaa 3099 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓)
5 eqid 2761 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
65fmpt 7110 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
74, 6sylib 221 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
8 id 23 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ∈ 𝑉)
9 vex 3455 . . . . . 6 𝑓 ∈ V
109rnex 7922 . . . . 5 ran 𝑓 ∈ V
1110uniex 7758 . . . 4 ∪ ran 𝑓 ∈ V
12 fex2 7948 . . . 4 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉 ∧ ∪ ran 𝑓 ∈ V) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
1311, 12mp3an3 1479 . . 3 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
147, 8, 13syl2anr 609 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
155fvmpt2 7005 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
1615, 2eqeltrd 2861 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1716ralimiaa 3099 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1817adantl 487 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
19 nfmpt1 5204 . . . 4 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
2019nfeq2 2940 . . 3 Ⅎ𝑥 𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21 fveq1 6884 . . . 4 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑔‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥))
2221eleq1d 2846 . . 3 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → ((𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2320, 22ralbid 3276 . 2 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2414, 18, 23spcedv 3553 1 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∃𝑔∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  Vcvv 3451  ∪ 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-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
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 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-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  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-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546
This theorem is used by:  numacn  10128  acndom  10130  acndom2  10133
  Copyright terms: Public domain W3C validator