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 44548
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 6624 . . . . . . . 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 44543 . . . 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 6603 . . . . . . 7 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → dom 𝐺 = 𝐴)
1816, 17eqtr4d 2781 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (ran 𝐹𝐴) = dom 𝐺)
1918reseq2d 5884 . . . . 5 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → (𝐺 ↾ (ran 𝐹𝐴)) = (𝐺 ↾ dom 𝐺))
208freld 6598 . . . . . 6 ((Fun 𝐹𝐺:𝐴𝐵𝐴 ⊆ ran 𝐹) → Rel 𝐺)
21 resdm 5929 . . . . . 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 6701 . . 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 6693 . . . 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 3885  wss 3886  ccnv 5583  dom cdm 5584  ran crn 5585  cres 5586  cima 5587  ccom 5588  Rel wrel 5589  Fun wfun 6420  wf 6422  ontowfo 6424
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 5221  ax-nul 5228  ax-pr 5350
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 3431  df-sbc 3716  df-csb 3832  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5074  df-opab 5136  df-mpt 5157  df-id 5484  df-xp 5590  df-rel 5591  df-cnv 5592  df-co 5593  df-dm 5594  df-rn 5595  df-res 5596  df-ima 5597  df-iota 6384  df-fun 6428  df-fn 6429  df-f 6430  df-fo 6432  df-fv 6434
This theorem is referenced by:  fnfocofob  44549
  Copyright terms: Public domain W3C validator