-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs in proof reconstruction, egraph queries, and construction of…
… reified eqs
- Loading branch information
1 parent
471bf09
commit 47dc59a
Showing
21 changed files
with
247 additions
and
149 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
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
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,29 @@ | ||
import Egg | ||
open scoped Egg | ||
|
||
-- This test ensures that condition mvars are correctly taken into account when determining the | ||
-- valid direction of rewrites. | ||
|
||
/-- | ||
info: [egg.rewrites] Rewrites | ||
[egg.rewrites] Basic (1) | ||
[egg.rewrites] #0(⇔): h | ||
[egg.rewrites] ?b = ?a | ||
[egg.rewrites] Conditions | ||
[egg.rewrites] ?a = ?b | ||
[egg.rewrites] LHS MVars | ||
[?b: [.unconditionallyVisible]] | ||
[egg.rewrites] RHS MVars | ||
[?a: [.unconditionallyVisible]] | ||
[egg.rewrites] Tagged (0) | ||
[egg.rewrites] Builtin (0) | ||
[egg.rewrites] Derived (0) | ||
[egg.rewrites] Definitional | ||
[egg.rewrites] Pruned (0) | ||
-/ | ||
#guard_msgs(info) in | ||
set_option trace.egg.rewrites true in | ||
set_option egg.builtins false in | ||
egg_no_defeq in | ||
example (h : ∀ a b : Nat, a = b → b = a) : true = true := by | ||
egg [h] |
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
Oops, something went wrong.