coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Valentin Robert <valentin.robert.42 AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: [Coq-Club] On the persistence of notations across and beyond sections
- Date: Wed, 23 Nov 2016 00:13:19 +0000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=valentin.robert.42 AT gmail.com; spf=Pass smtp.mailfrom=valentin.robert.42 AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f50.google.com
- Ironport-phdr: 9a23:p0N6CRaVDB0PMy/2Kc9aoQH/LSx+4OfEezUN459isYplN5qZoMqzbnLW6fgltlLVR4KTs6sC0LuN9fq+EjVZqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsswnct8YajZZ/Jq0s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lK1UrhKvqRJ83oDafp2aOeFkca/BZ94XX3ZNUtpTWiFHH4iyb5EPD+0EPetAoIbyvV8OogW4BQmwBePvzCJDiGPx3aIhzeshCx3G1xEnEtIQqnvUqMv6NKEOUeC0yqnE1y/Db/RN1jjj8ojIbgotrP6SUb9rfsrRzFMgFwLBjlmKtYPlODaV2/0LvmOG7ORgTfqih3A7pwx1uDSixcchhpPXio4IxF3I7yV0zJozKNalUkB0e8SkH4FVtyyCN4t5XMciQ2ZwtSY/0LIGuJq7cDEUyJQk2xLTcvKHfoiU7h75W+aRJjB4hH1heL2hnRq97U+gyujkWsm11lZFsDZFn8HSunwR0xHf8MuKR/tn8ku/xDqC2Rrf5+FYLUwskKrUMZ8hwro+lpoJtkTDGzf7mFvsg6+SaEok/PSo6+XhYrn8vJ+cMJR7hR/kMqQygMCyDvo0PxMBX2ie4+u81bnj8VflT7VNi/06irPZv4zCJcQHuq65BBdY3Zok6xamFjupzNAYnWQcI19eYxKGj43pO0nUL/ziDPe/hU6skDZxyPzcML3hGMaFEn+W2rzmZPN271NW4As119FWoZxOQPlVK/XqH0T1qdbwDxkjMgXyzfyxW/tn0YZLZ2uLD6mFMaWai1iC6/gza72SbYsYvir8Lb4/4PTjl2N/xQU1cqyg3J9RY3e9SKc1a36FaGbh149SWVwBuRAzGbTn
Dear club,
"Notations do not survive the end of sections."
I would like to understand whether a) this is a wanted feature b) this is a constraint or c) a choice of the current implementation, or d) this is due to some theoretical issue with trying to make them survive.
In particular, I often find myself in the following conundrum:
- I open a section and define some section context (variables and definitions).
- I define something that I'd like to use a notation for.
- I want to use the notation within the rest of the section, but also outside the section.
It seems my options are:
i)
Define the notation once for within the section, and then again after leaving the section.
Not great if I later decide to change the notation and want to keeps things uniform.
ii)
Abandon the idea of having the notation within the section.
Makes the section theorems harder to read from the source code point of view.
iii)
Close the section. Define the notation. Open a similar section.
Not great if the section setup is heavy, and this artificially breaks sections into weird notation-separated-blocks.
Is there a better way of going about this I'm missing? Otherwise, which poison do people pick?
- Valentin
- [Coq-Club] On the persistence of notations across and beyond sections, Valentin Robert, 11/23/2016
- Re: [Coq-Club] On the persistence of notations across and beyond sections, Hugo Herbelin, 11/23/2016
- Re: [Coq-Club] On the persistence of notations across and beyond sections, Andreas Abel, 11/24/2016
- Re: [Coq-Club] On the persistence of notations across and beyond sections, Vadim Zaliva, 11/23/2016
- Re: [Coq-Club] On the persistence of notations across and beyond sections, Théo Zimmermann, 11/24/2016
- Re: [Coq-Club] On the persistence of notations across and beyond sections, Hugo Herbelin, 11/23/2016
Archive powered by MHonArc 2.6.18.