Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.2, p. 5 — if x is the unique solution of S ∪ T then |T| ≥ m − n

Proved
ConsHalving.Additive.termination_card

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

consensus-halvingfair-divisionlinear-algebrap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let nnn agents have additive utilities ui(j)u_i(j)ui​(j) over mmm items, let TTT be a set of items, and let xxx solve the system SSS: ∑j(xj−12)ui(j)=0\sum_j(x_j-\tfrac12)u_i(j)=0∑j​(xj​−21​)ui​(j)=0 for every agent iii. If xxx is the only solution of S∪TS\cup TS∪T, that is, every yyy with ∑j(yj−12)ui(j)=0\sum_j(y_j-\tfrac12)u_i(j)=0∑j​(yj​−21​)ui​(j)=0 for all iii and yj=xjy_j=x_jyj​=xj​ for all j∈Tj\in Tj∈T equals xxx, then

∣T∣ ≥ m−n.|T|\ \ge\ m-n .∣T∣ ≥ m−n.

This is the termination step of the algorithm: when the loop stops, the n+∣T∣n+|T|n+∣T∣ equations of S∪TS\cup TS∪T pin down a unique point, so at most nnn items are left outside TTT, and hence at most nnn items are cut.

Formalization Note The inequality is written m≤n+∣T∣m\le n+|T|m≤n+∣T∣ to avoid truncated subtraction of natural numbers. The hypothesis that xxx itself solves SSS is part of the paper's situation (xxx is the unique solution) and is needed: without it the uniqueness hypothesis could hold vacuously for an infeasible system.

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

theorem termination_card {n m : ℕ} (u : Fin n → Fin m → ℝ) (T : Finset (Fin m))
    (x : Fin m → ℝ) (hx : SolvesS u x) (huniq : ∀ y, SolvesST u T x y → y = x) :
    m ≤ n + T.card := 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, last paragraph
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