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 / V03. Sets, finite structures and big operators

Mathlib.Data.Finsupp.Notation

13 declarations. Mathlib docs · Source

def Finsupp.fun₀.formatter E1 #

Lean.PrettyPrinter.Formatter

def Finsupp.fun₀.matchAlts.parenthesizer E1 #

Lean.PrettyPrinter.Parenthesizer

def Finsupp.fun₀.matchAlts.formatter E1 #

Lean.PrettyPrinter.Formatter

def Finsupp.fun₀.parenthesizer E1 #

Lean.PrettyPrinter.Parenthesizer

def Finsupp.fun₀.matchAlts E1 #

Lean.Parser.Parser

def Finsupp.fun₀ E1 #

Lean.Parser.Parser

fun₀ | i => a is notation for Finsupp.single i a, and with multiple match arms, fun₀ ... | i => a is notation for Finsupp.update (fun₀ ...) i a.

As a result, if multiple match arms coincide, the last one takes precedence.

If the expected type is Π₀ i, α i (DFinsupp) and Mathlib/Data/DFinsupp/Notation.lean is imported, then this is notation for DFinsupp.single and Dfinsupp.update instead.

def Finsupp.Internal.stxSingle₀ E1 #

Lean.ParserDescr

Implementation detail for fun₀, used by both Finsupp and DFinsupp

def Finsupp.Internal.stxUpdate₀ E1 #

Lean.ParserDescr

Implementation detail for fun₀, used by both Finsupp and DFinsupp

def Finsupp.Internal.elabSingle₀ E1 #

Lean.Elab.Term.TermElab

Finsupp elaborator for single₀.

def Finsupp.Internal.elabUpdate₀ E1 #

Lean.Elab.Term.TermElab

Finsupp elaborator for update₀.

def Finsupp.singleUnexpander E1 #

Lean.PrettyPrinter.Unexpander

Unexpander for the fun₀ | i => x notation.

def Finsupp.updateUnexpander E1 #

Lean.PrettyPrinter.Unexpander

Unexpander for the fun₀ | i => x notation.

instance Finsupp.instRepr E0 #

{α : Type u_1} → {β : Type u_2} → [Repr α] → [Repr β] → [inst : Zero β] → Repr (α →₀ β)

Display Finsupp using fun₀ notation.