Skip to Content.
Sympa Menu

coq-club - [Coq-Club] repeat inversion ; without infinite looping

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] repeat inversion ; without infinite looping


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] repeat inversion ; without infinite looping
  • Date: Thu, 22 Aug 2013 21:54:17 +0000

Hi,

  I'm trying to design a tactic that inverts everything possible to invert.

  Here is my minimal failure case:

https://gist.github.com/anonymous/6313270


  My current code infinite loops. Two "obvious solutions seems to be"


(1) if there is a way to separate "Consrtructor" from "Function", then, the infinite loop is easy to fix.

(2) If there is a way detect "is result of 'inversion' same as Hypothesis?' --> and force a fail


Can anyone tell me how to do either (1) or (2)?

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page