Common — library colibrilib.spec — module Defines

The shapes of the facts on the nodes in one environment (the model of the e–graph): env n is the value of the node n.

217
module Defines

The node r is the operation f applied to the node a

219
predicate
defines1
(env: 'a -> 'v) (f: 'v -> 'v) (r a: 'a) =
220
env r = f (env a)

The node r is the operation f applied to the nodes a and b

223
predicate
defines2
(env: 'a -> 'v) (f: 'v -> 'v -> 'v) (r a b: 'a) =
224
env r = f (env a) (env b)
225
end