Metamath Proof Explorer


Theorem s5len

Description: The length of a length 5 string. (Contributed by Mario Carneiro, 26-Feb-2016)

Ref Expression
Assertion s5len ⟨“ ABCDE ”⟩ = 5

Proof

Step Hyp Ref Expression
1 df-s5 ⟨“ ABCDE ”⟩ = ⟨“ ABCD ”⟩ ++ ⟨“ E ”⟩
2 s4cli ⟨“ ABCD ”⟩ Word V
3 s4len ⟨“ ABCD ”⟩ = 4
4 4p1e5 4 + 1 = 5
5 1 2 3 4 cats1len ⟨“ ABCDE ”⟩ = 5