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 43620
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 6599 . . 3 (𝐹:𝐴𝐵𝐹:𝐴onto→(𝐹𝐴))
2 fundcmpsurinjimaid.g . . . . 5 𝐺 = (𝑥𝐴 ↦ (𝐹𝑥))
3 ffn 6514 . . . . . . 7 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
4 dffn5 6724 . . . . . . 7 (𝐹 Fn 𝐴𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
53, 4sylib 220 . . . . . 6 (𝐹:𝐴𝐵𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
65eqcomd 2827 . . . . 5 (𝐹:𝐴𝐵 → (𝑥𝐴 ↦ (𝐹𝑥)) = 𝐹)
72, 6syl5eq 2868 . . . 4 (𝐹:𝐴𝐵𝐺 = 𝐹)
8 eqidd 2822 . . . 4 (𝐹:𝐴𝐵𝐴 = 𝐴)
9 fundcmpsurinjimaid.i . . . . 5 𝐼 = (𝐹𝐴)
109a1i 11 . . . 4 (𝐹:𝐴𝐵𝐼 = (𝐹𝐴))
117, 8, 10foeq123d 6609 . . 3 (𝐹:𝐴𝐵 → (𝐺:𝐴onto𝐼𝐹:𝐴onto→(𝐹𝐴)))
121, 11mpbird 259 . 2 (𝐹:𝐴𝐵𝐺:𝐴onto𝐼)
13 f1oi 6652 . . 3 ( I ↾ 𝐼):𝐼1-1-onto𝐼
14 f1of1 6614 . . 3 (( I ↾ 𝐼):𝐼1-1-onto𝐼 → ( I ↾ 𝐼):𝐼1-1𝐼)
15 fundcmpsurinjimaid.h . . . . . . 7 𝐻 = ( I ↾ 𝐼)
16 f1eq1 6570 . . . . . . 7 (𝐻 = ( I ↾ 𝐼) → (𝐻:𝐼1-1𝐼 ↔ ( I ↾ 𝐼):𝐼1-1𝐼))
1715, 16ax-mp 5 . . . . . 6 (𝐻:𝐼1-1𝐼 ↔ ( I ↾ 𝐼):𝐼1-1𝐼)
1817biimpri 230 . . . . 5 (( I ↾ 𝐼):𝐼1-1𝐼𝐻:𝐼1-1𝐼)
19 fimass 6555 . . . . . 6 (𝐹:𝐴𝐵 → (𝐹𝐴) ⊆ 𝐵)
209, 19eqsstrid 4015 . . . . 5 (𝐹:𝐴𝐵𝐼𝐵)
21 f1ss 6580 . . . . 5 ((𝐻:𝐼1-1𝐼𝐼𝐵) → 𝐻:𝐼1-1𝐵)
2218, 20, 21syl2an 597 . . . 4 ((( I ↾ 𝐼):𝐼1-1𝐼𝐹:𝐴𝐵) → 𝐻:𝐼1-1𝐵)
2322ex 415 . . 3 (( I ↾ 𝐼):𝐼1-1𝐼 → (𝐹:𝐴𝐵𝐻:𝐼1-1𝐵))
2413, 14, 23mp2b 10 . 2 (𝐹:𝐴𝐵𝐻:𝐼1-1𝐵)
2515fveq1i 6671 . . . . 5 (𝐻‘(𝐹𝑥)) = (( I ↾ 𝐼)‘(𝐹𝑥))
263adantr 483 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝐹 Fn 𝐴)
27 simpr 487 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐴)
2826, 27, 27fnfvimad 6996 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ (𝐹𝐴))
2928, 9eleqtrrdi 2924 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐼)
30 fvresi 6935 . . . . . 6 ((𝐹𝑥) ∈ 𝐼 → (( I ↾ 𝐼)‘(𝐹𝑥)) = (𝐹𝑥))
3129, 30syl 17 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → (( I ↾ 𝐼)‘(𝐹𝑥)) = (𝐹𝑥))
3225, 31syl5eq 2868 . . . 4 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐻‘(𝐹𝑥)) = (𝐹𝑥))
3332mpteq2dva 5161 . . 3 (𝐹:𝐴𝐵 → (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))) = (𝑥𝐴 ↦ (𝐹𝑥)))
342coeq2i 5731 . . . 4 (𝐻𝐺) = (𝐻 ∘ (𝑥𝐴 ↦ (𝐹𝑥)))
35 f1of 6615 . . . . . . . 8 (( I ↾ 𝐼):𝐼1-1-onto𝐼 → ( I ↾ 𝐼):𝐼𝐼)
3613, 35ax-mp 5 . . . . . . 7 ( I ↾ 𝐼):𝐼𝐼
3715feq1i 6505 . . . . . . 7 (𝐻:𝐼𝐼 ↔ ( I ↾ 𝐼):𝐼𝐼)
3836, 37mpbir 233 . . . . . 6 𝐻:𝐼𝐼
3938a1i 11 . . . . 5 (𝐹:𝐴𝐵𝐻:𝐼𝐼)
4039, 29cofmpt 6894 . . . 4 (𝐹:𝐴𝐵 → (𝐻 ∘ (𝑥𝐴 ↦ (𝐹𝑥))) = (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))))
4134, 40syl5eq 2868 . . 3 (𝐹:𝐴𝐵 → (𝐻𝐺) = (𝑥𝐴 ↦ (𝐻‘(𝐹𝑥))))
4233, 41, 53eqtr4rd 2867 . 2 (𝐹:𝐴𝐵𝐹 = (𝐻𝐺))
4312, 24, 423jca 1124 1 (𝐹:𝐴𝐵 → (𝐺:𝐴onto𝐼𝐻:𝐼1-1𝐵𝐹 = (𝐻𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wss 3936  cmpt 5146   I cid 5459  cres 5557  cima 5558  ccom 5559   Fn wfn 6350  wf 6351  1-1wf1 6352  ontowfo 6353  1-1-ontowf1o 6354  cfv 6355
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363
This theorem is referenced by:  fundcmpsurinjALT  43621
  Copyright terms: Public domain W3C validator