library colibrilib.spec — module DefinesThe 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.
module Defines217
The node r is the operation f applied to the node a
predicate defines1 (env: 'a -> 'v) (f: 'v -> 'v) (r a: 'a) =219env r = f (env a)220
The node r is the operation f applied to the nodes a and b
predicate defines2 (env: 'a -> 'v) (f: 'v -> 'v -> 'v) (r a b: 'a) =223env r = f (env a) (env b)224end225