Description: The value of the subword extractor is the empty set (undefined) if the range is not valid. (Contributed by Alexander van der Vekens, 16-Mar-2018) (Proof shortened by AV, 2-May-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | swrdlend | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | swrdval | |
|
2 | 1 | adantr | |
3 | simpr | |
|
4 | 3simpc | |
|
5 | 4 | adantr | |
6 | fzon | |
|
7 | 5 6 | syl | |
8 | 3 7 | mpbid | |
9 | 0ss | |
|
10 | 8 9 | eqsstrdi | |
11 | 10 | iftrued | |
12 | fzo0n | |
|
13 | 12 | biimpa | |
14 | 13 | 3adantl1 | |
15 | 14 | mpteq1d | |
16 | mpt0 | |
|
17 | 15 16 | eqtrdi | |
18 | 2 11 17 | 3eqtrd | |
19 | 18 | ex | |