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 / V01. The language of Mathlib

Mathlib.Util.WithWeakNamespace

3 declarations. Mathlib docs · Source

def Lean.Elab.Command.resolveNamespace E1 #

Lean.Name → Lean.Name → Lean.Name

Adds the name to the namespace, _root_-aware.

resolveNamespace `A `B.b == `A.B.b
resolveNamespace `A `_root_.B.c == `B.c

def Lean.Elab.Command.withWeakNamespace E1 #

{α : Type} → Lean.Name → Lean.Elab.Command.CommandElabM α → Lean.Elab.Command.CommandElabM α

Changes the current namespace without causing scoped things to go out of scope

def Lean.Elab.Command.commandWith_weak_namespace__ E1 #

Lean.ParserDescr

Changes the current namespace without causing scoped things to go out of scope