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.Linter.DocString

4 declarations. Mathlib docs · Source

opaque Mathlib.Linter.linter.style.docString E1 #

Lean.Option Bool

The "DocString" linter validates style conventions regarding doc-string formatting.

opaque Mathlib.Linter.linter.style.docString.empty E1 #

Lean.Option Bool

The "empty doc string" warns on empty doc-strings.

opaque Mathlib.Linter.linter.style.docStringVerso E1 #

Lean.Option Bool

The docStringVerso linter warns on docstrings that cannot be parsed by Verso. Since this linter only checks syntax, not semantics, it is no assurance that complying docstrings are actually accepted by Verso.

def Mathlib.Linter.getDeclModifiers E1 #

Lean.Syntax → Array Lean.Syntax

Extract all declModifiers from the input syntax. We later extract the docstring from it, but we avoid extracting directly the docComment node, to skip #adaptation_notes.