compare package:Agda

Subphase for Termination.
Type-directed equality on argument lists
Type directed equality on terms or types.
Syntax directed equality on atomic values
Check whether a1 cmp a2 and continue in context extended by a1.
compareElims pols a v els1 els2 performs type-directed equality on eliminator spines. t is the type of the head v.
Compare two terms in irrelevant position. This always succeeds. However, we can dig for solutions of irrelevant metas in the terms we compare. (Certainly not the systematic solution, that'd be proof search...)
Check whether x xArgs cmp y yArgs
Type directed equality on values.
Equality on Types
compareBelowMax u vs checks u <= max vs. Precondition: size vs >= 2
Compare two sizes in max view.
Compare two sizes.