Notation

What is the defining function of a tie between two notes of the same pitch?