<!-- docxology:generated-document README.md; ownership=explicit-manifest -->

# 🧠 Towards Lean 4 Formalization of the Free Energy Principle: AI-Driven Theorem Sketching and Verification for Active Inference and Bayesian Mechanics

**Daniel Ari Friedman** (2026) · *Zenodo*

[![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.19699233-blue)](https://doi.org/10.5281/zenodo.19699233)

---

## Abstract

> The selected FEP_Formal 2.1.0 manuscript describes 168 stable Lean topics across five areas, using Lean 4.35.0 and Mathlib 4.35.0. It reports a semantic audit with 149 directly formalized rows at narrowed scopes and separates compilation maturity from scientific adequacy. Native receipt-backed compilation and optional Hermes/OpenGauss execution remain different evidence contracts. The manuscript does not prove the empirical FEP, generic Markov blankets or equivalence of its motivating formalisms; this catalog refresh does not rerun Lean, numerical examples or provider workflows.

## Keywords

`free energy principle` · `active inference` · `bayesian mechanics` · `information geometry` · `non-equilibrium thermodynamics` · `Lean 4` · `Mathlib` · `interactive theorem proving` · `formal verification` · `theorem proving` · `measure theory` · `reproducible research`

## Methods

- **Typed catalog with explicit assumptions and semantic dispositions** — Described in the selected deposited manuscript; source-text review does not re-execute or independently validate this method.
- **Separate native and optional provider evidence contracts** — Described in the selected deposited manuscript; source-text review does not re-execute or independently validate this method.

## Key Findings

- The manuscript reports 149 of 168 rows as directly formalized at deliberately narrowed scopes, independently of compilation maturity.
- The manuscript expressly declines empirical FEP, generic-blanket and broad-equivalence conclusions.

_Methods and findings are summarized from the full text; each item is backed by a verbatim quote recorded in `metadata.json` (`evidence`, `key_findings_evidence`)._

## Artifacts

- GitHub repository: [ActiveInferenceInstitute/fep_formal](https://github.com/ActiveInferenceInstitute/fep_formal)
- GitHub release: [v2.1.0](https://github.com/ActiveInferenceInstitute/fep_formal/releases/tag/v2.1.0)
- DOI: [10.5281/zenodo.19699233](https://doi.org/10.5281/zenodo.19699233)
- Artifact DOI: [10.5281/zenodo.23607007](https://doi.org/10.5281/zenodo.23607007)
- Zenodo record: [https://zenodo.org/records/23607007](https://zenodo.org/records/23607007)
- PDF: [FEP_Formal-2.1.0.pdf](FEP_Formal-2.1.0.pdf)
- PDF: [fep-lean-manuscript-1.1.0.pdf](fep-lean-manuscript-1.1.0.pdf)
- PDF: [fep_lean-v1.6.0.pdf](fep_lean-v1.6.0.pdf)
- PDF SHA-256: ba7594ee91f1bc9adf3830ae32e915da9f956436965758381615129d90378953

## Citation

> Daniel Ari Friedman (2026). *Towards Lean 4 Formalization of the Free Energy Principle: AI-Driven Theorem Sketching and Verification for Active Inference and Bayesian Mechanics*. Zenodo. DOI: 10.5281/zenodo.19699233. URL: https://doi.org/10.5281/zenodo.19699233.

## Related

- [Full Bibliography](../../pages/BIBLIOGRAPHY.md)
- [All Papers](../README.md)
