Metamath Proof Explorer


Theorem len0nnbi

Description: The length of a word is a positive integer iff the word is not empty. (Contributed by AV, 22-Mar-2022)

Ref Expression
Assertion len0nnbi W Word S W W

Proof

Step Hyp Ref Expression
1 lennncl W Word S W W
2 1 ex W Word S W W
3 nnge1 W 1 W
4 wrdlenge1n0 W Word S W 1 W
5 3 4 syl5ibr W Word S W W
6 2 5 impbid W Word S W W