Skip to Content.
Sympa Menu

coq-club - [Coq-Club] an inductive definition?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] an inductive definition?


chronological Thread 
  • From: Vladimir Voevodsky <vladimir AT ias.edu>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] an inductive definition?
  • Date: Sat, 18 Sep 2010 14:04:12 -0400

I wonder if the following "mutually inductive" definition is possible  in any 
 of the languages/proof assistants (e.g. Agda):



Inductive U (T:Type) :Type := gen: U |  prod: forall X:U, forall P: elem X -> 
Type,  U

with

fixpoint elem (X:U) : Type := 

match X with 

| gen => T

| prod Y P => forall y: elem Y, P y

end.

.


The intuition behind it is to define the universe U generated by a type T 
with respect to dependent products together with the function elem: U -> T 
which sends X:U to its underlying "type of elements". 

The basic problem here is that a type is inductively defined simultaneously 
with a fix-point function on it. 

Vladimir.








Archive powered by MhonArc 2.6.16.

Top of Page