-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
ring
to solve Alive theorems (#134)
* Use `ring` to solve Alive theorems * Update mathlib version to new `bitvec-ring` branch * Mark `ring`-solvable theorems with `done` * fix: fix FHE proofs after mathlib bump. --------- Co-authored-by: Siddharth Bhat <[email protected]>
- Loading branch information
1 parent
b51dfa6
commit 1fc339f
Showing
7 changed files
with
35 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
import Mathlib.Tactic.Ring | ||
|
||
macro "alive_auto": tactic => | ||
`(tactic| | ||
( | ||
skip; --placeholder, as `simp` will currently timeout sometimes | ||
try simp (config := {decide := false}) | ||
intros | ||
(try simp (config := {decide := false}) [-Std.BitVec.ofNat_eq_ofNat]) | ||
try ring_nf | ||
) | ||
) |
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
Binary file not shown.
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 |
---|---|---|
@@ -1 +1 @@ | ||
leanprover/lean4:v4.2.0-rc4 | ||
leanprover/lean4:v4.3.0-rc1 |