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

Theorem aceq3lem 9807
Description: Lemma for dfac3 9808. (Contributed by NM, 2-Apr-2004.) (Revised by Mario Carneiro, 26-Jun-2015.)
Hypothesis
Ref Expression
aceq3lem.1 𝐹 = (𝑤 ∈ dom 𝑦 ↦ (𝑓‘{𝑢𝑤𝑦𝑢}))
Assertion
Ref Expression
aceq3lem (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦))
Distinct variable group:   𝑥,𝑦,𝑧,𝑤,𝑢,𝑓
Allowed substitution hints:   𝐹(𝑥,𝑦,𝑧,𝑤,𝑢,𝑓)

Proof of Theorem aceq3lem
Dummy variables 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3426 . . . . . 6 𝑦 ∈ V
21rnex 7733 . . . . 5 ran 𝑦 ∈ V
32pwex 5298 . . . 4 𝒫 ran 𝑦 ∈ V
4 raleq 3333 . . . . 5 (𝑥 = 𝒫 ran 𝑦 → (∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
54exbidv 1925 . . . 4 (𝑥 = 𝒫 ran 𝑦 → (∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
63, 5spcv 3534 . . 3 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))
7 aceq3lem.1 . . . . . . 7 𝐹 = (𝑤 ∈ dom 𝑦 ↦ (𝑓‘{𝑢𝑤𝑦𝑢}))
8 df-mpt 5154 . . . . . . 7 (𝑤 ∈ dom 𝑦 ↦ (𝑓‘{𝑢𝑤𝑦𝑢})) = {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))}
97, 8eqtri 2766 . . . . . 6 𝐹 = {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))}
10 vex 3426 . . . . . . . . . . . . . . 15 𝑤 ∈ V
1110eldm 5798 . . . . . . . . . . . . . 14 (𝑤 ∈ dom 𝑦 ↔ ∃𝑢 𝑤𝑦𝑢)
12 abn0 4311 . . . . . . . . . . . . . 14 ({𝑢𝑤𝑦𝑢} ≠ ∅ ↔ ∃𝑢 𝑤𝑦𝑢)
1311, 12bitr4i 277 . . . . . . . . . . . . 13 (𝑤 ∈ dom 𝑦 ↔ {𝑢𝑤𝑦𝑢} ≠ ∅)
14 vex 3426 . . . . . . . . . . . . . . . . 17 𝑢 ∈ V
1510, 14brelrn 5840 . . . . . . . . . . . . . . . 16 (𝑤𝑦𝑢𝑢 ∈ ran 𝑦)
1615abssi 3999 . . . . . . . . . . . . . . 15 {𝑢𝑤𝑦𝑢} ⊆ ran 𝑦
172, 16elpwi2 5265 . . . . . . . . . . . . . 14 {𝑢𝑤𝑦𝑢} ∈ 𝒫 ran 𝑦
18 neeq1 3005 . . . . . . . . . . . . . . . 16 (𝑧 = {𝑢𝑤𝑦𝑢} → (𝑧 ≠ ∅ ↔ {𝑢𝑤𝑦𝑢} ≠ ∅))
19 fveq2 6756 . . . . . . . . . . . . . . . . 17 (𝑧 = {𝑢𝑤𝑦𝑢} → (𝑓𝑧) = (𝑓‘{𝑢𝑤𝑦𝑢}))
20 id 22 . . . . . . . . . . . . . . . . 17 (𝑧 = {𝑢𝑤𝑦𝑢} → 𝑧 = {𝑢𝑤𝑦𝑢})
2119, 20eleq12d 2833 . . . . . . . . . . . . . . . 16 (𝑧 = {𝑢𝑤𝑦𝑢} → ((𝑓𝑧) ∈ 𝑧 ↔ (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2218, 21imbi12d 344 . . . . . . . . . . . . . . 15 (𝑧 = {𝑢𝑤𝑦𝑢} → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})))
2322rspcv 3547 . . . . . . . . . . . . . 14 ({𝑢𝑤𝑦𝑢} ∈ 𝒫 ran 𝑦 → (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})))
2417, 23ax-mp 5 . . . . . . . . . . . . 13 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2513, 24syl5bi 241 . . . . . . . . . . . 12 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → (𝑤 ∈ dom 𝑦 → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2625imp 406 . . . . . . . . . . 11 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})
27 fvex 6769 . . . . . . . . . . . 12 (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ V
28 breq2 5074 . . . . . . . . . . . 12 (𝑧 = (𝑓‘{𝑢𝑤𝑦𝑢}) → (𝑤𝑦𝑧𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢})))
29 breq2 5074 . . . . . . . . . . . . 13 (𝑢 = 𝑧 → (𝑤𝑦𝑢𝑤𝑦𝑧))
3029cbvabv 2812 . . . . . . . . . . . 12 {𝑢𝑤𝑦𝑢} = {𝑧𝑤𝑦𝑧}
3127, 28, 30elab2 3606 . . . . . . . . . . 11 ((𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢} ↔ 𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢}))
3226, 31sylib 217 . . . . . . . . . 10 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → 𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢}))
33 breq2 5074 . . . . . . . . . 10 ( = (𝑓‘{𝑢𝑤𝑦𝑢}) → (𝑤𝑦𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢})))
3432, 33syl5ibrcom 246 . . . . . . . . 9 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → ( = (𝑓‘{𝑢𝑤𝑦𝑢}) → 𝑤𝑦))
3534expimpd 453 . . . . . . . 8 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ((𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢})) → 𝑤𝑦))
3635ssopab2dv 5457 . . . . . . 7 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))} ⊆ {⟨𝑤, ⟩ ∣ 𝑤𝑦})
37 opabss 5134 . . . . . . 7 {⟨𝑤, ⟩ ∣ 𝑤𝑦} ⊆ 𝑦
3836, 37sstrdi 3929 . . . . . 6 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))} ⊆ 𝑦)
399, 38eqsstrid 3965 . . . . 5 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → 𝐹𝑦)
4027, 7fnmpti 6560 . . . . 5 𝐹 Fn dom 𝑦
411ssex 5240 . . . . . . 7 (𝐹𝑦𝐹 ∈ V)
4241adantr 480 . . . . . 6 ((𝐹𝑦𝐹 Fn dom 𝑦) → 𝐹 ∈ V)
43 sseq1 3942 . . . . . . . 8 (𝑔 = 𝐹 → (𝑔𝑦𝐹𝑦))
44 fneq1 6508 . . . . . . . 8 (𝑔 = 𝐹 → (𝑔 Fn dom 𝑦𝐹 Fn dom 𝑦))
4543, 44anbi12d 630 . . . . . . 7 (𝑔 = 𝐹 → ((𝑔𝑦𝑔 Fn dom 𝑦) ↔ (𝐹𝑦𝐹 Fn dom 𝑦)))
4645spcegv 3526 . . . . . 6 (𝐹 ∈ V → ((𝐹𝑦𝐹 Fn dom 𝑦) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦)))
4742, 46mpcom 38 . . . . 5 ((𝐹𝑦𝐹 Fn dom 𝑦) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
4839, 40, 47sylancl 585 . . . 4 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
4948exlimiv 1934 . . 3 (∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
506, 49syl 17 . 2 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
51 sseq1 3942 . . . 4 (𝑔 = 𝑓 → (𝑔𝑦𝑓𝑦))
52 fneq1 6508 . . . 4 (𝑔 = 𝑓 → (𝑔 Fn dom 𝑦𝑓 Fn dom 𝑦))
5351, 52anbi12d 630 . . 3 (𝑔 = 𝑓 → ((𝑔𝑦𝑔 Fn dom 𝑦) ↔ (𝑓𝑦𝑓 Fn dom 𝑦)))
5453cbvexvw 2041 . 2 (∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦) ↔ ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦))
5550, 54sylib 217 1 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wne 2942  wral 3063  Vcvv 3422  wss 3883  c0 4253  𝒫 cpw 4530   class class class wbr 5070  {copab 5132  cmpt 5153  dom cdm 5580  ran crn 5581   Fn wfn 6413  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426
This theorem is referenced by:  dfac3  9808
  Copyright terms: Public domain W3C validator