Title :
Dependent intersection: a new way of defining records in type theory
Author_Institution :
Dept. of Comput. Sci., Cornell Univ., Ithaca, NY, USA
Abstract :
Records and dependent records are a powerful tool for programming, representing mathematical concepts, and program verification. In this last decade several type systems with records as primitive types were proposed. The question is arisen whether it is possible to define record type in existent type theories using standard types without introducing new primitives. It was known that independent records can be defined in type theories with dependent functions or intersection. On the other hand dependent records cannot be formed using standard types. Hickey introduced a complex notion of very dependent functions to represent dependent records. In the current paper we extend Martin-Lof´s type theory with a simpler type constructor dependent intersection, i.e., the intersection of two types, where the second type may depend on elements of the first one (not to be confused with the intersection of a family of types). This new type constructor allows us to define dependent records in a very simple way. It also allows us to define the set type constructor.
Keywords :
program testing; programming language semantics; software tools; type theory; Martin-Lofs type theory; NuPRL type theory; PER semantic; complex notion; dependent function; dependent intersection; existent type theory; independent record; inference rule; mathematical concept representation; partial equivalence relation; program verification; programming tool; record defining; set type constructor; standard type; Computer science; Mathematical programming; Research initiatives;
Conference_Titel :
Logic in Computer Science, 2003. Proceedings. 18th Annual IEEE Symposium on
Print_ISBN :
0-7695-1884-2
DOI :
10.1109/LICS.2003.1210048