Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coq runtime quadratic in number of definitions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coq runtime quadratic in number of definitions


Chronological Thread 
  • From: Thomas Braibant <thomas.braibant AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Coq runtime quadratic in number of definitions
  • Date: Tue, 10 Jun 2014 10:58:45 +0200

I asked a similar question, a few months ago. After some
investigation, it turned out that the most likely culprit was the
backtracking mechanism.

HTH

On Mon, Jun 9, 2014 at 1:58 PM, James Lingard
<jchl2 AT cam.ac.uk>
wrote:
> The runtime of coqc on the following program:
>
> Definition n0 := 0.
> Definition n1 := 0.
> Definition n2 := 0.
> ...
> Definition nN := 0.
>
> appears to be roughly quadratic in the number of definitions.
>
> Does anyone know what causes this?
>
> Thanks,
> James.
>



Archive powered by MHonArc 2.6.18.

Top of Page