How eabadir/egpt-lean works
This repository is a Lean 4/mathlib fork centered on formalized information theory, entropy-based number systems, complexity proofs, and statistical-physics results. The principal workflow is to build Lean declarations and ask Lean to report their axioms; the README identifies three P=NP proof chains and a Rota entropy theorem capstone. The graph follows those documented domains and dependencies. Source excerpts focus on peripheral mathlib maintenance scripts, so relationships among the proof modules are based on README statements rather than inspected Lean implementations.
Main entry points: PPNP.lean Information P NP · RotaEntropy.lean Rota capstone · Concrete.lean Concrete entropy · StatisticalDistributions.lean Statistical distributions
Components 23
Proof verification
- Lean checker
- Time-information bridge
Mathlib/InformationTheory/Bridge.lean - Instructions and paths
Mathlib/InformationTheory/Basic.lean
Entropy theory
- Shannon entropy
Mathlib/InformationTheory/Entropy/Shannon.lean - Rota axioms
Mathlib/InformationTheory/Entropy/Axioms.lean - Entropy uniqueness
Mathlib/InformationTheory/Entropy/Uniqueness.lean - Concrete entropy
Mathlib/InformationTheory/Entropy/Concrete.lean - Program complexity
Mathlib/InformationTheory/Entropy/Program.lean - Source coding
Mathlib/InformationTheory/Entropy/SourceCoding.lean
Entropy numbers
- Entropy number hierarchy
Mathlib/InformationTheory/EntropyNumber/Hierarchy.lean - Rota capstone
Mathlib/InformationTheory/EntropyNumber/RotaEntropy.lean
Complexity proofs
- CNF representation
Mathlib/InformationTheory/Complexity/CNF.lean - SAT tableau
Mathlib/InformationTheory/Complexity/Tableau.lean - SAT decomposition
Mathlib/InformationTheory/Complexity/Decomposition.lean - Machine walks
Mathlib/InformationTheory/Complexity/UTM.lean - Information P NP
Mathlib/InformationTheory/Complexity/PPNP.lean - Identity P NP
Mathlib/InformationTheory/Complexity/SetRFL.lean - Standard P NP
Mathlib/InformationTheory/Complexity/StandardComplexity.lean
Statistical physics
- Physical macrostates
Mathlib/InformationTheory/Physics/Common.lean - Uniform systems
Mathlib/InformationTheory/Physics/UniformSystems.lean - Statistical distributions
Mathlib/InformationTheory/Physics/StatisticalDistributions.lean - Physics distributions
Mathlib/InformationTheory/Physics/PhysicsDist.lean
Other components
- Engineer
Connections 24
- Engineer → Lean checker: checks proofs
README.md - Lean checker → Rota capstone: reports axioms
README.md - Lean checker → Information P NP: reports axioms
README.md - Lean checker → Identity P NP: reports axioms
README.md - Lean checker → Standard P NP: reports axioms
README.md - Rota axioms → Entropy uniqueness: constrains
README.md - Concrete entropy → Shannon entropy: shows satisfies
README.md - Concrete entropy → Rota axioms: satisfies
README.md - Program complexity → Time-information bridge: establishes RECT
README.md - Source coding → Shannon entropy: uses entropy
- Entropy number hierarchy → Rota capstone: supports scaling
- Rota capstone → Entropy uniqueness: uses uniqueness
README.md - Rota capstone → Concrete entropy: uses Shannon axioms
README.md - CNF representation → SAT tableau: walks clauses
README.md - SAT tableau → Information P NP: extracts information
README.md - SAT decomposition → Information P NP: supports criterion
- Machine walks → Information P NP: supports walk
- Entropy number hierarchy → Identity P NP: provides entropy numbers
README.md - CNF representation → Identity P NP: provides syntax
- Information P NP → Standard P NP: restated as standard complexity
README.md - Physical macrostates → Uniform systems: models systems
- Physical macrostates → Statistical distributions: provides physical entropy
- Statistical distributions → Shannon entropy: equals scaled Shannon
README.md - Physics distributions → Statistical distributions: defines distributions