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}
[FromJson α]
(p : α → Prop)
[DecidablePred p]
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.instToJsonSubtype_mathlib p = { toJson := fun (x : Subtype p) => Lean.toJson x.val }