This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: The last symbol of a nonempty word is an element of the alphabet for the word. (Contributed by Alexander van der Vekens, 1-Oct-2018) (Proof shortened by AV, 29-Apr-2020)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | lswlgt0cl |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | simprl | ||
| 2 | eleq1 | ||
| 3 | 2 | eqcoms | |
| 4 | 3 | adantl | |
| 5 | wrdfin | ||
| 6 | hashnncl | ||
| 7 | 5 6 | syl | |
| 8 | 7 | biimpd | |
| 9 | 8 | adantr | |
| 10 | 4 9 | sylbid | |
| 11 | 10 | impcom | |
| 12 | lswcl | ||
| 13 | 1 11 12 | syl2anc |