The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.Recover

2 declarations. Mathlib docs · Source

def Mathlib.Tactic.getUnassignedGoalMVarDependencies E1 #

Lean.MVarId → Lean.MetaM (Std.HashSet Lean.MVarId)

Get all metavariables which mvarId depends on. These are the metavariables which occur in the target or local context or delayed assignment (if any) of mvarId, plus the metavariables which occur in these metavariables, etc.

def Mathlib.Tactic.tacticRecover_ E1 #

Lean.ParserDescr

recover tacs applies the tactic (sequence) tacs and then re-adds goals that were incorrectly marked as closed. This helps to debug issues where a tactic closes goals without solving them (i.e. goals were removed from the MetaM state without the metavariable being assigned), resulting in the error "(kernel) declaration has metavariables".