Documentation

Lean.Meta.Sym.Arith.MonadCanon

  • canonExpr : Exprm Expr

    Canonicalize an expression (types, instances, support arguments). In SymM, this is Sym.canon. In PP.M (diagnostics), this is the identity.

  • synthInstance? : Exprm (Option Expr)

    Synthesize an instance, returning none on failure. In SymM, this is Sym.synthInstance?. In PP.M, this is Meta.synthInstance?.

Instances
    @[implicit_reducible, always_inline]
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For