Common — library colibrilib.dom_ring — module Export
512
module Export
513
use int.Int
514
use real.RealInfix
515
use list.List
516
use option.Option
517
use colibrilib.ring.Atom
518
use colibrilib.ring.Export as R
519
use colibrilib.env.Env
520
use colibrilib.env.Interval
521
use Env
522
use Ring
523
524
use Run

The normal form of the node of a ground term (+, -, *, and the numerator of a division by a node that is not zero)

528
let
term
(d:env) (g:ground) : unit
529
diverges
530
= Run.term d g

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)
534
let
sub
[@requires:trusted "the caller in simplex.ml gives the meaning; to prove later"] (d:env) (r a b:Atom.t) : unit
535
requires { live d -> d.m r = d.m a -. d.m b }
536
diverges
537
= if use_ring d then begin
538
if active d then set d r (R.sub (atom d a) (atom d b)) else push_sub d r a b
539
end

The linear form of x changed

542
let
changed
(d:env) (x:Atom.t) : unit
543
diverges
544
= Ring.changed d x

The linear form of the product node pm changed

547
let
solve_product
(d:env) (pm:Atom.t) : unit
548
diverges
549
= Ring.solve_product d pm
550
end