This repository contains a Lean formalization of the main dependency structure and applications in Nikolai Ivanov's Scarf's theorems, simplices, and oriented matroids.
The repository contains only the BeyondSperner development. The separate Gametheory
formalization of Brouwer's fixed-point theorem and Nash equilibria is not included here.
The arrows show how one formalized layer supplies the next theorem or application.
flowchart TD
SC["Finite simplicial complexes<br/>simplex families and F₂ chains"]
PS["Pseudo-simplex incidence"]
CS["Chain-simplex boundary identity"]
OR["Indexed linear orders<br/>dominant sets and associated families"]
OM["Signed-circuit oriented matroids<br/>weak elimination only"]
WS["Finite weak-to-strong elimination"]
DU["Underlying matroid, cocircuits,<br/>Farkas, duality, Todd"]
LX["Constructed lexicographic<br/>one-point extension"]
ND["Nondegenerate coloring<br/>Theorem 6.5 and odd parity"]
PT["Perturbation setup<br/>Lemmas 8.1–8.4"]
GS["Theorem 8.5<br/>generalized Scarf"]
VS["Realizable/vector Scarf<br/>Section 7"]
CL["Classical colorful-cell Scarf"]
BR["Scarf → Brouwer<br/>standard and affine simplices<br/>finite-dimensional compact convex sets"]
KA["Vector Scarf → Kakutani<br/>simplex and compact-convex forms"]
CH["Section 10 chains and<br/>intersection numbers"]
T8A["Theorem 10.8<br/>paper intersection route"]
T8B["Theorem 10.8<br/>oriented-matroid route"]
T910["Theorems 10.9 and 10.10"]
FR["Freudenthal/Scarf complexes<br/>Section 4"]
GT["Finite geometric triangulations<br/>minimal data → purity/nonbranching"]
SC --> PS --> CS
OR --> PS
OM --> WS --> DU --> LX
DU --> ND
LX --> PT
ND --> PT --> GS
CS --> GS
OR --> GS
GS --> VS --> KA
GS --> CL --> BR
CS --> CH --> T8A --> T910
DU --> T8B --> T910
FR --> CS
FR --> T910
GT --> CS
GT --> T910
The two Theorem 10.8 nodes are dependency-independent: one follows the paper's intersection-number route, while the other is supplied by the oriented-matroid coloring route. Both feed the common Theorem 10.9 and Theorem 10.10 application layers.
The formalized Scarf route now proves Brouwer's fixed-point theorem at three levels:
- continuous self-maps of a finite standard simplex;
- continuous self-maps of the convex hull of an arbitrary finite real affine basis;
- continuous self-maps of any nonempty compact convex subset of an arbitrary finite-dimensional real normed space.
The final public theorem is
BeyondSperner.ScarfBrouwer.scarf_brouwer_fixedPoint_compactConvex, defined in
BeyondSperner/FixedPoint/CompactConvexBrouwer.lean.
It contains the compact set in a full affine simplex, constructs the nonexpansive nearest-point
retraction in Euclidean space, applies the affine-simplex theorem, and transports the result back
through a continuous linear equivalence. No pre-existing general Brouwer or Schauder fixed-point
theorem is used.
The Section 9 Scarf argument first proves Kakutani's theorem on a finite standard simplex. The
module BeyondSperner/FixedPoint/CompactConvexKakutani.lean
then transports it to every nonempty compact convex subset of an arbitrary finite-dimensional
real normed space. It provides both a closed-graph formulation and the usual compact-valued,
convex-valued, upper-hemicontinuous formulation. The construction reuses the enclosing affine
simplex, Euclidean metric projection, and continuous-linear-equivalence infrastructure; it does
not invoke a pre-existing general Kakutani or Schauder fixed-point theorem.
The project uses Lean 4.33.0 and mathlib v4.33.0, pinned by lean-toolchain and
lake-manifest.json.
The complete local verification has been run successfully with:
lake build
lake env lean FormalizationInterface/AuditAll.lean
lake env lean FormalizationInterface/Audit.leanThe Lean CI workflow is configured to run the same three commands on pushes to main, pull
requests targeting main, and manual dispatch. The badge reports the remote workflow status;
local success and remote CI success are separate checks.
BeyondSperner.leanis the umbrella import.BeyondSperner/contains the mathematical formalization.BeyondSperner/FixedPointcontains the Scarf routes to Brouwer and Kakutani, including their finite-dimensional compact-convex extensions.FormalizationInterface/contains theorem-route adapters, status documentation, and executable audits.
For a detailed correspondence between the paper and Lean declarations, see
FormalizationInterface/BeyondSperner.md. For the
formalization status and proof architecture, see
FormalizationInterface/STATUS.md.