---
# docxology:generated-document SKILL.md; ownership=explicit-manifest
name: "Towards Lean 4 Formalization of the Free Energy Principle: AI-Driven Theorem Sketching and Verification for Active Inference and Bayesian Mechanics"
description: "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 fro..."
tags: ["free-energy-principle", "active-inference", "bayesian-mechanics", "information-geometry", "non-equilibrium-thermodynamics", "lean-4", "mathlib", "interactive-theorem-proving", "formal-verification", "theorem-proving"]
domain: "Active Inference"
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"
artifact_doi: "10.5281/zenodo.23607007"
---

# 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) · Active Inference

## Context

This work addresses topics in **Active Inference**: free energy principle, active inference, bayesian mechanics, information geometry.

## Methods

Primary methods and techniques applied in this work:

- **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

Core contributions and results:

- 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`).

## Related Works

- [2018_WoodliceAndMen](../2018_WoodliceAndMen/)
- [2020_BehaviorEngineering](../2020_BehaviorEngineering/)
- [2021_ModelingConflict](../2021_ModelingConflict/)

## Validation

Verification points for this work:

- Canonical DOI: 10.5281/zenodo.19699233
- PDF SHA-256: ba7594ee91f1bc9adf3830ae32e915da9f956436965758381615129d90378953
- Pairing confidence: strong
- Last checked: 2026-11-06T19:09:15Z
- Artifact DOI: 10.5281/zenodo.23607007

## Prerequisites

- Familiarity with free energy principle, active inference, bayesian mechanics
- Background in Active Inference fundamentals
- Access to source repository: ActiveInferenceInstitute/fep_formal

## Instructions

When working with this paper:

1. Reference the DOI for citation: `10.5281/zenodo.19699233`
2. Apply methods listed in the Methods section for related analysis.
3. Validate findings against the original PDF and metadata.
