Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.5 — the amplified learner A∗\mathcal A^*A∗ is ε-differentially private (0 < ε ≤ 1/2)

Proved
PrivLearn.Parity.lemma_4_5

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

differential-privacyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1parity

For all constants c,c′>0c, c' > 0c,c′>0, all d≥1d \ge 1d≥1, 0<ε≤1/20 < \varepsilon \le 1/20<ε≤1/2, α,β∈(0,1/2)\alpha, \beta \in (0, 1/2)α,β∈(0,1/2) and every database size nnn, the algorithm A∗(⋅,ε,α,β)\mathcal A^*(\cdot, \varepsilon, \alpha, \beta)A∗(⋅,ε,α,β) with constants c,c′c, c'c,c′ is ε\varepsilonε-differentially private: for all neighboring databases z,z′z, z'z,z′ of nnn labeled examples and every set EEE of outputs,

Pr⁡[A∗(z,ε,α,β)∈E]≤eεPr⁡[A∗(z′,ε,α,β)∈E].\Pr[\mathcal A^*(z,\varepsilon,\alpha,\beta) \in E] \le e^{\varepsilon} \Pr[\mathcal A^*(z',\varepsilon,\alpha,\beta) \in E].Pr[A∗(z,ε,α,β)∈E]≤eεPr[A∗(z′,ε,α,β)∈E].

This is the privacy half of Theorem 4.4. It holds also when n≤kn′+sn \le kn' + sn≤kn′+s, where the output is the constant "insufficient samples".

Formalization Note The restriction ε≤1/2\varepsilon \le 1/2ε≤1/2 is inherited from Lemma 4.2, on which the paper's proof rests; the paper does not claim more than its proof gives for A\mathcal AA. Databases are arbitrary, labeled consistently or not.

Preamble
import Mathlib
import Definitions.Def_PrivLearn_Generic_Privacy
import Definitions.Def_PrivLearn_Parity_Amplified
Formal statement
namespace PrivLearn.Parity

/-- Lemma 4.5 (Privacy of A*), p. 17. For all constants `c, c′ > 0`, all `d ≥ 1`,
`0 < ε ≤ 1/2`, `α, β ∈ (0, 1/2)` and every database size `n`, the algorithm `A*(·, ε, α, β)` is
ε-differentially private. -/
theorem lemma_4_5 (c c' : ℝ) (hc : 0 < c) (hc' : 0 < c') (d : ℕ) (hd : 1 ≤ d) (ε α β : ℝ)
    (hε : 0 < ε) (hε2 : ε ≤ 1 / 2) (hα : 0 < α) (hα2 : α < 1 / 2) (hβ : 0 < β) (hβ2 : β < 1 / 2)
    (n : ℕ) :
    PrivLearn.Generic.IsDP (fun z : Fin n → Example d => algAstar c c' d ε α β z) ε := by sorry

end PrivLearn.Parity
Source
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately?, arXiv:0803.0924v3, p. 17, Lemma 4.5
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