coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
- To: Bas Spitters <b.a.w.spitters AT gmail.com>, Kevin Buzzard <kevin.m.buzzard AT gmail.com>
- Cc: lean-user <lean-user AT googlegroups.com>, Coq Club <coq-club AT inria.fr>, agda-list <agda AT lists.chalmers.se>, "coq+miscellaneous AT discoursemail.com" <coq+miscellaneous AT discoursemail.com>
- Subject: Re: [Coq-Club] [Agda] [lean-user] Re: Why dependent type theory?
- Date: Thu, 12 Mar 2020 15:36:53 +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=I/YIZ8pNfksoMJYcbQxr1EGc8/dINqxHXI5F1VQNxK8=; b=gTmUDwnbXlFFln/BCYSkCCekpcSQTx7wZdSy9fgIgAzNmo6S0McOAsAZhCjksHQaVDLxZbCSd5bo+QTfvHKE5NExksjj47uMR+DcfsHwazjWqXqOysDzyLp/MWN6uP0Zni4hpjW+sWmsqZGn/IRSRs4ZXyqNZ7lnGtEIcXg4y8DHJqOey7nmbRGpe8qMJ8ue/oVT6g0WYuQgqDGiWIisp84AouR6+A5jHl8xEkMhwLZqWBJytfCoMh0yJ+PqazCG+7vbOj7CBIDTzBJveTyIR+tvv1xQfRsUUNyWXee8ugxXXmZ2JtUKpQ5kYqv5PlHUKrx989DxLYX7YBaEIJ7fjg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BEtB2FvICvXbLYWYDyVQOMx5rdWXPqAec57A4GrygMuE0OzFGgPsAQitmYkqvjiaTEDCLZLtqLlw6Jesge8UhmSBNtgiOQxQA2SWmv7SQsLiIUF6DFHNTwxp4woXJOJwRTSrsH6m38X9i1vGrBGg3rjfH/bB74n8EOjqgYuoNTGRQNI/d6rBLrd1q2Pk+s9ZRUvtk8dBQ9p/thngPetwYYMcIk25Xlv3ke4I3Ih/X4hro7atJSqxI0BQUpMD8WNNzI4K1MYbTzQAl4I82YTpTGMfcTLyZdeGlku8iBwXK3f0nv8HlHdsWXfW6SfTMQhAQJCdOkBkAH6TCDujHfxt0Q==
- Authentication-results: mail2-smtp-roc.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 uidappmx06.nottingham.ac.uk
- Ironport-phdr: 9a23:e1AbqxJ9Sc8CrBqZKtmcpTZWNBhigK39O0sv0rFitYgXLv7/rarrMEGX3/hxlliBBdydt6sYzbOM7uu/CSQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vIxi6txjdutcWjIdtKKs8yQbCr2dVdehR2W5nKlWfkgrm6Myt5pBj6SNQu/wg985ET6r3erkzQKJbAjo7LW07/dXnuhbfQwSB4HscSXgWnQFTAwfZ9hH6X4z+vTX8u+FgxSSVJ8z2TbQzWTS/86dmTQLjhSkbOzIl9mzcl9d9h7xHrh2/uxN/wpbUYICLO/p4YqPdZs4RSW5YUspMSyBNHoawYo0IAOQcIOZYtJH9qEUSohuiCwesA+bvxSVJhn/wwKY21+ssHAXD0AEmAtkAsmnbrM/tOakST+670bXIwzvAYfNY2zjy5onIfQwur/6DRr9wbdHeyUwzGw/ZlFidq4roNC6V2OQXtGib6vJtW/yvi24gsQFxuSSvydkqioLUmo8VzkzE+jt/wIY2JN24UlJ0Yd65G5ZXqS+aN4x2Qtk5Q2F0pik6zKcKtI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Lj4SQ4M7xlmu7zAeWFp7cXdk2IqKrG1riPPwckBC+4syxLmdNBaZufMNwLsEstSLdW8OuUwlxD9bR8aPeYU8eg+ItG0fuGK8KGuNedk2jmhiDIUzpp61xew9y1mUfLF2d4sx+2V2AiGTTz8xAOdssftgpxJY3c7GnayzyvlHoVRTqt1YZoKD2iuKsjxz944mp27CC0Qz0KqG15TgJzhQhGVdVGomFAJjBhFkTmcgSK9igdMvXQxtKPGjH7IxPj+dRwIOmdOAmBpy0rvc9Dt3oIqGXOwZg1sryOLoEPzxqxVvqN6djmBR0BUYynwIGFrV+25vfyfYJwWsc56gWBsSO25JGuiZPv9rh8diXKxAmpSzSgjciHy5NP/mABmiWSSLH926nPSP9xzl0/S
One problem here is that the equality one uses in Lean is the strict equality
which is definitionally proof-irrelevant. This is a nice feature to have for
set-level reasoning but it doesn't work on higher levels, i.e. reasoning
about structures. Which is where the main power of HoTT is, equivalence is
equality.
I think it should be possible to have both features, that is simulate
definitional proof-irrelevance which is basically "extensional" type theory
on the set level via a powerful tactic but don't put this. Into the
foundations of the proof system. This is a common problem that decisions
which should only affect the surface are turned into core features. This is a
shame because in many ways lean is a nice system but it is unusable if you
want to do structural Mathematics.
Thorsten
On 08/03/2020, 14:25, "Agda on behalf of Bas Spitters"
<agda-bounces AT lists.chalmers.se
on behalf of
b.a.w.spitters AT gmail.com>
wrote:
Dear Kevin,
The excitement about HoTT is that it has brought together several
communities. Some are interested in homotopy theory and higher
category theory, some (like Vladimir) want a new foundation for modern
mathematics.
Some combine those two by higher toposes.
Some are trying to improve the previous generation of proof
assistants. E.g. this influenced the design of quotients types in
lean.
By Curry-Howard this also influences the design of programming
languages, like the cubical agda programming language
(https://pure.itu.dk/portal/files/84649948/icfp19main_p164_p.pdf)
If we consider HoTT as an extension of type theory with the univalence
axiom, then *of course* everything that was done before can still be
done.
E.g. the proof of Feit-Thompson is constructive and thus also works in
HoTT. (I can elaborate on this if needed.)
In fact, classical logic is valid in the simplicial set model
(https://www.math.uwo.ca/faculty/kapulkin/notes/LEM_in_sSet.pdf).
Moreover, that model also interprets strict propositions, so one could
even extend lean with univalence (I believe).
It would be interesting to know whether this simplifies the definition
of perfectoid spaces.
Best regards,
Bas
On Thu, Mar 5, 2020 at 12:25 PM Kevin Buzzard
<kevin.m.buzzard AT gmail.com>
wrote:
>
>
>
> 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
>
> --
> You received this message because you are subscribed to the Google
Groups "lean-user" group.
> To unsubscribe from this group and stop receiving emails from it, send
an email to
lean-user+unsubscribe AT googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/lean-user/CAH52Xb0X%3D06U2O7K%2BLGRXyPu%3DhaKxp2FcQr3SFK0f4jm8kv9mQ%40mail.gmail.com.
_______________________________________________
Agda mailing list
Agda AT lists.chalmers.se
https://lists.chalmers.se/mailman/listinfo/agda
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] Why dependent type theory?, (continued)
- 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
- 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
Archive powered by MHonArc 2.6.18.