Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] C-zar proof help

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] C-zar proof help


chronological Thread 
  • From: Taral <taralx AT gmail.com>
  • To: Ian Lynagh <igloo AT earth.li>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] C-zar proof help
  • Date: Tue, 3 Mar 2009 14:23:05 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Dqz1BHFGv1qCouQ4SeRjtMu91fJHhuDuDNPNnidK93fTxgsCzC3oQjuCFsH2CT5xl3 a0FtKTa4KIBJhFyqVFdRhYH1y8m5dIJUmrM2YX5hnCrg1ABxVcNUOcV0E11JNZXxYgcF +xyHxWvtodfZ4rCiPlkwOgTaFTYNE8RKB71ho=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Mon, Mar 2, 2009 at 3:21 PM, Ian Lynagh 
<igloo AT earth.li>
 wrote:
> I would be very grateful if anyone could shed any light. Suggestions for
> any other ways to improve the proof, or completely different ways to
> approach it, also welcome! Readability of the proof is very important to
> me.

Part of the problem here, in my opinion, is that you're having to do
way too much heavy lifting. C-zar is more of a compositional system --
you combine existing stuff to get what you want. It's not designed to
prove things like this.

Here's my proof:

intros; functional induction namedCommute (p, q).
injection H; clear H; intros; subst. (* I write this so often... *)
rewrite (UnnamedPatchCommuteSelfInverse p0 q0); auto.
discriminate.

-- 
Taral 
<taralx AT gmail.com>
"Please let me know if there's any further trouble I can give you."
    -- Unknown





Archive powered by MhonArc 2.6.16.

Top of Page