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

Theorem acnlem 9977
Description: Construct a mapping satisfying the consequent of isacn 9973. (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 6873 . . . . . 6 (𝑓𝑥) ⊆ ran 𝑓
2 simpr 484 . . . . . 6 ((𝑥𝐴𝐵 ∈ (𝑓𝑥)) → 𝐵 ∈ (𝑓𝑥))
31, 2sselid 3941 . . . . 5 ((𝑥𝐴𝐵 ∈ (𝑓𝑥)) → 𝐵 ran 𝑓)
43ralimiaa 3065 . . . 4 (∀𝑥𝐴 𝐵 ∈ (𝑓𝑥) → ∀𝑥𝐴 𝐵 ran 𝑓)
5 eqid 2729 . . . . 5 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
65fmpt 7064 . . . 4 (∀𝑥𝐴 𝐵 ran 𝑓 ↔ (𝑥𝐴𝐵):𝐴 ran 𝑓)
74, 6sylib 218 . . 3 (∀𝑥𝐴 𝐵 ∈ (𝑓𝑥) → (𝑥𝐴𝐵):𝐴 ran 𝑓)
8 id 22 . . 3 (𝐴𝑉𝐴𝑉)
9 vex 3448 . . . . . 6 𝑓 ∈ V
109rnex 7866 . . . . 5 ran 𝑓 ∈ V
1110uniex 7697 . . . 4 ran 𝑓 ∈ V
12 fex2 7892 . . . 4 (((𝑥𝐴𝐵):𝐴 ran 𝑓𝐴𝑉 ran 𝑓 ∈ V) → (𝑥𝐴𝐵) ∈ V)
1311, 12mp3an3 1452 . . 3 (((𝑥𝐴𝐵):𝐴 ran 𝑓𝐴𝑉) → (𝑥𝐴𝐵) ∈ V)
147, 8, 13syl2anr 597 . 2 ((𝐴𝑉 ∧ ∀𝑥𝐴 𝐵 ∈ (𝑓𝑥)) → (𝑥𝐴𝐵) ∈ V)
155fvmpt2 6961 . . . . 5 ((𝑥𝐴𝐵 ∈ (𝑓𝑥)) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
1615, 2eqeltrd 2828 . . . 4 ((𝑥𝐴𝐵 ∈ (𝑓𝑥)) → ((𝑥𝐴𝐵)‘𝑥) ∈ (𝑓𝑥))
1716ralimiaa 3065 . . 3 (∀𝑥𝐴 𝐵 ∈ (𝑓𝑥) → ∀𝑥𝐴 ((𝑥𝐴𝐵)‘𝑥) ∈ (𝑓𝑥))
1817adantl 481 . 2 ((𝐴𝑉 ∧ ∀𝑥𝐴 𝐵 ∈ (𝑓𝑥)) → ∀𝑥𝐴 ((𝑥𝐴𝐵)‘𝑥) ∈ (𝑓𝑥))
19 nfmpt1 5201 . . . 4 𝑥(𝑥𝐴𝐵)
2019nfeq2 2909 . . 3 𝑥 𝑔 = (𝑥𝐴𝐵)
21 fveq1 6839 . . . 4 (𝑔 = (𝑥𝐴𝐵) → (𝑔𝑥) = ((𝑥𝐴𝐵)‘𝑥))
2221eleq1d 2813 . . 3 (𝑔 = (𝑥𝐴𝐵) → ((𝑔𝑥) ∈ (𝑓𝑥) ↔ ((𝑥𝐴𝐵)‘𝑥) ∈ (𝑓𝑥)))
2320, 22ralbid 3248 . 2 (𝑔 = (𝑥𝐴𝐵) → (∀𝑥𝐴 (𝑔𝑥) ∈ (𝑓𝑥) ↔ ∀𝑥𝐴 ((𝑥𝐴𝐵)‘𝑥) ∈ (𝑓𝑥)))
2414, 18, 23spcedv 3561 1 ((𝐴𝑉 ∧ ∀𝑥𝐴 𝐵 ∈ (𝑓𝑥)) → ∃𝑔𝑥𝐴 (𝑔𝑥) ∈ (𝑓𝑥))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wex 1779  wcel 2109  wral 3044  Vcvv 3444   cuni 4867  cmpt 5183  ran crn 5632  wf 6495  cfv 6499
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-fv 6507
This theorem is referenced by:  numacn  9978  acndom  9980  acndom2  9983
  Copyright terms: Public domain W3C validator