coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: Jason Gross <jasongross9 AT gmail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Proving large conjunctions?
- Date: Thu, 19 Jul 2012 09:56:10 -0400
On 07/19/2012 09:05 AM, Jason Gross wrote:
I don't know if this is useful in the long-run, or only in solving the problem with [split], but [split] is much faster if you ake it so that Coq doesn't have to move as much stuff around in memory when you [split]. So, for example, with your original code, Adam,
[Time (hnf; split).] takes 0. secs (0.059u,0.s)
[Time (hnf; split; compute).] takes 7. secs (6.286u,0.s)
[Time (compute; split).] takes 10. secs (9.489u,0.s)
[compute. Time split.] gives 8s
[Time compute. Time split.] gives 6. secs (6.151u,0.s), then 9. secs (9.148u,0.s)
The fact that chaining [compute] and [split] makes such a difference (vs. summing their times) suggests that a decent chunk of the time is spent in ... post-processing?
Yes, I've also observed that the tactic runs much more quickly with variables introduced to stand for the conjuncts. The problem is that Ltac code to perform this manipulation runs for a long time in its own right, and getting the conjuncts to be abstracted with names in the first place would require significant changes to the Gallina function generating the goals, harming the modularity of the implementation.
- [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/18/2012
- Re: [Coq-Club] Proving large conjunctions?, Laurent Théry, 07/18/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/18/2012
- Re: [Coq-Club] Proving large conjunctions?, Jean Goubault-Larrecq, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Jason Gross, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Thomas Braibant, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Jason Gross, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Frédéric Besson, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Jean Goubault-Larrecq, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, AUGER Cédric, 07/18/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/19/2012
- Re: [Coq-Club] Proving large conjunctions?, Adam Chlipala, 07/18/2012
- Re: [Coq-Club] Proving large conjunctions?, Laurent Théry, 07/18/2012
Archive powered by MHonArc 2.6.18.