Skip to content

Port matching-logic library toward Rocq dev - #455

Draft
JasonGross wants to merge 6 commits into
harp-project:masterfrom
theorem-labs:codex/rocq-dev
Draft

Port matching-logic library toward Rocq dev#455
JasonGross wants to merge 6 commits into
harp-project:masterfrom
theorem-labs:codex/rocq-dev

Conversation

@JasonGross

@JasonGross JasonGross commented Jul 28, 2026

Copy link
Copy Markdown

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 8

The core modules, FixpointReasoning.vo, and both legacy Test.v modules compile. Experimental/DefaultModelGenerators.v is excluded from the Dune theory because it is unimported, superseded by Theories/DefaultModels.v, and its older generated Bool model does not satisfy the current Bool-sort membership axiom.

The clean @install validation is still running: after the compatibility fixes it has remained CPU-bound in BasicProofSystemLemmas.v for 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant