Module Algebra.Tropical_lia

Tropical semiring — integer-arithmetic encoding, bounded or unbounded.

The tropical semiring is ({∞} ∪ ℕ, min, +, ∞, 0). This module covers two modes controlled by the optional bound argument to get:

Logic is QF_LIA (linear integer arithmetic) in both modes. Compare with Tropical_bv which encodes the bounded case as QF_BV.

module Log : sig ... end
module T : sig ... end
val get : Base.Int.t Base.Option.t -> (module Semiring.T with type t = T.t)

get bound returns the tropical semiring module. bound must be non-negative if Some.