coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Vadim Zaliva <vzaliva AT cmu.edu>
- To: coq-club AT inria.fr
- Cc: gaetan.gilbert AT skyskimmer.net
- Subject: Re: [Coq-Club] Moving away from putting hints in the core hintdb
- Date: Wed, 14 Nov 2018 13:24:02 -0800
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=vzaliva AT cmu.edu; spf=Pass smtp.mailfrom=vadim.zaliva AT west.cmu.edu; spf=None smtp.helo=postmaster AT mail-io1-f43.google.com
- Ironport-phdr: 9a23:PwD+hxy0da6lSfrXCy+O+j09IxM/srCxBDY+r6Qd1eIeIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRDnhicINT43/m/UhMJtkqxUvAmsqAZjz4POeoyZKOZyc6HbcNgHRWRBRMFRVylZD4yzdYQAEusBPeNFpIb+vVQOqRq+BRe2C+jyzTJImH730rc+0+QgDwHJxhctEM4LsHTJttn6KrodUf2swaTO0D7NbOtW1C/j5ITUdh0tu/KBULJqfcbMyEQiFhnJg1qepIHjIjibzP4Cs3KB4OplTe+vi3AoqwV2ojW3w8cjkIjJhoYMxlDF8iV13Z85JdO3RUN1e9KkH5xQtyaVN4tyXMwuWX1nuCE/yrEeuJ67ejYFyIg/yhLBd/CKd5KE7xHjWeqLPDt1hXNodKiwihu86USgz/fzVsiw0FZEtCpFldzMu2gT1xPJ98eHS/598l2g2DmV0wDT6/9ELlovmKvVNZEh2aIwmoAPvkTGAy/6glv5g7KLdkk84Oin9/znYqn6pp+bL4J7lgb+Mr03lsOjBeQ4LxMBUnOA+eW80b3j5Vf2TK9Ljv0wiKnZsYrVKd4Vpq6jUEdp1dMo7A/6BDO72vwZm2MGJRRLYkGplY/sbm/HLPH9RcW2h1WymX8/2eLPOrz/C73GK2WFnbv8K+Uuo3VAwRY+mIgMr6lfDasMdaqqCx3B8efABxp8CDSahuPuCdFzzIQbAD7dHaKCLOXZtELO6+4ycbDVON0l/Q3lIv1g3MbAyGcjkA5Pdqy0m5YbdSLgR6k0EwCieXPpx+w5PyIKsw45FrG4jVSDVXtSYC/3Uf5noD48D42iAMHIQYX/2LE=
One approach would be is scope-like. "Open HindDB" which could be nested.
Vadim
--
CMU ECE Ph.D. candidate
Mobile/Signal/WhatsApp: +1(510)220-1060
On Wed, Nov 14, 2018 at 12:59 PM Jason -Zhong Sheng- Hu <fdhzs2010 AT hotmail.com> wrote:
This is a very interesting discussion, because core database is too polluted whenever working with others' modules. The situation is getting worse when different projects cross together and produce weird interactions.
I'm wondering if there's some plan to introduce modularity in hint databases? It would be very helpful if hints can be grouped as modules and can be opened, closed and injected from one database to another.
Thanks,Jason Hu
-------- Original message --------From: Armaël Guéneau <armael.gueneau AT ens-lyon.fr>Date: 11/14/18 15:10 (GMT-05:00)To: coq-club AT inria.fr, Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net>Subject: Re: [Coq-Club] Moving away from putting hints in the core hintdb
Thanks for the answer!
> Maybe we could add an option "Set Default HintBase mybase", then you
> could use regular option scoping.
>
> ie either put "Set" at the top of every file or module you want it in,
> or "Export Set" in FooOptions.v (where Foo is your project) and import
> that everywhere you want it in.
I think that would be very nice indeed -- maybe generalized to allow
providing a list of default bases? (e.g. Set Default HintBase mybase,
core, arith)
(alternatively, if there was a way to merge databases / import hints
from one in another, it would be enough for the option to take one base;
but there isn't at the moment AFAIK)
- [Coq-Club] Moving away from putting hints in the core hintdb, Armaël Guéneau, 11/14/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Gaëtan Gilbert, 11/14/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Armaël Guéneau, 11/14/2018
- RE: [Coq-Club] Moving away from putting hints in the core hintdb, Jason -Zhong Sheng- Hu, 11/14/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Vadim Zaliva, 11/14/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Jacques-Henri Jourdan, 11/15/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Vadim Zaliva, 11/14/2018
- RE: [Coq-Club] Moving away from putting hints in the core hintdb, Jason -Zhong Sheng- Hu, 11/14/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Armaël Guéneau, 11/14/2018
- RE: [Coq-Club] Moving away from putting hints in the core hintdb, Soegtrop, Michael, 11/15/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Jim Fehrle, 11/15/2018
- RE: [Coq-Club] Moving away from putting hints in the core hintdb, Soegtrop, Michael, 11/16/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Jim Fehrle, 11/15/2018
- Re: [Coq-Club] Moving away from putting hints in the core hintdb, Gaëtan Gilbert, 11/14/2018
Archive powered by MHonArc 2.6.18.