Metamath Proof Explorer


Theorem s3fv1

Description: Extract the second symbol from a length 3 string. (Contributed by Mario Carneiro, 13-Jan-2017)

Ref Expression
Assertion s3fv1 BV⟨“ABC”⟩1=B

Proof

Step Hyp Ref Expression
1 df-s3 ⟨“ABC”⟩=⟨“AB”⟩++⟨“C”⟩
2 s2cli ⟨“AB”⟩WordV
3 s2len ⟨“AB”⟩=2
4 s2fv1 BV⟨“AB”⟩1=B
5 1nn0 10
6 1lt2 1<2
7 1 2 3 4 5 6 cats1fv BV⟨“ABC”⟩1=B