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 48548
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 6759 . . . . 5 (𝜑 → Fun 𝐹)
4 fcof 6778 . . . . 5 ((𝐺:𝐶⟶𝐷 ∧ Fun 𝐹) → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
51, 3, 4syl2anc 596 . . . 4 (𝜑 → (𝐺 ∘ 𝐹):(◡𝐹 “ 𝐶)⟶𝐷)
65ffnd 6755 . . 3 (𝜑 → (𝐺 ∘ 𝐹) Fn (◡𝐹 “ 𝐶))
7 fcores.p . . . 4 𝑃 = (◡𝐹 “ 𝐶)
87fneq2i 6682 . . 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 48547 . 2 (𝜑 → (𝑌 ∘ 𝑋) Fn 𝑃)
1411fveq1i 6932 . . . . . 6 (𝑋‘𝑥) = ((𝐹 ↾ 𝑃)‘𝑥)
15 simpr 490 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝑃)
1615fvresd 6951 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐹 ↾ 𝑃)‘𝑥) = (𝐹‘𝑥))
1714, 16eqtrid 2821 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑋‘𝑥) = (𝐹‘𝑥))
1817fveq2d 6935 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝑌‘(𝐹‘𝑥)))
1912fveq1i 6932 . . . . 5 (𝑌‘(𝐹‘𝑥)) = ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥))
20 cnvimass 6226 . . . . . . . . . . 11 (◡𝐹 “ 𝐶) ⊆ dom 𝐹
217, 20eqsstri 3966 . . . . . . . . . 10 𝑃 ⊆ dom 𝐹
2221sseli 3916 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ dom 𝐹)
23 fvelrn 7123 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) ∈ ran 𝐹)
243, 22, 23syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ ran 𝐹)
257eleq2i 2867 . . . . . . . . . 10 (𝑥 ∈ 𝑃 ↔ 𝑥 ∈ (◡𝐹 “ 𝐶))
2625biimpi 219 . . . . . . . . 9 (𝑥 ∈ 𝑃 → 𝑥 ∈ (◡𝐹 “ 𝐶))
27 fvimacnvi 7097 . . . . . . . . 9 ((Fun 𝐹 ∧ 𝑥 ∈ (◡𝐹 “ 𝐶)) → (𝐹‘𝑥) ∈ 𝐶)
283, 26, 27syl2an 608 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐶)
2924, 28elind 4107 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ (ran 𝐹 ∩ 𝐶))
3029, 10eleqtrrdi 2886 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝐹‘𝑥) ∈ 𝐸)
3130fvresd 6951 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ↾ 𝐸)‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3219, 31eqtrid 2821 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝐹‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
3318, 32eqtrd 2809 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑌‘(𝑋‘𝑥)) = (𝐺‘(𝐹‘𝑥)))
342, 10, 7, 11fcoreslem3 48546 . . . . . 6 (𝜑 → 𝑋:𝑃⟶onto𝐸)
35 fof 6841 . . . . . 6 (𝑋:𝑃⟶onto𝐸 → 𝑋:𝑃⟶𝐸)
3634, 35syl 18 . . . . 5 (𝜑 → 𝑋:𝑃⟶𝐸)
3736adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑋:𝑃⟶𝐸)
3837, 15fvco3d 7032 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝑌 ∘ 𝑋)‘𝑥) = (𝑌‘(𝑋‘𝑥)))
392adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝐹:𝐴⟶𝐵)
4021a1i 11 . . . . . 6 (𝜑 → 𝑃 ⊆ dom 𝐹)
4140sselda 3920 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ dom 𝐹)
422fdmd 6765 . . . . . . . 8 (𝜑 → dom 𝐹 = 𝐴)
4342eqcomd 2780 . . . . . . 7 (𝜑 → 𝐴 = dom 𝐹)
4443eleq2d 2861 . . . . . 6 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4544adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝑃) → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ dom 𝐹))
4641, 45mpbird 260 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝑃) → 𝑥 ∈ 𝐴)
4739, 46fvco3d 7032 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = (𝐺‘(𝐹‘𝑥)))
4833, 38, 473eqtr4rd 2820 . 2 ((𝜑 ∧ 𝑥 ∈ 𝑃) → ((𝐺 ∘ 𝐹)‘𝑥) = ((𝑌 ∘ 𝑋)‘𝑥))
499, 13, 48eqfnfvd 7078 1 (𝜑 → (𝐺 ∘ 𝐹) = (𝑌 ∘ 𝑋))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ⊆ wss 3907   ∩ cin 4099  ◡ccnv 5665  dom cdm 5666  ran crn 5667   ↾ cres 5668   “ cima 5669   ∘ ccom 5670  Fun wfun 6572   Fn wfn 6573  ⟶wf 6574  ⟶ontowfo 6576  ‘cfv 6578
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fo 6584  df-fv 6586
This theorem is used by:  fcoresf1lem  48549  fcoresf1b  48551  fcoresfo  48552  fcoresfob  48553
  Copyright terms: Public domain W3C validator