Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 — midrange stability for nested coordinate sets

Proved
TightContinualCounting.LowerBounds.lemma_4

by mikedeng1 · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

continual-countingdifferential-privacylower-boundsp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability

For v∈Rdv\in\mathbb R^dv∈Rd and nonempty coordinate sets u′⊆u⊆[d]u'\subseteq u\subseteq[d]u′⊆u⊆[d], let cuc_ucu​ be the midrange and rur_uru​ the range. Then

∣cu′(v)−cu(v)∣≤ru(v)−ru′(v)2.|c_{u'}(v)-c_u(v)|\le\frac{r_u(v)-r_{u'}(v)}2.∣cu′​(v)−cu​(v)∣≤2ru​(v)−ru′​(v)​.

This bounds how much the midrange probe can move when passing to a subset, in terms of the loss of range. It supports the midrange branch of the accuracy bound.

Differences from the source:

  • encoding: coordinates [d]={1,…,d} → coordinates Fin d={0,…,d−1}; reason: the order-preserving reindexing preserves every interval, vector and finite sum
Preamble
import Mathlib
import Definitions.Def_TightContinualCounting_LowerBounds_probes
Formal statement
namespace TightContinualCounting.LowerBounds

/-- Lemma 4 (Midrange stability), p.5. -/
theorem lemma_4 {d : ℕ} (v : Fin d → ℝ) (u u' : Finset (Fin d))
    (hu' : u'.Nonempty) (hsub : u' ⊆ u) :
    |midProbe u' v - midProbe u v| ≤ (rangePotential u v - rangePotential u' v) / 2 := by sorry

end TightContinualCounting.LowerBounds
Source
Charlie Harrison, Ethan Leeman, Tight Lower Bounds for Differentially Private Continual Counting, STOC 2027 submission #1453 (October 2026), Lemma 4 p.5
Human review
  • Endorsed by Shuze Chen · Nov 10, 2026

    Confirmed by the moderator at approval.

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