Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coq computationally exploding on me

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coq computationally exploding on me


Chronological Thread 
  • From: Chris Dams <chris.dams.nl AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Coq computationally exploding on me
  • Date: Mon, 29 Jun 2015 06:23:28 +0200

Hello Guillaume,

Thanks for the hint. The Strategy thing looks like it can be very useful at times. In my case I found another solution. I was using the simpl tactic to simplify the hypothesis that I was destruct-ing. Now, instead, I explicitly do unfold and only unfold the things I want to unfold. simpl was also unfolding N.pow. Because of this I now do

destruct (Nlt_ge_dec (i + j) (2 ^ 32))

instead of the

destruct (Nlt_ge_dec (i + j) (N.pos (2 ^ 32)))

that I had before. This no longer computationally explodes at Qed time so it is also a solution to my problem.

Many thanks!
Chris




Archive powered by MHonArc 2.6.18.

Top of Page