Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Local-cover incidence and degree bounds for general expansion

Proved
ThreeSum1960614.local_cover_bounds

by Yuxuan Xu · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

3sumalgorithmsentropyword-ram

For natural c≥3c\ge3c≥3 and h>0h>0h>0, set s=2hs=2hs=2h, L=csL=csL=cs, M=(Ls)M=\binom LsM=(sL​), V=(Lh)V=\binom LhV=(hL​), Δ=(L−hh)\Delta=\binom{L-h}hΔ=(hL−h​), and G=(sh)G=\binom shG=(hs​). Then VΔ=MGV\Delta=MGVΔ=MG, Δ≤V\Delta\le VΔ≤V, G<2s<MG<2^s<MG<2s<M, and Δ2<M2s\Delta^2<M2^sΔ2<M2s. This finite statement permits expansion 232; it does not by itself establish the global encoding or machine cost.

Preamble
import Definitions.Def_ThreeSum1960614_Analysis
import Definitions.Def_TrulySubcubicAPSP_SourceSpecification

set_option autoImplicit false
set_option relaxedAutoImplicit false
open ThreeSum1960614
Formal statement
theorem ThreeSum1960614.local_cover_bounds (c h : ℕ)
    (hc : 3 ≤ c) (hh : 0 < h) :
    Nat.choose (c * (2 * h)) h * Nat.choose (c * (2 * h) - h) h =
      Nat.choose (c * (2 * h)) (2 * h) * Nat.choose (2 * h) h ∧
    Nat.choose (c * (2 * h) - h) h ≤ Nat.choose (c * (2 * h)) h ∧
    Nat.choose (2 * h) h < 2 ^ (2 * h) ∧
    2 ^ (2 * h) < Nat.choose (c * (2 * h)) (2 * h) ∧
    Nat.choose (c * (2 * h) - h) h ^ 2 <
      Nat.choose (c * (2 * h)) (2 * h) * 2 ^ (2 * h) := by sorry
Source
User-supplied 3sum_certificate_1p960614_v3/3sum_certificate_v3/PROOF.md (14 October 2026); Section 6; upstream https://github.com/c0ldzy17/three-sum-lean/tree/2b639655e07421b9ac743de9090459bab473a7c0
Read-back

What the Lean code literally says, in plain math · GPT-6


declaration: ThreeSum1960614.local_cover_bounds readback_model: GPT-6

For every pair of natural numbers c,hc,hc,h satisfying 3≤c3\le c3≤c and 0<h0<h0<h, let N=c(2h)=2chN=c(2h)=2chN=c(2h)=2ch, and let (mr)\binom{m}{r}(rm​) denote the number of rrr-element subsets of an mmm-element set (with value 000 when r>mr>mr>m). The theorem asserts that all five of the following statements hold simultaneously:

(Nh)(N−hh)=(N2h)(2hh),(N−hh)≤(Nh),(2hh)<22h,22h<(N2h),((N−hh))2<(N2h) 22h.\begin{aligned} \binom{N}{h}\binom{N-h}{h} &=\binom{N}{2h}\binom{2h}{h},\\ \binom{N-h}{h} &\le\binom{N}{h},\\ \binom{2h}{h} &<2^{2h},\\ 2^{2h} &<\binom{N}{2h},\\ \left(\binom{N-h}{h}\right)^2 &<\binom{N}{2h}\,2^{2h}. \end{aligned}(hN​)(hN−h​)(hN−h​)(h2h​)22h((hN−h​))2​=(2hN​)(h2h​),≤(hN​),<22h,<(2hN​),<(2hN​)22h.​

All products, powers, binomial coefficients, and comparisons here are in the natural numbers. The subtraction in N−hN-hN−h is natural-number subtraction, which gives 000 if the subtrahend exceeds the minuend; under these hypotheses N≥6h≥hN\ge6h\ge hN≥6h≥h, so it equals the ordinary nonnegative difference. The hypotheses exclude h=0h=0h=0 and c=0,1,2c=0,1,2c=0,1,2; they also ensure that every displayed binomial coefficient has its lower argument at most its upper argument. The second assertion is a non-strict upper bound, whereas the third, fourth, and fifth assertions are strict bounds.

Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 14, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me