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.DSimpPercent

2 declarations. Mathlib docs · Source

def Mathlib.Tactic.dsimpPercent E1 #

Lean.ParserDescr

dsimp% […] t runs dsimp […] on term t. If t is a proof, then it runs dsimp […] on the type of t instead.

For instance, instead of

have foo := ...
dsimp at foo
rw [foo]

one can write rw [dsimp% foo].

def Mathlib.Tactic.dsimpPercentElaborator E1 #

Lean.Elab.Term.TermElab

dsimp% […] t runs dsimp […] on term t. If t is a proof, then it runs dsimp […] on the type of t instead.

For instance, instead of

have foo := ...
dsimp at foo
rw [foo]

one can write rw [dsimp% foo].