TorchLean API

NN.MLTheory.Proofs.Hopfield.Progress

Hopfield cyclic sweep progress (tie-handling) #

This file proves the key “tie-handling” lemma needed for paper-style Hopfield global-dynamics claims under the update convention s[u] := (θ[u] ≤ net[u]) (“ties go to +1”).

Energy is non-increasing under each coordinate update, but in the tie case net = θ the energy can stay constant while the state changes. We show that in this tie case, the number of +1s (pluses) strictly increases. This yields a lexicographic progress measure.

We package the statement for a full cyclic sweep over coordinates: