sig
  type ('a, 'b, 'c) t = ('b, 'Expr0.t) Env.value
    constraint 'b =
      ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f) Env.O.t
  type ('a, 'b, 'c) expr = ('a, 'b, 'c) Expr1.O.t
    constraint 'b =
      ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f) Env.O.t
  type ('a, 'b) dt = ('a, 'b, Cudd.Man.d) Expr1.O.t
    constraint 'b =
      ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.d, 'e)
      Env.O.t
  type ('a, 'b) vt = ('a, 'b, Cudd.Man.v) Expr1.O.t
    constraint 'b =
      ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.v, 'e)
      Env.O.t
  module Bool :
    sig
      type ('a, 'b, 'c) t = ('b, 'Cudd.Bdd.t) Env.value
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f)
          Env.O.t
      type ('a, 'b) dt = ('a, 'b, Cudd.Man.d) Expr1.O.Bool.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.d,
           'e)
          Env.O.t
      type ('a, 'b) vt = ('a, 'b, Cudd.Man.v) Expr1.O.Bool.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.v,
           'e)
          Env.O.t
      val of_expr0 :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        'Expr0.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val get_env :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t -> ('a, 'b, 'c, 'd, 'e) Env.O.t
      val to_expr0 :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bool.t -> 'Expr0.Bool.t
      val of_expr :
        (('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, [> `Bool of 'Cudd.Bdd.t ])
        Env.value -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val to_expr :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        (('a, 'b, 'c, 'd, 'e) Env.O.t, [> `Bool of 'Cudd.Bdd.t ]) Env.value
      val extend_environment :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, 'b, 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val dtrue :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val dfalse :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val of_bool :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        bool -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val var :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val dnot :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val dand :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val dor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val xor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val nand :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val nor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val nxor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val eq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val leq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val ite :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val is_true :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bool.t -> bool
      val is_false :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bool.t -> bool
      val is_cst :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bool.t -> bool
      val is_eq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t -> bool
      val is_leq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t -> bool
      val is_inter_false :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t -> bool
      val exist :
        'a list ->
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val forall :
        'a list ->
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val cofactor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val restrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val tdrestrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val substitute_by_var :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a * 'a) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val substitute :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a * ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val print :
        Format.formatter ->
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bool.t -> unit
    end
  module Bint :
    sig
      type ('a, 'b, 'c) t = ('b, 'Int.t) Env.value
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f)
          Env.O.t
      type ('a, 'b, 'c) dt = ('a, 'b, Cudd.Man.d) Expr1.O.Bint.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, Cudd.Man.d,
           'f)
          Env.O.t
      type ('a, 'b, 'c) vt = ('a, 'b, Cudd.Man.v) Expr1.O.Bint.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, Cudd.Man.v,
           'f)
          Env.O.t
      val of_expr0 :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        'Expr0.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val get_env :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t -> ('a, 'b, 'c, 'd, 'e) Env.O.t
      val to_expr0 :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bint.t -> 'Expr0.Bint.t
      val of_expr :
        (('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, [> `Bint of 'Int.t ])
        Env.value -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val to_expr :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        (('a, 'b, 'c, 'd, 'e) Env.O.t, [> `Bint of 'Int.t ]) Env.value
      val extend_environment :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, 'b, 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val of_int :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        [ `Bint of bool * int ] ->
        int -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val var :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val neg :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val succ :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val pred :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val add :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val sub :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val mul :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val shift_left :
        int ->
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val shift_right :
        int ->
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val scale :
        int ->
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val ite :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val zero :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val eq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val supeq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val sup :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val eq_int :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        int -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val supeq_int :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        int -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val sup_int :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        int -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val cofactor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val restrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val tdrestrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val substitute_by_var :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a * 'a) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val substitute :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        ('a * ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bint.t
      val guard_of_int :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        int -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val guardints :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bint.t ->
        (('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t * int) list
      val print :
        Format.formatter ->
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Bint.t -> unit
    end
  module Benum :
    sig
      type ('a, 'b, 'c) t = ('b, 'Enum.t) Env.value
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f)
          Env.O.t
      type ('a, 'b) dt = ('a, 'b, Cudd.Man.d) Expr1.O.Benum.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.d,
           'e)
          Env.O.t
      type ('a, 'b) vt = ('a, 'b, Cudd.Man.v) Expr1.O.Benum.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.v,
           'e)
          Env.O.t
      val of_expr0 :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        'Expr0.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val get_env :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t -> ('a, 'b, 'c, 'd, 'e) Env.O.t
      val to_expr0 :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Benum.t -> 'Expr0.Benum.t
      val of_expr :
        (('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, [> `Benum of 'Enum.t ])
        Env.value -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val to_expr :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        (('a, 'b, 'c, 'd, 'e) Env.O.t, [> `Benum of 'Enum.t ]) Env.value
      val extend_environment :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a, 'b, 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val var :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val ite :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val eq :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val eq_label :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val cofactor :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val restrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val tdrestrict :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val substitute_by_var :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a * 'a) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val substitute :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        ('a * ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr) list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Benum.t
      val guard_of_label :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
      val guardlabels :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.Benum.t ->
        (('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t * 'a) list
      val print :
        Format.formatter ->
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.Benum.t -> unit
    end
  val typ_of_expr :
    ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
    Expr1.O.t -> 'Env.typ
  val make :
    ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
    'Expr0.t -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr
  val of_expr0 :
    ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
    'Expr0.t -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr
  val get_env :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t -> ('a, 'b, 'c, 'd, 'e) Env.O.t
  val to_expr0 :
    ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
    Expr1.O.t -> 'Expr0.t
  val extend_environment :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a, 'b, 'c, 'd, 'e) Env.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val var :
    ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
    '-> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val ite :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.Bool.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val eq :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t
  val substitute_by_var :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a * 'a) list -> ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val substitute :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a * ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t) list ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val support :
    ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
    Expr1.O.t -> 'PSette.t
  val support_cond :
    ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
    Expr1.O.t -> 'Cudd.Bdd.t
  val cofactor :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val restrict :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val tdrestrict :
    ('a,
     ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t,
     'd)
    Expr1.O.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.Bool.t ->
    ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.t
  val print :
    Format.formatter ->
    ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
    Expr1.O.t -> unit
  module List :
    sig
      type ('a, 'b, 'c) t = ('b, 'Expr0.t list) Env.value
        constraint 'b =
          ('a, [> 'Env.typ ] as 'd, [> 'Env.typdef ] as 'e, 'c, 'f)
          Env.O.t
      type ('a, 'b) dt = ('a, 'b, Cudd.Man.d) Expr1.O.List.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.d,
           'e)
          Env.O.t
      type ('a, 'b) vt = ('a, 'b, Cudd.Man.v) Expr1.O.List.t
        constraint 'b =
          ('a, [> 'Env.typ ] as 'c, [> 'Env.typdef ] as 'd, Cudd.Man.v,
           'e)
          Env.O.t
      val of_lexpr0 :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        'Expr0.t list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.List.t
      val get_env :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.List.t -> ('a, 'b, 'c, 'd, 'e) Env.O.t
      val to_lexpr0 :
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.List.t -> 'Expr0.t list
      val of_lexpr :
        ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr list ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.List.t
      val to_lexpr :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.List.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.expr list
      val extend_environment :
        ('a,
         ('a, [> 'Env.typ ] as 'b, [> 'Env.typdef ] as 'c, 'd, 'e)
         Env.O.t, 'd)
        Expr1.O.List.t ->
        ('a, 'b, 'c, 'd, 'e) Env.O.t ->
        ('a, ('a, 'b, 'c, 'd, 'e) Env.O.t, 'd) Expr1.O.List.t
      val print :
        ?first:(unit, Format.formatter, unit) Pervasives.format ->
        ?sep:(unit, Format.formatter, unit) Pervasives.format ->
        ?last:(unit, Format.formatter, unit) Pervasives.format ->
        Format.formatter ->
        ('a, ('a, [> 'Env.typ ], [> 'Env.typdef ], 'b, 'c) Env.O.t, 'b)
        Expr1.O.List.t -> unit
    end
end