Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Question about a lemma concerning vectors

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Question about a lemma concerning vectors


Chronological Thread 
  • From: "John Wiegley" <johnw AT newartisans.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Question about a lemma concerning vectors
  • Date: Mon, 10 Nov 2014 16:05:44 -0600
  • Organization: New Artisans LLC

>>>>> Cedric Auger
>>>>> <sedrikov AT gmail.com>
>>>>> writes:

> ​I am sorry to have mentionned Empty_set for the base case. I meant "unit"
> (and you do not require the "S O" case, as "prod A unit" is isomorphic to
> "A").​

Yes, I worked this out later today. :)

Another benefit of this approach is that I was able to make all use of vector
and fin disappear from the extracted Haskell code, where it now reduces down
to Int and [a], so cheers all around.

Emilio's suggestion about using ssreflect tuples is a great one -- since I'm
trying to use ssreflect more; I will investigate that avenue next.

John



Archive powered by MHonArc 2.6.18.

Top of Page