Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Multi-core execution?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Multi-core execution?


Chronological Thread 
  • From: Adam Chlipala <adamc AT csail.mit.edu>
  • To: Enrico Tassi <enrico.tassi AT inria.fr>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Multi-core execution?
  • Date: Sun, 10 Mar 2013 10:21:50 -0400

On 03/09/2013 05:48 PM, Enrico Tassi wrote:
On Sat, Mar 09, 2013 at 01:34:47PM -0500, Adam Chlipala wrote:
I'd like to have a tactic that behaves like:
Ltac parallelSemicolon x y := x; abstract y.
...but runs the different "y" subgoal executions in parallel on
multiple processors.

This doesn't sound too hard to implement from a scientific
perspective, though I'm not sure of the engineering challenges. Is
anyone working on functionality like this, or does anyone have tips
on how it could be achieved in today's Coq?
Well, not in today's Coq. But eventually it will be doable in my
ParalITP branch. But not today...

My guess is that the subcase that interests me would be easy enough to have ready much earlier. Could I convince you to give it a try? >:)

The quickest hack that comes to mind is the following one, but only if
you are not too picky. You could fork (hence the input state is already
there) and just call "exit 0" if "abstract y" succeeds and "exit 1"
otherwise. The father process can then run admit if the corresponding
child exits with 0 and fail otherwise. But spawning hundreds of
processes may not be a good idea anyway.

I think I'm "picky" according to the above. I want to get out axiom-free proofs that can be validated by the usual Coq kernel. :) (Which is "easy" to do with manual creation of many files proving lemmas.)



Archive powered by MHonArc 2.6.18.

Top of Page