Description: Construct a function mapping a half-open range of nonnegative integers to a constant. (Contributed by AV, 4-Nov-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | reps | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elex | |
|
2 | 1 | adantr | |
3 | simpr | |
|
4 | ovex | |
|
5 | mptexg | |
|
6 | 4 5 | mp1i | |
7 | oveq2 | |
|
8 | 7 | adantl | |
9 | simpll | |
|
10 | 8 9 | mpteq12dva | |
11 | df-reps | |
|
12 | 10 11 | ovmpoga | |
13 | 2 3 6 12 | syl3anc | |