Mirror PAC-Bayes Bernstein prior-moment and finite-grid wrappers#8
Closed
Robby955 wants to merge 3 commits into
Closed
Mirror PAC-Bayes Bernstein prior-moment and finite-grid wrappers#8Robby955 wants to merge 3 commits into
Robby955 wants to merge 3 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR mirrors the PAC-Bayes Bernstein work that landed on
Robby955/lean-statistical-learning:release-candidatein PR #77 and PR #78into the public
Robby955/FormalSLTrepository.What changed
FormalSLT/PACBayesMargin.lean, which specializes the Bernsteinsupplied-proxy layer to thresholded classifier-margin losses.
FormalSLT/PACBayesBernstein.leanwith finite-grid and optimizedfinite-grid bad-event wrappers for finitely many
lambdachoices.examples/CheckPACBayesBernstein.leanexamples/CheckPACBayesMargin.leanproof-frontier manifest for the new public theorem surface.
scripts/repo-stats.shand.stats.jsonso README/SVG size figuresare regenerated from the checked Lean tree instead of edited by hand.
Main checked endpoints
finitePACBayesBernsteinGrid_badEventMass_le_sum_deltafinitePACBayesBernsteinGrid_badEventMass_le_deltafinitePACBayesBernsteinGridOptimized_badEventMass_le_sum_deltafinitePACBayesBernsteinGridOptimized_badEventMass_le_deltafinitePACBayesClassifierMarginBernstein_iid_badEventMass_le_deltafinitePACBayesClassifierMarginBernstein_iid_gridOptimized_badEventMass_le_sum_deltafinitePACBayesClassifierMarginBernstein_iid_gridOptimized_badEventMass_le_deltaScope
This is still a finite theorem surface. It does not claim continuous posterior
spaces, infinite hypothesis classes, exact all-real
lambdaoptimization, orgeneral measurable-space classifier-margin bounds.
Verification
Run in a fresh public clone on branch
feature/mirror-pac-bayes-bernstein-77-78-2026-06-05:The focused PAC-Bayes checkers report the standard axiom profile:
[propext, Classical.choice, Quot.sound].No public-only files from
Robby955/FormalSLT:mainwere deleted in this mirrorbranch.