Metamath Proof Explorer


Theorem swrdrlen

Description: Length of a right-anchored subword. (Contributed by Alexander van der Vekens, 5-Apr-2018)

Ref Expression
Assertion swrdrlen WWordVI0WWsubstrIW=WI

Proof

Step Hyp Ref Expression
1 lencl WWordVW0
2 nn0fz0 W0W0W
3 1 2 sylib WWordVW0W
4 3 adantr WWordVI0WW0W
5 swrdlen WWordVI0WW0WWsubstrIW=WI
6 4 5 mpd3an3 WWordVI0WWsubstrIW=WI