Common — library colibrilib.bitwise_rules — module TermInterval

The domain of the reals of a node (trusted), separate from Term so that the proofs of Rules do not have union_congr.mlw in their context

751
module TermInterval
752
use int.Int
753
use real.FromInt
754
use option.Option
755
use colibrilib.bdd.Node
756
use colibrilib.env.Env
757
use colibrilib.union_congr.UnionCongr as UC
758
use Term

Dom_interval.get_dom: the domain of the reals of the node, which holds its integer value; None for a node without one (a Boolean)

762
val
interval
(d:env) (n:Node.t) : option UC.t
763
ensures { match result with
764
| Some u -> live d -> UC.mem (from_int (ienv d n)) u
765
| None -> true end }

The known bits are read from the domain of the reals (not --lra-no-int-to-bv)

769
val
use_domain
(d:env) : bool
770
end