Repository navigation
Adapt scripts to primitive Hierarchy Builder structures - #2181
Merged
Merged
Conversation
mattam82
added a commit
to mattam82/rocq
that referenced
this pull request
Nov 23, 2026
…ions Overlays, for Hierarchy Builder structures declared as primitive records: - elpi: LPCIC/coq-elpi#1143 - hierarchy-builder: math-comp/hierarchy-builder#610 - math-comp: math-comp/math-comp#1691 - analysis: math-comp/analysis#2181 Assisted by GenAI tools
3 tasks done
mattam82
commented
Nov 23, 2026
mattam82
left a comment
Contributor
Author
There was a problem hiding this comment.
Yes, these goals are solved now. However the CI failures might indicate that this is not a backward-compatible fix, I'll investigate
Member
|
a mere rebasing should solve the CI errors |
With structures declared as primitive records, some side conditions are now solved by the tactic that generated them, and one rewrite needs its pattern to be given. Assisted by GenAI tools
affeldt-aist
force-pushed
the
cs-primproj
branch
from
November 28, 2026 21:31
57f9b55 to
9cfeaef
Compare
affeldt-aist
approved these changes
Nov 28, 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.
Motivation for this change
A few proof scripts break when Hierarchy Builder declares structures as primitive records (rocq-prover/rocq#22789 and its HB overlay):
wedge_sigT.v,lebesgue_measure.vandfunction_spaces.v, a side condition is now solved by the tactic that generated it, so the tactic which closed it finds no goal: these closing tactics are wrapped intry(orall: try);sequences.v,rewrite eq_sum_telescopeneeds its pattern,[u_ n.+1].The new scripts work with and without primitive records, so this can be merged independently of the Rocq PR.
Checklist
appended entries in the relevant sections of(proof scripts only)CHANGELOG_UNRELEASED.mdadded corresponding documentation in the headersReference: How to document
Merge policy
As a rule of thumb:
all compile are likely to be merged as they are into master.
Reminder to reviewers
🤖 Generated with Claude Code