TorchLean API

NN.MLTheory.Proofs.Hopfield.Dynamics

Hopfield global dynamics: energy along trajectories #

This file lifts the single-step energy lemma to whole trajectories: for any (possibly adversarial) asynchronous update schedule useq, the energy sequence is non-increasing.

Monotonicity alone does not guarantee convergence: a schedule might never update an unstable unit. Convergence.lean proves finite-state convergence and a sweep bound for the cyclic schedule.

Energy is nonincreasing along any update sequence, one step at a time.

Hence energy never exceeds its starting value, for any schedule of units.

The schedule is an arbitrary Nat → Fin n, so this covers random and cyclic orders alike.