Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Appendix E.1 — exponential tail for DARE output error

Proved
DAREx.DAREExponentialTail

by Minghui · Sep 29, 2026 · Mathlib c5ea003 (Lean v4.30.0)

delta-parameter-pruningmachine-learningprobability

Notation. Ω={0,1}n\Omega=\{0,1\}^nΩ={0,1}n is the finite space of Bernoulli drop masks; nnn is the number of coordinates and ppp is the drop probability. Coefficients are fixed before drawing the mask. Fix n≥0n\ge0n≥0, deterministic c∈Rnc\in\mathbb R^nc∈Rn, 0<p<10<p<10<p<1, energy Q=∑jcj2>0Q=\sum_jc_j^2>0Q=∑j​cj2​>0, and t>0t>0t>0. Draw independent Bernoulli(ppp) drop indicators and let H=∑jcj(1−(1−ωj)/(1−p))H=\sum_jc_j(1-(1-\omega_j)/(1-p))H=∑j​cj​(1−(1−ωj​)/(1−p)). With Φ\PhiΦ defined by the logarithmic quotient and Φ(1/2)=1/2\Phi(1/2)=1/2Φ(1/2)=1/2,

Pr⁡(∣H∣>t)≤2exp⁡(−t2(1−p)2Φ(p)Q).\Pr(|H|>t)\le2\exp\left(-\frac{t^2(1-p)^2}{\Phi(p)Q}\right).Pr(∣H∣>t)≤2exp(−Φ(p)Qt2(1−p)2​).

Formalization note: direct source tail formula with explicit positive energy for its denominator; strict >t>t>t matches the source. Arbitrary signed coefficients are allowed. The main confidence-bound goal separately includes the zero-energy case.

Source: Deng et al., DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models, ICLR 2025, arXiv:2410.09344v2, https://arxiv.org/pdf/2410.09344v2, Section 3.2, PDF p. 5, equation (2); Appendix E.1, PDF p. 30, unnumbered tail display immediately preceding equation (8), from Theorem E.1, PDF p. 29, equations (6)–(7).

Preamble
import Definitions.Def_DAREx_Model
Formal statement
namespace DAREx
theorem DAREExponentialTail :
  ∀ (n : ℕ) (c : Fin n → ℝ) (p t : ℝ),
    0 < p → p < 1 → 0 < energy c → 0 < t →
    probability p (fun ω ↦ t < |dareError p c ω|) ≤
      2 * Real.exp (-(t ^ 2 * (1 - p) ^ 2 / (phi p * energy c))) := by sorry
end DAREx
Source
Deng et al., DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models, ICLR 2025, arXiv:2410.09344v2, https://arxiv.org/pdf/2410.09344v2, Section 3.2, PDF p. 5, equation (2); Appendix E.1, PDF p. 30, unnumbered tail display immediately preceding equation (8), from Theorem E.1, PDF p. 29, equations (6)–(7).
Read-back

What the Lean code literally says, in plain math · inherited model (exact model identifier unavailable)

This open theorem asserts that, for every natural number nnn, every real coefficient family c:In→Rc:I_n\to\mathbb Rc:In​→R with In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and every pair of real numbers p,tp,tp,t satisfying 0<p<10<p<10<p<1, V:=∑j∈Incj2>0V:=\sum_{j\in I_n}c_j^2>0V:=∑j∈In​​cj2​>0, and t>0t>0t>0, one has ∑ω∈Ωn: t<∣D(ω)∣wp(ω)≤2exp⁡ ⁣(−t2(1−p)2/(ϕ(p)V))\sum_{\omega\in\Omega_n:\ t<|D(\omega)|}w_p(\omega)\le2\exp\!\bigl(-t^2(1-p)^2/(\phi(p)V)\bigr)∑ω∈Ωn​: t<∣D(ω)∣​wp​(ω)≤2exp(−t2(1−p)2/(ϕ(p)V)). Here Ωn={false,true}In\Omega_n=\{\mathsf{false},\mathsf{true}\}^{I_n}Ωn​={false,true}In​, wp(ω)=∏j∈Inap(ωj)w_p(\omega)=\prod_{j\in I_n}a_p(\omega_j)wp​(ω)=∏j∈In​​ap​(ωj​) with ap(true)=pa_p(\mathsf{true})=pap​(true)=p and ap(false)=1−pa_p(\mathsf{false})=1-pap​(false)=1−p, so the left-hand side is the probability under the finite product distribution of independent Boolean coordinates each true with probability ppp; D(ω)=∑j∈In(cj−hj(ωj))D(\omega)=\sum_{j\in I_n}(c_j-h_j(\omega_j))D(ω)=∑j∈In​​(cj​−hj​(ωj​)) with hj(true)=0h_j(\mathsf{true})=0hj​(true)=0 and hj(false)=cj/(1−p)h_j(\mathsf{false})=c_j/(1-p)hj​(false)=cj​/(1−p); and ϕ(p)=12\phi(p)=\tfrac12ϕ(p)=21​ at p=12p=\tfrac12p=21​ and ϕ(p)=(1−2p)/log⁡((1−p)/p)\phi(p)=(1-2p)/\log((1-p)/p)ϕ(p)=(1−2p)/log((1−p)/p) otherwise. Thus the error is a sum of cjc_jcj​ on true coordinates and cj−cj/(1−p)c_j-c_j/(1-p)cj​−cj​/(1−p) on false coordinates, with no subtraction of a separately introduced bias. The bad event is strictly t<∣D(ω)∣t<|D(\omega)|t<∣D(ω)∣, so masks with ∣D(ω)∣=t|D(\omega)|=t∣D(ω)∣=t are not counted. There are no sign or sum constraints on ccc, no upper bound on ttt, and no separately stated lower bound on ϕ(p)\phi(p)ϕ(p); the only explicit energy hypothesis is V>0V>0V>0, which makes the premises unsatisfiable for n=0n=0n=0 or for the identically zero coefficient family. The size n=1n=1n=1 and all nonzero real coefficient families are otherwise included. The bound is the displayed exponential expression itself, with no truncation at 111. The supplied proof slot is a placeholder; no completed proof is supplied.

Human review
  • Endorsed by Shuze Chen · Sep 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Minghui · Sep 29, 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