Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.2, p. 5 — after Step 3(c), s ∈ [0,1]^m, unchanged where y_j = x_j, and s_{j*} ∈ {0, 1}

Proved
ConsHalving.Additive.step_3c_bounds

by mikedeng1 · Oct 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

consensus-halvingfair-divisionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let x∈[0,1]mx\in[0,1]^mx∈[0,1]m, let y∈Rmy\in\mathbb R^my∈Rm, and let j∗j^*j∗ be an item with yj∗≠xj∗y_{j^*}\ne x_{j^*}yj∗​=xj∗​ that minimizes γj\gamma_jγj​ (Step 3(a)) over all items jjj with yj≠xjy_j\ne x_jyj​=xj​:

γj∗≤γjwhenever yj≠xj.\gamma_{j^*}\le\gamma_j\qquad\text{whenever } y_j\ne x_j .γj∗​≤γj​whenever yj​=xj​.

Let sj=(1−γj∗) xj+γj∗ yjs_j=(1-\gamma_{j^*})\,x_j+\gamma_{j^*}\,y_jsj​=(1−γj∗​)xj​+γj∗​yj​ (Step 3(c)). Then

  1. sj∈[0,1]s_j\in[0,1]sj​∈[0,1] for every item jjj;
  2. sj=xjs_j=x_jsj​=xj​ for every item jjj with yj=xjy_j=x_jyj​=xj​;
  3. sj∗∈{0,1}s_{j^*}\in\{0,1\}sj∗​∈{0,1}.

Together with the previous milestone, this shows that one pass of the loop keeps the current point a consensus halving and uncuts item j∗j^*j∗.

Formalization Note γj\gamma_jγj​ is used only on coordinates with yj≠xjy_j\ne x_jyj​=xj​, as in the paper; the hypothesis yj∗≠xj∗y_{j^*}\ne x_{j^*}yj∗​=xj∗​ is the paper's "j∗=argmin⁡j∈M, yj≠xjγjj^*=\operatorname{argmin}_{j\in M,\,y_j\ne x_j}\gamma_jj∗=argminj∈M,yj​=xj​​γj​".

Preamble
import Mathlib
import Definitions.Def_ConsHalving_Additive_Setting
Formal statement
namespace ConsHalving.Additive

theorem step_3c_bounds {m : ℕ} (x y : Fin m → ℝ) (jstar : Fin m)
    (hx : IsFractional x) (hstar : y jstar ≠ x jstar)
    (hmin : ∀ j, y j ≠ x j → gamma x y jstar ≤ gamma x y j) :
    IsFractional (stepPoint x y (gamma x y jstar)) ∧
      (∀ j, y j = x j → stepPoint x y (gamma x y jstar) j = x j) ∧
      (stepPoint x y (gamma x y jstar) jstar = 0 ∨ stepPoint x y (gamma x y jstar) jstar = 1) := by sorry

end ConsHalving.Additive
Source
Goldberg et al., Consensus Halving for Sets of Items, arXiv:2007.06754v1, p. 5, proof of Theorem 2.2, 'Furthermore, for each j such that yj ≠ xj …'
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 19, 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