Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Corollary 3.5 — for counting queries the Net mechanism is (2α, δ)-useful once α ≥ (2/(εn)) log(|N_α(C)|/δ)

Proved
PrivateRelease.NetMechanism.corollary_3_5

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

counting-queriesdifferential-privacyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1query-release

Let XXX be a finite data universe, n≥1n\ge1n≥1 the input size, and CCC a class of predicates φ:X→{0,1}\varphi:X\to\{0,1\}φ:X→{0,1} with counting queries QφQ_\varphiQφ​. Let NNN be a minimum α\alphaα-net for {Qφ:φ∈C}\{Q_\varphi:\varphi\in C\}{Qφ​:φ∈C}. If ε>0\varepsilon>0ε>0, 0<δ≤10<\delta\le10<δ≤1 and

α ≥ 2εn log⁡∣N∣δ,\alpha\ \ge\ \frac{2}{\varepsilon n}\,\log\frac{|N|}{\delta},α ≥ εn2​logδ∣N∣​,

then the Net mechanism run on NNN is (2α,δ)(2\alpha,\delta)(2α,δ)-useful for CCC: for every input z∈Xnz\in X^nz∈Xn, with probability at least 1−δ1-\delta1−δ its output D^\hat DD^ satisfies ∣Qφ(D^)−Qφ(z)∣≤2α|Q_\varphi(\hat D)-Q_\varphi(z)|\le2\alpha∣Qφ​(D^)−Qφ​(z)∣≤2α for every φ∈C\varphi\in Cφ∈C.

It reduces the utility of the Net mechanism for counting queries to a bound on the size of minimum α-nets, which Theorems 3.6 and 3.9 supply.

Formalization Note The paper's "log⁡Nα(C)/δ\log N_\alpha(C)/\deltalogNα​(C)/δ" is the logarithm of ∣Nα(C)∣/δ|N_\alpha(C)|/\delta∣Nα​(C)∣/δ. No positivity hypothesis on the quality score's sensitivity GSqGS_qGSq​ is needed here: when GSq=0GS_q=0GSq​=0 the mechanism is uniform on NNN (Lean's x/0=0x/0=0x/0=0), and for counting queries this happens only when 2α≥12\alpha\ge12α≥1 or every query of CCC is constant, where every output is accurate. Neighbours differ in exactly one entry.

Preamble
import Mathlib
import Definitions.Def_PrivateRelease_NetMechanism_ExpMech
Formal statement
namespace PrivateRelease.NetMechanism

/-- Corollary 3.5 (p. 9): for any class `C` of counting queries on inputs of size `n ≥ 1`, the
Net mechanism run on a minimum α-net `N` is `(2α, δ)`-useful whenever
`α ≥ (2/(εn)) log(|N|/δ)`. -/
theorem corollary_3_5 {X : Type} [Fintype X] {n : ℕ} (hn : 1 ≤ n) (C : Set (X → Bool))
    (ε α δ : ℝ) (N : Finset (Database X)) (hε : 0 < ε) (hδ : 0 < δ) (hδ1 : δ ≤ 1)
    (hN : IsMinNet (countingClass C) α N)
    (hα : 2 / (ε * n) * Real.log ((N.card : ℝ) / δ) ≤ α) :
    Useful (countingClass C) (2 * α) δ (netMech (n := n) (countingClass C) ε N) := by sorry

end PrivateRelease.NetMechanism
Source
Blum, Ligett, Roth, A Learning Theory Approach to Non-Interactive Database Privacy, arXiv:1109.2229v1 (2011), p. 9, Corollary 3.5
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me