1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package lambdapi
-
lambdapi.tool
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val log_inv : 'a Lplib.Base.outfmt -> 'a
cache f s
is equivalent to f s
but f s
is computed only once unless the rules of s
are changed.
inverse_const s s'
returns s0
if s
has a rule of the form s (s0
...) ↪ s' ...
.
- raises [Not_found]
otherwise.
cached version of prod_graph
.
inverse_prod s s'
returns (s0,s1,s2,b)
if s
has a rule of the form s (s0 _ _) ↪ Π x:s1 _, s2 r
with b=true
iff x
occurs in r
, and either s1
has a rule of the form s1 (s3 ...) ↪ s' ...
or s1 == s'
.
- raises [Not_found]
otherwise.