Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.2: a unique solution needs at least mmm equations

Proved
ConsensusHalvingItems.Additive.unique_solution_card_le

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

linear-algebra

Let AAA be an r×mr \times mr×m matrix over a field KKK and b∈Krb \in K^rb∈Kr. If the linear system Ay=bA y = bAy=b in mmm unknowns has a unique solution, then

m≤r,m \le r ,m≤r,

that is, the number of equations is at least the number of unknowns. The proof of Theorem 2.2 applies this to the system S∪TS \cup TS∪T at the end of the algorithm.

Differences from the source:

  • generalization: linear equations over the field of the utilities (real numbers) → matrix equations A y = b over an arbitrary field K; reason: the statement specializes to real (and rational) systems
Preamble
import Mathlib
Formal statement
namespace ConsensusHalvingItems.Additive

/-- **A unique solution needs at least as many equations as unknowns.**
Goldberg, Hollender, Igarashi, Manurangsi, Suksompong, *Consensus Halving for Sets of Items*,
arXiv:2007.06754v1, proof of Theorem 2.2, ¶5, p. 5: "Recall that a system of linear
equations with m variables can only have a unique solution when the number of constraints is at
least m."

Let `K` be a field, `A` an `r × m` matrix over `K` and `b ∈ K^r`. If the system `A y = b` has
a solution `y₀` and every solution equals `y₀`, then `m ≤ r`.

**Formalization Note.** Stated over an arbitrary field; the paper uses it over the field of the
utilities. -/
theorem unique_solution_card_le {K : Type*} [Field K] {r m : ℕ} (A : Matrix (Fin r) (Fin m) K)
    (b : Fin r → K) (y₀ : Fin m → K) (hy₀ : A.mulVec y₀ = b)
    (huniq : ∀ y, A.mulVec y = b → y = y₀) : m ≤ r := by sorry

end ConsensusHalvingItems.Additive
Source
Goldberg, Hollender, Igarashi, Manurangsi, Suksompong, Consensus Halving for Sets of Items, arXiv:2007.06754v1, proof of Theorem 2.2, ¶5, p. 5

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