Algebramodule Bool : sig ... endBoolean semiring: ({false, true}, โจ, โง, false, true).
module Bottleneck : sig ... endBottleneck semiring: ({-โ} โช โค โช {+โ}, max, min, -โ, +โ).
module Matrix : sig ... endDense matrix algebra parameterized over a semiring.
module Nat : sig ... endNatural-number semiring: (โ, +, ร, 0, 1), optionally bounded.
module Prob : sig ... endProbabilistic semiring: (0,1 โฉ โ, min(ยท+ยท, 1), ร, 0, 1).
module Rat : sig ... endRational-number semiring: (โ, +, ร, 0, 1).
module Semiring : sig ... endSemiring interface: the module type T that every semiring implementation must satisfy.
module Tropical_bv : sig ... endBounded tropical semiring โ bitvector encoding.
module Tropical_lia : sig ... endTropical semiring โ integer-arithmetic encoding, bounded or unbounded.