coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "jonikelee AT gmail.com" <jonikelee AT gmail.com>
- To: Théo Zimmermann <theo.zimmi AT gmail.com>
- Cc: coq-club AT inria.fr, Jason Gross <jasongross9 AT gmail.com>
- Subject: Re: [Coq-Club] Using hint databases to partially solve a goal?
- Date: Sat, 9 May 2020 12:04:15 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk1-f182.google.com
- Ironport-phdr: 9a23:zuyPORKaHTu8mxxuQtmcpTZWNBhigK39O0sv0rFitYgXKv39rarrMEGX3/hxlliBBdydt6sZzbqL+PG9EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe9bL9oLxi7rQrdu80WjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVQTlgzkbOTEn7G7Xi9RwjKNFrxKnuxx/2JPfbIWMOPZjYq/RYdYWSGxcVchTSiNBGJuxYYUPAeQfIOhWrIvyp1UJoxSxGQaiC/jiyiNRhnLswaE3yfgtHAPA0Qc9H9wOqnPUrNDtOascU+C1y6/IzTTAb/xI3Tfy9pbHfwsuofGJR71wcM7RxVMzGAPCi1Wcp5HuMjSX1uQKtWib7ulgWvyri2E5tQ58uTevxsI2hYnIgoIZ0EzL9SJ8wIssI9CzVUF0b8K+HpRKqyGaK5V5QtkkQ2xwpio216EKtJqncSUWxpkq2wDTZviJfoWJ5h/uVPqcLSl7iX9qZb6yhhK//0a+xuDgVsS500hGozZKn9XRsn0D1xre4dWJRPt6+0euwzeP1wbL5+5eO0A7iarbK58/wrEujZofqEPDHjLomErolq+Walsr+vOy5+TpeLXroIKXOYxsigzmLKgihsiyDf47PwUORWSX5/qw2KP58UHkQ7hGkOU6nrfYvZzGOMgWo7O1DgtJ3Ysm5BuyDiuq3MgdkHUZN11Fdg+Igo31NF7UI/31CPOyjluikDdlwv3GMKPuD5vPI3XGk7rhc6px5khBwwQp199f/YhbCrQZLfLzREDxsNvYAwc8MwOuwubnDMxx1podWW6SG6OZPr7evFyW6u41LOmMY4gVuDn5K/c7/fLhkXg5mVoFcamo25sYdmy4E+x4L0mFZXfgmNQMHGcQsgYgUuDmlkeOXSNQanqsR6484ys0CIOiDYfNXICth7mB0T+5Hp1RYGBGC1OMHmnsd4qaRfgBcy2SIsp7nTwFUbitUZMu1RartAPi0bpoMvLU+jEEtZLkzNV6++rTlQgr+TNoC8SdznqCQnpvnmIIQj82xLpwrVZ8yleFy6h4guZXGcZd5/NTAU8GMsvgz219Q+LzXwfMZNKATlDuFsmmDDZ3XNM0xt4mbEN0GtHkhRfGiXmEGbgQwvaJA5o18a/Y0nXZKMN0ynKA364kxRFyQMxJNG6rgqNy3wfWDo/N1U6ekvD5JuwnwCfR+TLbniK1t0ZCXVs1CP2dBCFNVg7ttd38o3j6YfqrALUjPBFGzJfbeKRPY9zty15BQaW6YYmMUyeKg261QC2w6PaMYY7tITtP2SzcDA0dkFlW8y/Wb04xASCup2+YBztrRwq2PxHctNJmoXb+dXcaihmQZhQ4hbWw8x8Rw/ebTqFL0w==
On Sat, 9 May 2020 16:44:23 +0200
Théo Zimmermann
<theo.zimmi AT gmail.com>
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
Interesting! This would have been in 2016 or earlier. Maybe it was
Michael Soegtrop who gave me that advice and not Jason.
>
> 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.