Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After filling an existential, `use` will resolve the remaining goals if they are "easy". Before this PR this was done by trying `trivial`. I have downgraded to `with_reducible rfl`. This means `use` will no longer solve goals which are - definitional equalities which require the unfolding of non-reducible definitions - tactics other than `rfl` which are called by `trivial` (notably `decide`, which can get slow) Note that this brings `use` closer to the mathlib3 version: there it tried the `trivial'` tactic, which again only looked at definitional equality up to reducible definitions, and whose kitchen-sink did not include `decide`. See discussion: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/use
- Loading branch information
Showing
4 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters