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 44176
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 6527 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6546 . . . . 5 ((𝐺:𝐶𝐷 ∧ Fun 𝐹) → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
51, 3, 4syl2anc 587 . . . 4 (𝜑 → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
65ffnd 6524 . . 3 (𝜑 → (𝐺𝐹) Fn (𝐹𝐶))
7 fcores.p . . . 4 𝑃 = (𝐹𝐶)
87fneq2i 6455 . . 3 ((𝐺𝐹) Fn 𝑃 ↔ (𝐺𝐹) Fn (𝐹𝐶))
96, 8sylibr 237 . 2 (𝜑 → (𝐺𝐹) Fn 𝑃)
10 fcores.e . . 3 𝐸 = (ran 𝐹𝐶)
11 fcores.x . . 3 𝑋 = (𝐹𝑃)
12 fcores.y . . 3 𝑌 = (𝐺𝐸)
132, 10, 7, 11, 1, 12fcoreslem4 44175 . 2 (𝜑 → (𝑌𝑋) Fn 𝑃)
1411fveq1i 6696 . . . . . 6 (𝑋𝑥) = ((𝐹𝑃)‘𝑥)
15 simpr 488 . . . . . . 7 ((𝜑𝑥𝑃) → 𝑥𝑃)
1615fvresd 6715 . . . . . 6 ((𝜑𝑥𝑃) → ((𝐹𝑃)‘𝑥) = (𝐹𝑥))
1714, 16syl5eq 2783 . . . . 5 ((𝜑𝑥𝑃) → (𝑋𝑥) = (𝐹𝑥))
1817fveq2d 6699 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝑌‘(𝐹𝑥)))
1912fveq1i 6696 . . . . 5 (𝑌‘(𝐹𝑥)) = ((𝐺𝐸)‘(𝐹𝑥))
20 cnvimass 5934 . . . . . . . . . . 11 (𝐹𝐶) ⊆ dom 𝐹
217, 20eqsstri 3921 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3883 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ dom 𝐹)
23 fvelrn 6875 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 599 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ ran 𝐹)
257eleq2i 2822 . . . . . . . . . 10 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
2625biimpi 219 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
27 fvimacnvi 6850 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ (𝐹𝐶)) → (𝐹𝑥) ∈ 𝐶)
283, 26, 27syl2an 599 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐶)
2924, 28elind 4094 . . . . . . 7 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ (ran 𝐹𝐶))
3029, 10eleqtrrdi 2842 . . . . . 6 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐸)
3130fvresd 6715 . . . . 5 ((𝜑𝑥𝑃) → ((𝐺𝐸)‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3219, 31syl5eq 2783 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3318, 32eqtrd 2771 . . 3 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝐺‘(𝐹𝑥)))
342, 10, 7, 11fcoreslem3 44174 . . . . . 6 (𝜑𝑋:𝑃onto𝐸)
35 fof 6611 . . . . . 6 (𝑋:𝑃onto𝐸𝑋:𝑃𝐸)
3634, 35syl 17 . . . . 5 (𝜑𝑋:𝑃𝐸)
3736adantr 484 . . . 4 ((𝜑𝑥𝑃) → 𝑋:𝑃𝐸)
3837, 15fvco3d 6789 . . 3 ((𝜑𝑥𝑃) → ((𝑌𝑋)‘𝑥) = (𝑌‘(𝑋𝑥)))
392adantr 484 . . . 4 ((𝜑𝑥𝑃) → 𝐹:𝐴𝐵)
4021a1i 11 . . . . . 6 (𝜑𝑃 ⊆ dom 𝐹)
4140sselda 3887 . . . . 5 ((𝜑𝑥𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6534 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2742 . . . . . . 7 (𝜑𝐴 = dom 𝐹)
4443eleq2d 2816 . . . . . 6 (𝜑 → (𝑥𝐴𝑥 ∈ dom 𝐹))
4544adantr 484 . . . . 5 ((𝜑𝑥𝑃) → (𝑥𝐴𝑥 ∈ dom 𝐹))
4641, 45mpbird 260 . . . 4 ((𝜑𝑥𝑃) → 𝑥𝐴)
4739, 46fvco3d 6789 . . 3 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = (𝐺‘(𝐹𝑥)))
4833, 38, 473eqtr4rd 2782 . 2 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = ((𝑌𝑋)‘𝑥))
499, 13, 48eqfnfvd 6833 1 (𝜑 → (𝐺𝐹) = (𝑌𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  cin 3852  wss 3853  ccnv 5535  dom cdm 5536  ran crn 5537  cres 5538  cima 5539  ccom 5540  Fun wfun 6352   Fn wfn 6353  wf 6354  ontowfo 6356  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-fo 6364  df-fv 6366
This theorem is referenced by:  fcoresf1lem  44177  fcoresf1b  44179  fcoresfo  44180  fcoresfob  44181
  Copyright terms: Public domain W3C validator