or also as a package :- use_package(nativeprops).
Note the slightly different names of the library and the package.
Usage:approx(X)
X represents an approximation.
Usage:resource_id(X)
X is the name/identifier of a resource, either an atom or a compound term.
Usage:cost_expression(X)
X is a cost expression.
Usage:agg_expression(X)
X is an aggregation expression.
Currently supported constants:
Usage:numeric_constant(X)
X represents a numeric constant.
Usage:size_term(X)
X represents the size of a term.
Usage:indexvar(X)
X is an index variable.
Usage:number_lattice(X)
X is a number, inf or bot.
The exact size (for any approximation) of term X is given by expression Y, which may depend on the size of other terms. size(X,Y) is equivalent to size(exact,X,Y).
Usage:size(X,Y)
Y is the size of argument X, for any approximation.
The size of term X for the approximation A is given by expression Y, which may depend on the size of other terms.
Usage:size(A,X,Y)
Y is the size of argument X, for the approximation A.
The size of term X, measured in metric M, for the approximation A is given by expression Y, which may depend on the size of other terms.
Usage:size(A,M,X,Y)
Y is the size of argument X measured in M, for the approximation A.
The minimum size of the terms to which the argument X is bound is given by the expression Y. Various measures can be used to determine the size of an argument, e.g., list-length, term-size, term-depth, integer-value, etc. [DL93,LGHD96]. See measure_t/1.
Usage:size_lb(X,Y)
Y is a lower bound on the size of argument X.
The maximum size of the terms to which the argument X is bound is given by the expression Y. Various measures can be used to determine the size of an argument, e.g., list-length, term-size, term-depth, integer-value, etc. [DL93,LGHD96]. See measure_t/1.
Usage:size_ub(X,Y)
Y is a upper bound on the size of argument X.
Usage:size_o(X,Y)
The size of argument X is in the order of expression Y.
Usage:size_metric(Head,Var,Metric)
Metric is the measure used to determine the size of the terms that Var is bound to, for any type of approximation.
Usage:size_metric(Head,Approx,Var,Metric)
Metric is the measure used to determine the size of the terms that variable Var bound to, for the approximation Approx.
Usage:measure_t(X)
X is a term size metric.
The minimum computation (in resolution steps) spent by any call of the form X is given by the expression Y [DLGHL97,LGHD96]
Usage:steps_lb(X,Y)
Y is a lower bound on the cost of any call of the form X.
The maximum computation (in resolution steps) spent by any call of the form X is given by the expression Y [DL93,LGHD96].
Usage:steps_ub(X,Y)
Y is a upper bound on the cost of any call of the form X.
The computation (in resolution steps) spent by any call of the form X is given by the expression Y
Usage:steps(X,Y)
Y is the cost (number of resolution steps) of any call of the form X.
The big O expression of the computation (in resolution steps) spent by any call of the form X is given by the expression Y
Usage:steps_o(X,Y)
Y is the complexity order of the cost of any call of the form X.
Usage:rsize(Var,SizeDescr)
Var has its size defined by SizeDescr.
Lower (res. Upper) is a (safe) lower (res. upper) bound on the cost of the computation of Goal in terms of Resource units.
Usage:costb(Goal,Resource,Lower,Upper)
Lower (resp. Upper) is a (safe) lower (resp. upper) bound on the cost of the computation of Goal expressed in terms of Resource units.
Expr is a (safe) upper or lower bounds, depending on the value of Approx (see approx/1), of the cost of computation of the goal Goal in terms of Resource units.
Usage:cost(Goal,Approx,Resource,Expr)
Expr is a safe upper or lower bounds (depending on Approx) of the cost of computing Goal in terms of Resource units.
Calls of the form X always terminate.
Usage:terminates(X)
All calls of the form X terminate.