- Lean 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Lean Action CI / build (push) Has been cancelled
Refer to the thesis drafts by name instead of by their path on the author's machine. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
| .github/workflows | ||
| docs | ||
| NaturalLatents | ||
| .gitignore | ||
| FORMALIZATION_TODO.md | ||
| lake-manifest.json | ||
| lakefile.toml | ||
| lean-toolchain | ||
| LICENSE | ||
| NaturalLatents.lean | ||
| README.md | ||
NaturalLatents
Lean 4 project for formalizing information-theoretic natural latents.
The project is pinned to Lean 4.31.0 and Mathlib 4.31.0 through lean-toolchain
and lakefile.toml. It also depends on teorth/pfr at tag v4.31.0 for the
finite entropy API used by the current formalization.
Build
Install Elan, then run:
lake build
If Elan is installed but not on your shell PATH, the direct binary also works:
~/.elan/bin/lake build
The project currently builds with no sorry, admit, or local axioms.
Survey Notes
The current Mathlib survey is in
docs/mathlib-information-theory-gap-analysis.md.
Short version: Mathlib has strong measure-theoretic KL divergence and conditional-independence infrastructure, plus set partitions and Bell numbers. It does not yet appear to have the finite Shannon layer needed for the thesis: entropy, conditional entropy, mutual information, conditional mutual information, total correlation, and conditional total correlation.
The project currently uses PFR's ForMathlib entropy layer as that finite
discrete Shannon API. The separator-determines-redund theorem and the exact
common-information order results are formalized on top of it.
Formalization Notes
NaturalLatents.Informationcontains the reusable observable-vector, total-correlation, separator, redund, natural-latent, stochastic-kernel, packaged finite-latent, coarsening, objective/class, and exact information-order API.NaturalLatents.SeparatorDeterminesRedundcontains the zero/approximate separator-to-redund entropy theorem.NaturalLatents.CommonInformationcontains exact information-order, containment-bottom, leave-one-out core, and Theorem C helper results.NaturalLatents.Translationcontains the named guaranteed-translatability theorem layer, the two-coordinate converse, and the immediate natural-latent translation corollaries.NaturalLatents.MathlibInformationTheorySurveyrecords the relevant Mathlib imports and smoke tests.FORMALIZATION_TODO.mdis the durable status-tracked formalization checklist for the universal-abstractions draft.docs/outstanding-formalization.mdtracks the remaining theorem and API work against the current thesis draft.