Skip to content
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

Fix for a new rapply tactic #78

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

JasonGross
Copy link
Contributor

This backwards compatible change makes math-classes work with
coq/coq#10760 by replacing all instances of rapply which were relying
on typeclass resolution happening before refine (instead of
simultaneously with it) to instead invoke Tactics.rapply (which is the
same tactic in Coq <= 8.10, and which will be the tactic rather than the
uconstr-taking tactic notation in Coq >= 8.11).

See also coq/coq#10760 (comment)

For reference, this changes 9 of the 34 invocations of rapply.

This backwards compatible change makes math-classes work with
coq/coq#10760 by replacing all instances of `rapply` which were relying
on typeclass resolution happening *before* `refine` (instead of
simultaneously with it) to instead invoke `Tactics.rapply` (which is the
same tactic in Coq <= 8.10, and which will be the tactic rather than the
`uconstr`-taking tactic notation in Coq >= 8.11).

See also coq/coq#10760 (comment)
@Zimmi48
Copy link
Member

Zimmi48 commented Sep 18, 2019

Note that while this patch does no harm, it is not clear yet whether coq/coq#10760 will be merged as is, and thus whether it will be necessary.

@spitters
Copy link
Collaborator

I'm fine with the changes, but propose to wait until the discussion in coq/coq#10760 stabilizes.

@spitters spitters merged commit 83822de into coq-community:master Oct 16, 2023
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.

None yet

3 participants