Inspired by the notion of solvability in the λ-calculus, we define a notion of observability for a calculus with pattern matching. We give an intersection type system for such a calculus which is based on non-idempotent types. The typing system is shown to characterize the set of terms having canonical form, which properly contains the set of observable terms, so that typability alone is not sufficient to characterize observability. However, the inhabitation problem associated with our typing system turns out to be decidable, a result which — together with typability — allows to obtain a full characterization of observability.
@InProceedings{bucciarelli_et_al:LIPIcs.TLCA.2015.123, author = {Bucciarelli, Antonio and Kesner, Delia and Ronchi Della Rocca, Simona}, title = {{Observability for Pair Pattern Calculi}}, booktitle = {13th International Conference on Typed Lambda Calculi and Applications (TLCA 2015)}, pages = {123--137}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-939897-87-3}, ISSN = {1868-8969}, year = {2015}, volume = {38}, editor = {Altenkirch, Thorsten}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.TLCA.2015.123}, URN = {urn:nbn:de:0030-drops-51596}, doi = {10.4230/LIPIcs.TLCA.2015.123}, annote = {Keywords: solvability, pattern calculi, intersection types, inhabitation} }
Feedback for Dagstuhl Publishing