Skip to Content.
Sympa Menu

coq-club - [Coq-Club] (S*)Case tactics

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] (S*)Case tactics


chronological Thread 
  • From: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] (S*)Case tactics
  • Date: Sun, 12 Dec 2010 18:17:51 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=IMEWwZzCa1cGlTM/awphDZddZRIhVkE8X+UxdHzL/WAQKL3VyxeymSPJV5qBS//Y0q zHe/66YvuWTfhM0TghL9nkiVdir2f0WOzAbl0dSNfz7/OFCrQ1MD2RBI/Qu+kyCpNvo+ +vlzOgbDAOuGsDGl3FHtjmAeA+vSfhfCpsZxU=

Dear list

I would like to announce the birth of the not even 0.1alpha version of
a plugin extending the (S*)Case tactic by Aaron Bohannon from UPenn.

The initial version can be found here
http://www.cis.upenn.edu/~bcpierce/sf/Basics.html#lab27
and the extension via a plugin here: https://github.com/pilki/cases

The main feature is to build the foo_cases tactics automatically for
any inductive foo.

It also provides a "string of trm in H" tactics that builds a coq
string from any coq term, which can be useful to build nice automatic
Case tactics.

More detailed example can be found in the example file
https://github.com/pilki/cases/blob/master/test-suite/case_tactics_ex.v

The big limitation is that I don't deal with the inversion tactic,
since it does not always produce the same number of subgoal. The only
way I see to do this is to hack the inversion tactic so that it
produces a dummy True sub goal for each discarded branch. But hacking
the inversion tactic seems a bit overkill to me.

Does anyone have any idea on this?

Alexandre Pilkiewicz



Archive powered by MhonArc 2.6.16.

Top of Page