Search arXivSearch

arXiv · 0905.0354

A completeness result for a realisability semantics for an intersection type system

Abstract

In this paper we consider a type system with a universal type $ω$ where any term (whether open or closed, $β$-normalising or not) has type $ω$. We provide this type system with a realisability semantics where an atomic type is interpreted as the set of $λ$-terms saturated by a certain relation. The variation of the saturation relation gives a number of interpretations to each type. We show the soundness and completeness of our semantics and that for different notions of saturation (based on weak head reduction and normal $β$-reduction) we obtain the same interpretation for types. Since the presence of $ω$ prevents typability and realisability from coinciding and creates extra difficulties in characterizing the interpretation of a type, we define a class ${\mathbb U}^+$ of the so-called positive types (where $ω$ can only occur at specific positions). We show that if a term inhabits a positive type, then this term is $β$-normalisable and reduces to a closed term. In other words, positive types can be used to represent abstract data types. The completeness theorem for ${\mathbb U}^+$ becomes interesting indeed since it establishes a perfect equivalence between typable terms and terms that inhabit a type. In other words, typability and realisability coincide on ${\mathbb U}^+$. We give a number of examples to explain the intuition behind the definition of ${\mathbb U}^+$ and to show that this class cannot be extended while keeping its desired properties.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Fairouz Kamareddine, Karim Nour. 2009-05-04. A completeness result for a realisability semantics for an intersection type system. https://arxiv.org/abs/0905.0354

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

On n-dependent groups and fields III. Multilinear forms and invariant connected components

We develop some model theory of multilinear forms, generalizing Granger's work in the bilinear case. In particular, after proving a quantifier elimination result, we show that for an NIP field $K$, the theory of infinite-dimensional non-degenerate alternating $n$-linear spaces over $K$ is strictly $n$-dependent, and is NSOP$_1$ if $K$ is. These results rely on a new Composition Lemma for functions of arbitrary arity and NIP relations (which in turn relies on certain higher-arity generalizations of the Sauer--Shelah lemma). We also study the invariant connected components $G^{\infty}$ in $n$-dependent groups, demonstrating their relative absoluteness.

math.LO

Loops, Inverse Limits and Non-Determinism

We introduce an operator on problems in Weihrauch complexity, which we call the infinite loop or inverse limit, and which corresponds to an infinite compositional product. This operation arises naturally whenever one implements algorithms that produce a sequence of results in an infinite loop, using some fixed subroutine. We prove that the corresponding operator is monotone with respect to (strong) Weihrauch reducibility but that it is not a closure operator. One of our findings is that weak Kőnig's lemma is closed under infinite loops, which implies that the class of non-deterministically computable problems is also closed under this operation. Consequently, this class allows for a high degree of flexibility in programming. As our main technical tools, we present an injective version of the recursion theorem and an infinitary version of the so-called independent choice theorem. We also show that, in general, the infinite loop operator is more powerful than the composition of the diamond operator followed by the parallelization operator. However, in many practical scenarios, these compositions yield a result, which coincides with the application of the infinite loop operator. Finally, we discuss the special situation of loops for single-valued problems and for problems on Turing degrees.

math.LO

A vector logic for intensional formal semantics

Formal semantics and distributional semantics are distinct approaches to linguistic meaning: the former models meaning as reference via model-theoretic structures; the latter as vectors in high-dimensional spaces shaped by usage. This paper establishes which part of intensional formal semantics admits a linear vector-space encoding. Kripke-style intensional models, with any finite collection of index sorts collected in a compound index space, embed injectively into vector spaces: primitive domains go to free carriers; intensions and other functions go to linear operators. Semantic functions lift to unique multilinear maps on the free carriers, and composition is preserved. The operator encoding of a function domain compresses its free carrier, and we characterize the functionals: a Boolean-valued functional of a power set acts linearly on operator encodings exactly when it is constant, an ultrafilter indicator, or the complement of one, so that on finite domains the nonconstant ones are Montague's individuals and their negations. Determiners over a restrictor of two or more elements, modal operators over two or more accessible indices, and attitude operators over two or more alternatives are outside the linear regime, and take, instead, the form of a linear accumulation followed by a decision. Modality is defined uniformly over measure frames, in which counting measure recovers Kripke semantics at every cardinality, and continuous measures make necessity truth almost everywhere; we give the correspondence conditions for the axioms D, T, B, 4, and 5 under measures, the Kronecker factorization of accessibility over compound indices, and the reading of measure-based modality as graded modality.

math.LO