Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Purging a script of auto-named variables

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Purging a script of auto-named variables


Chronological Thread 
  • From: Jonathan <jonikelee AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Purging a script of auto-named variables
  • Date: Mon, 30 Jun 2014 15:08:06 -0400

I've been getting careless and not carefully naming all variables in a proof script myself. Is there any mechanism that can help one to rework a proof script so that all of the variables used in tactics are not of the automatically-named variety?

For instance, is there some mechanism in Coq that would alter the automatic naming in a predictable way - say by appending a user-provided suffix to each automatically generated name? A "Set Auto Naming Suffix" command? Given that, I could provide some easily distinguishable suffix like "__" (double underscore), and rerun a script to see where it fails - and clean up the instances one by one.

This became a bit more important recently, as there was something introduced into the trunk version of Coq that slightly changed the automatic naming scheme in certain cases.

-- Jonathan



  • [Coq-Club] Purging a script of auto-named variables, Jonathan, 06/30/2014

Archive powered by MHonArc 2.6.18.

Top of Page