Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug t-meta Tactics, attributes or user commands
Projects
None yet
Development

No branches or pull requests

1 participant