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

Resurrect the cofix transform, adding a new axiom for the admitted pr… #1056

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

mattam82
Copy link
Member

…oofs.

Generalize MetaCoq Erase to take options allowing to optionally run this pass, a la CertiCoq.
This gives the following options:

Usage:
To erase a Gallina definition named <gid> type:
MetaCoq Erase <options> <gid>.

To show this help message type:
MetaCoq Erase -help.

Valid options:
-typed	   :  Run the typed erasure pipeline including a dearging phase. By default we run the pipeline without this phase.
-unsafe      :  Run also partially verified passes of the pipeline. This includes the cofix to fix translation.
-time        :  Time each compilation phase
-bypass-qeds :  Bypass the use of Qed and quote opaque proofs. Beware, this can result in large memory
consumption due to reification of large proof terms.
By default, we use the (trusted) Template-Coq quoting optimization that quotes every opaque term as an axiom.
All these axioms should live in Prop so that erasure is not affected by the absence of their bodies.
-fast        : Enables an alternative implementation of the parameter stripping phase that uses accumulators
instead of a view (see Erasure.ERemoveParams).

See https://metacoq.github.io for more detailed information.

@mattam82 mattam82 merged commit 6a26f38 into coq-8.17 Feb 14, 2024
10 checks passed
@mattam82 mattam82 deleted the cofix-transform branch February 14, 2024 06:47
mattam82 added a commit that referenced this pull request May 22, 2024
#1056)

* Resurrect the cofix transform, adding a new axiom for the admitted proofs.
Generalize `MetaCoq Erase` to take options allowing to optionally run this pass

* Minor fixes

* Fix metacoq_tour

* Fix quoting of cofix to make translation correct
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.

1 participant