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 48587
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 6806 . . 3 (𝐹:𝐴⟶𝐵 → 𝐹:𝐴–onto→(𝐹 “ 𝐴))
2 fundcmpsurinjimaid.g . . . . 5 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))
3 ffn 6710 . . . . . . 7 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
4 dffn5 6944 . . . . . . 7 (𝐹 Fn 𝐴 ↔ 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
53, 4sylib 221 . . . . . 6 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
65eqcomd 2766 . . . . 5 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)) = 𝐹)
72, 6eqtrid 2807 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐺 = 𝐹)
8 eqidd 2761 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐴 = 𝐴)
9 fundcmpsurinjimaid.i . . . . 5 𝐼 = (𝐹 “ 𝐴)
109a1i 11 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐼 = (𝐹 “ 𝐴))
117, 8, 10foeq123d 6818 . . 3 (𝐹:𝐴⟶𝐵 → (𝐺:𝐴–onto→𝐼 ↔ 𝐹:𝐴–onto→(𝐹 “ 𝐴)))
121, 11mpbird 260 . 2 (𝐹:𝐴⟶𝐵 → 𝐺:𝐴–onto→𝐼)
13 f1oi 6864 . . 3 ( I ↾ 𝐼):𝐼–1-1-onto→𝐼
14 f1of1 6824 . . 3 (( I ↾ 𝐼):𝐼–1-1-onto→𝐼 → ( I ↾ 𝐼):𝐼–1-1→𝐼)
15 fundcmpsurinjimaid.h . . . . . . 7 𝐻 = ( I ↾ 𝐼)
16 f1eq1 6774 . . . . . . 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 6731 . . . . . 6 (𝐹:𝐴⟶𝐵 → (𝐹 “ 𝐴) ⊆ 𝐵)
209, 19eqsstrid 3946 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐼 ⊆ 𝐵)
21 f1ss 6786 . . . . 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 6887 . . . . 5 (𝐻‘(𝐹‘𝑥)) = (( I ↾ 𝐼)‘(𝐹‘𝑥))
263adantr 486 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐹 Fn 𝐴)
27 simpr 490 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
2826, 27, 27fnfvimad 7241 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ (𝐹 “ 𝐴))
2928, 9eleqtrrdi 2871 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐼)
30 fvresi 7179 . . . . . 6 ((𝐹‘𝑥) ∈ 𝐼 → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3129, 30syl 18 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3225, 31eqtrid 2807 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐻‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3332mpteq2dva 5197 . . 3 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
342coeq2i 5837 . . . 4 (𝐻 ∘ 𝐺) = (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
35 f1of 6825 . . . . . . . 8 (( I ↾ 𝐼):𝐼–1-1-onto→𝐼 → ( I ↾ 𝐼):𝐼⟶𝐼)
3613, 35ax-mp 5 . . . . . . 7 ( I ↾ 𝐼):𝐼⟶𝐼
3715feq1i 6701 . . . . . . 7 (𝐻:𝐼⟶𝐼 ↔ ( I ↾ 𝐼):𝐼⟶𝐼)
3836, 37mpbir 234 . . . . . 6 𝐻:𝐼⟶𝐼
3938a1i 11 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐻:𝐼⟶𝐼)
4039, 29cofmpt 7134 . . . 4 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4134, 40eqtrid 2807 . . 3 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ 𝐺) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4233, 41, 53eqtr4rd 2806 . 2 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝐻 ∘ 𝐺))
4312, 24, 423jca 1146 1 (𝐹:𝐴⟶𝐵 → (𝐺:𝐴–onto→𝐼 ∧ 𝐻:𝐼–1-1→𝐵 ∧ 𝐹 = (𝐻 ∘ 𝐺)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895   ↦ cmpt 5185   I cid 5544   ↾ cres 5652   “ cima 5653   ∘ ccom 5654   Fn wfn 6534  ⟶wf 6535  –1-1→wf1 6536  –onto→wfo 6537  –1-1-onto→wf1o 6538  ‘cfv 6539
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 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  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 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547
This theorem is used by:  fundcmpsurinjALT  48588
  Copyright terms: Public domain W3C validator