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 48244
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 6717 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6736 . . . . 5 ((𝐺:𝐶⟶𝐷 ∧ Fun 𝐹) → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
51, 3, 4syl2anc 596 . . . 4 (𝜑 → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
65ffnd 6713 . . 3 (𝜑 → (𝐺 ∘ 𝐹) Fn (◡𝐹 “ 𝐶))
7 fcores.p . . . 4 𝑃 = (◡𝐹 “ 𝐶)
87fneq2i 6640 . . 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 48243 . 2 (𝜑 → (𝑌 ∘ 𝑋) Fn 𝑃)
1411fveq1i 6889 . . . . . 6 (𝑋‘𝑥) = ((𝐹 ↾ 𝑃)‘𝑥)
15 simpr 490 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝑃)
1615fvresd 6908 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐹 ↾ 𝑃)‘𝑥) = (𝐹‘𝑥))
1714, 16eqtrid 2807 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑋‘𝑥) = (𝐹‘𝑥))
1817fveq2d 6892 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝑌‘(𝐹‘𝑥)))
1912fveq1i 6889 . . . . 5 (𝑌‘(𝐹‘𝑥)) = ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥))
20 cnvimass 6200 . . . . . . . . . . 11 (◡𝐹 “ 𝐶) ⊆ dom 𝐹
217, 20eqsstri 3955 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3905 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ dom 𝐹)
23 fvelrn 7079 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ ran 𝐹)
257eleq2i 2852 . . . . . . . . . 10 (𝑥 ∈ 𝑃 ↔ 𝑥 ∈ (◡𝐹 “ 𝐶))
2625biimpi 219 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ (◡𝐹 “ 𝐶))
27 fvimacnvi 7054 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ (◡𝐹 “ 𝐶)) → (𝐹‘𝑥) ∈ 𝐶)
283, 26, 27syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐶)
2924, 28elind 4096 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ (ran 𝐹 ∩ 𝐶))
3029, 10eleqtrrdi 2871 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐸)
3130fvresd 6908 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3219, 31eqtrid 2807 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3318, 32eqtrd 2795 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
342, 10, 7, 11fcoreslem3 48242 . . . . . 6 (𝜑 → 𝑋:𝑃–onto→𝐸)
35 fof 6799 . . . . . 6 (𝑋:𝑃–onto→𝐸 → 𝑋:𝑃⟶𝐸)
3634, 35syl 18 . . . . 5 (𝜑 → 𝑋:𝑃⟶𝐸)
3736adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑋:𝑃⟶𝐸)
3837, 15fvco3d 6989 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝑌 ∘ 𝑋)‘𝑥) = (𝑌‘(𝑋‘𝑥)))
392adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝐹:𝐴⟶𝐵)
4021a1i 11 . . . . . 6 (𝜑 → 𝑃 ⊆ dom 𝐹)
4140sselda 3909 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6723 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2766 . . . . . . 7 (𝜑 → 𝐴 = dom 𝐹)
4443eleq2d 2846 . . . . . 6 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4544adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4641, 45mpbird 260 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝐴)
4739, 46fvco3d 6989 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = (𝐺‘(𝐹‘𝑥)))
4833, 38, 473eqtr4rd 2806 . 2 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = ((𝑌 ∘ 𝑋)‘𝑥))
499, 13, 48eqfnfvd 7035 1 (𝜑 → (𝐺 ∘ 𝐹) = (𝑌 ∘ 𝑋))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ⊆ wss 3896   ∩ cin 4088  ◡ccnv 5649  dom cdm 5650  ran crn 5651   ↾ cres 5652   “ cima 5653   ∘ ccom 5654  Fun wfun 6535   Fn wfn 6536  ⟶wf 6537  –onto→wfo 6539  ‘cfv 6541
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-fo 6547  df-fv 6549
This theorem is used by:  fcoresf1lem  48245  fcoresf1b  48247  fcoresfo  48248  fcoresfob  48249
  Copyright terms: Public domain W3C validator