SINGLETON, UNION AND INTERSECTION TYPES FOR PROGRAM EXTRACTION

被引:0
作者
HAYASHI, S
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Two type theories, ATT and ATTT, are introduced. ATT is an impredicative type theory closely related to the polymorphic type theory of implicit typing of MacQueen et al. [MPS86]. ATTT is another version of ATT that extends the Girard-Reynolds second order lambda calculus. ATT has notions of intersection, union and singleton types. ATTT has a notion of refinement types as in the type system for ML by Freeman and Pfenning [FP91], plus intersection and union of refinement types and singleton refinement types. We will show how singleton, union and intersection types serve for development of programs without unnecessary codes via a variant of the Curry-Howard isomorphism. More exactly, they give a way to write types as specifications of programs without unnecessary codes which is inevitable in the usual Curry-Howard isomorphism.
引用
收藏
页码:701 / 730
页数:30
相关论文
共 50 条
[31]   On declarative rewriting for sound and complete union, intersection and negation types [J].
Pearce, David J. .
JOURNAL OF COMPUTER LANGUAGES, 2019, 50 :84-101
[32]   Distributing Intersection and Union Types with Splits and Duality (Functional Pearl) [J].
Huang, Xuejing ;
Oliveira, Bruno C. D. S. .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5
[33]   Union and intersection types to support both dynamic and static typing [J].
Ortin, Francisco ;
Garcia, Miguel .
INFORMATION PROCESSING LETTERS, 2011, 111 (06) :278-286
[34]   OR AND IT - UNION OR INTERSECTION [J].
RYAN, JD .
JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 1986, 37 (12) :1141-1141
[35]   Session Types = Intersection Types [J].
Padovani, Luca .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (45) :71-89
[36]   Extensional equivalence and Singleton types [J].
Stone, Christopher A. ;
Harper, Robert .
ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2006, 7 (04) :676-722
[37]   Semantic subtyping: dealing set-theoretically with function, union, intersection, and negation types [J].
Frisch, Alain ;
Castagna, Giuseppe ;
Benzaken, Veronique .
JOURNAL OF THE ACM, 2008, 55 (04)
[38]   Union, intersection and refinement types and reasoning about type disjointness for secure protocol implementations [J].
Backes, Michael ;
Hritcu, Catalin ;
Maffei, Matteo .
JOURNAL OF COMPUTER SECURITY, 2014, 22 (02) :301-353
[39]   Intersection Types and Counting [J].
Parys, Pawel .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (242) :48-63
[40]   On Isomorphisms of Intersection Types [J].
Dezani-Ciancaglini, Mariangiola ;
Di Cosmo, Roberto ;
Giovannetti, Elio ;
Tatsuta, Makoto .
ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2010, 11 (04) :1-24