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

apply' can close the goal with metavariables #14993

Open
fpvandoorn opened this issue Jun 27, 2022 · 0 comments
Open

apply' can close the goal with metavariables #14993

fpvandoorn opened this issue Jun 27, 2022 · 0 comments
Labels
bug t-meta Tactics, attributes or user commands

Comments

@fpvandoorn
Copy link
Member

Example

import tactic.apply
import data.set.basic
example {α : Type*} (a b : set α) : a ⊆ b :=
by refl' -- closes the goal
-- by apply' set.subset.refl -- same behavior

Note, the following script shows that refl' (or apply') really makes no progress, and therefore should fail instead.

by { refl', recover, change a ⊆ b, }
@fpvandoorn fpvandoorn added bug t-meta Tactics, attributes or user commands labels Jun 27, 2022
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

1 participant