Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Adding an already proved theorem to the context of a section

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Adding an already proved theorem to the context of a section


Chronological Thread 
  • 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'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.

Warm regards
Chris



Archive powered by MHonArc 2.6.18.

Top of Page