coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Impredicative Set
- Date: Tue, 2 Apr 2019 14:34:40 +0000
- Accept-language: en-US
- 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 uidappmx01.nottingham.ac.uk
- Ironport-phdr: 9a23:TVYc3hbK29/zz86BtM77j2T/LSx+4OfEezUN459isYplN5qZrsm9bnLW6fgltlLVR4KTs6sC17OP9fi4EjFdqdbZ6TZeKcQKD0dEwewt3CUYSPafDkP6KPO4JwcbJ+9lEGFfwnegLEJOE9z/bVCB6le77DoVBwmtfVEtfre9FYHdldm42P6v8JPPfQpImCC9YbRvJxmqsAndrMYbjZZ/Jqor1hfFvnREduRWyGh1IV6fgwvw6t2/8ZJ+7yhcoe4t+9JFXa7nY6k2ULtUASg8PWso/sPrrx7DTQWO5nsYTGoblwdDDhbG4h/nQJr/qzP2ueVh1iaUO832Vq00Vi+576h3Uh/oiTwIOCA//WrKl8F/lqNboBampxxi347ZZZyeOfRicq/Be94RWGxMVdtTWSNcGIOxd4sBAfQcM+ZEoYfzpFUOohmwCgmtGOzgxSRFiWXq0a0/yektDRvL0Q4mEtkTsHrUttL1NKIKXO6rzKnIyi/Db+hK2Tjj7ojDbwwsofWQXb1ud8rRykgvFxnZgVWQtIfoOC2b1uQKs2iB9OpgSfygi2g9pwxtpjiv2tkjio/KhoIU0FDL6SV5zZ0zJd2/VE57fd+kEJ1ftyGaLYR2R9kuTHt0tyog170Guoe2cS4Xw5ok3x7Sc+GLf5aL7x75SuqcLjl1iGhqdb+xnRq+7Fasx+LkWsWpzlpHrTBJnsfDu30DzRDf9NKLRuZ880u51zaAyQPe5v1BLE0xmqfUNoQuzaI1m5UNq0vMADP6lUD3gaKVdkgp9O2l5uvpYrn7upCRMZJ/hBvkPaQ0gMO/BPw1MggQUGif/uSxzKDj/UzkT7pQlv02iqzZsZ/GKcgGvKK5BQhV0po/6xa+CTem39QYkmMCLF5fYh2Ik5LlO0zNIPzgDPe/hUqjkCtzyvzbILHsAY/BImbMnbrvZ7pw5EBRxBAuwdxB6J9YErQBL+jyWk/1utzYFBg5Mwmszuj5CNV90ZkeWXmTAqCHNqPeq0OF5uYzI+aSYo8Vuzf9K+I56P7ulnI5n1gdfbW13ZsWbnC4EfRmLF+cYXb2mNgODX0Gvhc9TODykl2NTSZTZ2quX6I7/jw0FIWmDZ7aSo+xhLyBwTy0E4ZNZmFGD1CMCW3ne5+FW/cKciKSI9VuniYKVbi7GMcd0kTkvwjjjrFjM+D8+ysCtJul2sI/r7nYkgh3/jhpBeyc1XuMRid6hDVbaSUx2fVDoUtn0UuO1+BRh+BVE99S/fhJGlMGNZnG1PB3DZbbXh7MeNSIUl2matOhHS0wSN0xytpIak07Btb03UOL5DajH7JAz+/DP5cz6K+JhyGgdfY48G7P0ewat3djR8JOMWO8gasmp1rVAJLVkkOWl6+vM60XmjPOpj7akTi++XpAWQs1ap3rGGgFbxKG/9L++l/DSbCuALFhOwAH1M3QcvIXOO2stk1PQbLYAPqbY2+1nD3hVwuJyrqUdI/6Izxb2iLBFEkCnAAa+DCPPk4jBXX5rg==
Hi Xavier,
If you are not (yet) interested in logical consistency then isn’t Type : Type better? At least there is no pretence of being consistent (or strongly normalising).
I call this “honest impredicativity”.
Cheers, Thorsten
From:
<coq-club-request AT inria.fr> on behalf of Xavier Leroy <xavier.leroy AT college-de-france.fr>
On Tue, Apr 2, 2019 at 3:42 PM Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk> wrote:
The question is not addressed to me, but at any rate:
Impredicative systems such as F and F_omega may be questionable from a logical point of view, but make perfect sense as type systems for programming languages. Haskell contains F_omega, OCaml contains F (in the core language) and bits of F_omega (at the module level). Strong normalization doesn't really matter since those languages have general recursion to begin with. But stratification by universes is not nice in programming languages: it gets in the way of some programming idioms, as JF Monin alluded to.
Coming back to the original question, my only use for Coq's impredicative-Set option is to learn and teach about system F / F_omega and their impredicative encodings of data types. I think Coq works better than Haskell or OCaml for this teaching purpose, as Coq's presentation of F_omega is closer to the textbook presentations.
Best,
- Xavier
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] Impredicative Set, Thorsten Altenkirch, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Xavier Leroy, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Thorsten Altenkirch, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Xavier Leroy, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Thorsten Altenkirch, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Stefan Monnier, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Thorsten Altenkirch, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Xavier Leroy, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Thorsten Altenkirch, 04/02/2019
- Re: [Coq-Club] Impredicative Set, Xavier Leroy, 04/02/2019
Archive powered by MHonArc 2.6.18.