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

Clean the API of the congruence plugin #16527

Merged
merged 4 commits into from Sep 26, 2022
Merged

Conversation

ppedrot
Copy link
Member

@ppedrot ppedrot commented Sep 22, 2022

We remove from the API stuff that is exported but clearly internal details, and enforce a few invariants by typing.

This is inefficient and exposing internal details. It is the responsibility
of the cc algorithm not to produce broken proofs, so there is little point
in double-checking the output.
@ppedrot ppedrot added the kind: cleanup Code removal, deprecation, refactorings, etc. label Sep 22, 2022
@ppedrot ppedrot added this to the 8.17+rc1 milestone Sep 22, 2022
@ppedrot ppedrot requested a review from a team as a code owner September 22, 2022 08:53
@SkySkimmer SkySkimmer self-assigned this Sep 22, 2022
@SkySkimmer
Copy link
Contributor

Not sure what the axiom = constr commit is about

@ppedrot
Copy link
Member Author

ppedrot commented Sep 22, 2022

This ensures that there are no way to produce an axiom out of an arbitrary constr. If you look into the internals, now it's clear that there are only two kinds of axioms: either a single variable or a variable applied to a bunch of ATerms.t.

@SkySkimmer
Copy link
Contributor

@coqbot merge now

@coqbot-app coqbot-app bot merged commit 8dfd91c into coq:master Sep 26, 2022
@ppedrot ppedrot deleted the clean-cctac-api branch September 26, 2022 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: cleanup Code removal, deprecation, refactorings, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants