Common — library colibrilib.env — module AbsProduct

The products of absolute values (Dom_product.SolveAbs)

163
module AbsProduct
164
use real.Abs
165
use option.Option
166
use colibrilib.ring.Atom
167
use colibrilib.product.Prod as P
168
use Env

Dom_product.SolveAbs.get_repr: |n| = p, and the nodes of p with a negative exponent are not zero

172
val
get_repr
(d: envp 'm) (n:Atom.t) : option P.t
173
ensures { match result with
174
| Some p ->
175
(live d -> abs (d.m n) = P.eval d.m p /\ P.valid d.m p)
176
| None -> true
177
end }
178
end