Sorry if this was asked before, I couldn't find.
So, I'm reading Hinman's Book "Fundamentals of Mathematical Logic" and I've got stucked in the beginning, more precisely at page 16, proposition 1.1.5.
He's proving the unique readability for propositional sentences and during the proof he needs the following lemma:
For any finite sequences $\phi_0,\ldots,\phi_k$ and $\psi_0,\ldots,\psi_l$ of sentences, if the expressions $\phi_0 \ldots \phi_k$ and $\phi_0 \ldots \phi_l$ are identical, then $k=l$ and for all $i \leq k$, $\phi_i = \psi_i$.
The proof goes by induction on the length of the expression $\phi_0 \ldots \phi_k$, but I don't know why this is true and how to deal/see the "sequence of sentences". First of all I've tried to see the case where there's just $\phi_0$ and I think I shouldn't assume that these sequences are made of atomic sentences. So, couldn't I have $\phi_0 := (\to (\vee p_1 p_2) p_3)$ and $\psi_0 := (\vee p_1 p_2)$, $\psi_1 := (\to \psi_0 p_3)$? In this case the sequences $\phi_0$ and $\psi_0,\psi_1$ are identical as expressions, but the lemma doesn't hold, because I split the first sentence in two. I think that probably I'm not dealing well with the sequence thing, but it was not defined before on the book, so I'm in the dark here. I appreciate any help.