Metamath Proof Explorer


Theorem s4fv0

Description: Extract the first symbol from a length 4 string. (Contributed by Thierry Arnoux, 8-Oct-2020)

Ref Expression
Assertion s4fv0 AV⟨“ABCD”⟩0=A

Proof

Step Hyp Ref Expression
1 df-s4 ⟨“ABCD”⟩=⟨“ABC”⟩++⟨“D”⟩
2 s3cli ⟨“ABC”⟩WordV
3 s3len ⟨“ABC”⟩=3
4 s3fv0 AV⟨“ABC”⟩0=A
5 0nn0 00
6 3pos 0<3
7 1 2 3 4 5 6 cats1fv AV⟨“ABCD”⟩0=A