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 44561
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 6604 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6623 . . . . 5 ((𝐺:𝐶𝐷 ∧ Fun 𝐹) → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
51, 3, 4syl2anc 584 . . . 4 (𝜑 → (𝐺𝐹):(𝐹𝐶)⟶𝐷)
65ffnd 6601 . . 3 (𝜑 → (𝐺𝐹) Fn (𝐹𝐶))
7 fcores.p . . . 4 𝑃 = (𝐹𝐶)
87fneq2i 6531 . . 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 44560 . 2 (𝜑 → (𝑌𝑋) Fn 𝑃)
1411fveq1i 6775 . . . . . 6 (𝑋𝑥) = ((𝐹𝑃)‘𝑥)
15 simpr 485 . . . . . . 7 ((𝜑𝑥𝑃) → 𝑥𝑃)
1615fvresd 6794 . . . . . 6 ((𝜑𝑥𝑃) → ((𝐹𝑃)‘𝑥) = (𝐹𝑥))
1714, 16eqtrid 2790 . . . . 5 ((𝜑𝑥𝑃) → (𝑋𝑥) = (𝐹𝑥))
1817fveq2d 6778 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝑌‘(𝐹𝑥)))
1912fveq1i 6775 . . . . 5 (𝑌‘(𝐹𝑥)) = ((𝐺𝐸)‘(𝐹𝑥))
20 cnvimass 5989 . . . . . . . . . . 11 (𝐹𝐶) ⊆ dom 𝐹
217, 20eqsstri 3955 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3917 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ dom 𝐹)
23 fvelrn 6954 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 596 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ ran 𝐹)
257eleq2i 2830 . . . . . . . . . 10 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
2625biimpi 215 . . . . . . . . 9 (𝑥𝑃𝑥 ∈ (𝐹𝐶))
27 fvimacnvi 6929 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ (𝐹𝐶)) → (𝐹𝑥) ∈ 𝐶)
283, 26, 27syl2an 596 . . . . . . . 8 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐶)
2924, 28elind 4128 . . . . . . 7 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ (ran 𝐹𝐶))
3029, 10eleqtrrdi 2850 . . . . . 6 ((𝜑𝑥𝑃) → (𝐹𝑥) ∈ 𝐸)
3130fvresd 6794 . . . . 5 ((𝜑𝑥𝑃) → ((𝐺𝐸)‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3219, 31eqtrid 2790 . . . 4 ((𝜑𝑥𝑃) → (𝑌‘(𝐹𝑥)) = (𝐺‘(𝐹𝑥)))
3318, 32eqtrd 2778 . . 3 ((𝜑𝑥𝑃) → (𝑌‘(𝑋𝑥)) = (𝐺‘(𝐹𝑥)))
342, 10, 7, 11fcoreslem3 44559 . . . . . 6 (𝜑𝑋:𝑃onto𝐸)
35 fof 6688 . . . . . 6 (𝑋:𝑃onto𝐸𝑋:𝑃𝐸)
3634, 35syl 17 . . . . 5 (𝜑𝑋:𝑃𝐸)
3736adantr 481 . . . 4 ((𝜑𝑥𝑃) → 𝑋:𝑃𝐸)
3837, 15fvco3d 6868 . . 3 ((𝜑𝑥𝑃) → ((𝑌𝑋)‘𝑥) = (𝑌‘(𝑋𝑥)))
392adantr 481 . . . 4 ((𝜑𝑥𝑃) → 𝐹:𝐴𝐵)
4021a1i 11 . . . . . 6 (𝜑𝑃 ⊆ dom 𝐹)
4140sselda 3921 . . . . 5 ((𝜑𝑥𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6611 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2744 . . . . . . 7 (𝜑𝐴 = dom 𝐹)
4443eleq2d 2824 . . . . . 6 (𝜑 → (𝑥𝐴𝑥 ∈ dom 𝐹))
4544adantr 481 . . . . 5 ((𝜑𝑥𝑃) → (𝑥𝐴𝑥 ∈ dom 𝐹))
4641, 45mpbird 256 . . . 4 ((𝜑𝑥𝑃) → 𝑥𝐴)
4739, 46fvco3d 6868 . . 3 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = (𝐺‘(𝐹𝑥)))
4833, 38, 473eqtr4rd 2789 . 2 ((𝜑𝑥𝑃) → ((𝐺𝐹)‘𝑥) = ((𝑌𝑋)‘𝑥))
499, 13, 48eqfnfvd 6912 1 (𝜑 → (𝐺𝐹) = (𝑌𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  cin 3886  wss 3887  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  ccom 5593  Fun wfun 6427   Fn wfn 6428  wf 6429  ontowfo 6431  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-pr 5352
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-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  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-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441
This theorem is referenced by:  fcoresf1lem  44562  fcoresf1b  44564  fcoresfo  44565  fcoresfob  44566
  Copyright terms: Public domain W3C validator