Documentation

Lean.Meta.Tactic.Cbv.Util

Cbv Utility Functions #

Predicates for recognizing ground literal values (isVal, isBuiltinValue) and proof terms (isProofTerm) in the SymM monad. Both are used by cbvPre to short-circuit before structural dispatch.

Returns .rfl (done := true) for ground literal values of any recognized builtin type, preventing the simplifier from recursing into them. For example, this stops the evaluator from trying to unfold OfNat.ofNat 2 further.

Instances For

    Marks proof terms as done so the simplifier does not recurse into them.

    Instances For