Claim 4.3 —
ProvedPrivLearn.Parity.claim_4_3differential-privacyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1parity
Let , , let be any database of size , , and any parity function. Write for the probability that selects exactly from , and , which is if and otherwise. Then
The two sums are and up to the common factor of step 1, so this is the paper's statement that their ratio is at most . It is the key estimate in the privacy proof of (Lemma 4.2).
Formalization Note The paper writes the ratio. The product form avoids division by zero; it agrees with the ratio whenever the denominator is positive, and when the denominator vanishes the paper shows the numerator vanishes too, which the product form also asserts.
Preamble
import Mathlib import Definitions.Def_PrivLearn_Parity_Learner
Formal statement
namespace PrivLearn.Parity
/-- Claim 4.3, p. 15, in product form. For every database `z ∈ Dⁿ`, every index `i` and every
hypothesis `c_r`, with `p = ε/4`,
`∑_{T ⊆ [n]∖{i}} p^{|T|}(1−p)^{n−1−|T|} Pr[A(z) = c_r | S = T ∪ {i}]
≤ 2 ∑_{T ⊆ [n]∖{i}} p^{|T|}(1−p)^{n−1−|T|} Pr[A(z) = c_r | S = T]`,
i.e. `Pr[A(z) = c_r | i ∈ S] ≤ 2 Pr[A(z) = c_r | i ∉ S]` (the common factor `1/2` of step 1
cancels). -/
theorem claim_4_3 {d n : ℕ} (ε : ℝ) (hε : 0 < ε) (hε4 : ε ≤ 4) (z : Fin n → Example d)
(i : Fin n) (r : Fin d → ZMod 2) :
∑ T ∈ (Finset.univ.erase i).powerset,
(ε / 4) ^ T.card * (1 - ε / 4) ^ (n - 1 - T.card) * outProb z (insert i T) r ≤
2 * ∑ T ∈ (Finset.univ.erase i).powerset,
(ε / 4) ^ T.card * (1 - ε / 4) ^ (n - 1 - T.card) * outProb z T r := by sorry
end PrivLearn.Parity
Source
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately?, arXiv:0803.0924v3, p. 15, Claim 4.3 (proof p. 16)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.