Documentation

Lean.Meta.Sym.InferType

Returns the type of e.

Instances For

    If type : sort and sort reduces to Sort u for some u, then getLevel type returns u.

    If sort is an assignable MVar, then getLevel type produces a fresh level metavariable ?u, assigns the MVar to Sort ?u and returns ?u.

    Instances For
      Instances For