Equations
- Lean.instFromJsonPUnit_mathlib = { fromJson? := Lean.fromJsonPUnit✝ }
Equations
- Lean.instToJsonPUnit_mathlib = { toJson := Lean.toJsonPUnit✝ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.instToJsonFin_mathlib = { toJson := fun (i : Fin n) => Lean.toJson ↑i }
instance
Lean.instFromJsonSubtypeOfDecidablePred_mathlib
{α : Type u}
[Lean.FromJson α]
(p : α → Prop)
[DecidablePred p]
:
Lean.FromJson (Subtype p)
Equations
- One or more equations did not get rendered due to their size.
instance
Lean.instToJsonSubtype_mathlib
{α : Type u}
[Lean.ToJson α]
(p : α → Prop)
:
Lean.ToJson (Subtype p)
Equations
- Lean.instToJsonSubtype_mathlib p = { toJson := fun (x : Subtype p) => Lean.toJson x.val }