Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] How to make the tactic ring use my ring structure?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] How to make the tactic ring use my ring structure?


chronological Thread 
  • From: "Lucian M. Patcas" <lucian.patcas AT gmail.com>
  • To: Adam Chlipala <adam AT chlipala.net>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] How to make the tactic ring use my ring structure?
  • Date: Mon, 27 Jun 2011 16:24:25 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=rUZEFqaOsCbvVZ65EuM8xnnBEQ5Oo0dtq9Z6DawU5jejbIPTe02qW+II7iXkT6Bsr8 DH5NVbvBpPGRvOqX6+UJ3t2D6XOLEtbNYD3tvxCFf85vz7THIwBpKD5kP/dBcuoy5jI+ m17dBTQ7a/Q2i9yjfgdBfkZTbExq2t9S/PQx0=

Adam,

If it makes sense to you, that doesn't mean it makes sense to everyone. This isn't the issue, however. I didn't say the manual doesn't make sense, but that maybe I was missing something that might be obvious to someone else with more experience in this matter.

I included an example with what didn't work for me in my reply to Stephane Glondu.

Thanks.

On Mon, Jun 27, 2011 at 13:56, Adam Chlipala <adam AT chlipala.net> wrote:
Lucian M. Patcas wrote:
I need to define a ring structure and convince the ring tactic to use it. I looked in the manual and in the module Ring_theory. I also looked at how nat is "registered" as a ring in Coq.setoid_ring.ArithRing, but I still don't know how exactly to define a ring structure and how to use Add Ring. Perhaps I'm missing something. Can someone help out?

Perhaps you could tell us which is the first bit of Section 23.5 of the Coq manual that doesn't make sense to you?  I've found it to be a reasonable guide to the use of the ring tactics.




Archive powered by MhonArc 2.6.16.

Top of Page