or also as a package :- use_package(nativeprops).
Note the slightly different names of the library and the package.
Usage:cardinality(Goal,Lower,Upper)
Goal has a number of solutions between Lower and Upper.
Usage 1:num_solutions(X,N)
Calls of the form X have N solutions, i.e., N is the cardinality of the solution set of X.
Usage 2:num_solutions(Goal,Check)
For a call to Goal, Check(X) succeeds, where X is the number of solutions.
Calls of the form X produce N solutions, i.e., N is the cardinality of the solution set of X.
Usage:relations(X,N)
Goal X produces N solutions.
Calls of the form X produce a finite number of solutions [DLGH97].
Usage:finite_solutions(X)
All the calls of the form X have a finite number of solutions.
Usage:solutions(Goal,Sols)
Goal Goal produces the solutions listed in Sols.