Sine-Gordon kinks on a discrete lattice. I. Hamiltonian formalism | Synapse