coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Armaël Guéneau <armael.gueneau AT ens-lyon.fr>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Moving away from putting hints in the core hintdb
- Date: Wed, 14 Nov 2018 20:27:43 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=armael.gueneau AT ens-lyon.fr; spf=Pass smtp.mailfrom=armael.gueneau AT ens-lyon.fr; spf=None smtp.helo=postmaster AT labbe.ens-lyon.fr
- Ironport-phdr: 9a23:fekh1RHu/muKZ5YjFF4t751GYnF86YWxBRYc798ds5kLTJ78os2wAkXT6L1XgUPTWs2DsrQY07WQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDiwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOSA5/m/KicJ+gqxUrx29qBJw2IPUfIKYOeBicq/Bc94XR2xMVdtRWSxbBYO8apMCAvYbPeZdtYb6u18OogO/CwmxHuTvzCFHiWXr3aYn1OkuCxvG3Ak6EN0QtHTYttr1NLoMXuCz0qbH1yjDYuhI1jf784jEaxQhoPGLXbJ2a8bRx1MvGhrDg16NqoLlJyuY2vkCvmSH9eZtV+Cih3Q6pwxwoDWj3NkghpfXio4NyV3J9j91zJsxKNGlUkJ3fN+pHIVKuy2HNIZ7QMUvSHxytikg0L0Jo5u7cTAKyJs5wx7fbOSKc4yS7R34T+mePy10i2xjeLKknhqy9Uihyur6VsWu3lZKtDJJktjKtn8Tyxze8tWLR/Rh8ku72zuC1Rrf5vxFLE02j6bXNYAtzqAompoWq0vDHyv2mEvsjK+Rc0Up4vKn6/7iYrr8uJCcM5V4ig7jMqswnMywH/43MhUVUmeF/+S8z6Tv/Un5QbVNiP06iKfZsIrCKcQBuqG5GxNV0pok6xunEzim180YkWAbI1JBZRKIlJPkO0rOIfD9FfewmU6gkDZtx/DcP73uGI/BLnbZkOSpQbEo4ElFjQE30Np35pROC7hHLuigdFX2sYnxFBowsAiD7PtmDth0y8tKUHiKC6KddqzPvFmF7/8HLu+XIYsEvzC7JeJztK2mtmMwhVJIJfrh5pAQcn3tRq03cXXcWmLlh5I6KUlPuwM/SOLwj1jbCmxeYW33W7M74Hc1EtD/VNuRdsWWmLWEmRyDMNhOfGkfUQKBF2ytc5SDXbECcnDKe5Izonk/TbGkDrQZ+1SuuQv9kus1KuPe8CBeuJT4kdxk4OuVmwtgrTE=
Dear coq-club,
I just finished a Coq development, which I now want to publish, and I'm
facing the following issue:
While doing my development, I added a good number of hints (mainly Hint
Resolve and Hint Constructor) to the default database (ie "core" if I'm
not mistaking).
This was because it's much more convenient to write "eauto" everywhere
than "eauto with mybase" which is a lot more annoying to type(!).
But now, anyone loading my development will get its core database
polluted with my hints, which is very bad.
How can I refactor my project to avoid this?
My project spans across several files, and I'd like to share the hints
across the files, so delimiting them within a Section doesn't quite work
I think.
I could do "Tactic Notation go := eauto with mybase" but that doesn't
scale to [eauto using ... with ...].
Using "eauto with mybase" manually is annoying because I use the tactic
in a lot of places.
Even if it doesn't exist currently, I wonder what would be a nice
solution to this problem. Having a way of defining variants of (e)auto
that use different hint bases (while supporting all the [using ..],
[with ..] variants) sounds useful, I think?
— Armaël
- [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.