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 45590
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 45589 . 2 ((𝐹:𝐴𝐵𝐴𝑉) → ∃𝑔𝑓𝑗((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)))
3 vex 3449 . . . . . . 7 𝑗 ∈ V
4 vex 3449 . . . . . . 7 𝑓 ∈ V
53, 4coex 7867 . . . . . 6 (𝑗𝑓) ∈ V
6 simprl1 1218 . . . . . . 7 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → 𝑔:𝐴onto𝑃)
7 simp3 1138 . . . . . . . . 9 ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) → 𝑗:(𝐹𝐴)–1-1𝐵)
8 f1of1 6783 . . . . . . . . . 10 (𝑓:𝑃1-1-onto→(𝐹𝐴) → 𝑓:𝑃1-1→(𝐹𝐴))
983ad2ant2 1134 . . . . . . . . 9 ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) → 𝑓:𝑃1-1→(𝐹𝐴))
10 f1co 6750 . . . . . . . . 9 ((𝑗:(𝐹𝐴)–1-1𝐵𝑓:𝑃1-1→(𝐹𝐴)) → (𝑗𝑓):𝑃1-1𝐵)
117, 9, 10syl2anc 584 . . . . . . . 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 1128 . . . . . 6 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → (𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔)))
15 f1eq1 6733 . . . . . . . 8 ( = (𝑗𝑓) → (:𝑃1-1𝐵 ↔ (𝑗𝑓):𝑃1-1𝐵))
16 coeq1 5813 . . . . . . . . 9 ( = (𝑗𝑓) → (𝑔) = ((𝑗𝑓) ∘ 𝑔))
1716eqeq2d 2747 . . . . . . . 8 ( = (𝑗𝑓) → (𝐹 = (𝑔) ↔ 𝐹 = ((𝑗𝑓) ∘ 𝑔)))
1815, 173anbi23d 1439 . . . . . . 7 ( = (𝑗𝑓) → ((𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔)) ↔ (𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔))))
1918spcegv 3556 . . . . . 6 ((𝑗𝑓) ∈ V → ((𝑔:𝐴onto𝑃 ∧ (𝑗𝑓):𝑃1-1𝐵𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
205, 14, 19mpsyl 68 . . . . 5 (((𝐹:𝐴𝐵𝐴𝑉) ∧ ((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔))) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔)))
2120ex 413 . . . 4 ((𝐹:𝐴𝐵𝐴𝑉) → (((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
2221exlimdvv 1937 . . 3 ((𝐹:𝐴𝐵𝐴𝑉) → (∃𝑓𝑗((𝑔:𝐴onto𝑃𝑓:𝑃1-1-onto→(𝐹𝐴) ∧ 𝑗:(𝐹𝐴)–1-1𝐵) ∧ 𝐹 = ((𝑗𝑓) ∘ 𝑔)) → ∃(𝑔:𝐴onto𝑃:𝑃1-1𝐵𝐹 = (𝑔))))
2322eximdv 1920 . 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 396  w3a 1087   = wceq 1541  wex 1781  wcel 2106  {cab 2713  wrex 3073  Vcvv 3445  {csn 4586  ccnv 5632  cima 5636  ccom 5637  wf 6492  1-1wf1 6493  ontowfo 6494  1-1-ontowf1o 6495  cfv 6496
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-rep 5242  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-id 5531  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504
This theorem is referenced by:  fundcmpsurinj  45591
  Copyright terms: Public domain W3C validator