Metamath Proof Explorer


Theorem pfxfv0

Description: The first symbol of a prefix is the first symbol of the word. (Contributed by Alexander van der Vekens, 16-Jun-2018) (Revised by AV, 3-May-2020)

Ref Expression
Assertion pfxfv0 W Word V L 1 W W prefix L 0 = W 0

Proof

Step Hyp Ref Expression
1 simpl W Word V L 1 W W Word V
2 fz1ssfz0 1 W 0 W
3 2 sseli L 1 W L 0 W
4 3 adantl W Word V L 1 W L 0 W
5 elfznn L 1 W L
6 5 adantl W Word V L 1 W L
7 lbfzo0 0 0 ..^ L L
8 6 7 sylibr W Word V L 1 W 0 0 ..^ L
9 pfxfv W Word V L 0 W 0 0 ..^ L W prefix L 0 = W 0
10 1 4 8 9 syl3anc W Word V L 1 W W prefix L 0 = W 0