Download & Build the Lean Proofs

The AczelCES library contains 2,059 declarations across 164 Lean 4 files with 0 sorry and only 2 axioms, both classical literature results (Aczél functional equation, Kolmogorov-Nagumo mean). All other theorems depend only on propext, Classical.choice, and Quot.sound.

Prerequisites

  • Lean 4 (v4.29.1+) via elan
  • Git
  • ~4 GB disk space (Mathlib cache)

1. Clone the repository

git clone https://github.com/jonsmirl/AczelCES.git
cd AczelCES

2. Fetch Mathlib cache

This downloads prebuilt .olean files so you don't need to rebuild Mathlib from source.

lake exe cache get

3. Build

lake build AczelCES

Full build: ~3,543 jobs. Takes 10-20 minutes on first build depending on hardware.

4. Verify axiom usage

Check that any theorem depends only on the two classical axioms plus Lean's standard trio:

# In Lean REPL or a scratch file:
#print axioms AczelCES.Core.Uniqueness.ces_uniqueness

Library structure

Files are organized into 16 topic folders matching the layered design of the archive:

FolderFilesTopics
Core/8Master generator, Aczél/KN axioms, uniqueness, network uniqueness, general weights
Derivatives/7Aggregator, factor shares, curvature, cost function, Fisher info, bridge
Structure/8Homogeneity, symmetry, log relation, concavity, cumulant tower, Hessian, isoquant Riemannian
SextupleRole/10Superadditivity, correlation robustness, strategic, network scaling, estimation, phase ordering, capstone, game theory
Static/5Production duality, Arrow-Pratt, elasticity, ten-way identity, IRS
Network/7Laplacian, spectral gap, Fiedler, fragmentation, diversity premium, uniqueness
Potential/11Effective curvature, Tsallis uniqueness, Q-equilibrium/dynamics, bilateral trade, firm scope, phase transition, welfare
Lyapunov/8Antitone, Tsallis concavity, unique minimizer, Shannon/Tsallis gradient flow, A3 iteration
Dynamics/22Business cycles, conservation, regime shifts, Phillips, indicators, Minsky speed, fiscal dynamics
Hierarchy/17Damping cancellation, spectral hierarchy, activation, institutional, RG, monetary policy, EMD bridge
Macro/10Multiplier, recession, stagflation, two-factor, tax, growth, directed change, green, accumulation
EntryExit/7Market structure, curvature in J, welfare, network entry
Information/6KL, binEntropy, Shannon, Chentsov bridge, welfare Bregman, Fisher-Rao geodesic
Chentsov/16Escort, exponential family, KL divergence, Fisher-Rao, Cramér-Rao, MLE, sufficiency, natural gradient, logit bridge
SocialChoice/7Preferences, Debreu, Arrow, Condorcet, voting rules, DeGroot, Sen
Applications/15Consumer theory, trade theory, welfare, inequality, AI transition, open economy, settlement

Axioms

Only 2 axioms are used, both classical results cited in their docstrings:

  • lit_aczel — Aczél functional equation theorem (1948)
  • lit_kolmogorov_nagumo — Kolmogorov-Nagumo mean theorem (1930)

Every other theorem depends only on Lean's standard metatheoretic axioms: propext, Classical.choice, Quot.sound.