Expose literature inputs as explicit hypotheses - #5
Merged
roed314 merged 5 commits intoAug 11, 2026
Merged
Conversation
Collaborator
|
Thanks! |
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.
The presentation proof uses nine classical results from the literature. Until now they were available only as global Lean axioms, which made the core proof appear unconditional and prevented clients such as Palomar from supplying those results as explicit assumptions.
This PR bundles the nine results in
LiteratureInputsand makes the dependent proof graph take[LiteratureInputs]as an ordinary hypothesis. The binder is written directly on each declaration that needs it, so the dependency is locally visible without ambientinclude/omitplumbing.The existing public API remains compatible. Generic
_of_inputsdeclarations use only the standard three Lean axioms, while legacy capstones keep their original names and statements and uniformly print all nine literature axioms.GQ2.Foundations.AxiomInstanceprovides that compatibility layer by assembling the historical axioms into an instance.The PR also adds explicit-input Palomar entry points and audits for both trust models. One encoding detail is that a Lean structure field cannot quantify over a fresh universe level, so the bundled B7 field uses
M : Type, which covers every consumer here; the legacy B7 axiom retains its originalM : Type*statement.