Skip to content

Conversation

@ppedrot
Copy link
Member

@ppedrot ppedrot commented Nov 28, 2025

This cleans up a longstanding issue with effect deduplication that made no sense whatsoever. The new model has better static invariants, as it separates the first phase where effects are common to the block of constants being defined, and the second phase where we decide whether to inline them on a per-constant basis depending on opacity.

Fixes #10959: Anomalies from missing abstract proofs.

Not all issues with abstract in defining blocks is solved, see the test file, but this patch is making other fixes possible.

…eclare.

This cleans up a longstanding issue with effect deduplication that made
no sense whatsoever. The new model has better static invariants, as it
separates the first phase where effects are common to the block of
constants being defined, and the second phase where we decide whether
to inline them on a per-constant regard based on opacity.

This code should not change the semantics, it is just a clean-up for now.
Fixes rocq-prover#10959: Anomalies from missing abstract proofs.
@ppedrot ppedrot added this to the 9.2+rc1 milestone Nov 28, 2025
@ppedrot ppedrot added the kind: fix This fixes a bug or incorrect documentation. label Nov 28, 2025
@ppedrot ppedrot requested a review from a team as a code owner November 28, 2025 23:58
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Nov 28, 2025
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: fix This fixes a bug or incorrect documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Anomalies from missing abstract proofs generated by typeclass hints

1 participant