Metamath Proof Explorer


Theorem fconst

Description: A Cartesian product with a singleton is a constant function. (Contributed by NM, 14-Aug-1999) (Proof shortened by Andrew Salmon, 17-Sep-2011)

Ref Expression
Hypothesis fconst.1 ⊢ B ∈ V
Assertion fconst ⊢ A × B : A ⟶ B

Proof

Step Hyp Ref Expression
1 fconst.1 ⊢ B ∈ V
2 fconstmpt ⊢ A × B = x ∈ A ⟼ B
3 1 2 fnmpti ⊢ A × B Fn A
4 rnxpss ⊢ ran ⁡ A × B ⊆ B
5 df-f ⊢ A × B : A ⟶ B ↔ A × B Fn A ∧ ran ⁡ A × B ⊆ B
6 3 4 5 mpbir2an ⊢ A × B : A ⟶ B