Common — library colibrilib.env — module Linear

The linear forms (Dom_polynome)

144
module Linear
145
use option.Option
146
use colibrilib.ring.Atom
147
use colibrilib.polynome.Lin
148
use Env

Dom_polynome.get_repr

151
val
get_repr
(d: envp 'm) (n:Atom.t) : option Lin.t
152
ensures { match result with
153
| Some p -> (live d -> d.m n = eval d.m p)
154
| None -> true
155
end }

Dom_polynome.normalize: the nodes replaced by their linear forms

158
val
normalize
(d: envp 'm) (p: Lin.t) : Lin.t
159
ensures { live d -> eval d.m result = eval d.m p }
160
end