library colibrilib.dom_ring — module Exportmodule Export512use int.Int513use real.RealInfix514use list.List515use option.Option516use colibrilib.ring.Atom517use colibrilib.ring.Export as R518use colibrilib.env.Env519use colibrilib.env.Interval520use Env521use Ring522523use Run524
The normal form of the node of a ground term (+, -, *, and the numerator of a division by a node that is not zero)
let term (d:env) (g:ground) : unit528diverges529= Run.term d g530
r = a - b for a node r that is not a ground term (the node of the linear form a - b in the simplex): the caller gives the meaning
Valid (350ms) (colibri2)let sub [@requires:trusted "the caller in simplex.ml gives the meaning; to prove later"] (d:env) (r a b:Atom.t) : unit534requires { live d -> d.m r = d.m a -. d.m b }535diverges536= if use_ring d then begin537if active d then set d r (R.sub (atom d a) (atom d b)) else push_sub d r a b538end539
The linear form of x changed
let changed (d:env) (x:Atom.t) : unit542diverges543= Ring.changed d x544
The linear form of the product node pm changed
let solve_product (d:env) (pm:Atom.t) : unit547diverges548= Ring.solve_product d pm549end550