paco => rocq-coinduction - #1514
Draft
rudynicolop wants to merge 31 commits into
Draft
Conversation
rudynicolop
force-pushed
the
rocq-coinduction
branch
from
July 15, 2026 10:51
0c07b5e to
f411913
Compare
…er instance proofs based on rutt proof
…ver upstream proof strategy or update comments)
…t false true goals
…sim for bind rreasoning
…on or have bad dependencies?
…o spurious errors from using a difference rocq version
…iting for arbitrary b1 b2 in eqit no longer seem supported
rudynicolop
force-pushed
the
rocq-coinduction
branch
from
July 17, 2026 14:37
f411913 to
0fa8b30
Compare
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.
Description
Replaces
coq-pacowithrocq-coinduction. This draft PR anticipates this dependency change in the ITree library: PR 285. These changes are largely internal to the proof development, not exposed on the OCaml side. These changes /are visible/ to users of the Jasmin Rocq codebase. These changes largely only affect proofs by coinduction.Zulip discussions:
Dependency changes:
coq-pacoreplaced byrocq-coinductionversion >= 1.21Changes
Moving to rocq-coinduction largely affects the definition and use of coinductive relations/predicates:
mondefinition for the monotonic endofunctor, then take the greatest fixpointgfpon thatmondefinition (xruttis now defined this way).pcofix,gcofix, norecofix. Now there is onlycoinduction.eqit_bind_chainmust be used.punfold His larged replaced withstep in Hsimplis too aggressive on the new definitions, unfolding coinductive defintions and exposingobserveand pattern matching, preventing use ofProperinstances for rewriting. For various coinductive relations, there's often a custom "cbn" tactic to avoid this issue. There'sicbn,bcbnforeqit,rcbnforruttandxrcbnforxrutt.pclearbot, resulting in some simpler proofs.eqitgoals, especially neweret,etau,evis, andebindtactics which are for anyeqit-based goal, not justeutt.Some definitions/notations of
rocq-coinductionclash with standard library names, such asid,const,leq, and "=<".There were some collisions with the new
rocq-coinduction-based definitions and ssreflect tactics, some of which may be due to version issues on my mind:>is too aggressive on some coinductive goals, exposing the underlying "tower" definition. Instead using*seems to work.apply/H1/H2/...orexact/H1failed. This may be arocq-coreversion issue, or some other dependency issue.Checklist
changesif the PR is a user-visible changecompiler/testsif it makes sense, especially if it is a bug fixDraft Notes
Until ITree PR 285 is merged and there's a new ITree release, this will remain a draft:
coq-itreedependency is only temporarily pinned to the PR source branch or my fork of the PR branch.