Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
test: limit bit width of mul eval problems and add new successes
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jun 17, 2024
1 parent eb54447 commit 3b9d739
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Eval/bitvec_152.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import LeanSAT.Reflect.Tactics.BVDecide

theorem bitvec_152 :
∀ (x : BitVec 64), x * -1 = 0 - x
∀ (x : BitVec 8), x * -1 = 0 - x
:= by intros; bv_decide
2 changes: 1 addition & 1 deletion Eval/bitvec_229.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import LeanSAT.Reflect.Tactics.BVDecide

theorem bitvec_229 :
∀ (X C1 Op1 : BitVec 64), (X + C1) * Op1 = X * Op1 + C1 * Op1
∀ (X C1 Op1 : BitVec 4), (X + C1) * Op1 = X * Op1 + C1 * Op1
:= by intros; bv_decide
2 changes: 1 addition & 1 deletion Eval/bitvec_239.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import LeanSAT.Reflect.Tactics.BVDecide

theorem bitvec_239 :
∀ (Y X : BitVec 64), (0 - X) * (0 - Y) = X * Y
∀ (Y X : BitVec 8), (0 - X) * (0 - Y) = X * Y
:= by intros; bv_decide
2 changes: 1 addition & 1 deletion Eval/bitvec_290__292.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import LeanSAT.Reflect.Tactics.BVDecide
open BitVec

theorem bitvec_290__292 :
∀ (Y Op1 : BitVec 64), 1#64 <<< Y * Op1 = Op1 <<< Y
∀ (Y Op1 : BitVec 8), 1#8 <<< Y * Op1 = Op1 <<< Y
:= by intros; bv_decide
4 changes: 0 additions & 4 deletions Eval/fail.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
WillOverflow.lean
bitvec_152.lean
bitvec_160.lean
bitvec_229.lean
bitvec_239.lean
bitvec_283.lean
bitvec_290__292.lean
bitvec_AndOrXor_2443.lean
bitvec_InstCombineShift__239.lean
Expand Down
4 changes: 4 additions & 0 deletions Eval/success.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Popcount.lean
bitvec_152.lean
bitvec_229.lean
bitvec_239.lean
bitvec_283.lean
bitvec_AddSub_1043.lean
bitvec_AddSub_1152.lean
bitvec_AddSub_1156.lean
Expand Down

0 comments on commit 3b9d739

Please sign in to comment.