coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Paul Tarau <paul.tarau AT gmail.com>
- To: Guillaume Brunerie <guillaume.brunerie AT gmail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] applying a function definition
- Date: Sat, 28 May 2011 10:18:19 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=MQY5v1ltMdYhNBW89d6kZmEpxhH40OU+2vLIiruLgq2T5VMqTPCARsM9ezoigfCrC3 9o9LKbXOZiGWDDMunVk8fYUWb11Hk5bBpKKRQQFzkcBiM0yOb+UBI27XT5o8We6fq3Qg /K+c2A2eSPrYRgQvsDXvF8VgiPq+eTum8Euv8=
Thanks a lot, the following did it! Lemma po_ip : forall n:B, n<>e -> p (o n) = i (p n). Proof. intros n H. simpl. Show. case_eq n. firstorder. firstorder. intros. firstorder. Qed. I am still puzzled why after simpl I get: n : B H : n <> e ============================ match n with | e => e | o _ => i (p n) | i _ => i (p n) end = i (p n) where the underscores indicate that Coq is ignoring or forgetting the actual argument - this does not seem equivalent with the definition of p. Impressed that magic works:-), but is there anything that could make the proof obtained by the sequence of tactics somewhat human readable - for instance I would be curious to see what firstorder did "under the hood". Paul On May 28, 2011, at 9:38 AM, Guillaume Brunerie wrote: 2011/5/28 <paul.tarau AT gmail.com> |
- [Coq-Club] applying a function definition, paul . tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
- Re: [Coq-Club] applying a function definition, Paul Tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
- Re: [Coq-Club] applying a function definition,
Paul Tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
- Re: [Coq-Club] applying a function definition, Paul Tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
- Re: [Coq-Club] applying a function definition,
Paul Tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
- Re: [Coq-Club] applying a function definition, Paul Tarau
- Re: [Coq-Club] applying a function definition,
Guillaume Brunerie
Archive powered by MhonArc 2.6.16.