Metamath Proof Explorer


Theorem repsconst

Description: Construct a function mapping a half-open range of nonnegative integers to a constant, see also fconstmpt . (Contributed by AV, 4-Nov-2018)

Ref Expression
Assertion repsconst SVN0SrepeatSN=0..^N×S

Proof

Step Hyp Ref Expression
1 reps SVN0SrepeatSN=x0..^NS
2 fconstmpt 0..^N×S=x0..^NS
3 1 2 eqtr4di SVN0SrepeatSN=0..^N×S