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

5 declarations. Mathlib docs · Source

def reportAdaptationNote E1 #

(Lean.Syntax → Lean.Meta.Tactic.TryThis.Suggestion) → Lean.MetaM Unit

General function implementing adaptation notes.

def adaptationNoteCmd E1 #

Lean.ParserDescr

#adaptation_note /-- comment -/ adds an adaptation note to the current file. Adaptation notes are comments that are used to indicate that a piece of code has been changed to accommodate a change in Lean core. They typically require further action/maintenance to be taken in the future.

This syntax works as a command, or inline in tactic or term mode.

def «tactic#adaptation_note_» E1 #

Lean.ParserDescr

#adaptation_note /-- comment -/ adds an adaptation note to the current file. Adaptation notes are comments that are used to indicate that a piece of code has been changed to accommodate a change in Lean core. They typically require further action/maintenance to be taken in the future.

This syntax works as a command, or inline in tactic or term mode.

def adaptationNoteTermStx E1 #

Lean.ParserDescr

#adaptation_note /-- comment -/ adds an adaptation note to the current file. Adaptation notes are comments that are used to indicate that a piece of code has been changed to accommodate a change in Lean core. They typically require further action/maintenance to be taken in the future.

This syntax works as a command, or inline in tactic or term mode.

def adaptationNoteTermElab E1 #

Lean.Elab.Term.TermElab

Elaborator for adaptation notes.