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 48899
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 6845 . . 3 (𝐹:𝐴⟶𝐵 → 𝐹:𝐴⟶onto(𝐹 “ 𝐴))
2 fundcmpsurinjimaid.g . . . . 5 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))
3 ffn 6749 . . . . . . 7 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
4 dffn5 6984 . . . . . . 7 (𝐹 Fn 𝐴 ↔ 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
53, 4sylib 221 . . . . . 6 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
65eqcomd 2775 . . . . 5 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)) = 𝐹)
72, 6eqtrid 2816 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐺 = 𝐹)
8 eqidd 2770 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐴 = 𝐴)
9 fundcmpsurinjimaid.i . . . . 5 𝐼 = (𝐹 “ 𝐴)
109a1i 11 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐼 = (𝐹 “ 𝐴))
117, 8, 10foeq123d 6857 . . 3 (𝐹:𝐴⟶𝐵 → (𝐺:𝐴⟶onto𝐼 ↔ 𝐹:𝐴⟶onto(𝐹 “ 𝐴)))
121, 11mpbird 260 . 2 (𝐹:𝐴⟶𝐵 → 𝐺:𝐴⟶onto𝐼)
13 f1oi 6904 . . 3 ( I ↾ 𝐼):𝐼⟶1-1onto𝐼
14 f1of1 6863 . . 3 (( I ↾ 𝐼):𝐼⟶1-1onto𝐼 → ( I ↾ 𝐼):𝐼⟶1-1𝐼)
15 fundcmpsurinjimaid.h . . . . . . 7 𝐻 = ( I ↾ 𝐼)
16 f1eq1 6813 . . . . . . 7 (𝐻 = ( I ↾ 𝐼) → (𝐻:𝐼⟶1-1𝐼 ↔ ( I ↾ 𝐼):𝐼⟶1-1𝐼))
1715, 16ax-mp 5 . . . . . 6 (𝐻:𝐼⟶1-1𝐼 ↔ ( I ↾ 𝐼):𝐼⟶1-1𝐼)
1817biimpri 231 . . . . 5 (( I ↾ 𝐼):𝐼⟶1-1𝐼 → 𝐻:𝐼⟶1-1𝐼)
19 fimass 6770 . . . . . 6 (𝐹:𝐴⟶𝐵 → (𝐹 “ 𝐴) ⊆ 𝐵)
209, 19eqsstrid 3953 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐼 ⊆ 𝐵)
21 f1ss 6825 . . . . 5 ((𝐻:𝐼⟶1-1𝐼 ∧ 𝐼 ⊆ 𝐵) → 𝐻:𝐼⟶1-1𝐵)
2218, 20, 21syl2an 608 . . . 4 ((( I ↾ 𝐼):𝐼⟶1-1𝐼 ∧ 𝐹:𝐴⟶𝐵) → 𝐻:𝐼⟶1-1𝐵)
2322ex 418 . . 3 (( I ↾ 𝐼):𝐼⟶1-1𝐼 → (𝐹:𝐴⟶𝐵 → 𝐻:𝐼⟶1-1𝐵))
2413, 14, 23mp2b 10 . 2 (𝐹:𝐴⟶𝐵 → 𝐻:𝐼⟶1-1𝐵)
2515fveq1i 6927 . . . . 5 (𝐻‘(𝐹‘𝑥)) = (( I ↾ 𝐼)‘(𝐹‘𝑥))
263adantr 486 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐹 Fn 𝐴)
27 simpr 490 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
2826, 27, 27fnfvimad 7281 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ (𝐹 “ 𝐴))
2928, 9eleqtrrdi 2881 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐼)
30 fvresi 7219 . . . . . 6 ((𝐹‘𝑥) ∈ 𝐼 → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3129, 30syl 18 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3225, 31eqtrid 2816 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐻‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3332mpteq2dva 5207 . . 3 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
342coeq2i 5852 . . . 4 (𝐻 ∘ 𝐺) = (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
35 f1of 6864 . . . . . . . 8 (( I ↾ 𝐼):𝐼⟶1-1onto𝐼 → ( I ↾ 𝐼):𝐼⟶𝐼)
3613, 35ax-mp 5 . . . . . . 7 ( I ↾ 𝐼):𝐼⟶𝐼
3715feq1i 6740 . . . . . . 7 (𝐻:𝐼⟶𝐼 ↔ ( I ↾ 𝐼):𝐼⟶𝐼)
3836, 37mpbir 234 . . . . . 6 𝐻:𝐼⟶𝐼
3938a1i 11 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐻:𝐼⟶𝐼)
4039, 29cofmpt 7175 . . . 4 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4134, 40eqtrid 2816 . . 3 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ 𝐺) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4233, 41, 53eqtr4rd 2815 . 2 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝐻 ∘ 𝐺))
4312, 24, 423jca 1147 1 (𝐹:𝐴⟶𝐵 → (𝐺:𝐴⟶onto𝐼 ∧ 𝐻:𝐼⟶1-1𝐵 ∧ 𝐹 = (𝐻 ∘ 𝐺)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151   ⊆ wss 3902   ↦ cmpt 5195   I cid 5555   ↾ cres 5663   “ cima 5664   ∘ ccom 5665   Fn wfn 6568  ⟶wf 6569  ⟶1-1wf1 6570  ⟶ontowfo 6571  ⟶1-1ontowf1o 6572  ‘cfv 6573
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
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 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581
This theorem is used by:  fundcmpsurinjALT  48900
  Copyright terms: Public domain W3C validator