Abstract
This paper studies intersection and union type assignment for the calculus λ ÂŻ ÎŒ ÎŒ Ì (Curien and Herbelin, 2000 [16]), a proof-term syntax for Gentzenâs classical sequent calculus, with the aim of defining a type-based semantics, via setting up a system that is closed under conversion. We will start by investigating what the minimal requirements are for a system, for λ ÂŻ ÎŒ ÎŒ Ì to be complete (closed under redex expansion); this coincides with System M â© âȘ , the notion defined in Dougherty et al. (2004) [18]; however, we show that this system is not sound (closed under subject reduction), so our goal cannot be achieved. We will then show that System M â© âȘ is also not complete, but can recover from this by presenting System M c as an extension of M â© âȘ (by adding typing rules) and showing that it satisfies completeness; it still lacks soundness. We show how to restrict M â© âȘ so that it satisfies soundness as well by limiting the applicability of certain type assignment rules, but only when limiting reduction to (confluent) call-by-name or call-by-value reduction; in restricting the system this way, we sacrifice completeness. These results when combined show that, with respect to full reduction, it is not possible to define a sound and complete intersection and union type assignment system for λ ÂŻ ÎŒ ÎŒ Ì .
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.