Repository navigation
Extract reusable holdout cover machinery - #134
Merged
Merged
Conversation
5 tasks done
This was referenced Nov 15, 2026
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.
New holdout specializations currently have to copy the original submission's 58 helper modules. This extracts those accepted modules into
HodgeComputer.Constructions.HoldoutCover, retaining their proofs, declaration namespaces, and attribution tofqlxand the sources credited in PR #128. The original accepted submission remains unchanged.A new
GeneralizedCovermodule separates the target-specific source identities from the conic construction, proves the square and inverse-square trace identities, and assembles the full homogeneous certificate for applications satisfying those identities. The contribution and maintenance guides explain how new solve PRs import the library; the protected dependency cache now tracks all shared Lean sources.Validation: the public shared entry point builds with Lean 4.33.0; all 59 shared modules pass independent kernel replay. All nine target applications pass the protected local verifier (compilation, kernel replay, exact target matching, and transitive axiom auditing). Only
propext,Classical.choice, andQuot.soundoccur. All nine committed solve diffs pass the three-file boundary, and their explanations pass link and KaTeX checks. The 26 structural tests, content build, record validation, and content checks pass. No acceptance records, targets, or leaderboard rules change.CI also exposed a pre-existing renderer-test assumption that every accepted proof has a drawable divisor. The test now permits an existence proof without an exported divisor while continuing to reject missing rendering data for supplied divisors. All 26 structural tests, 15 content tests, leaderboard tests, and 2,076 divisor-expression comparisons pass locally; simulated removal of supplied divisors remains rejected.