Observability = Typability + Inhabitation

12/14/2018
by   Antonio Bucciarelli, et al.
0

We define an observability property for a calculus with pattern matching which is inspired by the notion of solvability for the lambda-calculus. We prove that observability can be characterized by means of typability and inhabitation in an intersection type system P based on non-idempotent types. We show first that the system P characterizes the set of terms having canonical form, i.e. that a term is typable if and only if it reduces to a canonical form. But the set of observable terms is properly contained in the set of canonical. Thus, typability alone is not sufficient to characterize observability, in contrast to the solvability case for lambda-calculus. We then prove that typability, together with inhabitation, provides a full characterization of observability, in the sense that a term is observable if and only if it is typable and the types of all its arguments are inhabited. We complete the picture by providing an algorithm for the inhabitation problem of P.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/11/2017

Inhabitation for Non-idempotent Intersection Types

The inhabitation problem for intersection types in the lambda-calculus i...
research
07/07/2017

Complete Call-by-Value Calculi of Control Operators II: Strong Termination

We provide characterization of the strong termination property of the CC...
research
02/15/2018

Non-idempotent types for classical calculi in natural deduction style

In the first part of this paper, we define two resource aware typing sys...
research
11/24/2021

Characterization of canonical systems with six types of coins for the change-making problem

This paper analyzes a necessary and sufficient condition for the change-...
research
11/15/2017

Statman's Hierarchy Theorem

In the Simply Typed λ-calculus Statman investigates the reducibility rel...
research
07/07/2020

The Vectorial Lambda Calculus Revisited

We revisit the Vectorial Lambda Calculus, a typed version of Lineal. Vec...
research
05/05/2018

Confluent terminating extensional lambda-calculi with surjective pairing and terminal type

For the lambda-calculus with surjective pairing and terminal type, Curie...

Please sign up or login with your details

Forgot password? Click here to reset