Metamath Proof Explorer


Theorem cfsetssfset

Description: The class of constant functions is a subclass of the class of functions. (Contributed by AV, 13-Sep-2024)

Ref Expression
Hypothesis cfsetsnfsetfv.f F=f|f:ABbBzAfz=b
Assertion cfsetssfset Ff|f:AB

Proof

Step Hyp Ref Expression
1 cfsetsnfsetfv.f F=f|f:ABbBzAfz=b
2 ss2ab f|f:ABbBzAfz=bf|f:ABff:ABbBzAfz=bf:AB
3 simpl f:ABbBzAfz=bf:AB
4 2 3 mpgbir f|f:ABbBzAfz=bf|f:AB
5 1 4 eqsstri Ff|f:AB