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

Theorem funfocofob 44570
Description: If the domain of a function 𝐺 is a subset of the range of a function 𝐹, then the composition (𝐺𝐹) is surjective iff 𝐺 is surjective. (Contributed by GL and AV, 29-Sep-2024.)
Assertion
Ref Expression
funfocofob ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → ((𝐺𝐹):(𝐹𝐴)–onto𝐵𝐺:𝐴onto𝐵))

Proof of Theorem funfocofob
StepHypRef Expression
1 fdmrn 6632 . . . . . . . 8 (Fun 𝐹𝐹:dom 𝐹⟶ran 𝐹)
21biimpi 215 . . . . . . 7 (Fun 𝐹𝐹:dom 𝐹⟶ran 𝐹)
323ad2ant1 1132 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → 𝐹:dom 𝐹⟶ran 𝐹)
43adantr 481 . . . . 5 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ (𝐺𝐹):(𝐹𝐴)–onto𝐵) → 𝐹:dom 𝐹⟶ran 𝐹)
5 eqid 2738 . . . . 5 (ran 𝐹𝐴) = (ran 𝐹𝐴)
6 eqid 2738 . . . . 5 (𝐹𝐴) = (𝐹𝐴)
7 eqid 2738 . . . . 5 (𝐹 ↾ (𝐹𝐴)) = (𝐹 ↾ (𝐹𝐴))
8 simp2 1136 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → 𝐺:𝐴𝐵)
98adantr 481 . . . . 5 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ (𝐺𝐹):(𝐹𝐴)–onto𝐵) → 𝐺:𝐴𝐵)
10 eqid 2738 . . . . 5 (𝐺 ↾ (ran 𝐹𝐴)) = (𝐺 ↾ (ran 𝐹𝐴))
11 simpr 485 . . . . 5 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ (𝐺𝐹):(𝐹𝐴)–onto𝐵) → (𝐺𝐹):(𝐹𝐴)–onto𝐵)
124, 5, 6, 7, 9, 10, 11fcoresfo 44565 . . . 4 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ (𝐺𝐹):(𝐹𝐴)–onto𝐵) → (𝐺 ↾ (ran 𝐹𝐴)):(ran 𝐹𝐴)–onto𝐵)
1312ex 413 . . 3 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → ((𝐺𝐹):(𝐹𝐴)–onto𝐵 → (𝐺 ↾ (ran 𝐹𝐴)):(ran 𝐹𝐴)–onto𝐵))
14 sseqin2 4149 . . . . . . . . 9 (𝐴 ⊆ ran 𝐹 ↔ (ran 𝐹𝐴) = 𝐴)
1514biimpi 215 . . . . . . . 8 (𝐴 ⊆ ran 𝐹 → (ran 𝐹𝐴) = 𝐴)
16153ad2ant3 1134 . . . . . . 7 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (ran 𝐹𝐴) = 𝐴)
178fdmd 6611 . . . . . . 7 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → dom 𝐺 = 𝐴)
1816, 17eqtr4d 2781 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (ran 𝐹𝐴) = dom 𝐺)
1918reseq2d 5891 . . . . 5 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (𝐺 ↾ (ran 𝐹𝐴)) = (𝐺 ↾ dom 𝐺))
208freld 6606 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → Rel 𝐺)
21 resdm 5936 . . . . . 6 (Rel 𝐺 → (𝐺 ↾ dom 𝐺) = 𝐺)
2220, 21syl 17 . . . . 5 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (𝐺 ↾ dom 𝐺) = 𝐺)
2319, 22eqtrd 2778 . . . 4 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (𝐺 ↾ (ran 𝐹𝐴)) = 𝐺)
24 eqidd 2739 . . . 4 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → 𝐵 = 𝐵)
2523, 16, 24foeq123d 6709 . . 3 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → ((𝐺 ↾ (ran 𝐹𝐴)):(ran 𝐹𝐴)–onto𝐵𝐺:𝐴onto𝐵))
2613, 25sylibd 238 . 2 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → ((𝐺𝐹):(𝐹𝐴)–onto𝐵𝐺:𝐴onto𝐵))
27 simpr 485 . . . 4 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ 𝐺:𝐴onto𝐵) → 𝐺:𝐴onto𝐵)
28 simpl1 1190 . . . 4 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ 𝐺:𝐴onto𝐵) → Fun 𝐹)
29 simpl3 1192 . . . 4 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ 𝐺:𝐴onto𝐵) → 𝐴 ⊆ ran 𝐹)
30 focofo 6701 . . . 4 ((𝐺:𝐴onto𝐵 ∧ Fun 𝐹𝐴 ⊆ ran 𝐹) → (𝐺𝐹):(𝐹𝐴)–onto𝐵)
3127, 28, 29, 30syl3anc 1370 . . 3 (((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) ∧ 𝐺:𝐴onto𝐵) → (𝐺𝐹):(𝐹𝐴)–onto𝐵)
3231ex 413 . 2 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (𝐺:𝐴onto𝐵 → (𝐺𝐹):(𝐹𝐴)–onto𝐵))
3326, 32impbid 211 1 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → ((𝐺𝐹):(𝐹𝐴)–onto𝐵𝐺:𝐴onto𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  cin 3886  wss 3887  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  ccom 5593  Rel wrel 5594  Fun wfun 6427  wf 6429  ontowfo 6431
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441
This theorem is referenced by:  fnfocofob  44571
  Copyright terms: Public domain W3C validator