Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BV rewrites (mined): Rule 35: ConcatPullUp (BITVECTOR_AND) with special const. #2596

Merged
merged 5 commits into from Oct 16, 2018

Conversation

aniemetz
Copy link
Member

@aniemetz aniemetz commented Oct 8, 2018

All experiments on QF_BV with eager and CaDiCaL (time limit 600s, penalty 600s).

x_m & concat(y_my, 0_n, z_mz) rewrites to concat(x[m-1:m-my] & y, 0_n, x[m-my-n-1:0] & z):

          | CVC4-base                              | CVC4-concatpullup-and0                |
BENCHMARK | SLVD   SAT   UNSAT   TO   MO   CPU[s]  | SLVD   SAT   UNSAT   TO  MO   CPU[s]  |
   totals | 38985 13843  25142  1089  28  991222.5 | 38994 13846  25148  1080 28  983990.8 |

Add x_m & concat(y_my, 1_n, z_mz) rewrites to concat(x[m-1:m-my] & y, 0_[n-1], x[m-my-n:m-my-n], x[m-my-n-1:0] & z):

          | CVC4-base                              | CVC4-concatpullup-and01                |
BENCHMARK | SLVD   SAT   UNSAT   TO   MO   CPU[s]  | SLVD   SAT   UNSAT   TO  MO   CPU[s]  |
   totals | 38985 13843  25142  1089  28  991222.5 | 38997 13848  25149  1077 28  984740.3 |

Add x_m & concat(y_my, ~0_n, z_mz) rewrites to concat(x[m-1:m-my] & y, x[m-my-1:m-my-n], x[m-my-n-1:0] & z):

          | CVC4-base                              | CVC4-concatpullup-and01~0                |
BENCHMARK | SLVD   SAT   UNSAT   TO   MO   CPU[s]  | SLVD   SAT   UNSAT   TO  MO   CPU[s]  |
   totals | 38985 13843  25142  1089  28  991222.5 | 38992 13844  25148  1082 28   984887.4|

@aniemetz aniemetz added normal Priority simple Complexity labels Oct 8, 2018
@aniemetz aniemetz requested a review from mpreiner October 8, 2018 21:32
@aniemetz aniemetz force-pushed the bv-rewrites-mined-concatpullup-and0 branch 3 times, most recently from 0435539 to bd69d7f Compare October 11, 2018 18:46
@aniemetz aniemetz added the do not merge Do not merge this PR if you are not the author label Oct 15, 2018
@aniemetz aniemetz changed the title BV rewrites (mined): Rule 35: ConcatPullUp (BITVECTOR_AND) with 0. BV rewrites (mined): Rule 35: ConcatPullUp (BITVECTOR_AND) with special const. Oct 16, 2018
@aniemetz aniemetz force-pushed the bv-rewrites-mined-concatpullup-and0 branch from e869338 to 53a7c42 Compare October 16, 2018 15:37
@aniemetz aniemetz force-pushed the bv-rewrites-mined-concatpullup-and0 branch from 334d206 to ca313c2 Compare October 16, 2018 17:25
@aniemetz aniemetz merged commit fb00b86 into cvc5:master Oct 16, 2018
@aniemetz aniemetz deleted the bv-rewrites-mined-concatpullup-and0 branch October 16, 2018 17:49
@aniemetz aniemetz removed the do not merge Do not merge this PR if you are not the author label Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
normal Priority simple Complexity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants