-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR makes the `change` tactic and conv tactic use the same new elaboration strategy that works uniformly for both the target and local hypotheses. Fixes an issue where the following example would fail due to `a` being defined after `h`: ```lean example (x y z w : Nat) (h : x + y = z + w) : True := by let a := x + y change a = _ at h trivial ``` Breaking change: `change` no longer creates goals if there are unassigned metavariables. Instead it throws "don't know how to synthesize placeholder" errors.
- Loading branch information
Showing
4 changed files
with
148 additions
and
102 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 was deleted.
Oops, something went wrong.