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.Lean.Json

8 declarations. Mathlib docs · Source

instance Lean.instToJsonPUnit_mathlib E0 #

Lean.ToJson PUnit.{u_1 + 1}

instance Lean.instFromJsonPUnit_mathlib E0 #

Lean.FromJson PUnit.{u_1 + 1}

def Lean.instFromJsonPUnit_mathlib.fromJson E1 #

Lean.Json → Except String PUnit.{u_1 + 1}

def Lean.instToJsonPUnit_mathlib.toJson E1 #

PUnit.{u_1} → Lean.Json

instance Lean.instFromJsonFin_mathlib E0 #

{n : ℕ} → Lean.FromJson (Fin n)

instance Lean.instToJsonFin_mathlib E0 #

{n : ℕ} → Lean.ToJson (Fin n)

instance Lean.instFromJsonSubtypeOfDecidablePred_mathlib E0 #

{α : Type u} → [Lean.FromJson α] → (p : α → Prop) → [DecidablePred p] → Lean.FromJson (Subtype p)

instance Lean.instToJsonSubtype_mathlib E0 #

{α : Type u} → [Lean.ToJson α] → (p : α → Prop) → Lean.ToJson (Subtype p)