8000 Fix wrong threading of cv_pb/pb in unification.ml by mattam82 · Pull Request #20652 · rocq-prover/rocq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix wrong threading of cv_pb/pb in unification.ml #20652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattam82
Copy link
Member

Spotted while debugging my new universes branch.
We could sometimes use CUMUL instead of CONV, e.g. while unifying arguments of applications. This could result in unsatisfiable constraints being sent to the kernel.

Fixes / closes #????
TODO

  • Added / updated test-suite.
  • Added changelog.
  • Added / updated documentation.
    • Documented any new / changed user messages.
    • Updated documented syntax by running make doc_gram_rsts.
  • Opened overlay pull requests.

@coqbot-app coqbot-app bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label May 19, 2025
@SkySkimmer
Copy link
Contributor

Shall we shadow cv_pb instead of having the 2 names coexist?

@@ -1194,7 +1194,7 @@ let rec unify_0_with_initial_metas (subst : subst0) conv_at_top env cv_pb flags
(* Fast path for projections. *)
| Proj (p1,_,c1), Proj (p2,_,c2) when Environ.QConstant.equal env
(Projection.constant p1) (Projection.constant p2) ->
(try unify_same_proj curenvnb cv_pb {opt with at_top = true}
(try unify_same_proj curenvnb pb {opt with at_top = true}
Copy link
Contributor
8000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one seems like it should be constant CONV btw

@SkySkimmer
Copy link
Contributor

the test suite is failing, not sure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0