sig
  type ('a, 'b, 'cmp) t
  type ('a, 'b, 'cmp) tree
  val invariants :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> bool
  val is_empty :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> bool
  val length :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> int
  val add :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    key:'->
    data:'-> ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val add_multi :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b list, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    key:'->
    data:'-> ('a, 'b list, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val change :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '->
    ('b option -> 'b option) ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val find :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '-> 'b option
  val find_exn :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> '-> 'b
  val remove :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '-> ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val mem :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> '-> bool
  val iter :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'-> data:'-> unit) -> unit
  val iter2 :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'->
       data:[ `Both of 'b * '| `Left of '| `Right of 'c ] -> unit) ->
    unit
  val map :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:('-> 'c) -> ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val mapi :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'-> data:'-> 'c) ->
    ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val fold :
    ('a, 'b, 'd) Core_map_intf.Accessors3_with_comparator.t ->
    init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val fold_right :
    ('a, 'b, 'd) Core_map_intf.Accessors3_with_comparator.t ->
    init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val filter :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'-> data:'-> bool) ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val filter_map :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:('-> 'c option) ->
    ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val filter_mapi :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'-> data:'-> 'c option) ->
    ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val compare_direct :
    comparator:('a, 'cmp) Comparator.t ->
    ('-> '-> int) ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> int
  val equal :
    comparator:('a, 'cmp) Comparator.t ->
    ('-> '-> bool) ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> bool
  val keys :
    ('a, 'b, 'c) Core_map_intf.Accessors3_with_comparator.t -> 'a list
  val data :
    ('a, 'b, 'c) Core_map_intf.Accessors3_with_comparator.t -> 'b list
  val to_alist :
    ('a, 'b, 'c) Core_map_intf.Accessors3_with_comparator.t -> ('a * 'b) list
  val validate :
    name:('-> string) ->
    'Validate.check ->
    ('a, 'b, 'c) Core_map_intf.Accessors3_with_comparator.t Validate.check
  val merge :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'c, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:(key:'->
       [ `Both of 'b * '| `Left of '| `Right of 'c ] -> 'd option) ->
    ('a, 'd, 'cmp) Core_map_intf.Accessors3_with_comparator.t
  val symmetric_diff :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    data_equal:('-> '-> bool) ->
    ('a * [ `Left of '| `Right of '| `Unequal of 'b * 'b ]) list
  val min_elt :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a * 'b) option
  val min_elt_exn :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> 'a * 'b
  val max_elt :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a * 'b) option
  val max_elt_exn :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t -> 'a * 'b
  val for_all :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:('-> bool) -> bool
  val exists :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    f:('-> bool) -> bool
  val fold_range_inclusive :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    min:'-> max:'-> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val range_to_alist :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    min:'-> max:'-> ('a * 'b) list
  val prev_key :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '-> ('a * 'b) option
  val next_key :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '-> ('a * 'b) option
  val rank :
    comparator:('a, 'cmp) Comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    '-> int option
  val to_tree :
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.t ->
    ('a, 'b, 'cmp) Core_map_intf.Accessors3_with_comparator.tree
end