[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article
Open access

Types with intersection: An introduction

Published: 01 September 1992 Publication History

Abstract

This paper is an informal introduction to the theory of types which use a connective “∧” for the intersection of two types and a constant “ω” for a universal type, besides the usual connective “→” for function-types. This theory was first devised in about 1977 by Coppo, Dezani and Sallé in the context ofλ-calculus and its main development has been by Coppo and Dezani and their collaborators in Turin. With suitable axioms and rules to assign types toλ-calculus terms, they obtained a system in which (i) the set of types given to a term does not change underλ-conversion, (ii) some interesting sets of terms, for example the solvable terms and the terms with normal form, can be characterised exactly by the types of their members, and (iii) the type-apparatus is not so complex as polymorphic systems with quantifier-containing types and therefore probably not so expensive to implement mechanically as these systems.
There are in fact several variant systems with different detailed properties. This paper defines and motivates the simplest one from which the others are derived, and describes its most basic properties. No proofs are given but the motivation is shown by examples. A comprehensive bibliography is included.

References

References

[1]
Alessi, F. and Barbanera, F.: Strong Conjunction and intersection Types. In:Mathematical Foundations of Computer Science 1991, A. Tarlecki (ed.),Lecture Notes in Computer Science 520, Springer-Verlag, pp. 64–73 (1991).
[2]
van Bakel, S: Complete Restrictions of the Intersection Type Discipline,Theoretical Computer Science (to appear).
[3]
Barbanera, F. and Dezani, M.: Intersection and Union Types. In:Theoretical Aspects of Computer Software, International Conference TACS '91,Sendai, Japan, September 1991,Proceedings, T. Ito and A. R. Meyer (eds.),Lecture Notes in Computer Science 526, Springer-Verlag, pp. 651–674 (1991).
[4]
Barbanera, F.: Combining Term Rewriting and Type Assignment Systems,Proc. Third Italian Conf. on Theoretical Computer Science, Mantova 1989, A. Bertoniet al. (eds) World Scientific Press, pp. 71–84 (1989). (To appear inFoundations of Computer Science).
[5]
Barendregt H. P., Coppo M., and Dezani M. A Filter Lambda Model and the Completeness of Type Assignment Journal of Symbolic Logic 1983 48 931-940
[6]
Bosio, E. and Ronchi della Rocca, S.: Type Synthesis for Intersection Type Discipline. In:Proc. Third Italian Conference on Theoretical Computer Science Mantova 1989, A. Bertoniet al. (eds.), World Scientific Press, pp. 109–122, (1989).
[7]
Church A. A Formalisation of the Simple Theory of Types Journal of Symbolic Logic 1940 5 56-68
[8]
Coppo, M.: An Extended Polymorphic Type System for Applicative Languages. In: Mathematical Foundations of Computer Science 1980, Proceedings of the 9th Symposium, Held in Rydzyna, Poland, P. Dembinski (ed.),Lecture Notes in Computer Science 88, Springer-Verlag, pp. 194–204 (1980).
[9]
Coppo M. and Dezani M. A New Type-Assignment for Lambda Terms Archiv für Math. Logik 1978 19 139-156
[10]
Coppo M. and Dezani M. An Extension of the Basic Functionality Theory for theλ-Calculus Notre Dame Journal of Formal Logic 1980 21 685-693
[11]
Coppo, M., Dezani, M., Honsell, F. and Longo, G.: Extended Type Structures and Filter Lambda Models. In:Logic Colloquium '82, G. Lolliet al., (eds), North-Holland, pp. 241–262 (1983).
[12]
Coppo, M., Dezani, M. and Sallé, P.: Functional Characterization of Some Semantic Equalities Insideλ-Calculus. In: Automata, Languages and programming, Sixth Colloquium, Graz, July 1979, H. A. Maurer (ed.),Lecture Notes in Computer Science 71, Springer-Verlag, pp. 133–146 (1979).
[13]
Coppo, M., Dezani, M. and Venneri, B. Principal Type Schemes and λ-Calculus Semantics. In:To H. B. Curry, J. R. Hindley and J. P. Seldin (eds), Academic Press, pp. 535–560 (1980).
[14]
Coppo M., Dezani M., and Venneri B. Functional Characters of Solvable Terms Zeit. Math. Logik 1981 27 45-58
[15]
Coppo M., Dezani M., and Zacchi M. Type-Theories, Normal Forms, and D-Lambda Models Information and Computation 1987 72 85-116
[16]
Curry H. B. Modified Basic Functionality in Combinatory Logic Dialectica 1969 23 83-92
[17]
Dezani, M. and Hindley, J. R.: Intersection Types for Combinatory Logic,Theoretical Computer Science (to appear).
[18]
Dezani, M. and Margaria, I.: F-Semantics for Intersection Type Discipline. In: Semantics of Data Types, International Symposium, Sophia-Antipolis, France, June 1984, Proceedings, G. Kahn, D. MacQueen and G. Plotkin (eds.),Lecture Notes in Computer Science, 173, Springer-Verlag, 279–300 (1984).
[19]
Dezani M. and Margaria I. A Characterization of F-complete Type Assignments Theoretical Computer Science 1986 45 121-157
[20]
Hayashi, S.: Singleton, union and intersection types for program extraction. In: Theoretical Aspects of Computer Software, international Conference TACS '91, Sendai, Japan, September 1991, Proceedings, T. Ito and A. R. Meyer (eds.),Lecture Notes in Computer Science 526, Springer-Verlag, pp. 701–730 (1991).
[21]
Hindley, J. R.: The Simple Semantics for Coppo-Dezani-Sallé Types. In: International Symposium on programming, 5th Colloquium, Turin, April 1982, M. Dezani and U. Montanari (eds.),Lecture Notes in Computer Science 137, Springer-Verlag, 212–226 (1982).
[22]
Hindley, J. R. and Seldin, J. P.:Introduction to Combinators and λ-Calculus, Cambridge University Press, 1986.
[23]
Honsell, F. and Ronchi della Rocca, S.: Reasoning About Interpretation in Qualitative Lambda Models. In:IFIP TC2 Working Conf. on Programming Concepts and Methods 1990, North-Holland, pp. 492–508, (1991).
[24]
Lopez-Escobar, E. K. G.: Proof Functional Connectives. In:Lecture Notes in Mathematics. 1130, Springer-Verlag, 208–221 (1985).
[25]
Lopez-Escobar E. K. G. On Intuitionistic Sentential Connectives Rev. Colombiana de Math. 1985 19 117-130
[26]
Margaria, I., Zacchi, M.: Principal Typing in a Polymorphic-intersection Type Discipline. MS, Dipartimento di Informatica, Corso Svizzera 185, Turin, Italy (1991).
[27]
Mints G. The Completeness of Provable Realizability Notre Dame Journal of Formal Logic 1989 30 420-441
[28]
Pierce B. C. Programming with intersection types, union types and polymorphism Technical Report CMU-CS-91-106 1991 Pittsburgh, USA School of Computer Science, Carnegie Mellon University
[29]
Pottinger, G.: A Type Assignment for the Strongly Normalizable λ-Terms. In:To H. B. Curry, J. R. Hindley and J. P. Seldin (eds), Academic Press, pp. 561–577, (1980).
[30]
Reynolds J. C. Preliminary Design of the Programming Language Forsythe Report CMU-CS-88-159 1988 Pittsburgh, USA Computer Science Department, Carnegie-Mellon University
[31]
Reynolds, J. C.: Syntactic Control of Interference, Part 2. In: Automata, Languages and Programming, 16th International Colloquium, Stresa, Italy, July 1989, Proceedings, G. Ausiello, M. Dezani and S. Ronchi della Rocca (eds.),Lecture Notes in Computer Science 372, Springer-Verlag, pp. 704–722 (1989).
[32]
Reynolds, J. C.: The Coherence of Languages with Intersection Types. In: Theoretical Aspects of Computer Software, International Conference TACS '91, Sendai, Japan, September 1991, Proceedings, T. Ito and A. R. Meyer (eds.),Lecture Notes in Computer Science 526, Springer-Verlag, pp. 675–700 (1991).
[33]
Ronchi Della Rocca S. Characterization Theorems for a Filter Lambda Model Information and Control 1982 54 201-216
[34]
Ronchi Della Rocca S. and Venneri B. Principal Type-Schemes for an Extended Type Theory Theoretical Computer Science 1984 28 151-169
[35]
Sallé, P.: Une Extension de la Théorie des Types. In: Automata, Languages and Programming, Fifth Colloquium, Udine, July 1978, G. Ausiello and C. Böhm (eds.),Lecture Notes in Computer Science 62, Springer-Verlag, pp. 398–410 (1978).

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Formal Aspects of Computing
Formal Aspects of Computing  Volume 4, Issue 5
Sep 1992
84 pages
ISSN:0934-5043
EISSN:1433-299X
Issue’s Table of Contents

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 September 1992
Accepted: 15 December 1991
Received: 15 December 1990
Published in FAC Volume 4, Issue 5

Author Tags

  1. Computational Mathematic
  2. Normal Form
  3. Basic Property
  4. Variant System
  5. Math Application

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)38
  • Downloads (Last 6 weeks)7
Reflects downloads up to 19 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media