This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: If an integer in a 1-based finite set of sequential integers is subtracted from the upper bound of this finite set of sequential integers, the result is contained in a half-open range of nonnegative integers with the same upper bound. (Contributed by AV, 18-Mar-2018) (Revised by AV, 30-Oct-2018)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | ubmelfzo |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | simp3 | ||
| 2 | nnnn0 | ||
| 3 | nnnn0 | ||
| 4 | 2 3 | anim12i | |
| 5 | 4 | 3adant3 | |
| 6 | nn0sub | ||
| 7 | 5 6 | syl | |
| 8 | 1 7 | mpbid | |
| 9 | simp2 | ||
| 10 | nngt0 | ||
| 11 | 10 | 3ad2ant1 | |
| 12 | nnre | ||
| 13 | nnre | ||
| 14 | 12 13 | anim12i | |
| 15 | 14 | 3adant3 | |
| 16 | ltsubpos | ||
| 17 | 15 16 | syl | |
| 18 | 11 17 | mpbid | |
| 19 | 8 9 18 | 3jca | |
| 20 | elfz1b | ||
| 21 | elfzo0 | ||
| 22 | 19 20 21 | 3imtr4i |