mlsanityData to 14 Oct 2026

Formalized Hopfield Networks and Boltzmann Machines

arXiv 2512.07766 ↗First posted 8 Dec 2025cs.LG cs.LOcited by 2

Not on the map. Why?

Abstract (arXiv)

Neural networks are widely used, yet their analysis and verification remain challenging. We present a Lean~4 formalization covering both deterministic and stochastic models. We first formalize Hopfield networks -- recurrent networks that store patterns as stable states -- and prove their convergence, and the correctness of Hebbian learning, the rule that updates parameters to encode patterns. We then turn to stochastic networks, whose probabilistic updates converge to a stationary distribution: we formalize the dynamics and learning of Boltzmann machines and prove their ergodicity -- convergence to a unique stationary distribution -- via a new formalization of the Perron--Frobenius theorem.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 22 of its 71 references that are in the map. First posted on arXiv 8 Dec 2025.

Builds on

22 of 71 references.

References · 22

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2020Hopfield Networks is All You Needcited by 475
  3. 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 242
  4. 2019Algorithms for Verifying Deep Neural Networkscited by 221
  5. 2013Ising formulations of many NP problemscited by 207
  6. 2019The Lean mathematical librarycited by 134
  7. 2020Verification of Deep Convolutional Neural Networks Using ImageStarscited by 75
  8. 2023Training Deep Boltzmann Networks with Sparse Ising Machinescited by 24
  9. 2017Developing Bug-Free Machine Learning Systems With Formal Mathematicscited by 14
  10. 2024HepLean: Digitalising high energy physicscited by 10
  11. 2020CertRL: Formalizing Convergence Proofs for Value and Policy Iteration in Coqcited by 9
  12. 2022Formalizing Chemical Physics using the Lean Theorem Provercited by 9
10 more
  1. 2024A Certified Proof Checker for Deep Neural Network Verification in Imandracited by 7
  2. 2025A Formalization of the Generalized Quantum Stein's Lemma in Leancited by 7
  3. 2014A formally verified proof of the Central Limit Theoremcited by 5
  4. 2022Formalization of a Stochastic Approximation Theoremcited by 5
  5. 2023Formalizing Piecewise Affine Activation Functions of Neural Networks in Coqcited by 4
  6. 2018A Separation Logic for Concurrent Randomized Programscited by 3
  7. 2020Verification of ML Systems via Reparameterizationcited by 2
  8. 2022A Formalization of Doob's Martingale Convergence Theorems in mathlibcited by 2
  9. 2021Towards Formalising Schutz' Axioms for Minkowski Spacetime in Isabelle/HOLcited by 1
  10. 2025Digitalizing Wick's theoremcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.