Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Quartic switch validity on the full half interval

Proved
ThreeSum1960614.quartic_switch_bounds

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

3sumalgorithmsentropyword-ram

For every real 0≤t≤1/20\le t\le1/20≤t≤1/2, the exact quartic satisfies P(t)≤γ232(t)P(t)\le\gamma_{232}(t)P(t)≤γ232​(t) and 0<P′(t)<90<P'(t)<90<P′(t)<9. Its tangent at u=0.17200068185091493u=0.17200068185091493u=0.17200068185091493 lies below P(t)P(t)P(t) throughout the same interval. Both endpoints are included; the conclusion concerns the whole continuum.

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.quartic_switch_bounds (t : ℝ)
    (ht : t ∈ Set.Icc (0 : ℝ) (1 / 2)) :
    phi t ≤ gamma 232 t ∧ 0 < phiDeriv t ∧ phiDeriv t < 9 ∧
    phi tangentPoint + (t - tangentPoint) * phiDeriv tangentPoint ≤ phi t := by sorry
Source
User-supplied 3sum_certificate_1p960614_v3/3sum_certificate_v3/PROOF.md (14 October 2026); Sections 2–3; upstream https://github.com/c0ldzy17/three-sum-lean/tree/2b639655e07421b9ac743de9090459bab473a7c0
Read-back

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

For every real number ttt satisfying 0≤t≤120 \le t \le \tfrac120≤t≤21​, let H(x)=−xlog⁡x−(1−x)log⁡(1−x)log⁡2H(x)=\frac{-x\log x-(1-x)\log(1-x)}{\log 2}H(x)=log2−xlogx−(1−x)log(1−x)​, where log⁡\loglog is the natural logarithm, let P(x)=785174904x+72447023x2+24044466x3+12022459x4100000000P(x)=\frac{785174904x+72447023x^2+24044466x^3+12022459x^4}{100000000}P(x)=100000000785174904x+72447023x2+24044466x3+12022459x4​, let D(x)=785174904+2⋅72447023x+3⋅24044466x2+4⋅12022459x3100000000D(x)=\frac{785174904+2\cdot72447023x+3\cdot24044466x^2+4\cdot12022459x^3}{100000000}D(x)=100000000785174904+2⋅72447023x+3⋅24044466x2+4⋅12022459x3​, and let a=17200068185091493100000000000000000a=\frac{17200068185091493}{100000000000000000}a=10000000000000000017200068185091493​. The theorem asserts all four inequalities simultaneously: P(t)≤232H(1232)−232H(1−t232)P(t)\le 232H(\tfrac1{232})-232H(\tfrac{1-t}{232})P(t)≤232H(2321​)−232H(2321−t​), 0<D(t)0<D(t)0<D(t), D(t)<9D(t)<9D(t)<9, and P(a)+(t−a)D(a)≤P(t)P(a)+(t-a)D(a)\le P(t)P(a)+(t−a)D(a)≤P(t). The sole hypothesis on ttt is membership in the closed interval [0,12][0,\tfrac12][0,21​], so both endpoints t=0t=0t=0 and t=12t=\tfrac12t=21​ are included in each conclusion. The entropy arguments 1232\tfrac1{232}2321​ and 1−t232\tfrac{1-t}{232}2321−t​ lie in [1464,1232][\tfrac1{464},\tfrac1{232}][4641​,2321​], strictly between 000 and 111; thus all logarithms occurring in these expressions have positive arguments. Both bounds involving PPP are non-strict, whereas the lower and upper bounds on the explicitly specified polynomial DDD are strict.

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