TorchLean API

Lean.Meta.Tactic.Grind.SynthInstance

Some modules in grind use builtin instances defined directly in core (e.g., lia). Users may provide nonstandard instances that are definitionally equal to the ones in core. Given a type, such as HAdd Int Int Int, this function returns the instance defined in core.

Instances For
    @[reducible, inline]
    Instances For

      Helper function for instantiating a type class type, and then using the result to perform isDefEq x val.

      Instances For