module Bint: sig
.. end
type 'a
t = ('a Bddapron.Env.t, Cudd.Man.v Bdd.Int.t) Bddapron.Env.value
val of_expr0 : 'a Bddapron.Env.t -> 'a Bddapron.Expr0.Bint.t -> 'a t
Creation from an expression of level 0 (without environment)
val get_env : 'a t -> 'a Bddapron.Env.t
val to_expr0 : 'a t -> 'a Bddapron.Expr0.Bint.t
Extract resp. the environment and the underlying
expression of level 0
val of_expr : 'a Bddapron.Expr1.expr -> 'a t
val to_expr : 'a t -> 'a Bddapron.Expr1.expr
Conversion from/to general expression
val extend_environment : 'a t -> 'a Bddapron.Env.t -> 'a t
Extend the underlying environment to a superenvironment,
and adapt accordingly the underlying representation
val of_int : 'a Bddapron.Env.t ->
'a Bddapron.Cond.t ->
[ `Bint of bool * int ] -> int -> 'a t
val var : 'a Bddapron.Env.t -> 'a Bddapron.Cond.t -> 'a -> 'a t
val neg : 'a Bddapron.Cond.t -> 'a t -> 'a t
val succ : 'a Bddapron.Cond.t -> 'a t -> 'a t
val pred : 'a Bddapron.Cond.t -> 'a t -> 'a t
val add : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a t
val sub : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a t
val mul : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a t
val shift_left : 'a Bddapron.Cond.t ->
int -> 'a t -> 'a t
val shift_right : 'a Bddapron.Cond.t ->
int -> 'a t -> 'a t
val scale : 'a Bddapron.Cond.t ->
int -> 'a t -> 'a t
val ite : 'a Bddapron.Cond.t ->
'a Bddapron.Expr1.Bool.t ->
'a t ->
'a t -> 'a t
val zero : 'a Bddapron.Cond.t -> 'a t -> 'a Bddapron.Expr1.Bool.t
val eq : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a Bddapron.Expr1.Bool.t
val supeq : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a Bddapron.Expr1.Bool.t
val sup : 'a Bddapron.Cond.t ->
'a t ->
'a t -> 'a Bddapron.Expr1.Bool.t
val eq_int : 'a Bddapron.Cond.t ->
'a t -> int -> 'a Bddapron.Expr1.Bool.t
val supeq_int : 'a Bddapron.Cond.t ->
'a t -> int -> 'a Bddapron.Expr1.Bool.t
val sup_int : 'a Bddapron.Cond.t ->
'a t -> int -> 'a Bddapron.Expr1.Bool.t
val cofactor : 'a t ->
'a Bddapron.Expr1.Bool.t -> 'a t
val restrict : 'a t ->
'a Bddapron.Expr1.Bool.t -> 'a t
val tdrestrict : 'a t ->
'a Bddapron.Expr1.Bool.t -> 'a t
val substitute_by_var : ?memo:Cudd.Memo.t ->
'a Bddapron.Cond.t ->
'a t -> ('a * 'a) list -> 'a t
val substitute : ?memo:Cudd.Memo.t ->
'a Bddapron.Cond.t ->
'a t ->
('a * 'a Bddapron.Expr1.expr) list -> 'a t
val guard_of_int : 'a Bddapron.Cond.t ->
'a t -> int -> 'a Bddapron.Expr1.Bool.t
Return the guard of the integer value.
val guardints : 'a Bddapron.Cond.t ->
'a t -> ('a Bddapron.Expr1.Bool.t * int) list
Return the list g -> n
of guarded values.
val print : 'a Bddapron.Cond.t -> Format.formatter -> 'a t -> unit