Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Problem with automation with sets

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Problem with automation with sets


Chronological Thread 
  • From: "Ramsdell, John D." <ramsdell AT mitre.org>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Problem with automation with sets
  • Date: Thu, 2 Aug 2018 12:01:48 +0000
  • Accept-language: en-US
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=ramsdell AT mitre.org; spf=Pass smtp.mailfrom=ramsdell AT mitre.org; spf=Pass smtp.helo=postmaster AT smtpvmsrv1.mitre.org
  • Ironport-phdr: 9a23:e79QAhCEqmrRYuCD2tUIUyQJP3N1i/DPJgcQr6AfoPdwSPT6p8bcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xbrhCuqBJ+w4HIb4+aO+Fzfr/GctMfWWZNQtxcWi5HD4ihb4UPFe0BPeNAooXzu1UBtx6+BRKxC+zxzj9Igmf61rA+3eQmEQHG2hErEdwUvHjasd74M70SXvqwzKnT0DrMcfdW2TPm5YjNcxAhveuMUqxqfcrW00kvGBrIg1ONooLmJzOYzvkBvmyF4+Z6Ve+jlXQrpxx1rzWg3Msgl4fEi4MNxlzZ8Sh13pw5KcC5RUJne9KpEIZcuzuZOoZ1Ws8iTX9ntSUmxrADvJO2czMFx4kiyhPda/GIboyF7xf4W+uRPzh3mXdodbyiiBmp6ketzPD3WNOu31ZQtCVFl8HBtnAT2BzX7ciKUuB9/kK92TaXyQDT7/pEIVoqlabGMZIhx78wloYJsUvdBCP2n1/2jKCOekUl/Oin9fjnb637qpKYKYN4kAHzPro0lsCiBek1PRICU3WV9Om9zLHj+Ff2QLROjv04iKnZt5XaKNwBpqGjBg9VyZss5Ai7Dzeiy9kYmHgHLE5feB2ZlYTpPEvOIP/gAfeln1usiCtrx+zBPrD5HprNKWHDnK79crZ59k5T0xE+zctf5pJRErEOOuj/Wk73tNzCDx82KRa4w+j9CIY16oRLE2mIG+qSNL7YmV6O/OMmZeeWLsdBszHkbvMh+vTGjHkjmFZbc7P/jrUNb3XtVM5vJl6VbH7oxp8jFmcM9iZ4BqS+klSHSjJeY3KaWqMg/Dx9D5ipW9SQDruxiaCMiX/oVqZdYXpLXwjVQCXYMr6cUvJJUxq8Z8pokzgKT7+kEtZz0BCyrgK8zKBofLONpn8o8Kn73d0w3NX90Ako/GUtXcGcz3uACWZukTFQHmJk7OVEuUV4j2y7/+14jvhfT4YB/PZVShk/LoTClqp/CszoV0TGZNjbEVs=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Oh my, it's just that simple. Sorry to bother you all.

John

-----Original Message-----
From:
<coq-club-request AT inria.fr>
on behalf of Adam Chlipala
<adamc AT csail.mit.edu>
Reply-To:
"coq-club AT inria.fr"

<coq-club AT inria.fr>
Date: Wednesday, August 1, 2018 at 6:16 PM
To:
"coq-club AT inria.fr"

<coq-club AT inria.fr>
Subject: Re: [Coq-Club] Problem with automation with sets

On 08/01/2018 04:47 PM, Ramsdell, John D. wrote:
> Lemma disjoint:
> forall U A B, Disjoint U A B.
> Proof.
> intros.
> auto with sets.
>
> At this point, I would expect Coq to automatically apply
Disjoint_intro, the name of the constructor used to define Disjoint in
Ensembles, but alas, no such luck.

Maybe the problem is that you are expecting [auto] to make progress on
subgoals without solving them completely? In fact, [auto] and [eauto]
are all-or-nothing.

It's not clear how [auto] could decide which of several rules to apply
next, if it doesn't know which of them will lead to a complete proof.
For instance, some rules could reduce provable subgoals to contradictory
subgoals.

For this particular case, the [constructor] tactic would do what you want.





Archive powered by MHonArc 2.6.18.

Top of Page