Instantiates metavariables occurring in e, and returns a maximally shared term.
Equations
- Lean.Meta.Sym.instantiateMVarsS e = if e.hasMVar = true then do let __do_lift ← Lean.instantiateMVars e Lean.Meta.Sym.shareCommon __do_lift else pure e
Instances For
Head-only variant of instantiateMVarsS: instantiates and reshares only when the head of e is a
metavariable, otherwise returns e unchanged.