coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ambrus Kaposi <kaposi.ambrus AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Silly question about decidable equality and inequality
- Date: Wed, 24 Jun 2020 13:15:17 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=kaposi.ambrus AT gmail.com; spf=Pass smtp.mailfrom=kaposi.ambrus AT gmail.com; spf=None smtp.helo=postmaster AT mail-ej1-f46.google.com
- Ironport-phdr: 9a23:z7KvsBKfwS4pcAkV9dmcpTZWNBhigK39O0sv0rFitYgeK//xwZ3uMQTl6Ol3ixeRBMOHsq8C0rqJ+PqxEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe9bL9oMRm7rgfcusYIjYZmN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9g61VoB2jpxJxzY3abpyLOvVica3QZs8aRXNbU8pNSyBNHoGxYo0SBOQBJ+ZYqIz9qkMSoBu7HgasHv7vyiRVjXHzx6I6y+MhERrH3Ac9GN8Os27brM3yNKcJUOC51rPHzTDYYPNMxDf985PFch8kof6WXLJwddDdxlUoFwPAl1idr5HuMDyJ2OoXqWeb8/ZgWvy1i24hswx/rTyiy8Yih4XUhY8YyFLJ+CR5zYg6ONC2R092bMKmHZZfuS+XKYV4T988TmxnuCg3yaMKtIKlcSUF1Zgq2gDSZvqaeIaL+hLuTPidLSt8iX5/e7+yhwy+/Va9xuD/TMW531dHoyxYmdfWrH8NzQbc6s2fR/t94Eih3TGP2hjW6u5eIEA0kbPXJIAjwrItj5YTv0vOEy7slEX5i6+WcUok+uy25Oj9frrmoZqcO5d1igH4LKsuhtSyDfokPgUKRWSW+uSx2Kf98UHkQ7hGlPI7n6jBvJDfP8sbp6q5AwFP0oYk7hayFzSm384AnXkAN1JFeQiLgJLsO17VOvD4EOy/jk+jkDdu3f/GP7nhDo/RIXjElbftZax95FJEyAov0dBf4IpZBa0GIPLqQ0P+qNjYDgIiPAGv2ObmCNB91psEVm6VA6+ZNrnSsV6S6e41LemMftxdhDGoIP88ovXqkHURmFkHfKDv04FERmq/G6FPJk+DfGGkod4ZFnwL9l49RfTtk1zEWDtZfWupd6057zA/TomhCNGQFciWnLWd0XLjTdVtbWdcBwXUSCu6R8C/Q/4JLRmqDIp5iDVdDOquToYg0Velswqok+M6fNqRwTURsNfY7PYw5+DXkktvpzl9DsDY3mPUCm8owCUHQDg52K05qkt4mA/agPpIxsdAHNkW3MtnFwIzNJrS1et/UomgVQfIf9PPQ1GjEIyr
Hi,
"Type Theory based on Dependent Inductive and Coinductive Types" by
Basold and Geuvers (LICS 2016) presents a type theory without a
function space and then extends it in a symmetric way with inductive
and coinductive types. Function space is given by a coinductive type.
Cheers,
Ambrus
On Wed, Jun 24, 2020 at 1:10 PM Thorsten Altenkirch
<Thorsten.Altenkirch AT nottingham.ac.uk> wrote:
>
> A kind of first-order type theory. You need to be careful because many
> principles like recursors and eliminators rely on functions, e.g. you
> cannot distribute + over times otherwise.
>
>
>
> I am not aware whether anybody has worked out the details.
>
>
>
> I think having coinductive types is quite natural but the equality in a
> system like coq is designed with only inductive types in mind.
>
>
>
> T.
>
> From: <coq-club-request AT inria.fr> on behalf of Dominique Larchey-Wendling
> <dominique.larchey-wendling AT loria.fr>
> Reply to: "coq-club AT inria.fr" <coq-club AT inria.fr>
> Date: Wednesday, 24 June 2020 at 12:05
> To: coq-club <coq-club AT inria.fr>
> Subject: Re: [Coq-Club] Silly question about decidable equality and
> inequality
>
>
>
> Thanks for your answer Thorsten. What would be a type theory w/o functions
> (and thus Pi types) ?
>
>
>
> D.
>
>
>
> ________________________________
>
> De: "Thorsten Altenkirch" <Thorsten.Altenkirch AT nottingham.ac.uk>
> À: "coq-club" <coq-club AT inria.fr>
> Envoyé: Mercredi 24 Juin 2020 12:58:17
> Objet: Re: [Coq-Club] Silly question about decidable equality and inequality
>
> Extensional equality is needed to facilitate abstraction. Otherwise you
> have to carry around equalities and you end up in setoid hell.
>
>
>
> It is slightly absurd: you cannot formulate a property in type theory that
> breaks extensional equality but then you need to prove this again and again?
>
>
>
> If you have functions you need funext, the function type is a basic
> coinductive type and this is its coinduction principle. Otherwise you could
> also argue that you don’t need induction for natural numbers and each time
> when you say something about natural numbers you relativize this to the
> inductive ones. Actually we were doing these sort of things when working in
> the pure calculus of constructions in the 1980ies.
>
>
>
> Philosophically, you mention Leibniz, i.e. equality of indescernibles.
> Indeed we should think about mathematical objects as given by their
> behaviour, ie their extension not the way they are defined, their
> intension. And indeed in type theory, unlike set theory, you can’t observe
> the definition. Hence extensionally equal objects are indescernible and
> hence equal. This is carried further by the univalence principle which
> applies this idea to types itself.
>
>
>
> I don’t understand your sentence “to avoid manipulating functions with
> their natural identity which is extensional identity”? I mean fun-ext
> exactly gives you “extensional identity” which is the correct equality of
> functions.
>
>
>
> A type theory with functions but without fun-ext is wrong, I don’t know a
> better word to describe this situation. Yes Coq is currently wrong but this
> can be fixed. You don’t even have to go all the way to HoTT as I already
> argued in 1999 (i..e before HoTT).
>
>
>
> Thorsten
>
>
>
> From: <coq-club-request AT inria.fr> on behalf of Dominique Larchey-Wendling
> <dominique.larchey-wendling AT loria.fr>
> Reply to: "coq-club AT inria.fr" <coq-club AT inria.fr>
> Date: Wednesday, 24 June 2020 at 11:00
> To: coq-club <coq-club AT inria.fr>
> Subject: Re: [Coq-Club] Silly question about decidable equality and
> inequality
>
>
>
> Hi Thorsten,
>
>
>
> Well wanting to prove Leibniz identity of functions is already attributing
>
> them a more specific meaning that what the underlying type theory tells you
>
> about their properties ;-)
>
>
>
> I'd be interested with a simple example where funext is actually needed,
>
> ie it is not just a convenience to avoid manipulating functions with their
>
> natural identity which is extensional identity (or recursively for HO
> functions).
>
>
>
> Best,
>
>
>
> D.
>
>
>
>
>
> 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.
>
>
>
>
>
>
>
>
>
> 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.
>
>
>
- Re: [Coq-Club] Silly question about decidable equality and inequality, (continued)
- Re: [Coq-Club] Silly question about decidable equality and inequality, Yannick Forster, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Guillaume Melquiond, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Dominique Larchey-Wendling, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Dominique Larchey-Wendling, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Pierre-Marie Pédrot, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Bob Atkey, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Pierre-Marie Pédrot, 06/26/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Bob Atkey, 06/25/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Ambrus Kaposi, 06/24/2020
- Re: [Coq-Club] Silly question about decidable equality and inequality, Thorsten Altenkirch, 06/24/2020
Archive powered by MHonArc 2.6.19+.