z-logo
open-access-imgOpen Access
Formalizing Type Operations Using the “Image” Type Constructor
Author(s) -
Aleksey Nogin,
Alexei Kopylov
Publication year - 2006
Publication title -
electronic notes in theoretical computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.242
H-Index - 60
ISSN - 1571-0661
DOI - 10.1016/j.entcs.2006.05.041
Subject(s) - axiom , correctness , type theory , type (biology) , computer science , image (mathematics) , programming language , theoretical computer science , syntax , data type , abstract syntax , operator (biology) , set (abstract data type) , algebra over a field , artificial intelligence , mathematics , pure mathematics , ecology , biochemistry , chemistry , geometry , repressor , transcription factor , gene , biology
In this paper we introduce a new approach to formalizing certain type operations in type theory. Traditionally, many type constructors in type theory are independently axiomatized and the correctness of these axioms is argued semantically. In this paper we introduce a notion of an “image” of a given type under a mapping that captures the spirit of many of such semantical arguments. This allows us to use the new “image” type to formalize within the type theory a large range of type constructors that were traditionally formalized via postulated axioms.We demonstrate the ability of the “image” constructor to express “forgetful” types by using it to formalize the “squash” and “set” type constructors. We also demonstrate its ability to handle types with non-trivial equality relations by using it to formalize the union type operator. We demonstrate the ability of the “image” constructor to express certain inductive types by showing how the type of lists and a higher-order abstract syntax type can be naturally formalized using the new type constructor.The work presented in this paper have been implemented in the MetaPRL proof assistant and all the derivations checked by MetaPRL

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom