Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club]Equality problem.

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club]Equality problem.


chronological Thread 
  • From: roconnor AT theorem.ca
  • To: Adam Koprowski <adam.koprowski AT gmail.com>
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club]Equality problem.
  • Date: Mon, 10 Apr 2006 09:26:31 -0400 (EDT)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Mon, 10 Apr 2006, Adam Koprowski wrote:

Variable A: Set.
Inductive Test: Set :=
| Elem: A -> Test
| Pair: Test -> Test -> Test.

Fact discr: forall a b, ~a = Pair a b.
Proof. ?

I have the following

Fact discr: forall a b, ~a = Pair a b.
Proof.
induction a; intros b H.
discriminate H.
inversion H.
firstorder.
Qed.

Perhaps there is a nicer way.

--
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''





Archive powered by MhonArc 2.6.16.

Top of Page