Port matching-logic library toward Rocq dev - #455
Draft
JasonGross wants to merge 6 commits into
Draft
Conversation
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 updates the matching-logic library for current Rocq and stdpp development versions.
It adds the Dune package declaration now required by
dune build -p, updates renamed stdpp list/countability APIs and syntax record fields, replaces brittle generated-name and focus-dependent proof steps, and repairs proofs whose previous automation behavior changed.Validation stages the corrected Rocq-dev-compatible LibHyps package outside opam and runs:
ROCQPATH=/data/jason/codex-libhyps opam exec --switch=rocq-dev-testing -- dune build --root matching-logic @install -j 8The core modules,
FixpointReasoning.vo, and both legacyTest.vmodules compile.Experimental/DefaultModelGenerators.vis excluded from the Dune theory because it is unimported, superseded byTheories/DefaultModels.v, and its older generated Bool model does not satisfy the current Bool-sort membership axiom.The clean
@installvalidation is still running: after the compatibility fixes it has remained CPU-bound inBasicProofSystemLemmas.vfor about one hour at roughly 9.4 GB RSS, with no new compiler error. This PR remains a draft, and this status does not claim that the full install target has completed successfully.No opam switch was mutated for this validation.
Authorship note: this was researched and written by an AI coding agent
(OpenAI Codex), working on Jason Gross's behalf; Jason reviews what is
posted from this account.