public main green
Public sharp additive McDiarmid specialization
The public repository checks `mcdiarmid_additive_independent`, with the sharp exponent written in the Lean type itself.
FormalSLT/Concentration/SharpMcDiarmid.lean:244
FormalSLT public status
This legacy route has been refreshed from the old v0.1 snapshot to the current v0.3 proof surface: sharp McDiarmid, a two-sided iid product theorem, downstream constant propagation, and a finite PAC-Bayes Bernstein margin shell, all tied to public PR #6 and the public README.
public main green
The public repository checks `mcdiarmid_additive_independent`, with the sharp exponent written in the Lean type itself.
FormalSLT/Concentration/SharpMcDiarmid.lean:244
public main green
PR #6 adds `mcdiarmid_twoSided_of_hasBoundedDifferences_sharp` over a homogeneous product measure.
FormalSLT/Concentration/SharpMcDiarmid.lean:171
public main green
PR #6 adds `finitePACBayesBernsteinMargin_badEventMass_le_delta` with supplied variance-proxy and prior-moment certificates.
FormalSLT/PACBayesBernstein.lean:521
adjacent checked result
Ville's inequality is checked in the related Pythia and martingale work, not inside FormalSLT itself. This page keeps that boundary explicit while showing why FormalSLT connects naturally to anytime-valid statistics.
related theorem page
proof evidence
The public CI badge verifies the FormalSLT repository. The same public main build now covers the two-sided product theorem and the finite PAC-Bayes Bernstein supplied-proxy shell.
The axiom profile below follows the public README target: propext, Classical.choice, and Quot.sound.
Signature excerpts show the theorem head and bound shape. The listed source path is the full hypothesis record.
FormalSLT.Concentration.mcdiarmid_additive_independentFormalSLT/Concentration/SharpMcDiarmid.lean:244theorem mcdiarmid_additive_independent ... :
μ.real {ω | t ≤ ∑ i ∈ s, (X i ω - ∫ x, X i x ∂μ)}
≤ Real.exp (-2 * t ^ 2 / ∑ i ∈ s, (b i - a i) ^ 2)FormalSLT.Concentration.mcdiarmid_twoSided_of_hasBoundedDifferences_sharpFormalSLT/Concentration/SharpMcDiarmid.lean:171theorem mcdiarmid_twoSided_of_hasBoundedDifferences_sharp ... :
(Measure.pi (fun _ : Fin n => μ)).real
{S | ε ≤ |f S - ∫ s, f s ∂(Measure.pi (fun _ : Fin n => μ))|}
≤ 2 * Real.exp (-2 * ε ^ 2 / ∑ k : Fin n, (c k) ^ 2)FormalSLT.AlgorithmicStability.bousquet_elisseeff_centered_tailFormalSLT/Stability/BousquetElisseeff.lean:144theorem bousquet_elisseeff_centered_tail ... :
(Measure.pi (fun _ : Fin n => μ)).real
{S | ∫ s, (∫ z, ℓ (A s) z ∂μ - trainingLoss A ℓ s) ∂(Measure.pi (fun _ : Fin n => μ)) + ε
≤ ∫ z, ℓ (A S) z ∂μ - trainingLoss A ℓ S}
≤ Real.exp (-2 * ε ^ 2 / ((n : ℝ) * (2 * β + 2 * B / n) ^ 2))FormalSLT.PACBayesBernstein.finitePACBayesBernsteinMargin_badEventMass_le_deltaFormalSLT/PACBayesBernstein.lean:521theorem finitePACBayesBernsteinMargin_badEventMass_le_delta ... :
(∑ ω ∈ finitePACBayesBernsteinPenaltyBadSamples ..., ν ω) ≤ deltaFormalMartingales.ville_inequalityAdjacent repo: formal-martingales/FormalMartingales/Martingale/Ville.lean:264theorem ville_inequality ... :
ε * μ {ω | ∃ n : ℕ, (ε : ℝ) ≤ f n ω} ≤ ENNReal.ofReal (μ[f 0])theorem chain
The SVG is copied from `docs/theorem-chain.svg` in the current public FormalSLT repository and served locally from the web app.
what is new in v0.3
PR #71, #72, #74, and #75 are the development provenance for the public PR #6 bundle. The claim evidence above points to public main, public source paths, and the public README.
5a4bf93d7cebdd9c80d062ea3561f6668c989e2409f6f2cb313c99ad874060f5294a1c2e8818952ab3f63baf0b72e8771717d4037ccd095de1c32c17d0566a3838dce48e2e12cd5d25b087c3657d93c8reproduce
The live badge reads the public GitHub Actions workflow. The commands below rebuild public main against the pinned Lean and Mathlib versions listed in the provenance panel.
git clone https://github.com/Robby955/FormalSLT.git
cd FormalSLT
lake exe cache get
lake build FormalSLT
lake env lean examples/CheckPACBayesBernstein.lean
lake env lean FormalSLT/Test/SharpMcDiarmidTest.lean
python3 scripts/generate_proof_frontier_manifest.py --checkretraction conditions
The page should stay narrow. A later proof audit or public source mismatch should update the claim text rather than hide the boundary.