coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Zimmermann <theo.zimmi AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Using hint databases to partially solve a goal?
- Date: Mon, 11 May 2020 17:14:05 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-lf1-f42.google.com
- Ironport-phdr: 9a23:sH4BDBZlZIDc8TEjFRjIaVr/LSx+4OfEezUN459isYplN5qZrs27bnLW6fgltlLVR4KTs6sC17OL9fG4EjNRqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5yIRmsqQjdqsYajIlmJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlTwKPCAl/m7JlsNwjbpboBO/qBx5347Ue5yeOP5ncq/AYd8WWW9NU8BMXCJDH4y8dZMCAOUPPelar4fzqVgAowagCwawC+3i0SNIhmbs0KEmz+gtDQPL0Qo9FNwOqnTUq9D1Ob8MX+C11q7Iyi3MYPBX2Tf47YjHbAohofSWUrJ2d8ra1E4iFx/FjlqOrozpJTKU1uUIs2ie7uptTu2vi2s9pAFwpjij3Nsjio7Mho8MzF3P6Cp2zpovK9KiVE57fcCrEIFWtyyCOYZ7Qd8uTnxptSs+yrAIuYO3cicLxZkmxxPTdvOKfpWL7x/gSuucLjh2iG97db+/iRu8/kiuxO38W8S3zltEoCxImcTCuHAK0hzc8MmHSv1l80i7wzaAywDT6uBaIU8qjqrXMpkhwqMulpUNq0TDAjH5mF7sgK+YbEUp/PWj5ef/Yrj+uJOQK4t5hhv9P6kugMCzHOU1PwoUU2WU5+ix0qDo81fjT7VQlPI2l7HUsJDEKsQfoa60GwpV3Zwi6xa7Fjum1NoYkWQeIFJLdx+LkZLlO17JIPD/Ave/h0qjnC13yPDBO73tGpTNLn7dn7f9Zbtx9VJQxQ4pwd1c559YEKwNLfPxV0Pru9HUEAc1MwmuzObmDNV92JkeWWWKAqKBLKPSsUGH5uU1L+iNZY8VvTP9K/k+6v7hiH82g14dfa2z0ZQLb3C4G+xqI1+Fbnr0ntcBDWAKsxIiQ+ztkV2OSCJcZ3KvX60n/Tw7E4KnDYLbRo+3mrCB3SG7HodXZm9cEFyMH23oJM24XKInbzvaCct8mHRQXr+4DoQlyBuGtQngyrMhIPCCqQMCspe26Nj04NrhlBQ3+CZxBsKbmzWRT2xz2HEJQjo39K96qE15jFyE1P4r0LRjCdVP6qYRAU8BPpnGwrk/UoiqA16TTpKyUF+jB+6eL3QpVNtomo0BZk98H5OpiRWRh3P3UY9QrKSCAdkPyoyZ33X1IJwgmXPP1a1ki1d/B8UTbyupgalw8wWVDInMwR3AxvSaMJ8E1SuIz1+tiG+HvUVWSgl1CPyXUnUWZ0+QptP8tBrP
Hi Yannick,
Sorry, it didn't go further than what is written there, and I don't
think I really put together a prototype demonstrating these ideas.
Best,
Théo
Le lun. 11 mai 2020 à 03:13, Yannick Zakowski
<zakowski AT seas.upenn.edu>
a écrit :
>
> Hi Théo,
>
> The paper you linked describes a work in progress. Did it end up being
> fleshed out in some form or another? Or alternatively, is the prototype
> implementation of `apply` that it refers to available somewhere to toy
> around with the technique?
>
> Best,
> Yannick
>
> On 5/9/20 10:44 AM, Théo Zimmermann wrote:
> > Hi Jonathan,
> >
> > This is actually a FAQ. In a previous Coq-Club thread I referenced the
> > abstract I wrote in 2016 explaining this technique (which wasn't novel
> > at this time since I was attributing it to an e-mail of Michael
> > Soegtrop in a previous Coq-Club thread):
> > https://hal.archives-ouvertes.fr/hal-01671994/document
> >
> > Théo
> >
> > Le sam. 9 mai 2020 à 07:03,
> > jonikelee AT gmail.com
> >
> > <jonikelee AT gmail.com>
> > a écrit :
> >> On Fri, 8 May 2020 21:33:32 -0400
> >> Jason Gross
> >> <jasongross9 AT gmail.com>
> >> wrote:
> >>
> >>> I believe you can add `shelve` as a hint, and this will allow the
> >>> search to succeed with a partial solution. You can then use
> >>> `unshelve eauto` to get back the left-over goals
> >> That sounds familiar, Jason. Didn't you once advise me to try this? I
> >> recall trying something like "Hint Extern 999 _ => shelve : db". I
> >> don't recall it working out that well, though.
> >>
> >> Eddy, can you make the rules into rewrites, and use autorewrite with db
> >> instead?
> >>
> >>> On Fri, May 8, 2020, 20:06 Eddy Westbrook
> >>> <westbrook AT galois.com>
> >>> wrote:
> >>>
> >>>> Hey coq-club list-ers,
> >>>>
> >>>> Is there any way to partially solve a goal using the auto hint
> >>>> databases? That is, is there a way to do something like "eauto with
> >>>> <my_db>” but for it to make as much progress as it can and then
> >>>> leave the remaining sub-goals for me to prove manually?
> >>>>
> >>>> The use case here is that I have monadic programs I’m trying to
> >>>> prove properties of, and I have a set of rules to prove those
> >>>> properties modulo properties of the values produced in those
> >>>> computations. So, for instance, I have a monadic program that
> >>>> manipulates bitvectors, and my rules can reduce (in a rote and
> >>>> automatable way) all the properties about my monadic program to
> >>>> properties about bitvectors that I have to prove by hand. The hope
> >>>> is that I could use the hint databases to define how to apply my
> >>>> rules, and then I could apply these hints and end up with my goals
> >>>> about bitvectors to prove by hand. The only other option is to
> >>>> write a monolithic tactic that pattern-matches on the form of the
> >>>> goal to apply my rules, and that isn’t as nice and extensible.
> >>>>
> >>>> Any ideas?
> >>>>
> >>>> Thanks,
> >>>> -Eddy
- [Coq-Club] Using hint databases to partially solve a goal?, Eddy Westbrook, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Jason Gross, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, jonikelee AT gmail.com, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Qinshi Wang, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Théo Zimmermann, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, jonikelee AT gmail.com, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Yannick Zakowski, 05/11/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Théo Zimmermann, 05/11/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, jonikelee AT gmail.com, 05/09/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Eddy Westbrook, 05/11/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, jonikelee AT gmail.com, 05/12/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Eddy Westbrook, 05/13/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Eddy Westbrook, 05/13/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Eddy Westbrook, 05/13/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, jonikelee AT gmail.com, 05/12/2020
- Re: [Coq-Club] Using hint databases to partially solve a goal?, Jason Gross, 05/09/2020
Archive powered by MHonArc 2.6.18.