-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ExtractProof: copy env modifications in norm rules
Fixes #126
- Loading branch information
Showing
2 changed files
with
28 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Aesop | ||
|
||
set_option aesop.check.all true | ||
|
||
-- TODO simp_all introduces spurious metavariables in this example | ||
set_option aesop.check.rules false | ||
set_option aesop.check.tree false | ||
|
||
-- TODO broken due to lean4#4251 | ||
set_option aesop.check.script false | ||
set_option aesop.check.script.steps false | ||
|
||
theorem foo {a : Nat → Nat} (ha : a 0 = 37) : | ||
(match h : a 0 with | 42 => by simp_all | n => n) = 37 := by | ||
aesop |