Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Help proving

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Help proving


chronological Thread 
  • From: Bruno Barras <bruno.barras AT inria.fr>
  • To: Li Long <liwisster AT gmail.com>
  • Cc: COQ-CLUB <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] Help proving
  • Date: Tue, 22 Nov 2005 16:59:39 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Li Long wrote:

..., but I was trying to prove the lemma
(forall x, (p -> q)) -> (p -> forall x, q), where x is not a free variable of p,

which I would state as
Goal forall A (p:Prop) (q:A->Prop), (forall x:A, p -> q x) -> (p -> forall x:A, q x).
Proof.
auto. (* easy proof: this lemma simply swaps the arguments of a binary function *)
Qed.

Bruno Barras.




Archive powered by MhonArc 2.6.16.

Top of Page