OCamlPro / alt-ergo

OCamlPro public development repository for Alt-Ergo
https://alt-ergo.ocamlpro.com/
Other
130 stars 33 forks source link

feat(BV, CP): Add propagators for bvudiv and bvurem #1084

Closed bclement-ocp closed 2 months ago

bclement-ocp commented 5 months ago

These are interval propagators only and respect the SMT-LIB semantics for division by 0. This requires custom operators in the Intervals module that update the bounds appropriately, sincethe existing div operator is undefined on 0.

Note: this requires and currently includes https://github.com/OCamlPro/alt-ergo/pull/1058 and #1083 ; the commit titled "feat(BV, CP): Add propagators for bvudiv and bvurem" is new.

bclement-ocp commented 3 months ago

Rebased on #1108