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

Theorem fncofn 6650
Description: Composition of a function with domain and a function as a function with domain. Generalization of fnco 6651. (Contributed by AV, 17-Sep-2024.)
Assertion
Ref Expression
fncofn ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → (𝐹𝐺) Fn (𝐺𝐴))

Proof of Theorem fncofn
StepHypRef Expression
1 fnfun 6633 . . . 4 (𝐹 Fn 𝐴 → Fun 𝐹)
2 funco 6573 . . . 4 ((Fun 𝐹 ∧ Fun 𝐺) → Fun (𝐹𝐺))
31, 2sylan 591 . . 3 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → Fun (𝐹𝐺))
43funfnd 6564 . 2 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → (𝐹𝐺) Fn dom (𝐹𝐺))
5 fndm 6636 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
65adantr 485 . . . . . 6 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → dom 𝐹 = 𝐴)
76eqcomd 2775 . . . . 5 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → 𝐴 = dom 𝐹)
87imaeq2d 6060 . . . 4 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → (𝐺𝐴) = (𝐺 “ dom 𝐹))
9 dmco 6253 . . . 4 dom (𝐹𝐺) = (𝐺 “ dom 𝐹)
108, 9eqtr4di 2822 . . 3 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → (𝐺𝐴) = dom (𝐹𝐺))
1110fneq2d 6627 . 2 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → ((𝐹𝐺) Fn (𝐺𝐴) ↔ (𝐹𝐺) Fn dom (𝐹𝐺)))
124, 11mpbird 260 1 ((𝐹 Fn 𝐴 ∧ Fun 𝐺) → (𝐹𝐺) Fn (𝐺𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1567  ccnv 5658  dom cdm 5659  cima 5662  ccom 5663  Fun wfun 6527   Fn wfn 6528
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5258  ax-pr 5402
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-br 5111  df-opab 5175  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-fun 6535  df-fn 6536
This theorem is referenced by:  fnco  6651  fcof  6727
  Copyright terms: Public domain W3C validator