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

Theorem aceq3lem 9876
Description: Lemma for dfac3 9877. (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 3436 . . . . . 6 𝑦 ∈ V
21rnex 7759 . . . . 5 ran 𝑦 ∈ V
32pwex 5303 . . . 4 𝒫 ran 𝑦 ∈ V
4 raleq 3342 . . . . 5 (𝑥 = 𝒫 ran 𝑦 → (∀𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
54exbidv 1924 . . . 4 (𝑥 = 𝒫 ran 𝑦 → (∃𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧)))
63, 5spcv 3544 . . 3 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧))
7 aceq3lem.1 . . . . . . 7 𝐹 = (𝑤 ∈ dom 𝑦 ↦ (𝑓‘{𝑢𝑤𝑦𝑢}))
8 df-mpt 5158 . . . . . . 7 (𝑤 ∈ dom 𝑦 ↦ (𝑓‘{𝑢𝑤𝑦𝑢})) = {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))}
97, 8eqtri 2766 . . . . . 6 𝐹 = {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))}
10 vex 3436 . . . . . . . . . . . . . . 15 𝑤 ∈ V
1110eldm 5809 . . . . . . . . . . . . . 14 (𝑤 ∈ dom 𝑦 ↔ ∃𝑢 𝑤𝑦𝑢)
12 abn0 4314 . . . . . . . . . . . . . 14 ({𝑢𝑤𝑦𝑢} ≠ ∅ ↔ ∃𝑢 𝑤𝑦𝑢)
1311, 12bitr4i 277 . . . . . . . . . . . . 13 (𝑤 ∈ dom 𝑦 ↔ {𝑢𝑤𝑦𝑢} ≠ ∅)
14 vex 3436 . . . . . . . . . . . . . . . . 17 𝑢 ∈ V
1510, 14brelrn 5851 . . . . . . . . . . . . . . . 16 (𝑤𝑦𝑢𝑢 ∈ ran 𝑦)
1615abssi 4003 . . . . . . . . . . . . . . 15 {𝑢𝑤𝑦𝑢} ⊆ ran 𝑦
172, 16elpwi2 5270 . . . . . . . . . . . . . 14 {𝑢𝑤𝑦𝑢} ∈ 𝒫 ran 𝑦
18 neeq1 3006 . . . . . . . . . . . . . . . 16 (𝑧 = {𝑢𝑤𝑦𝑢} → (𝑧 ≠ ∅ ↔ {𝑢𝑤𝑦𝑢} ≠ ∅))
19 fveq2 6774 . . . . . . . . . . . . . . . . 17 (𝑧 = {𝑢𝑤𝑦𝑢} → (𝑓𝑧) = (𝑓‘{𝑢𝑤𝑦𝑢}))
20 id 22 . . . . . . . . . . . . . . . . 17 (𝑧 = {𝑢𝑤𝑦𝑢} → 𝑧 = {𝑢𝑤𝑦𝑢})
2119, 20eleq12d 2833 . . . . . . . . . . . . . . . 16 (𝑧 = {𝑢𝑤𝑦𝑢} → ((𝑓𝑧) ∈ 𝑧 ↔ (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2218, 21imbi12d 345 . . . . . . . . . . . . . . 15 (𝑧 = {𝑢𝑤𝑦𝑢} → ((𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ↔ ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})))
2322rspcv 3557 . . . . . . . . . . . . . 14 ({𝑢𝑤𝑦𝑢} ∈ 𝒫 ran 𝑦 → (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})))
2417, 23ax-mp 5 . . . . . . . . . . . . 13 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ({𝑢𝑤𝑦𝑢} ≠ ∅ → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2513, 24syl5bi 241 . . . . . . . . . . . 12 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → (𝑤 ∈ dom 𝑦 → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢}))
2625imp 407 . . . . . . . . . . 11 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢})
27 fvex 6787 . . . . . . . . . . . 12 (𝑓‘{𝑢𝑤𝑦𝑢}) ∈ V
28 breq2 5078 . . . . . . . . . . . 12 (𝑧 = (𝑓‘{𝑢𝑤𝑦𝑢}) → (𝑤𝑦𝑧𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢})))
29 breq2 5078 . . . . . . . . . . . . 13 (𝑢 = 𝑧 → (𝑤𝑦𝑢𝑤𝑦𝑧))
3029cbvabv 2811 . . . . . . . . . . . 12 {𝑢𝑤𝑦𝑢} = {𝑧𝑤𝑦𝑧}
3127, 28, 30elab2 3613 . . . . . . . . . . 11 ((𝑓‘{𝑢𝑤𝑦𝑢}) ∈ {𝑢𝑤𝑦𝑢} ↔ 𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢}))
3226, 31sylib 217 . . . . . . . . . 10 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → 𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢}))
33 breq2 5078 . . . . . . . . . 10 ( = (𝑓‘{𝑢𝑤𝑦𝑢}) → (𝑤𝑦𝑤𝑦(𝑓‘{𝑢𝑤𝑦𝑢})))
3432, 33syl5ibrcom 246 . . . . . . . . 9 ((∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) ∧ 𝑤 ∈ dom 𝑦) → ( = (𝑓‘{𝑢𝑤𝑦𝑢}) → 𝑤𝑦))
3534expimpd 454 . . . . . . . 8 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ((𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢})) → 𝑤𝑦))
3635ssopab2dv 5464 . . . . . . 7 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))} ⊆ {⟨𝑤, ⟩ ∣ 𝑤𝑦})
37 opabss 5138 . . . . . . 7 {⟨𝑤, ⟩ ∣ 𝑤𝑦} ⊆ 𝑦
3836, 37sstrdi 3933 . . . . . 6 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → {⟨𝑤, ⟩ ∣ (𝑤 ∈ dom 𝑦 = (𝑓‘{𝑢𝑤𝑦𝑢}))} ⊆ 𝑦)
399, 38eqsstrid 3969 . . . . 5 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → 𝐹𝑦)
4027, 7fnmpti 6576 . . . . 5 𝐹 Fn dom 𝑦
411ssex 5245 . . . . . . 7 (𝐹𝑦𝐹 ∈ V)
4241adantr 481 . . . . . 6 ((𝐹𝑦𝐹 Fn dom 𝑦) → 𝐹 ∈ V)
43 sseq1 3946 . . . . . . . 8 (𝑔 = 𝐹 → (𝑔𝑦𝐹𝑦))
44 fneq1 6524 . . . . . . . 8 (𝑔 = 𝐹 → (𝑔 Fn dom 𝑦𝐹 Fn dom 𝑦))
4543, 44anbi12d 631 . . . . . . 7 (𝑔 = 𝐹 → ((𝑔𝑦𝑔 Fn dom 𝑦) ↔ (𝐹𝑦𝐹 Fn dom 𝑦)))
4645spcegv 3536 . . . . . 6 (𝐹 ∈ V → ((𝐹𝑦𝐹 Fn dom 𝑦) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦)))
4742, 46mpcom 38 . . . . 5 ((𝐹𝑦𝐹 Fn dom 𝑦) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
4839, 40, 47sylancl 586 . . . 4 (∀𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
4948exlimiv 1933 . . 3 (∃𝑓𝑧 ∈ 𝒫 ran 𝑦(𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
506, 49syl 17 . 2 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦))
51 sseq1 3946 . . . 4 (𝑔 = 𝑓 → (𝑔𝑦𝑓𝑦))
52 fneq1 6524 . . . 4 (𝑔 = 𝑓 → (𝑔 Fn dom 𝑦𝑓 Fn dom 𝑦))
5351, 52anbi12d 631 . . 3 (𝑔 = 𝑓 → ((𝑔𝑦𝑔 Fn dom 𝑦) ↔ (𝑓𝑦𝑓 Fn dom 𝑦)))
5453cbvexvw 2040 . 2 (∃𝑔(𝑔𝑦𝑔 Fn dom 𝑦) ↔ ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦))
5550, 54sylib 217 1 (∀𝑥𝑓𝑧𝑥 (𝑧 ≠ ∅ → (𝑓𝑧) ∈ 𝑧) → ∃𝑓(𝑓𝑦𝑓 Fn dom 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wne 2943  wral 3064  Vcvv 3432  wss 3887  c0 4256  𝒫 cpw 4533   class class class wbr 5074  {copab 5136  cmpt 5157  dom cdm 5589  ran crn 5590   Fn wfn 6428  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fn 6436  df-fv 6441
This theorem is referenced by:  dfac3  9877
  Copyright terms: Public domain W3C validator