Skip to content

mkaratarakis/HopfieldNet

Repository files navigation

Hopfield Networks

Description

This repository contains Lean formalizations related to Hopfield Networks written in the Lean theorem prover language.

Below is a brief overview of the key files:

  • HN.Core.lean – Formalization of general neural networks.
  • HN.Asym.lean – Formalization of asymmetric Hopfield networks.
  • HN.lean – Formalization of symmetric Hopfield networks.
  • Stochastic.lean – Formalization of stochastic algorithms.
  • HN.aux.lean – Auxiliary lemmas.
  • HN.test.lean – Computations and implementation of the Hebbian learning algorithm.
  • DetailedBalance.lean – Formalization of the detailed balance property for Hopfield networks.
  • HN.aux.lean – Markov Chain Framework.
  • BM.Core.lean – Formalization of Boltzmann Machines (BMs).
  • BM.Markov.lean – Formalization of probability distributions for Boltzmann Machines.

For more details, see the individual files.

Installation

Installing Lean can be done by following the leanprover community website. Our project uses Lean version 4.18.0.

This repository can then be cloned by following the instructions on this page.

License

See LICENSE.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published