package mugen
Module ShiftWithJoin.NonPositiveSource
Non-positive integers with addition. Caveats: it does not handle integer overflow.
include Semilattice
include Shift.S
include StructuredType.PartiallyOrderedType
lt x y checks if x is strictly less than y. Note that trichotomy fails for general partial orders.
is_id s checks whether s is the unit. It is equivalent to equal id s, but potentially faster.