Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fundcmpsurinjimaid Structured version   Visualization version   GIF version

Theorem fundcmpsurinjimaid 44751
Description: Every function 𝐹:𝐴𝐵 can be decomposed into a surjective function onto the image (𝐹𝐴) of the domain of 𝐹 and an injective function from the image (𝐹𝐴). (Contributed by AV, 17-Mar-2024.)
Hypotheses
Ref Expression
fundcmpsurinjimaid.i 𝐼 = (𝐹𝐴)
fundcmpsurinjimaid.g 𝐺 = (𝑥𝐴 ↦ (𝐹𝑥))
fundcmpsurinjimaid.h 𝐻 = ( I ↾ 𝐼)
Assertion
Ref Expression
fundcmpsurinjimaid (𝐹:𝐴𝐵 → (𝐺:𝐴onto𝐼𝐻:𝐼1-1𝐵𝐹 = (𝐻𝐺)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐹   𝑥,𝐻   𝑥,𝐼
Allowed substitution hint:   𝐺(𝑥)

Proof of Theorem fundcmpsurinjimaid
StepHypRef Expression
1 fimadmfo 6681 . . 3 (𝐹:𝐴𝐵𝐹:𝐴onto→(𝐹𝐴))
2 fundcmpsurinjimaid.g . . . . 5 𝐺 = (𝑥𝐴 ↦ (𝐹𝑥))
3 ffn 6584 . . . . . . 7 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
4 dffn5 6810 . . . . . . 7 (𝐹 Fn 𝐴𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
53, 4sylib 217 . . . . . 6 (𝐹:𝐴𝐵𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
65eqcomd 2744 . . . . 5 (𝐹:𝐴𝐵 → (𝑥𝐴 ↦ (𝐹𝑥)) = 𝐹)
72, 6syl5eq 2791 . . . 4 (𝐹:𝐴𝐵𝐺 = 𝐹)
8 eqidd 2739 . . . 4 (𝐹:𝐴𝐵𝐴 = 𝐴)
9 fundcmpsurinjimaid.i . . . . 5 𝐼 = (𝐹𝐴)
109a1i 11 . . . 4 (𝐹:𝐴𝐵𝐼 = (𝐹𝐴))
117, 8, 10foeq123d 6693 . . 3 (𝐹:𝐴𝐵 → (𝐺:𝐴onto𝐼𝐹:𝐴onto→(𝐹𝐴)))
121, 11mpbird 256 . 2 (𝐹:𝐴𝐵𝐺:𝐴onto𝐼)
13 f1oi 6737 . . 3 ( I ↾ 𝐼):𝐼1-1-onto𝐼
14 f1of1 6699 . . 3 (( I ↾ 𝐼):𝐼1-1-onto𝐼 → ( I ↾ 𝐼):𝐼1-1𝐼)
15 fundcmpsurinjimaid.h . . . . . . 7 𝐻 = ( I ↾ 𝐼)
16 f1eq1 6649 . . . . . . 7 (𝐻 = ( I ↾ 𝐼) → (𝐻:𝐼1-1𝐼 ↔ ( I ↾ 𝐼):𝐼1-1𝐼))
1715, 16ax-mp 5 . . . . . 6 (𝐻:𝐼1-1𝐼 ↔ ( I ↾ 𝐼):𝐼1-1𝐼)
1817biimpri 227 . . . . 5 (( I ↾ 𝐼):𝐼1-1𝐼𝐻:𝐼1-1𝐼)
19 fimass 6605 . . . . . 6 (𝐹:𝐴𝐵 → (𝐹𝐴) ⊆ 𝐵)
209, 19eqsstrid 3965 . . . . 5 (𝐹:𝐴𝐵𝐼𝐵)
21 f1ss 6660 . . . . 5 ((𝐻:𝐼1-1𝐼𝐼𝐵) → 𝐻:𝐼1-1𝐵)
2218, 20, 21syl2an 595 . . . 4 ((( I ↾ 𝐼):𝐼1-1𝐼𝐹:𝐴𝐵) → 𝐻:𝐼1-1𝐵)
2322ex 412 . . 3 (( I ↾ 𝐼):𝐼1-1𝐼 → (𝐹:𝐴𝐵𝐻:𝐼1-1𝐵))
2413, 14, 23mp2b 10 . 2 (𝐹:𝐴𝐵𝐻:𝐼1-1𝐵)
2515fveq1i 6757 . . . . 5 (𝐻‘(𝐹𝑥)) = (( I ↾ 𝐼)‘(𝐹𝑥))
263adantr 480 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝐹 Fn 𝐴)
27 simpr 484 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐴)
2826, 27, 27fnfvimad 7092 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ (𝐹𝐴))
2928, 9eleqtrrdi 2850 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐼)
30 fvresi 7027 . . . . . 6 ((𝐹𝑥) ∈ 𝐼 → (( I ↾ 𝐼)‘(𝐹𝑥)) = (𝐹𝑥))
3129, 30syl 17 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → (( I ↾ 𝐼)‘(𝐹𝑥)) = (𝐹𝑥))
3225, 31syl5eq 2791 . . . 4 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐻‘(𝐹𝑥)) = (𝐹𝑥))
3332mpteq2dva 5170 . . 3 (𝐹:𝐴𝐵 → (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))) = (𝑥𝐴 ↦ (𝐹𝑥)))
342coeq2i 5758 . . . 4 (𝐻𝐺) = (𝐻 ∘ (𝑥𝐴 ↦ (𝐹𝑥)))
35 f1of 6700 . . . . . . . 8 (( I ↾ 𝐼):𝐼1-1-onto𝐼 → ( I ↾ 𝐼):𝐼𝐼)
3613, 35ax-mp 5 . . . . . . 7 ( I ↾ 𝐼):𝐼𝐼
3715feq1i 6575 . . . . . . 7 (𝐻:𝐼𝐼 ↔ ( I ↾ 𝐼):𝐼𝐼)
3836, 37mpbir 230 . . . . . 6 𝐻:𝐼𝐼
3938a1i 11 . . . . 5 (𝐹:𝐴𝐵𝐻:𝐼𝐼)
4039, 29cofmpt 6986 . . . 4 (𝐹:𝐴𝐵 → (𝐻 ∘ (𝑥𝐴 ↦ (𝐹𝑥))) = (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))))
4134, 40syl5eq 2791 . . 3 (𝐹:𝐴𝐵 → (𝐻𝐺) = (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))))
4233, 41, 53eqtr4rd 2789 . 2 (𝐹:𝐴𝐵𝐹 = (𝐻𝐺))
4312, 24, 423jca 1126 1 (𝐹:𝐴𝐵 → (𝐺:𝐴onto𝐼𝐻:𝐼1-1𝐵𝐹 = (𝐻𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wss 3883  cmpt 5153   I cid 5479  cres 5582  cima 5583  ccom 5584   Fn wfn 6413  wf 6414  1-1wf1 6415  ontowfo 6416  1-1-ontowf1o 6417  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  fundcmpsurinjALT  44752
  Copyright terms: Public domain W3C validator