Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] an inductive types question

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] an inductive types question


chronological Thread 
  • From: Adam Chlipala <adamc AT hcoop.net>
  • To: Vladimir Voevodsky <vladimir AT ias.edu>
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] an inductive types question
  • Date: Sat, 10 Oct 2009 21:02:31 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Vladimir Voevodsky wrote:
Suppose for example that T= Prop. Then, a function from I1 to T should be a triple (P_1, P_2, prf) where P_1, P_2: Prop and prf: P_1 <-> P_2 is a proof of their equivalence.

If what you care about is "functions over T," then why not go directly to defining a type of "functions over T"? It's easy to define a record type whose values are exactly the triples of the form you describe.

I'm still pretty confused as to what you're trying to do, and I expect I'm not alone, so context that is about applications, not just "algebraic structures," would be a good thing to provide if you want further help.





Archive powered by MhonArc 2.6.16.

Top of Page