Hi @filipeom!
While working with Codex, I noticed they are only exposing one of {lt,le,gt,ge}.
Currently we are exposing two of them :
|
| Lt (** Less than. *) |
|
| LtU (** Unsigned less than. *) |
|
| Le (** Less than or equal. *) |
|
| LeU (** Unsigned less than or equal. *) |
Maybe we could remove lt and encode lt x1 x2 as not (ge x1 x2) which is not (le x2 x1).
It might help with cache-hit and normalization-related stuff, but on the other hand, it might not be that good for the SMT, I'm not really sure.
WDYT?
Hi @filipeom!
While working with Codex, I noticed they are only exposing one of
{lt,le,gt,ge}.Currently we are exposing two of them :
smtml/src/smtml/ty.mli
Lines 184 to 187 in 03d8b4c
Maybe we could remove
ltand encodelt x1 x2asnot (ge x1 x2)which isnot (le x2 x1).It might help with cache-hit and normalization-related stuff, but on the other hand, it might not be that good for the SMT, I'm not really sure.
WDYT?