This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
That is more precisely what I mean, although the object-less representation of categories is well-known. In this case the dependent family approach is usually more sensible. But I don't know if that's generally true (or even possible) for all essentially algebraic theories.
That is more precisely what I mean, although the object-less representation of categories is well-known. In this case the dependent family approach is usually more sensible. But I don't know if that's generally true (or even possible) for all essentially algebraic theories.
On Sat, Mar 21, 2015 at 3:04 AM, Peter LeFanu Lumsdaine
<p.l.lu...@gmail.com> wrote:
> On Sat, Mar 21, 2015 at 5:05 AM, Fran Mota <fmo...@gmail.com> wrote:
>>
>> That is more precisely what I mean, although the object-less
>> representation of categories is well-known. In this case the dependent
>> family approach is usually more sensible. But I don't know if that's
>> generally true (or even possible) for all essentially algebraic theories.
>
> I seem to remember that this is always possible, though I’m afraid the
> source for that belief escapes me for the moment.
I would have guessed differently, since essentially algebraic theories
are given by categories with finite limits, whereas dependent type
theories are given by things like categories with families, where only
display maps have pullbacks. So, if you have to take the pullback of
something that is not a fibration to express the domain of an
operation, I don't see how you can represent this in a dependent type
theory.
For example, can you represent the following with dependent
types?
f : A -> A
g : A x A -> A, where g(x,y) is defined iff f x = f y.