Erase the given free variable from the goal mvarId
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[deprecated Lean.MVarId.clear]
Equations
- Lean.Meta.clear mvarId fvarId = Lean.MVarId.clear mvarId fvarId
Instances For
Try to erase the given free variable from the goal mvarId
. It is no-op if the free variable
cannot be erased due to forward dependencies.
Equations
- Lean.MVarId.tryClear mvarId fvarId = HOrElse.hOrElse (Lean.MVarId.clear mvarId fvarId) fun (x : Unit) => pure mvarId
Instances For
@[deprecated Lean.MVarId.tryClear]
Equations
- Lean.Meta.tryClear mvarId fvarId = Lean.MVarId.tryClear mvarId fvarId
Instances For
Try to erase the given free variables from the goal mvarId
.
Equations
- Lean.MVarId.tryClearMany mvarId fvarIds = Array.foldrM (fun (fvarId : Lean.FVarId) (mvarId : Lean.MVarId) => Lean.MVarId.tryClear mvarId fvarId) mvarId fvarIds (Array.size fvarIds) 0
Instances For
@[deprecated Lean.MVarId.tryClearMany]
Equations
- Lean.Meta.tryClearMany mvarId fvarIds = Lean.MVarId.tryClearMany mvarId fvarIds