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

Theorem fundcmpsurinjALT 44428
Description: Alternate proof of fundcmpsurinj 44425, based on fundcmpsurinjimaid 44427: Every function 𝐹:𝐴𝐵 can be decomposed into a surjective and an injective function. (Proof modification is discouraged.) (New usage is discouraged.) (Contributed by AV, 13-Mar-2024.)
Assertion
Ref Expression
fundcmpsurinjALT ((𝐹:𝐴𝐵𝐴𝑉) → ∃𝑔𝑝(𝑔:𝐴onto𝑝:𝑝1-1𝐵𝐹 = (𝑔)))
Distinct variable groups:   𝐴,𝑔,,𝑝   𝐵,𝑔,,𝑝   𝑔,𝐹,,𝑝
Allowed substitution hints:   𝑉(𝑔,,𝑝)

Proof of Theorem fundcmpsurinjALT
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mptexg 6997 . . . 4 (𝐴𝑉 → (𝑦𝐴 ↦ (𝐹𝑦)) ∈ V)
21adantl 485 . . 3 ((𝐹:𝐴𝐵𝐴𝑉) → (𝑦𝐴 ↦ (𝐹𝑦)) ∈ V)
3 ffun 6508 . . . . 5 (𝐹:𝐴𝐵 → Fun 𝐹)
4 funimaexg 6426 . . . . 5 ((Fun 𝐹𝐴𝑉) → (𝐹𝐴) ∈ V)
53, 4sylan 583 . . . 4 ((𝐹:𝐴𝐵𝐴𝑉) → (𝐹𝐴) ∈ V)
65resiexd 6992 . . 3 ((𝐹:𝐴𝐵𝐴𝑉) → ( I ↾ (𝐹𝐴)) ∈ V)
72, 6, 53jca 1129 . 2 ((𝐹:𝐴𝐵𝐴𝑉) → ((𝑦𝐴 ↦ (𝐹𝑦)) ∈ V ∧ ( I ↾ (𝐹𝐴)) ∈ V ∧ (𝐹𝐴) ∈ V))
8 eqid 2739 . . . 4 (𝐹𝐴) = (𝐹𝐴)
9 eqid 2739 . . . 4 (𝑦𝐴 ↦ (𝐹𝑦)) = (𝑦𝐴 ↦ (𝐹𝑦))
10 eqid 2739 . . . 4 ( I ↾ (𝐹𝐴)) = ( I ↾ (𝐹𝐴))
118, 9, 10fundcmpsurinjimaid 44427 . . 3 (𝐹:𝐴𝐵 → ((𝑦𝐴 ↦ (𝐹𝑦)):𝐴onto→(𝐹𝐴) ∧ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵𝐹 = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦)))))
1211adantr 484 . 2 ((𝐹:𝐴𝐵𝐴𝑉) → ((𝑦𝐴 ↦ (𝐹𝑦)):𝐴onto→(𝐹𝐴) ∧ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵𝐹 = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦)))))
13 simp1 1137 . . . . 5 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → 𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)))
14 eqidd 2740 . . . . 5 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → 𝐴 = 𝐴)
15 simp3 1139 . . . . 5 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → 𝑝 = (𝐹𝐴))
1613, 14, 15foeq123d 6614 . . . 4 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → (𝑔:𝐴onto𝑝 ↔ (𝑦𝐴 ↦ (𝐹𝑦)):𝐴onto→(𝐹𝐴)))
17 simpl 486 . . . . . 6 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → = ( I ↾ (𝐹𝐴)))
18 simpr 488 . . . . . 6 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → 𝑝 = (𝐹𝐴))
19 eqidd 2740 . . . . . 6 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → 𝐵 = 𝐵)
2017, 18, 19f1eq123d 6613 . . . . 5 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → (:𝑝1-1𝐵 ↔ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵))
21203adant1 1131 . . . 4 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → (:𝑝1-1𝐵 ↔ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵))
22 simpl 486 . . . . . . . 8 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑔 = (𝑦𝐴 ↦ (𝐹𝑦))) → = ( I ↾ (𝐹𝐴)))
23 simpr 488 . . . . . . . 8 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑔 = (𝑦𝐴 ↦ (𝐹𝑦))) → 𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)))
2422, 23coeq12d 5708 . . . . . . 7 (( = ( I ↾ (𝐹𝐴)) ∧ 𝑔 = (𝑦𝐴 ↦ (𝐹𝑦))) → (𝑔) = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦))))
2524ancoms 462 . . . . . 6 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴))) → (𝑔) = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦))))
26253adant3 1133 . . . . 5 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → (𝑔) = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦))))
2726eqeq2d 2750 . . . 4 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → (𝐹 = (𝑔) ↔ 𝐹 = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦)))))
2816, 21, 273anbi123d 1437 . . 3 ((𝑔 = (𝑦𝐴 ↦ (𝐹𝑦)) ∧ = ( I ↾ (𝐹𝐴)) ∧ 𝑝 = (𝐹𝐴)) → ((𝑔:𝐴onto𝑝:𝑝1-1𝐵𝐹 = (𝑔)) ↔ ((𝑦𝐴 ↦ (𝐹𝑦)):𝐴onto→(𝐹𝐴) ∧ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵𝐹 = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦))))))
2928spc3egv 3508 . 2 (((𝑦𝐴 ↦ (𝐹𝑦)) ∈ V ∧ ( I ↾ (𝐹𝐴)) ∈ V ∧ (𝐹𝐴) ∈ V) → (((𝑦𝐴 ↦ (𝐹𝑦)):𝐴onto→(𝐹𝐴) ∧ ( I ↾ (𝐹𝐴)):(𝐹𝐴)–1-1𝐵𝐹 = (( I ↾ (𝐹𝐴)) ∘ (𝑦𝐴 ↦ (𝐹𝑦)))) → ∃𝑔𝑝(𝑔:𝐴onto𝑝:𝑝1-1𝐵𝐹 = (𝑔))))
307, 12, 29sylc 65 1 ((𝐹:𝐴𝐵𝐴𝑉) → ∃𝑔𝑝(𝑔:𝐴onto𝑝:𝑝1-1𝐵𝐹 = (𝑔)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1088   = wceq 1542  wex 1786  wcel 2114  Vcvv 3399  cmpt 5111   I cid 5429  cres 5528  cima 5529  ccom 5530  Fun wfun 6334  wf 6336  1-1wf1 6337  ontowfo 6338  cfv 6340
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-rep 5155  ax-sep 5168  ax-nul 5175  ax-pr 5297
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3401  df-sbc 3682  df-csb 3792  df-dif 3847  df-un 3849  df-in 3851  df-ss 3861  df-nul 4213  df-if 4416  df-sn 4518  df-pr 4520  df-op 4524  df-uni 4798  df-iun 4884  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5430  df-xp 5532  df-rel 5533  df-cnv 5534  df-co 5535  df-dm 5536  df-rn 5537  df-res 5538  df-ima 5539  df-iota 6298  df-fun 6342  df-fn 6343  df-f 6344  df-f1 6345  df-fo 6346  df-f1o 6347  df-fv 6348
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator