coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Beta Ziliani <beta AT mpi-sws.org>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Remove or update a canonical structure registration?
- Date: Wed, 18 Jun 2014 12:59:43 +0200
Hi,
You have two options AFAIK: ask Ssreflect's devs to put the Canonical Instances in a module to import optionally, or to try some trick similar to the one we did inhttp://www.mpi-sws.org/~beta/lessadhoc/
to deal with overlapping instances.
Right now I don't have the time to really look into your specific problem to help you out in a more direct way, but feel free to ask if you have any questions.Best,
BetaOn Wed, Jun 18, 2014 at 12:56 AM, Peng Wang <wangp.thu AT gmail.com> wrote:
Is there a way to remove or update a canonical structure registration?For example, SSReflect's matrix.v registers a canonical structure matrix_lmodType to declare that ring-element matrices form an L-module whose scalars are of the same type as the elements. But for algebra-element matrices, there is another way to form an L-module, where scalars are from the underlying ring of the algebra. I want to register this alternative L-module structure to be canonical (e.g. to talk about "a matrix of functions scaled by a constant"), but Coq's Canonical Structure command only respects the first registration and ignores later ones.Peng (Perry) Wang--
Peng Wang (王鹏)CSAIL, The Stata Center, MIT77 Massachusetts Ave, 32-G822Cambridge, MA 02139Phone: (617)803-2025Email: wangpeng AT csail.mit.edu
- [Coq-Club] Remove or update a canonical structure registration?, Peng Wang, 06/18/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Beta Ziliani, 06/18/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Pierre-Marie Pédrot, 06/18/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Beta Ziliani, 06/18/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Pierre-Marie Pédrot, 06/18/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Strub, Pierre-Yves, 06/23/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Peng Wang, 06/25/2014
- Message not available
- [Coq-Club] Existential Instantiation and the relationship between classical and constructive logic., Larry D. Lee jr., 06/25/2014
- Re: [Coq-Club] Remove or update a canonical structure registration?, Beta Ziliani, 06/18/2014
Archive powered by MHonArc 2.6.18.