Dependent Coercions

A notion of dependent coercion is introduced and studied in the context of dependent type theories. It extends our earlier work on coercive subtyping into a uniform framework which increases the expressive power with new applications. A dependent coercion introduces a subtyping relation between a type and a family of types in that an object of the type is mapped into one of the types in the family. We present the formal framework, discuss its meta-theory, and consider applications such as its use in functional programming with dependent types.

[1]  Per Martin-Löf,et al.  Intuitionistic type theory , 1984, Studies in proof theory.

[2]  Zhaohui Luo,et al.  Computation and reasoning - a type theory for computer science , 1994, International series of monographs on computer science.

[3]  Bengt Nordström,et al.  Programming in Martin-Lo¨f's type theory: an introduction , 1990 .

[4]  Zhaohui Luo,et al.  Mathematical Vernacular in Type Theory-based Proof Assistants , 1998 .

[5]  Zhaohui Luo,et al.  Coercion completion and conservativity in coercive subtyping , 2001, Ann. Pure Appl. Log..

[6]  Zhaohui Luo,et al.  Coercive Subtyping , 1995 .

[7]  Giuseppe Longo,et al.  A logic of subtyping , 1995, Proceedings of Tenth Annual IEEE Symposium on Logic in Computer Science.

[8]  Amokrane Saïbi Typing algorithm in type theory with inheritance , 1997, POPL '97.

[9]  Zhaohui Luo,et al.  A Unifying Theory of Dependent Types: The Schematic Approach , 1992, LFCS.

[10]  Zhaohui Luo,et al.  Coercive Subtyping in Type Theory , 1996, CSL.

[11]  Hugo Herbelin,et al.  The Coq proof assistant : reference manual, version 6.1 , 1997 .

[12]  Thierry Coquand,et al.  Inductively defined types , 1988, Conference on Computer Logic.

[13]  P. Dybjer Inductive sets and families in Martin-Lo¨f's type theory and their set-theoretic semantics , 1991 .

[14]  Thierry Coquand,et al.  Inheritance and explicit coercion , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[15]  Luca Cardelli,et al.  On understanding types, data abstraction, and polymorphism , 1985, CSUR.

[16]  Zhaohui Luo,et al.  Mathematical Vernacular and Conceptual Well-Formedness in Mathematical Language , 1997, LACL.