Examples of various uses of refinement types in Elf in various stages of
completion and detail.  Extension <file>.rlf is the refinement type version,
<file>.elf is an interpretation into the core language.  Arguments are
randomly and capriciously omitted in the core Elf version: read it into
Elf to see the fully expanded version:

% /afs/cs/project/ergo/research/elf/bin/elfsml
- use "load.sml";
- load ();

Now you may try example queries (some are given in the .elf files)

- top ();
?- ... cut and paste the examples here ...

The current files are:

lf     --- a partial formulation of LF (no equivalence) stratified
	   out of a system with type:type.

fohh   --- first-order hereditary Harrop formulas and a logic program
	   interpreter.

miniml --- a simplified version of miniml expressions and evaluation.

mlty   --- ML-style polymorphism via refinement types.

nat    --- some operations on unary and binary natural numbers

nd     --- natural deductions, normal forms, and normalization.
