Extensionality in category theory RE: User Requirements Survey for CT Software (Beta)

Hey Joie, I'll cc the list because certain list members (Dan, Gershom, and others) can better clarify / expound on this topic
Probably the simplest example is function extensionality , that is the reasoning principle that if forall X , g X == f X , then g == f
My understanding is that it can be derived in a homotopy type theory setting, but in in more standard type theories like vanilla coq / Agda / lean that folks often use to model certain categorical objects, this is at best a not computable axiom.
The very definitions of an epimorphism and monomorphism (the categorical generalization of the dual pair of surjective and injective mappings) Have a sort of function extensional equality!
https://ncatlab.org/nlab/show/equality
Touches a wee bit On the topic of equalities. There's a number of approaches to treating / deciding when two ... Things (a very technical term 😉)are the same / equal.
-Carter
_____________________________
From: Breiner, Spencer J. (Fed)

Carter,
Hi. This is Spencer Breiner; I am Joie’s supervisor here at NIST. Extensionality is certainly an issue when we are talking about categorical models of type theory, but I don’t see it as such an issue here (which could just be lack of insight).
Certainly it would depend on which type of functional component in the software is involved. In the simplest case, defining a finite category of paths from a directed acyclic graph poses no problems; ditto for path equations in the finite case.
Of course, once we allow cyclic graphs we can get infinite categories, and (if I remember correctly) path equations becomes semi-decidable. In particular, we really need to distinguish between the abstract category and its presentation in terms of generators and relations.
Whether this is a problem or not depends on what we want to do with the category. Functors out are no problem, functors in might be. The real issue seems to be whether you need and are able to check equalities between arrows. Where it does arise, I suspect the solution would be something like in HoTT, where we use computer-aided proof search to verify the equations that we need. Are there particular sorts of things that you would like to do with categories (besides modeling type theory ;-), where you think these sorts of issues would probably arise?
For the work with Joie we are focused on user interface and functional requirements, but I am very interested in these sorts of questions.
Thanks,
Spencer
From: Carter Schonwald [mailto:carter.schonwald@gmail.com]
Sent: Monday, June 27, 2016 10:02 AM
To: Murphy, Joie R. (Assoc)
participants (2)
-
Breiner, Spencer J. (Fed)
-
Carter Schonwald