coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Christopher Ernest Sally <christopherernestsally AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] Adding an already proved theorem to the context of a section
- Date: Sun, 10 Aug 2014 01:28:39 +0800
Hi Club
In a Module A in Section a. I have a lemma, R_compat that registers one of my relations as a setoid (roughly speaking) allowing me to rewrite with my defined relation. Further, R_compat takes in a implicit variable from Section a.
Now in Module B, Section b, I have a Variable, var.
I would like to have (@R_compat var) available to every lemma I want to prove in Module B Section b.
I would like to have (@R_compat var) available to every lemma I want to prove in Module B Section b.
I've tried the Hint system, but nothing seems to be working out, on account of it not solving my goals, but instead just allowing me to rewrite.
"Hypothesis" is not good for my situation in this case as I don't want to pass that argument around, since I've already proved R_compat.
Thank you.
Chris
- [Coq-Club] Adding an already proved theorem to the context of a section, Christopher Ernest Sally, 08/09/2014
- Re: [Coq-Club] Adding an already proved theorem to the context of a section, Johannes Kloos, 08/10/2014
Archive powered by MHonArc 2.6.18.