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

Theorem fundcmpsurinjpreimafv 48632
Description: Every function 𝐹:𝐴⟶𝐵 can be decomposed into a surjective function onto 𝑃 and an injective function from 𝑃. (Contributed by AV, 12-Mar-2024.) (Proof shortened by AV, 22-Mar-2024.)
Hypothesis
Ref Expression
fundcmpsurinj.p 𝑃 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = (◡𝐹 “ {(𝐹‘𝑥)})}
Assertion
Ref Expression
fundcmpsurinjpreimafv ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → ∃𝑔∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔)))
Distinct variable groups:   𝑥,𝐴,𝑧   𝑥,𝐹,𝑧   𝐴,𝑔,ℎ   𝐵,𝑔,ℎ,𝑥   𝑧,𝐵   𝑔,𝐹,ℎ   𝑃,𝑔,ℎ,𝑥   𝑥,𝑉,𝑔
Allowed substitution hints:   𝑃(𝑧)   𝑉(𝑧, ℎ)

Proof of Theorem fundcmpsurinjpreimafv
Dummy variables 𝑓 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fundcmpsurinj.p . . 3 𝑃 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = (◡𝐹 “ {(𝐹‘𝑥)})}
21fundcmpsurbijinjpreimafv 48631 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → ∃𝑔∃𝑓∃𝑗((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)))
3 vex 3458 . . . . . . 7 𝑗 ∈ V
4 vex 3458 . . . . . . 7 𝑓 ∈ V
53, 4coex 7952 . . . . . 6 (𝑗 ∘ 𝑓) ∈ V
6 simprl1 1237 . . . . . . 7 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) ∧ ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))) → 𝑔:𝐴–onto→𝑃)
7 simp3 1156 . . . . . . . . 9 ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) → 𝑗:(𝐹 “ 𝐴)–1-1→𝐵)
8 f1of1 6834 . . . . . . . . . 10 (𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) → 𝑓:𝑃–1-1→(𝐹 “ 𝐴))
983ad2ant2 1152 . . . . . . . . 9 ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) → 𝑓:𝑃–1-1→(𝐹 “ 𝐴))
10 f1co 6802 . . . . . . . . 9 ((𝑗:(𝐹 “ 𝐴)–1-1→𝐵 ∧ 𝑓:𝑃–1-1→(𝐹 “ 𝐴)) → (𝑗 ∘ 𝑓):𝑃–1-1→𝐵)
117, 9, 10syl2anc 596 . . . . . . . 8 ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) → (𝑗 ∘ 𝑓):𝑃–1-1→𝐵)
1211ad2antrl 741 . . . . . . 7 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) ∧ ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))) → (𝑗 ∘ 𝑓):𝑃–1-1→𝐵)
13 simprr 785 . . . . . . 7 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) ∧ ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))) → 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))
146, 12, 133jca 1146 . . . . . 6 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) ∧ ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))) → (𝑔:𝐴–onto→𝑃 ∧ (𝑗 ∘ 𝑓):𝑃–1-1→𝐵 ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)))
15 f1eq1 6784 . . . . . . . 8 (ℎ = (𝑗 ∘ 𝑓) → (ℎ:𝑃–1-1→𝐵 ↔ (𝑗 ∘ 𝑓):𝑃–1-1→𝐵))
16 coeq1 5840 . . . . . . . . 9 (ℎ = (𝑗 ∘ 𝑓) → (ℎ ∘ 𝑔) = ((𝑗 ∘ 𝑓) ∘ 𝑔))
1716eqeq2d 2774 . . . . . . . 8 (ℎ = (𝑗 ∘ 𝑓) → (𝐹 = (ℎ ∘ 𝑔) ↔ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)))
1815, 173anbi23d 1467 . . . . . . 7 (ℎ = (𝑗 ∘ 𝑓) → ((𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔)) ↔ (𝑔:𝐴–onto→𝑃 ∧ (𝑗 ∘ 𝑓):𝑃–1-1→𝐵 ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))))
1918spcegv 3555 . . . . . 6 ((𝑗 ∘ 𝑓) ∈ V → ((𝑔:𝐴–onto→𝑃 ∧ (𝑗 ∘ 𝑓):𝑃–1-1→𝐵 ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)) → ∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔))))
205, 14, 19mpsyl 69 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) ∧ ((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔))) → ∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔)))
2120ex 418 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → (((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)) → ∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔))))
2221exlimdvv 1968 . . 3 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → (∃𝑓∃𝑗((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)) → ∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔))))
2322eximdv 1951 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → (∃𝑔∃𝑓∃𝑗((𝑔:𝐴–onto→𝑃 ∧ 𝑓:𝑃–1-1-onto→(𝐹 “ 𝐴) ∧ 𝑗:(𝐹 “ 𝐴)–1-1→𝐵) ∧ 𝐹 = ((𝑗 ∘ 𝑓) ∘ 𝑔)) → ∃𝑔∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔))))
242, 23mpd 16 1 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ∈ 𝑉) → ∃𝑔∃ℎ(𝑔:𝐴–onto→𝑃 ∧ ℎ:𝑃–1-1→𝐵 ∧ 𝐹 = (ℎ ∘ 𝑔)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569  ∃wex 1811   ∈ wcel 2146  {cab 2741  ∃wrex 3090  Vcvv 3454  {csn 4588  ◡ccnv 5654   “ cima 5658   ∘ ccom 5659  ⟶wf 6543  –1-1→wf1 6544  –onto→wfo 6545  –1-1-onto→wf1o 6546  ‘cfv 6547
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555
This theorem is used by:  fundcmpsurinj  48633
  Copyright terms: Public domain W3C validator