Published October 24, 2026 | Version 2.1.0

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

Authors/Creators

  • 1. Active Inference Institute

Description

FEP_Formal 2.1.0 is coordinated with Generalized_Notation_Notation 5.0.1. It retains the 168-topic Lean catalogue and explicit statement, assumption, semantic-maturity and evidence boundaries, using Lean 4.35.0 and Mathlib v4.35.0. Seven bounded composition proofs add temporal, risk, exponential-family, policy, reduction, consensus and geometric interfaces. The inventory distinguishes 32 formal relations, 118 theorem pairings and six conceptual relations.

This version adds independent replay of source-bound finite and passive linear-Gaussian GNN filtering evidence, with separate numerical, source-custody, program-execution and formal-compilation claims. Finite forward filtering and Kalman/Joseph updates compare admitted parameters, axes, conditioning, float64 posterior means and full covariance. Bounded Lean laws and Q7 coefficient/prediction statements do not prove the GNN parser, general multidimensional filtering, authenticated execution or universal translation equivalence.

Accepted FEP source: 96bf714d91c088e79b9dea54af0f9151f70de64f; tree: 15af656a15fc86b6d89804277ea030502a4f9168; tag: v2.1.0. Automatic PR, explicit full dual-shadow and fresh merged-main qualification retain distinct execution identities. The complete merged-main roster has 22 roles, including 15 wheel cells, 168 warning-strict native topics, 2060 audited declarations and the separately reviewed 390-page manuscript. Expected optional-profile skips remain exclusions. Ordinary wheel/source distributions and an isolated Python 3.14.9 installation passed independent content and RECORD reviews.

The accepted manuscript, offline companion, ordinary distributions, exact tagged source, citation, license, checksums and publication observation form a nine-file payload. Full provider execution, frozen H3 production capture, broader formal translation and other scientific extensions retain separate acceptance requirements. This scholarly version continues concept DOI 10.5281/zenodo.19699233. Software archives remain separate under concept DOI 10.5281/zenodo.23196891.

Files

FEP_Formal-2.1.0-offline-companion.zip

Files (57.0 MB)

Name Size
md5:c4720e343752930df9c7f6a0c4f69ff6
2.1 kB Download
md5:942ebd20b96a252ba648937139207d3a
15.2 MB Preview Download
md5:bac53fefe5c91fda1911df00875adf2d
30.8 MB Preview Download
md5:023f083f8f09ff7bef8b49ab5a41198c
7.9 MB Preview Download
md5:722951cc369971dc093cf12c3f1349c1
1.3 MB Download
md5:14c6e428d465470cf18c1637fd419588
1.8 MB Download
md5:5a8b2c503ef835b86bfbb11d95d4bfdc
2.2 kB Download
md5:74428f40989d9e7a78f3b6ba1e2320a0
744 Bytes Preview Download
md5:5ebb4ac8b4330c3540576a4d984be5dc
720 Bytes Download

Additional details

Software

Repository URL
https://github.com/ActiveInferenceInstitute/fep_formal
Programming language
Python
Development Status
Active