Skip to content

a potential new normalization #633

Description

@redianthus

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

| 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions