Formal proofs in number theory, algorithms, combinatorics, and games. Each project links to its theorem statement, proof sources, credits, and instructions for reproducing the checks.
- Primitive-root primes at the optimal exponent. For each integer base other than −1 or a square, every sufficiently large interval
(x, 2x)contains at leastc_b x / log xprimes for which the base is a primitive root, for a positive constant depending on the base. A separate theorem rules out every exponent below 1 in the scored formulation. Proof and credits · Exact statement and proof - Catalan’s constant has irrationality exponent at most 267.82628085. A determinant-preserving change of basis and a tighter contour estimate give the improved bound. Proof package · Verifier result
- Deterministic 3SUM in
O(n^1.9202794081847461)time on a word RAM. The proof sharpens the weighted bank and query estimates and carries those margins through to the solver’s running time. Proof package · Verifier result - A smaller residual bound in the 35-vertex Sidorenko construction. The sequential rank and remainder calculation gives
R ≤ 28d, lowering the constant from 29 to 28 in the same-constant bound. For positive defectd, it bounds the exponent correction by−D + 20whenD ≥ 29. Theorem scope and credits · Lean proof - A stronger one-sample matroid prophet guarantee. For any finite matroid, the policy guarantees about
5.1153454753037623621 × 10⁻¹⁰of the expected offline optimum, an improvement of about0.00801%over the previous leaderboard fraction. Fornelements it uses47n + 27independent fair bits, even when the arrival order can depend on the values, samples, and seed. Proof and exact fraction · Fair-bit theorem - A 32-edge final grid for the planar unit-distance argument. The package formalizes Rohan Arun’s 8×4 algebraic obstruction. The one-line and common-line cases use 24 and 12 edges, respectively. Proof and credits · Lean proof
- Snaky in 18 Maker moves on the infinite square lattice. The proof checks 1,973 strategy cards and handles Breaker moves anywhere on the board, including outside the region used to generate the cards. Strategy and proof · Verifier result
- A deterministic least-factor machine. A single finite-alphabet TM2 machine computes
Nat.minFacon binary inputs. For everyε > 0it uses at most2^(b^(2/3 + ε))steps for all sufficiently large input bit lengthsb. Proof and number-theory dependencies · Lean theorem - ZF191 removes one state from James Chang’s ZF192. Under the arithmetic-soundness assumption, this construction gives
N_ZFC ≤ 191. Lean checks the startup and machine simulation certificates. The accompanying write-up gives the mathematical argument connecting the machine to ZFC independence. Machine and proof · Startup theorem
- Bombieri–Vinogradov source theorem.
archived_bombieri_vinogradov_sourcesupplies the prime-distribution estimate used by the primitive-root sieve. A companion splitting estimate,prop_splitting_le_x, handles prime moduliq ≤ x. Distribution estimate · Splitting estimate - Optimality and a square-base obstruction for primitive roots.
not_bound_of_lt_oneuses Chebyshev’s upper bound to rule out any smaller logarithmic exponent.no_dyadic_bound_for_fourrules out a positive lower bound for base 4. Lean proofs - Finite-field basis choices with subspace avoidance. Over a field of size
q,genericPairs_cardgives a lower bound of(q² − 4q)(q² − q)for ordered bases in a two-dimensional space whose first vector avoids three prescribed proper subspaces. Lean proof - Exact Sidorenko defect and remainder formulas.
placed_defect_profile_identityexpresses the defect as the sum of local ranks minus twice the global rank.placed_arun_remainder_identitycomputes the remainder from the rank profile. Lean proofs - Nonvacuity and one-sided limits of the grid obstruction.
grid_hypotheses_satisfiableconstructs a model satisfying the individual distance equations for every positive grid shape.no_grid_obstruction_of_single_sideshows that a single row or column always satisfies the rectangle relations. Lean proofs - Determinant-preserving shifted columns.
det_shiftedColumnBasisproves that replacing monomial columns with the shifted basis used in the Catalan proof preserves the determinant. The same file bounds the resulting minors. Lean proofs - Exact matroid ratio improvement.
improved_branch_cancels_ratchecks the cancellation that permits a smaller probability for the maximum branch, andrecordRatio_lt_improvedRatioproves the resulting fraction is strictly larger. A separate one-element example rules out any guarantee above 1. Ratio calculation · One-element example