Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Claim 4.3, p. 16 — one consistent equation at most halves the solution space

Proved
PrivLearn.Parity.solution_space_halving

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

finite-fieldslinear-algebrap2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1parity

Let z=((x1,y1),…,(xn,yn))z = ((x_1,y_1),\dots,(x_n,y_n))z=((x1​,y1​),…,(xn​,yn​)) be any database of labeled examples in {0,1}d×{0,1}\{0,1\}^d \times \{0,1\}{0,1}d×{0,1}, let T⊆[n]T \subseteq [n]T⊆[n] and i∈[n]i \in [n]i∈[n], and let VSV_SVS​ be the set of solutions r∈Z2dr \in \mathbb Z_2^dr∈Z2d​ of {xj⊙r=yj:j∈S}\{x_j \odot r = y_j : j \in S\}{xj​⊙r=yj​:j∈S}. If VT∪{i}≠∅V_{T \cup \{i\}} \neq \emptysetVT∪{i}​=∅, then

∣VT∣≤2 ∣VT∪{i}∣.|V_T| \le 2\, |V_{T \cup \{i\}}|.∣VT​∣≤2∣VT∪{i}​∣.

Over Z2\mathbb Z_2Z2​, a consistent linear constraint either halves the solution space or leaves it unchanged. This is the step that bounds by 222 the ratio in Claim 4.3, and hence the privacy loss of A\mathcal AA.

Preamble
import Mathlib
import Definitions.Def_PrivLearn_Parity_Learner
Formal statement
namespace PrivLearn.Parity

/-- Proof of Claim 4.3, p. 16: over `ℤ₂`, adding one consistent linear constraint to a system at
most halves its solution space: if `V_{T ∪ {i}} ≠ ∅` then `|V_T| ≤ 2 |V_{T ∪ {i}}|`, for every
database `z` (consistent or not), every `T ⊆ [n]` and every `i ∈ [n]`. -/
theorem solution_space_halving {d n : ℕ} (z : Fin n → Example d) (T : Finset (Fin n)) (i : Fin n)
    (h : (solSpace z (insert i T)).Nonempty) :
    (solSpace z T).card ≤ 2 * (solSpace z (insert i T)).card := by sorry

end PrivLearn.Parity
Source
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately?, arXiv:0803.0924v3, p. 16, proof of Claim 4.3, display
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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