Metamath Proof Explorer


Theorem fconstmpt

Description: Representation of a constant function using the mapping operation. (Note that x cannot appear free in B .) (Contributed by NM, 12-Oct-1999) (Revised by Mario Carneiro, 16-Nov-2013)

Ref Expression
Assertion fconstmpt A × B = x A B

Proof

Step Hyp Ref Expression
1 velsn y B y = B
2 1 anbi2i x A y B x A y = B
3 2 opabbii x y | x A y B = x y | x A y = B
4 df-xp A × B = x y | x A y B
5 df-mpt x A B = x y | x A y = B
6 3 4 5 3eqtr4i A × B = x A B