[Agda] [HoTT] Re: Why do we need judgmental equality?

Thorsten Altenkirch Thorsten.Altenkirch at nottingham.ac.uk
Sun Feb 17 12:44:26 CET 2019


    
    But function types are neither inductive nor conductive. Only N-> (-) ist
    coinductive.
    In presence of function types most coinductive types can be implemented.
    
You think of terminal coalgebras - that is not what I mean. To avoid this confusion I am using the term codata but most people in CS understand coinductive better. You can define a type by saying how elements can be constructed, this is data Alternatively you say what you can do with it, i.e. how elements can be destructed. The function type is not data, functions are not understood by the way they are constructed but what you can do with it. A function is something you can apply to an argument and you get a result. Codata types always introduce non-trivial equalities, because all you can do with a function is applying it to arguments two functions which provide the same output for all inputs are equal. Hence functional extensionality should hold.

    Maybe coinductive is a style of programming but nothing really foundational.

I think you miss something important here.




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 contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.






More information about the Agda mailing list