Metamath Proof Explorer


Theorem lsws1

Description: The last symbol of a singleton word is its symbol. (Contributed by AV, 22-Oct-2018)

Ref Expression
Assertion lsws1 AVlastS⟨“A”⟩=A

Proof

Step Hyp Ref Expression
1 s1cl AV⟨“A”⟩WordV
2 s1len ⟨“A”⟩=1
3 lsw1 ⟨“A”⟩WordV⟨“A”⟩=1lastS⟨“A”⟩=⟨“A”⟩0
4 1 2 3 sylancl AVlastS⟨“A”⟩=⟨“A”⟩0
5 s1fv AV⟨“A”⟩0=A
6 4 5 eqtrd AVlastS⟨“A”⟩=A