MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  focofo Structured version   Visualization version   GIF version

Theorem focofo 6838
Description: Composition of onto functions. Generalisation of foco 6839. (Contributed by AV, 29-Sep-2024.)
Assertion
Ref Expression
focofo ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → (𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶onto𝐵)

Proof of Theorem focofo
StepHypRef Expression
1 fof 6825 . . . 4 (𝐹:𝐴⟶onto𝐵 → 𝐹:𝐴⟶𝐵)
2 fcof 6762 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ Fun 𝐺) → (𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶𝐵)
31, 2sylan 592 . . 3 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺) → (𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶𝐵)
433adant3 1151 . 2 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → (𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶𝐵)
5 rnco 6271 . . 3 ran (𝐹 ∘ 𝐺) = ran (𝐹 ↾ ran 𝐺)
61freld 6745 . . . . . 6 (𝐹:𝐴⟶onto𝐵 → Rel 𝐹)
763ad2ant1 1152 . . . . 5 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → Rel 𝐹)
8 fdm 6748 . . . . . . . . 9 (𝐹:𝐴⟶𝐵 → dom 𝐹 = 𝐴)
98eqcomd 2772 . . . . . . . 8 (𝐹:𝐴⟶𝐵 → 𝐴 = dom 𝐹)
101, 9syl 18 . . . . . . 7 (𝐹:𝐴⟶onto𝐵 → 𝐴 = dom 𝐹)
1110sseq1d 3943 . . . . . 6 (𝐹:𝐴⟶onto𝐵 → (𝐴 ⊆ ran 𝐺 ↔ dom 𝐹 ⊆ ran 𝐺))
1211biimpa 482 . . . . 5 ((𝐹:𝐴⟶onto𝐵 ∧ 𝐴 ⊆ ran 𝐺) → dom 𝐹 ⊆ ran 𝐺)
13 relssres 6028 . . . . . 6 ((Rel 𝐹 ∧ dom 𝐹 ⊆ ran 𝐺) → (𝐹 ↾ ran 𝐺) = 𝐹)
1413rneqd 5931 . . . . 5 ((Rel 𝐹 ∧ dom 𝐹 ⊆ ran 𝐺) → ran (𝐹 ↾ ran 𝐺) = ran 𝐹)
157, 12, 143imp3i2an 1366 . . . 4 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → ran (𝐹 ↾ ran 𝐺) = ran 𝐹)
16 forn 6828 . . . . 5 (𝐹:𝐴⟶onto𝐵 → ran 𝐹 = 𝐵)
17163ad2ant1 1152 . . . 4 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → ran 𝐹 = 𝐵)
1815, 17eqtrd 2801 . . 3 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → ran (𝐹 ↾ ran 𝐺) = 𝐵)
195, 18eqtrid 2813 . 2 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → ran (𝐹 ∘ 𝐺) = 𝐵)
20 dffo2 6829 . 2 ((𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶onto𝐵 ↔ ((𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶𝐵 ∧ ran (𝐹 ∘ 𝐺) = 𝐵))
214, 19, 20sylanbrc 595 1 ((𝐹:𝐴⟶onto𝐵 ∧ Fun 𝐺 ∧ 𝐴 ⊆ ran 𝐺) → (𝐹 ∘ 𝐺):(◡𝐺 “ 𝐴)⟶onto𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ⊆ wss 3899  ◡ccnv 5656  dom cdm 5657  ran crn 5658   ↾ cres 5659   “ cima 5660   ∘ ccom 5661  Rel wrel 5662  Fun wfun 6559  ⟶wf 6561  ⟶ontowfo 6563
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-fun 6567  df-fn 6568  df-f 6569  df-fo 6571
This theorem is used by:  foco  6839  funfocofob  48481
  Copyright terms: Public domain W3C validator