Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Why dependent type theory?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Why dependent type theory?


Chronological Thread 
  • From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
  • To: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>, "coq-club AT inria.fr" <coq-club AT inria.fr>, agda-list <agda AT lists.chalmers.se>, "coq+miscellaneous AT discoursemail.com" <coq+miscellaneous AT discoursemail.com>, lean-user <lean-user AT googlegroups.com>
  • Subject: Re: [Coq-Club] Why dependent type theory?
  • Date: Wed, 4 Mar 2020 11:11:45 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=exmail.nottingham.ac.uk; dmarc=pass action=none header.from=exmail.nottingham.ac.uk; dkim=pass header.d=exmail.nottingham.ac.uk; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9YWFmUfoskSCeLazYTio5jSXBAZHutoFozg3G7dG7qU=; b=CIMvQJ2AKaA3eHB6LlPXqOt10Rcxowt0AcnkKRNp3aktAs+GukEo9pdfsX9clmly97ZbCm4qv9ykhB+89VKk7HtQCpWGmWl42X1rksFTytInY8Ttsxuyu2LpP4jQUyubkl3SUVHzvEpekiY/CI7dbAATQ0uHqdDgnxFGivz+GiylsXemcT0JArTBOw5j+BwYyRivx7ZJx/DViL2lEtR9DE9lA6peJ2Hj84WS4ojkkmO/yEw1pmwOVliD31DmTKJS8Z0CEXk5jHA292hFRjLawlP7JatVGwN6IiRQA7f9DgpSQZdl0HWQzwSdr035JbTmsTVOX25bpFZIGFyJvyUCow==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AtDdJKTtuRXFprzbl+SFHOHoPjetiZmkDJaVXQLUDXg8lWu1o6ep6306Sy7Mih9ocH8y6WBDLVz3dp4ZxfZCEBQYhwzwhcdU/L2GwovaZIk23zrk9zXvtNh84H+hpMhKdw+BUgosuKqhomfnqtqxe5u/eo6PWkcwC2PqwBC5LPuDLiCao86fSjr7yxHnS6+yu/3NX4nnn77PiuLgJdOxAu+zCMMZew7/bDcV7sCvM70bvKxu2UmWa+ur5ayRS+dbfrxdQRtaEZ024m46Vi0BKMSjZT7HJARj8McaZKCOhEYVztEvfJnfwWuG8GC8idWQHrc1RtFQAp13KPXomQkKNQ==
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Thorsten.Altenkirch AT nottingham.ac.uk; spf=Pass smtp.mailfrom=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.helo=postmaster AT uidappmx01.nottingham.ac.uk
  • Ironport-phdr: 9a23:ipR8TBIG0R32GCTysdmcpTZWNBhigK39O0sv0rFitYgXK/T4rarrMEGX3/hxlliBBdydt6sYzbOO4+u6AiQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vIxi6txjdutUVjIdtNKo8xAbCr2dVdehR2W5nKlWfkgrm6Myt5pBj6SNQu/wg985ET6r3erkzQKJbAjo7LW07/dXnuhbfQwSB4HscSXgWnQFTAwfZ9hH6X4z+vTX8u+FgxSSVJ8z2TbQzWTS/86dmTQLjhSkbOzIl9mzcl9d9h7xHrh2/uxN/wpbUYICLO/p4YqPdZs4RSW5YUspMSyBNHoawYo0SBOQDIOlYtZHwqVsQoxWjGQmiCuDhyjFKiXD43K01z+svHg7d0Qw8BN0OtWjYoMnvOaoQV+2+0anGzS/Eb/NTwTrz9ojIchc7ofGXQbJ/b8zRwlQzGgPBklWft4rlPzCU1uQXr2eb7/drWOWxhW4nrAFxuCOvxtsyhYnPnI4Y1lTE9Tlnz4YzJt24SVR7bs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w+g4tT1GeA55PFDAMXF5v6FFs0pUAj+uPqJxIl7oaR7kVCdKm5tjiYioA0Becs0g6lb48GdqWDCBPzFcIaDs3oIedshlv7Nh8=

Good point. However, this is on a different level. While you can replace one
object with another that behaves the same this doesn't mean that you can
replace one piece of program text with another that produces an object that
behaves the same. Clearly replacing program text must be an intensional
operation. When you design your software or proof you need to take care that
you support the right kind of parametrisation. Having types is essential but
it doesn't mean that good design comes for free. As far as the dependency of
code from arbitrary implementation choices is concerned I agree that we need
to be more flexible about the distinction of strict and definitional
equality.

Thorsten

On 04/03/2020, 10:39, "Pierre-Marie Pédrot"
<pierre-marie.pedrot AT inria.fr>
wrote:

On 04/03/2020 10:42, Thorsten Altenkirch wrote:
> To me the most important feature of Type Theory is the support of
> abstraction in Mathematics and computer science. Using types instead of
> sets means that you can hide implementation choices which is essential
> if you want to build towers of abstraction. Set theory fails here badly.

This is true, but I am also afraid that "dependent type theory" is a
regression on that point, compared to, say, ML.

Conversion is a fanciful abstraction-breaker that is a well-known source
of non-modularity in dependently-typed languages. Worse, there is not
even a proper way to abstract over it, except for monstruosities such as
Extensional Type Theory, where you throw the baby with the bathwater.

The weak type system of ML is a strength in this setting. As long as you
don't touch the interface, you can mess with the implementation and it
will still compile. (Running properly is another story.)

PMP






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.







Archive powered by MHonArc 2.6.18.

Top of Page