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.Set.Notation

3 declarations. Mathlib docs · Source

def Set.Notation.«term_↓∩_» E1 #

Lean.TrailingParserDescr

Given two sets A and B, A ↓∩ B denotes the intersection of A and B as a set in Set A.

The notation is short for ((↑) ⁻¹' B : Set A), while giving hints to the elaborator that both A and B are terms of Set α for the same α. This set is the same as {x : ↑A | ↑x ∈ B}.

instance Set.Notation.instCoeHeadElem E0 #

{α : Type u_1} → {s : Set α} → CoeHead (Set ↑s) (Set α)

Coercion using (Subtype.val '' ·)

def Set.Notation.delabSetImageSubtype E1 #

Lean.PrettyPrinter.Delaborator.Delab

If the Set.Notation namespace is open, sets of a subtype coerced to the ambient type are represented with ↑.