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 48462
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 6803 . . 3 (𝐹:𝐴⟶𝐵 → 𝐹:𝐴–onto→(𝐹 “ 𝐴))
2 fundcmpsurinjimaid.g . . . . 5 𝐺 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))
3 ffn 6707 . . . . . . 7 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
4 dffn5 6941 . . . . . . 7 (𝐹 Fn 𝐴 ↔ 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
53, 4sylib 221 . . . . . 6 (𝐹:𝐴⟶𝐵 → 𝐹 = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
65eqcomd 2767 . . . . 5 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)) = 𝐹)
72, 6eqtrid 2808 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐺 = 𝐹)
8 eqidd 2762 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐴 = 𝐴)
9 fundcmpsurinjimaid.i . . . . 5 𝐼 = (𝐹 “ 𝐴)
109a1i 11 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐼 = (𝐹 “ 𝐴))
117, 8, 10foeq123d 6815 . . 3 (𝐹:𝐴⟶𝐵 → (𝐺:𝐴–onto→𝐼 ↔ 𝐹:𝐴–onto→(𝐹 “ 𝐴)))
121, 11mpbird 260 . 2 (𝐹:𝐴⟶𝐵 → 𝐺:𝐴–onto→𝐼)
13 f1oi 6861 . . 3 ( I ↾ 𝐼):𝐼–1-1-onto→𝐼
14 f1of1 6821 . . 3 (( I ↾ 𝐼):𝐼–1-1-onto→𝐼 → ( I ↾ 𝐼):𝐼–1-1→𝐼)
15 fundcmpsurinjimaid.h . . . . . . 7 𝐻 = ( I ↾ 𝐼)
16 f1eq1 6771 . . . . . . 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 6728 . . . . . 6 (𝐹:𝐴⟶𝐵 → (𝐹 “ 𝐴) ⊆ 𝐵)
209, 19eqsstrid 3969 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐼 ⊆ 𝐵)
21 f1ss 6783 . . . . 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 6884 . . . . 5 (𝐻‘(𝐹‘𝑥)) = (( I ↾ 𝐼)‘(𝐹‘𝑥))
263adantr 486 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐹 Fn 𝐴)
27 simpr 490 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
2826, 27, 27fnfvimad 7238 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ (𝐹 “ 𝐴))
2928, 9eleqtrrdi 2872 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐼)
30 fvresi 7176 . . . . . 6 ((𝐹‘𝑥) ∈ 𝐼 → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3129, 30syl 18 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (( I ↾ 𝐼)‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3225, 31eqtrid 2808 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐻‘(𝐹‘𝑥)) = (𝐹‘𝑥))
3332mpteq2dva 5198 . . 3 (𝐹:𝐴⟶𝐵 → (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
342coeq2i 5838 . . . 4 (𝐻 ∘ 𝐺) = (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥)))
35 f1of 6822 . . . . . . . 8 (( I ↾ 𝐼):𝐼–1-1-onto→𝐼 → ( I ↾ 𝐼):𝐼⟶𝐼)
3613, 35ax-mp 5 . . . . . . 7 ( I ↾ 𝐼):𝐼⟶𝐼
3715feq1i 6698 . . . . . . 7 (𝐻:𝐼⟶𝐼 ↔ ( I ↾ 𝐼):𝐼⟶𝐼)
3836, 37mpbir 234 . . . . . 6 𝐻:𝐼⟶𝐼
3938a1i 11 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐻:𝐼⟶𝐼)
4039, 29cofmpt 7131 . . . 4 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ (𝑥 ∈ 𝐴 ↦ (𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4134, 40eqtrid 2808 . . 3 (𝐹:𝐴⟶𝐵 → (𝐻 ∘ 𝐺) = (𝑥 ∈ 𝐴 ↦ (𝐻‘(𝐹‘𝑥))))
4233, 41, 53eqtr4rd 2807 . 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 1570   ∈ wcel 2145   ⊆ wss 3899   ↦ cmpt 5186   I cid 5545   ↾ cres 5653   “ cima 5654   ∘ ccom 5655   Fn wfn 6532  ⟶wf 6533  –1-1→wf1 6534  –onto→wfo 6535  –1-1-onto→wf1o 6536  ‘cfv 6537
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545
This theorem is used by:  fundcmpsurinjALT  48463
  Copyright terms: Public domain W3C validator