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

Theorem acnlem 10137
Description: Construct a mapping satisfying the consequent of isacn 10133. (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 6924 . . . . . 6 (𝑓‘𝑥) ⊆ ∪ ran 𝑓
2 simpr 490 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ (𝑓‘𝑥))
31, 2sselid 3910 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → 𝐵 ∈ ∪ ran 𝑓)
43ralimiaa 3101 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓)
5 eqid 2763 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
65fmpt 7118 . . . 4 (∀𝑥 ∈ 𝐴 𝐵 ∈ ∪ ran 𝑓 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
74, 6sylib 221 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → (𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓)
8 id 23 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ∈ 𝑉)
9 vex 3457 . . . . . 6 𝑓 ∈ V
109rnex 7929 . . . . 5 ran 𝑓 ∈ V
1110uniex 7765 . . . 4 ∪ ran 𝑓 ∈ V
12 fex2 7955 . . . 4 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉 ∧ ∪ ran 𝑓 ∈ V) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
1311, 12mp3an3 1479 . . 3 (((𝑥 ∈ 𝐴 ↦ 𝐵):𝐴⟶∪ ran 𝑓 ∧ 𝐴 ∈ 𝑉) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
147, 8, 13syl2anr 609 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V)
155fvmpt2 7013 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
1615, 2eqeltrd 2863 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ (𝑓‘𝑥)) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1716ralimiaa 3101 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
1817adantl 487 . 2 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥))
19 nfmpt1 5206 . . . 4 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
2019nfeq2 2942 . . 3 Ⅎ𝑥 𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21 fveq1 6892 . . . 4 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑔‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥))
2221eleq1d 2848 . . 3 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → ((𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2320, 22ralbid 3278 . 2 (𝑔 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥) ↔ ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) ∈ (𝑓‘𝑥)))
2414, 18, 23spcedv 3555 1 ((𝐴 ∈ 𝑉 ∧ ∀𝑥 ∈ 𝐴 𝐵 ∈ (𝑓‘𝑥)) → ∃𝑔∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝑓‘𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2146  ∀wral 3079  Vcvv 3453  ∪ cuni 4869   ↦ cmpt 5188  ran crn 5655  ⟶wf 6542  ‘cfv 6546
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-fv 6554
This theorem is used by:  numacn  10138  acndom  10140  acndom2  10143
  Copyright terms: Public domain W3C validator