Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Using vm_compute and reflexivity

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Using vm_compute and reflexivity


Chronological Thread 
  • From: Kenneth Roe <kendroe AT hotmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Using vm_compute and reflexivity
  • Date: Sat, 22 Apr 2017 22:26:54 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=kendroe AT hotmail.com; spf=SoftFail smtp.mailfrom=kendroe AT hotmail.com; spf=None smtp.helo=postmaster AT nm16-vm3.bullet.mail.ne1.yahoo.com
  • Ironport-phdr: 9a23:RcyGMxPOg2hGEdgDxCkl6mtUPXoX/o7sNwtQ0KIMzox0LfT/rarrMEGX3/hxlliBBdydsKMYzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFHiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr8zWTSi6LtrSBryhycGMz416XjbhMx+ga9Zox+tvgFzz5DJa42RO/dyYqbRcNUHTmRDQ8lRTTRMDIOgYIUAAOUPIOhWr4fjqVQMrhWwAhKhBP/2yj9NmnP23bE23uYnHArb3AIgBdUOsHHModvwKqgSV+a1w7fUzTXDcvhYxTD955bVeR0movGDQ7RwftfLyUkoCQzIlVWQqYv5PzOQzOsNsmyb4/B8WuKojm4qsgd8qSWsyMc0koTEgoEYxkrZ+Sh3w4s5P9m1RFNhbdK5H5ZdtjmWOo91T884Xm1ltiU3xqcYtZKlfSUG0poqywLZZveaaYaH+AjjW/yUITpghHJqZra/hxGq/Eimz+3wS8i53E9UripAnNTArGsC1wHX6siDVPR94l2t2TOV2ADS7uFIO0Y0mrTGJ5I7wr8/jJoTsUPEHiPshEr2i6qWel0l+uiu9evnfq3rq5ufOoNulw3zPKcjlta7DOglKAQCQmeW9OWk2L3m50L5QbFKjvMskqnetZDXPccbqbC/AwBIyIYj7AiwAiym0NQfgXkHKUhKeBODj4TzJ17OJ/X4Ae+lg1uwiDdr2+zGPrr5D5rRKXjDia7tcqp5605B0wU+1stf5pJRCrEZOv3/QE7xtNrCDh84KQO42ejnCM8unr8ZDGmIG+qSNL7YmV6O/OMmZeeWN6EPvzOoCPUj4fPyjTcDnlJVKaqk25cNb32QHvN6JkyYZTznhdJXQjRChRY3UOG/0A7KajVUfXvnA/ox

First result—I tried native_compute. I got the following:

Toplevel input, characters 0-15:> native_compute.> ^^^^^^^^^^^^^^^Anomaly:
Compilation failure. Please report.

- Ken

> On Apr 22, 2017, at 6:58 PM, Laurent Thery
> <Laurent.Thery AT inria.fr>
> wrote:
>
>
> Hi,
>
> I don't know what you mean by returning complex structure. Is it really
> huge?
> In that case vm_compute can be slow because it needs to recreate the large
> structure.
>
> What I would do is to write a simple recursive function
>
> count_size : complex_structure -> Z
>
> that gives a rough measure of the size of the complex structure.
>
> Then I would do a
>
> Time vm_compute in count_size (propagateExists ......).
>
> If it is slow this means that your computation is slow.
> If you are using 8.6, you may then try native_compute to get a speed up.
>
> If it is fast but the return integer is quite large this means that
> the time is spend in allocating your result.
> The solution maybe then to try to accumulate your computation and only
> perform your computation when the result is "small".
>
> --
> Laurent




Archive powered by MHonArc 2.6.18.

Top of Page