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

2 declarations. Mathlib docs · Source

def Mathlib.Tactic.renameArg E1 #

Lean.ParserDescr

A parser for a single rename to perform in the rename tactic: these should have the form h => hnew (describing a rename of a hypothesis h to hnew).

def Mathlib.Tactic.rename' E1 #

Lean.ParserDescr

rename' h => hnew renames the hypothesis named h to hnew. To rename several hypothesis, use rename' h₁ => h₁new, h₂ => h₂new. You can use rename' a => b, b => a to swap two variables.