Ground Term Evaluation for Sym.dsimp #
This module provides simplification procedures (Simproc) for evaluating ground terms
of builtin types. It is designed for the Sym.dsimp simplifier and addresses
performance issues in the standard Meta.Simp simprocs.
Simplification procedure that evaluates ground terms of builtin types.
Important: This procedure assumes subterms have already been simplified. It evaluates a single operation on literal arguments only. For example:
2 + 3→ evaluates to52 + (3 * 4)→ returns.rfl(the argument3 * 4is not a literal)
The simplifier is responsible for term traversal, ensuring subterms are reduced
before evalGround is called on the parent expression.