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 48410
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 6744 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6763 . . . . 5 ((𝐺:𝐶⟶𝐷 ∧ Fun 𝐹) → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
51, 3, 4syl2anc 596 . . . 4 (𝜑 → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
65ffnd 6740 . . 3 (𝜑 → (𝐺 ∘ 𝐹) Fn (◡𝐹 “ 𝐶))
7 fcores.p . . . 4 𝑃 = (◡𝐹 “ 𝐶)
87fneq2i 6667 . . 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 48409 . 2 (𝜑 → (𝑌 ∘ 𝑋) Fn 𝑃)
1411fveq1i 6917 . . . . . 6 (𝑋‘𝑥) = ((𝐹 ↾ 𝑃)‘𝑥)
15 simpr 490 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝑃)
1615fvresd 6936 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐹 ↾ 𝑃)‘𝑥) = (𝐹‘𝑥))
1714, 16eqtrid 2810 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑋‘𝑥) = (𝐹‘𝑥))
1817fveq2d 6920 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝑌‘(𝐹‘𝑥)))
1912fveq1i 6917 . . . . 5 (𝑌‘(𝐹‘𝑥)) = ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥))
20 cnvimass 6217 . . . . . . . . . . 11 (◡𝐹 “ 𝐶) ⊆ dom 𝐹
217, 20eqsstri 3959 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3909 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ dom 𝐹)
23 fvelrn 7108 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ ran 𝐹)
257eleq2i 2856 . . . . . . . . . 10 (𝑥 ∈ 𝑃 ↔ 𝑥 ∈ (◡𝐹 “ 𝐶))
2625biimpi 219 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ (◡𝐹 “ 𝐶))
27 fvimacnvi 7082 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ (◡𝐹 “ 𝐶)) → (𝐹‘𝑥) ∈ 𝐶)
283, 26, 27syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐶)
2924, 28elind 4100 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ (ran 𝐹 ∩ 𝐶))
3029, 10eleqtrrdi 2875 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐸)
3130fvresd 6936 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3219, 31eqtrid 2810 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3318, 32eqtrd 2798 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
342, 10, 7, 11fcoreslem3 48408 . . . . . 6 (𝜑 → 𝑋:𝑃⟶onto𝐸)
35 fof 6826 . . . . . 6 (𝑋:𝑃⟶onto𝐸 → 𝑋:𝑃⟶𝐸)
3634, 35syl 18 . . . . 5 (𝜑 → 𝑋:𝑃⟶𝐸)
3736adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑋:𝑃⟶𝐸)
3837, 15fvco3d 7017 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝑌 ∘ 𝑋)‘𝑥) = (𝑌‘(𝑋‘𝑥)))
392adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝐹:𝐴⟶𝐵)
4021a1i 11 . . . . . 6 (𝜑 → 𝑃 ⊆ dom 𝐹)
4140sselda 3913 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6750 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2769 . . . . . . 7 (𝜑 → 𝐴 = dom 𝐹)
4443eleq2d 2850 . . . . . 6 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4544adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4641, 45mpbird 260 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝐴)
4739, 46fvco3d 7017 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = (𝐺‘(𝐹‘𝑥)))
4833, 38, 473eqtr4rd 2809 . 2 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = ((𝑌 ∘ 𝑋)‘𝑥))
499, 13, 48eqfnfvd 7063 1 (𝜑 → (𝐺 ∘ 𝐹) = (𝑌 ∘ 𝑋))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900   ∩ cin 4092  ◡ccnv 5657  dom cdm 5658  ran crn 5659   ↾ cres 5660   “ cima 5661   ∘ ccom 5662  Fun wfun 6560   Fn wfn 6561  ⟶wf 6562  ⟶ontowfo 6564  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fo 6572  df-fv 6574
This theorem is used by:  fcoresf1lem  48411  fcoresf1b  48413  fcoresfo  48414  fcoresfob  48415
  Copyright terms: Public domain W3C validator