coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Dominique Larchey-Wendling <dominique.larchey-wendling AT loria.fr>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Why dependent type theory?
- Date: Tue, 3 Mar 2020 23:56:10 +0100 (CET)
What comes first to my mind is my own experience
that it is generally not possible to define nested recursive
functions such as eg MCarthy's F91
F91 x = if x > 100 then x - 10 else F91 (F91 (x+11))
w/o using dependent types because they allow you to express
properties of the output that you can feed into the type-checker
for termination.
On the other hand, proving properties after defining the function
does not work with nested calls because you need those properties
while constructing termination certificates.
Of course if you work in a framework where termination of all
functions is not required by the type-checker, then you won't
have such a constraint.
Same applies for proofs that require nested inductions.
Sometimes, it is also very convenient to pack terms with correctness
certificates. This happened on our automation of Diophantine
relations when formalization Hilbert tenth problem in Coq with
Yannick Forster.
Best,
Dominique
De: "Jason Gross" <jasongross9 AT gmail.com>
À: "coq-club" <coq-club AT inria.fr>, "agda-list" <agda AT lists.chalmers.se>, coq+miscellaneous AT discoursemail.com, "lean-user" <lean-user AT googlegroups.com>
Envoyé: Mardi 3 Mars 2020 20:43:30
Objet: [Coq-Club] Why dependent type theory?
I'm in the process of writing my thesis on proof assistant performance bottlenecks (with a focus on Coq), and there's a large class of performance bottlenecks that come from (mis)using the power of dependent types. So in writing the introduction, I want to provide some justification for the design decision of using dependent types, rather than, say, set theory or classical logic (as in, e.g., Isabelle/HOL). And the only reasons I can come up with are "it's fun" and "lots of people do it"So I'm asking these mailing lists: why do we base proof assistants on dependent type theory? What are the trade-offs involved?I'm interested both in explanations and arguments given on list, as well as in references to papers that discuss these sorts of choices.Thanks,Jason
- Re: [Coq-Club] [Agda] Why dependent type theory?, (continued)
- Re: [Coq-Club] [Agda] Why dependent type theory?, Martin Escardo, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Sylvain Boulmé, 03/04/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Kevin Buzzard, 03/05/2020
- Re: [Coq-Club] [lean-user] Re: [Agda] Why dependent type theory?, Bas Spitters, 03/08/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Thorsten Altenkirch, 03/12/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Mario Carneiro, 03/13/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Kevin Buzzard, 03/13/2020
- Message not available
- Message not available
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Bas Spitters, 03/17/2020
- Message not available
- Message not available
- Message not available
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Thorsten Altenkirch, 03/18/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Thorsten Altenkirch, 03/12/2020
- Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?, Stefan Monnier, 03/15/2020
- Re: [Coq-Club] [lean-user] Re: [Agda] Why dependent type theory?, Bas Spitters, 03/08/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Martin Escardo, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Guillaume Melquiond, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Dominique Larchey-Wendling, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Pierre Courtieu, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Jeremy Dawson, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Dominique Larchey-Wendling, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Makarius, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Pierre-Marie Pédrot, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Thorsten Altenkirch, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Dominique Unruh, 03/04/2020
Archive powered by MHonArc 2.6.18.