Metamath Proof Explorer


Theorem cfsetsnfsetfv

Description: The function value of the mapping of the class of singleton functions into the class of constant functions. (Contributed by AV, 13-Sep-2024)

Ref Expression
Hypotheses cfsetsnfsetfv.f F=f|f:ABbBzAfz=b
cfsetsnfsetfv.g G=x|x:YB
cfsetsnfsetfv.h H=gGaAgY
Assertion cfsetsnfsetfv AVXGHX=aAXY

Proof

Step Hyp Ref Expression
1 cfsetsnfsetfv.f F=f|f:ABbBzAfz=b
2 cfsetsnfsetfv.g G=x|x:YB
3 cfsetsnfsetfv.h H=gGaAgY
4 3 a1i AVXGH=gGaAgY
5 fveq1 g=XgY=XY
6 5 adantr g=XaAgY=XY
7 6 mpteq2dva g=XaAgY=aAXY
8 7 adantl AVXGg=XaAgY=aAXY
9 simpr AVXGXG
10 simpl AVXGAV
11 10 mptexd AVXGaAXYV
12 4 8 9 11 fvmptd AVXGHX=aAXY