ksmt-core
0.5.23
ksmt-core
/
io.ksmt.expr.rewrite.simplify
/
rewriteBvNegNoOverflowExpr
rewrite
Bv
Neg
No
Overflow
Expr
inline
fun
<
T
:
KBvSort
>
KContext
.
rewriteBvNegNoOverflowExpr
(
arg
:
KExpr
<
T
>
,
rewriteBvEq
:
KContext
.
(
KExpr
<
T
>
,
KExpr
<
T
>
)
->
KExpr
<
KBoolSort
>
=
{ l, r -> simplifyEq(l, r) }
,
rewriteNot
:
KContext
.
(
KExpr
<
KBoolSort
>
)
->
KExpr
<
KBoolSort
>
=
KContext::simplifyNot
)
:
KExpr
<
KBoolSort
>