|
|
|
|
|
by defanor
240 days ago
|
|
Languages with dependent types (Agda, Idris, Coq, Lean) seem even closer to the description, with a user supplying proofs of properties. For instance, as in idris2-algebra [1]. One can similarly define isomorphisms, or other kinds of morphisms, by listing their properties, and requiring proofs to construct. [1] https://github.com/stefan-hoeck/idris2-algebra |
|