sig
  module type Join_Semi_Lattice = Lattice_type.Join_Semi_Lattice
  module type With_Top = Lattice_type.With_Top
  module type With_Intersects = Lattice_type.With_Intersects
  module type With_Enumeration = Lattice_type.With_Enumeration
  module type With_Cardinal_One = Lattice_type.With_Cardinal_One
  module type With_Widening = Lattice_type.With_Widening
  module type With_Narrow =
    sig
      type t
      val narrow :
        Eva_lattice_type.With_Narrow.t ->
        Eva_lattice_type.With_Narrow.t ->
        Eva_lattice_type.With_Narrow.t Lattice_bounds.or_bottom
    end
  module type With_Under_Approximation =
    sig
      type t
      val link :
        Eva_lattice_type.With_Under_Approximation.t ->
        Eva_lattice_type.With_Under_Approximation.t ->
        Eva_lattice_type.With_Under_Approximation.t
      val meet :
        Eva_lattice_type.With_Under_Approximation.t ->
        Eva_lattice_type.With_Under_Approximation.t ->
        Eva_lattice_type.With_Under_Approximation.t Lattice_bounds.or_bottom
    end
  module type With_Diff =
    sig
      type t
      val diff :
        Eva_lattice_type.With_Diff.t ->
        Eva_lattice_type.With_Diff.t ->
        Eva_lattice_type.With_Diff.t Lattice_bounds.or_bottom
    end
  module type With_Diff_One =
    sig
      type t
      val diff_if_one :
        Eva_lattice_type.With_Diff_One.t ->
        Eva_lattice_type.With_Diff_One.t ->
        Eva_lattice_type.With_Diff_One.t Lattice_bounds.or_bottom
    end
  module type AI_Lattice_with_cardinal_one =
    sig
      type t
      val ty : t Type.t
      val name : string
      val descr : t Descr.t
      val packed_descr : Structural_descr.pack
      val reprs : t list
      val equal : t -> t -> bool
      val compare : t -> t -> int
      val hash : t -> int
      val pretty_code : Format.formatter -> t -> unit
      val internal_pretty_code :
        Type.precedence -> Format.formatter -> t -> unit
      val pretty : Format.formatter -> t -> unit
      val varname : t -> string
      val mem_project : (Project_skeleton.t -> bool) -> t -> bool
      val copy : t -> t
      val join : t -> t -> t
      val is_included : t -> t -> bool
      val top : t
      type widen_hint
      val widen : widen_hint -> t -> t -> t
      val cardinal_zero_or_one : t -> bool
      val narrow : t -> t -> t Lattice_bounds.or_bottom
      val link : t -> t -> t
      val meet : t -> t -> t Lattice_bounds.or_bottom
      val intersects : t -> t -> bool
    end
  module type Full_AI_Lattice_with_cardinality =
    sig
      type t
      val ty : t Type.t
      val name : string
      val descr : t Descr.t
      val packed_descr : Structural_descr.pack
      val reprs : t list
      val equal : t -> t -> bool
      val compare : t -> t -> int
      val hash : t -> int
      val pretty_code : Format.formatter -> t -> unit
      val internal_pretty_code :
        Type.precedence -> Format.formatter -> t -> unit
      val pretty : Format.formatter -> t -> unit
      val varname : t -> string
      val mem_project : (Project_skeleton.t -> bool) -> t -> bool
      val copy : t -> t
      val join : t -> t -> t
      val is_included : t -> t -> bool
      val top : t
      type widen_hint
      val widen : widen_hint -> t -> t -> t
      val cardinal_zero_or_one : t -> bool
      val narrow : t -> t -> t Lattice_bounds.or_bottom
      val link : t -> t -> t
      val meet : t -> t -> t Lattice_bounds.or_bottom
      val intersects : t -> t -> bool
      val diff : t -> t -> t Lattice_bounds.or_bottom
      val diff_if_one : t -> t -> t Lattice_bounds.or_bottom
      val fold_enum : (t -> '-> 'a) -> t -> '-> 'a
      val cardinal_less_than : t -> int -> int
    end
end