Documentation

Lean.Meta.Tactic.Grind.CastLike

Returns true if f is the embedding into an envelope type created by a grind solver.

Equations
Instances For

    Returns true if declName is the name of a cast-like function used to implement grind solvers. Unlike envelope embeddings, NatCast.natCast and IntCast.intCast also occur in user terms and may target types that no solver interprets (e.g., ZMod n).

    Equations
    Instances For

      Returns true if f is a cast-like operation.

      Equations
      Instances For