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 43642
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 43641 . 2 ((𝐹:𝐴𝐵𝐴𝑉) → ∃𝑔𝑓𝑗((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)))
3 vex 3494 . . . . . . 7 𝑗 ∈ V
4 vex 3494 . . . . . . 7 𝑓 ∈ V
53, 4coex 7628 . . . . . 6 (𝑗𝑓) ∈ V
6 simprl1 1213 . . . . . . 7 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → 𝑔:𝐴onto𝑃)
7 simp3 1133 . . . . . . . . 9 ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) → 𝑗:(𝐹𝐴)–1-1𝐵)
8 f1of1 6607 . . . . . . . . . 10 (𝑓:𝑃1-1-onto→(𝐹𝐴) → 𝑓:𝑃1-1→(𝐹𝐴))
983ad2ant2 1129 . . . . . . . . 9 ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) → 𝑓:𝑃1-1→(𝐹𝐴))
10 f1co 6578 . . . . . . . . 9 ((𝑗:(𝐹𝐴)–1-1𝐵𝑓:𝑃1-1→(𝐹𝐴)) → (𝑗𝑓):𝑃1-1𝐵)
117, 9, 10syl2anc 586 . . . . . . . 8 ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) → (𝑗𝑓):𝑃1-1𝐵)
1211ad2antrl 726 . . . . . . 7 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → (𝑗𝑓):𝑃1-1𝐵)
13 simprr 771 . . . . . . 7 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → 𝐹 = ((𝑗𝑓) ∘ 𝑔))
146, 12, 133jca 1123 . . . . . 6 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → (𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔)))
15 f1eq1 6563 . . . . . . . 8 ( = (𝑗𝑓) → (:𝑃1-1𝐵 ↔ (𝑗𝑓):𝑃1-1𝐵))
16 coeq1 5721 . . . . . . . . 9 ( = (𝑗𝑓) → (𝑔) = ((𝑗𝑓) ∘ 𝑔))
1716eqeq2d 2831 . . . . . . . 8 ( = (𝑗𝑓) → (𝐹 = (𝑔) ↔ 𝐹 = ((𝑗𝑓) ∘ 𝑔)))
1815, 173anbi23d 1434 . . . . . . 7 ( = (𝑗𝑓) → ((𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔)) ↔ (𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔))))
1918spcegv 3594 . . . . . 6 ((𝑗𝑓) ∈ V → ((𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
205, 14, 19mpsyl 68 . . . . 5 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔)))
2120ex 415 . . . 4 ((𝐹:𝐴𝐵𝐴𝑉) → (((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
2221exlimdvv 1934 . . 3 ((𝐹:𝐴𝐵𝐴𝑉) → (∃𝑓𝑗((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
2322eximdv 1917 . 2 ((𝐹:𝐴𝐵𝐴𝑉) → (∃𝑔𝑓𝑗((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃𝑔(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
242, 23mpd 15 1 ((𝐹:𝐴𝐵𝐴𝑉) → ∃𝑔(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1082   = wceq 1536  wex 1779  wcel 2113  {cab 2798  wrex 3138  Vcvv 3491  {csn 4560  ccnv 5547  cima 5551  ccom 5552  wf 6344  1-1wf1 6345  ontowfo 6346  1-1-ontowf1o 6347  cfv 6348
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-nel 3123  df-ral 3142  df-rex 3143  df-reu 3144  df-rab 3146  df-v 3493  df-sbc 3769  df-csb 3877  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-pw 4534  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356
This theorem is referenced by:  fundcmpsurinj  43643
  Copyright terms: Public domain W3C validator