Equations
- Lean.instFromJsonPUnit = { fromJson? := Lean.fromJsonPUnit✝ }
Equations
- Lean.instToJsonPUnit = { toJson := Lean.toJsonPUnit✝ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.instToJsonFin = { toJson := fun (i : Fin n) => Lean.toJson i.val }
instance
Lean.instFromJsonSubtype
{α : 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
{α : Type u}
[Lean.ToJson α]
(p : α → Prop)
:
Lean.ToJson (Subtype p)
Equations
- Lean.instToJsonSubtype p = { toJson := fun (x : Subtype p) => Lean.toJson x.val }