coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Kevin Buzzard <kevin.m.buzzard AT gmail.com>
- To: coq-club AT inria.fr
- Cc: jasongross9 AT gmail.com, agda-list <agda AT lists.chalmers.se>, coq+miscellaneous AT discoursemail.com, lean-user <lean-user AT googlegroups.com>
- Subject: Re: [Coq-Club] [Agda] Why dependent type theory?
- Date: Thu, 5 Mar 2020 11:24:45 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=kevin.m.buzzard AT gmail.com; spf=Pass smtp.mailfrom=kevin.m.buzzard AT gmail.com; spf=None smtp.helo=postmaster AT mail-ot1-f51.google.com
- Ironport-phdr: 9a23:33fdOB2oxaJpwvBIsmDT+DRfVm0co7zxezQtwd8ZseISL/ad9pjvdHbS+e9qxAeQG9mCt7Qd0rKd6fCocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLx/IA+roQnMqsUajpVuJ6UswRbVv3VEfPhbymxvKV+PhRj3+92+/IRk8yReuvIh89BPXKDndKkmTrJWESorPXkt6MLkqRfMQw2P5mABUmoNiRpHHxLF7BDhUZjvtCbxq/dw1zObPc3ySrA0RCii4qJ2QxLmlCsLKzg0+3zMh8dukKxUvg6upx1nw47Vfo6VMuZ+frjAdt8eXGZNQ9pdWzBEDo66coABDfcOPfxAoobyqVsBrxuwCwevCu3y1DFHmmT70rcm3+k7CwzKwBAsEtAIvX/JrNv1LqASUeWtwafN0zrDcfJW2THg44XVbxAgoPCNUqhqccXM1EIiEADFgUuOqYzkOTOZzOENv3KA4Op9VOOuinQoqxtsrTW0yccsj5PGhoMRylze6Sp5x4M1KMS+RUVmb9CkF55QuDubN4twWs4tX2Fotzw+yr0Dp5G7ZjMKxI48xxHBc/CIaIiI7QjmVOqLOzh3mGhpeK+8hxu07EOuyfX8W9Gq3FpWqidJiNrBu3AX2xDN98SLVuFx80e81TuJygvd8PtLIVoumqreM5MhwqA/lp4UsUnbGy/5gkT2jKuPekUj5uik9v3rYrvmq5OBLYN0hQb+MqMhmsy7H+s0KBQBX2+e+eik1b3j+1P2QKlSg/EojqXUtIrWKMcbq6KjHQNZz5ov5wy/Aju7yNgYmGMILFNBeBKJlYjpPFTOLej7DfihnVSskTFry+rDPrH7GZrNM3nCkbb7crZn9kFR0wUzzdVF6JJVDrENOu78Wkj0tNDAFB82LxS0w/r7CNV6zo4RRWWPAraAPKzOtV+I+/kgLvKXZI4VvTb9M+Iq6+TvjX8/g18dfLOm0YEZaHCiTbxaJBCSZmOpidMcG08LuBA/Rarkkg6sSzlWMlW/QaM6rhsmGpCvF4uLEoOgnr2HmiL9FIBEdGlcBniDFH7pc8OPXPJaO3HaGdNojjFRDevpcIQmzxz78Vaik+M6fNqRwTURsNfY7PYw5+DXkktvpzl9DsDY1H3UCm8pxyUHQDg52K05qkt4mA/agPpIxsdAHNkW3MtnFwIzNJrS1et/UomgVQfIf9PPQ1GjEIz/XWMBC+kpytpLWH5TXs24h0majSWvCr4R0beMAc5s/w==
On Wed, 4 Mar 2020 at 07:18, Martin Escardo <m.escardo AT cs.bham.ac.uk> wrote:
Dependent types are good for pure mathematics (classical or
constructive). They are the natural home to define group, ring, metric
space, topological space, poset, lattice, category, etc, and study them.
Mathematicians that use(d) dependent types include Voevodsky (in Coq)
and Kevin Buzzard (in Lean), among others. Kevin and his team defined,
in particular, perfectoid spaces in dependent type theory. Martin
The BCM (Buzzard, Commelin, Massot) paper defined perfectoid spaces in Lean
and looking forwards (in the sense of trying to attract "working mathematicians"
into the area of formalisation) I think it's an interesting question as to whether this definition
could be made in other systems in a way which is actually usable. My guess: I don't see why it couldn't
be done in Coq (but of course the type theories of Lean and Coq are similar), although
there is a whole bunch of noncomputable stuff embedded in the mathematics.
I *suspect* that it would be a real struggle to do it in any of the HOL systems
because a sheaf is a dependent type, but these HOL people are good at tricks
for working around these things -- personally I would start with seeing whether
one can set up a theory of sheaves of modules on a locally ringed space in a HOL
system, because that will be the first stumbling block. And as for the HoTT systems,
I have no feeling as to whether it is possible to do any serious mathematics other than
category theory and synthetic homotopy theory -- my perception is that
the user base are more interested in other kinds of questions.
In particular, connecting back to the original question, a sheaf of modules on a
locally-ringed space is a fundamental concept which shows up in a typical MSc
or early PhD level algebraic geometry course (they were in the MSc algebraic
geometry course I took), and if one wants to do this kind of mathematics in a
theorem prover (and I do, as do several other people in the Lean community)
then I *suspect* that it would be hard without dependent types. On the other hand
I would love to be proved wrong.
Kevin
On 03/03/2020 19:43, jasongross9 AT gmail.com wrote:
> 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
>
> _______________________________________________
> Agda mailing list
> Agda AT lists.chalmers.se
> https://lists.chalmers.se/mailman/listinfo/agda
>
--
Martin Escardo
http://www.cs.bham.ac.uk/~mhe
- Re: [Coq-Club] Why dependent type theory?, (continued)
- Re: [Coq-Club] Why dependent type theory?, Ralf Jung, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Christian Doczkal, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Ken Kubota, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, jonikelee AT gmail.com, 03/03/2020
- Re: [Coq-Club] Why dependent type theory?, Daniel Schepler, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, mechvel, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Steven Shaw, 03/03/2020
- Re: [Coq-Club] [Agda] Why dependent type theory?, Steven Shaw, 03/03/2020
- 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] Why dependent type theory?, Guillaume Melquiond, 03/04/2020
- Re: [Coq-Club] Why dependent type theory?, Dominique Larchey-Wendling, 03/04/2020
Archive powered by MHonArc 2.6.18.