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

company-coq-lemma-from-goal should be adapted w.r.t. Coq Diffs #239

Open
erikmd opened this issue Jun 3, 2020 · 0 comments
Open

company-coq-lemma-from-goal should be adapted w.r.t. Coq Diffs #239

erikmd opened this issue Jun 3, 2020 · 0 comments

Comments

@erikmd
Copy link
Contributor

erikmd commented Jun 3, 2020

When the DIffs feature (recently added in PG by @jfehrle) is enabled (menu Coq > Diffs > "on"),
the extraction lemma C-c C-a C-x doesn't work out-of-the-box.

MWE:

Require Import Bool.
Lemma test : forall a b : bool, a && b = b && a.
destruct a; simpl; intros b.
  • Do C-c C-RET then C-c C-a C-x foo RET
  • Then we get:
Lemma foo:
  <diff.added.bg><diff.added>forall b : bool,</diff.added> b = b && true</diff.added.bg>.
                                    Proof.
                                    intros b.

so the <diff.*> pseudo-tags should be removed.

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

No branches or pull requests

1 participant