Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fcores Structured version   Visualization version   GIF version

Theorem fcores 44448
Description: Every composite function (𝐺𝐹) can be written as composition of restrictions of the composed functions (to their minimum domains). (Contributed by GL and AV, 17-Sep-2024.)
Hypotheses
Ref Expression
fcores.f (𝜑𝐹:𝐴𝐵)
fcores.e 𝐸 = (ran 𝐹𝐶)
fcores.p 𝑃 = (𝐹𝐶)
fcores.x 𝑋 = (𝐹𝑃)
fcores.g (𝜑𝐺:𝐶𝐷)
fcores.y 𝑌 = (𝐺𝐸)
Assertion
Ref Expression
fcores (𝜑 → (𝐺𝐹) = (𝑌𝑋))

Proof of Theorem fcores
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fcores.g . . . . 5 (𝜑𝐺:𝐶𝐷)
2 fcores.f . . . . . 6 (𝜑𝐹:𝐴𝐵)
32ffund 6588 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6607 . . . . 5 ((𝐺:𝐶𝐷 ∧ Fun 𝐹) → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
51, 3, 4syl2anc 583 . . . 4 (𝜑 → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
65ffnd 6585 . . 3 (𝜑 → (𝐺𝐹) Fn (𝐹𝐶))
7 fcores.p . . . 4 𝑃 = (𝐹𝐶)
87fneq2i 6515 . . 3 ((𝐺𝐹) Fn 𝑃 ↔ (𝐺𝐹) Fn (𝐹𝐶))
96, 8sylibr 233 . 2 (𝜑 → (𝐺𝐹) Fn 𝑃)
10 fcores.e . . 3 𝐸 = (ran 𝐹𝐶)
11 fcores.x . . 3 𝑋 = (𝐹𝑃)
12 fcores.y . . 3 𝑌 = (𝐺𝐸)
132, 10, 7, 11, 1, 12fcoreslem4 44447 . 2 (𝜑 → (𝑌𝑋) Fn 𝑃)
1411fveq1i 6757 . . . . . 6 (𝑋𝑥) = ((𝐹𝑃)‘𝑥)
15 simpr 484 . . . . . . 7 ((𝜑𝑥𝑃) → 𝑥𝑃)
1615fvresd 6776 . . . . . 6 ((𝜑𝑥𝑃) → ((𝐹𝑃)‘𝑥) = (𝐹𝑥))
1714, 16syl5eq 2791 . . . . 5 ((𝜑𝑥𝑃) → (𝑋𝑥) = (𝐹𝑥))
1817fveq2d 6760 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝑌‘(𝐹𝑥)))
1912fveq1i 6757 . . . . 5 (𝑌‘(𝐹𝑥)) = ((𝐺𝐸)‘(𝐹𝑥))
20 cnvimass 5978 . . . . . . . . . . 11 (𝐹𝐶) ⊆ dom 𝐹
217, 20eqsstri 3951 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3913 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ dom 𝐹)
23 fvelrn 6936 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 595 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ ran 𝐹)
257eleq2i 2830 . . . . . . . . . 10 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
2625biimpi 215 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
27 fvimacnvi 6911 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ (𝐹𝐶)) → (𝐹𝑥) ∈ 𝐶)
283, 26, 27syl2an 595 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐶)
2924, 28elind 4124 . . . . . . 7 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ (ran 𝐹𝐶))
3029, 10eleqtrrdi 2850 . . . . . 6 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐸)
3130fvresd 6776 . . . . 5 ((𝜑𝑥𝑃) → ((𝐺𝐸)‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3219, 31syl5eq 2791 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3318, 32eqtrd 2778 . . 3 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝐺‘(𝐹𝑥)))
342, 10, 7, 11fcoreslem3 44446 . . . . . 6 (𝜑𝑋:𝑃onto𝐸)
35 fof 6672 . . . . . 6 (𝑋:𝑃onto𝐸𝑋:𝑃𝐸)
3634, 35syl 17 . . . . 5 (𝜑𝑋:𝑃𝐸)
3736adantr 480 . . . 4 ((𝜑𝑥𝑃) → 𝑋:𝑃𝐸)
3837, 15fvco3d 6850 . . 3 ((𝜑𝑥𝑃) → ((𝑌𝑋)‘𝑥) = (𝑌‘(𝑋𝑥)))
392adantr 480 . . . 4 ((𝜑𝑥𝑃) → 𝐹:𝐴𝐵)
4021a1i 11 . . . . . 6 (𝜑𝑃 ⊆ dom 𝐹)
4140sselda 3917 . . . . 5 ((𝜑𝑥𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6595 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2744 . . . . . . 7 (𝜑𝐴 = dom 𝐹)
4443eleq2d 2824 . . . . . 6 (𝜑 → (𝑥𝐴𝑥 ∈ dom 𝐹))
4544adantr 480 . . . . 5 ((𝜑𝑥𝑃) → (𝑥𝐴𝑥 ∈ dom 𝐹))
4641, 45mpbird 256 . . . 4 ((𝜑𝑥𝑃) → 𝑥𝐴)
4739, 46fvco3d 6850 . . 3 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = (𝐺‘(𝐹𝑥)))
4833, 38, 473eqtr4rd 2789 . 2 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = ((𝑌𝑋)‘𝑥))
499, 13, 48eqfnfvd 6894 1 (𝜑 → (𝐺𝐹) = (𝑌𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  cin 3882  wss 3883  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  ccom 5584  Fun wfun 6412   Fn wfn 6413  wf 6414  ontowfo 6416  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-pr 5347
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-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  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-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426
This theorem is referenced by:  fcoresf1lem  44449  fcoresf1b  44451  fcoresfo  44452  fcoresfob  44453
  Copyright terms: Public domain W3C validator