3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

Add basic implementation of left shift

This commit is contained in:
Jakob Rath 2022-11-17 17:36:09 +01:00
parent 68707eefe7
commit adc9f7abe4
7 changed files with 121 additions and 14 deletions

View file

@ -330,6 +330,10 @@ namespace polysat {
return mk_op_term(op_constraint::code::lshr_op, p, q);
}
pdd constraint_manager::shl(pdd const& p, pdd const& q) {
return mk_op_term(op_constraint::code::shl_op, p, q);
}
pdd constraint_manager::band(pdd const& p, pdd const& q) {
return mk_op_term(op_constraint::code::and_op, p, q);
}