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

assoc_rw can leave side-goals as metavariables #3349

Open
alexjbest opened this issue Jul 9, 2020 · 1 comment
Open

assoc_rw can leave side-goals as metavariables #3349

alexjbest opened this issue Jul 9, 2020 · 1 comment
Labels
bug t-meta Tactics, attributes or user commands

Comments

@alexjbest
Copy link
Member

e.g.

import group_theory.basic
example {G : Type*} [add_comm_group G] (h : ∀ (g :G) (t : g ≠ 0), g + g =0) (g f : G): f + g + g = f :=
begin
assoc_rw h g,
exact add_zero _,
end

fails with tactic failed, result contains meta-variables as h g needs g \ne 0, but that is never spawned as goal.

@alexjbest
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug t-meta Tactics, attributes or user commands
Projects
None yet
Development

No branches or pull requests

2 participants