Our companion paper proposes a type-directed operational semantics (TDOS) for λ_i^{:}: a calculus with intersection types and a merge operator. The artifact contains the specification of λ_i^{:} and its TDOS, and related Coq code. λ_i^{:} is formalized using the locally nameless representation with cofinite quantification. The Coq definition and some infrastructure code are generated by Ott and LNgen. λ_i^{:} is inspired by two closely related calculi by Dunfield (2014) and Oliveira et al. (2016), and a simple variant of it is designed to demonstrate the possibility to match with them without any modification. To relate the two calculi with λ_i^{:}, a sound theorem on semantics and a completeness theorem on typing are proved for each variant. In addition, we extended the bidirectional typing of Oliveira et al.’s λ_i calculus, and designed an elaboration from it to λ_i^{:}, to show that many of λ_i^{:}’s explicit annotations can be inferred automatically.
@Article{huang_et_al:DARTS.6.2.9, author = {Huang, Xuejing and Oliveira, Bruno C. d. S.}, title = {{A Type-Directed Operational Semantics For a Calculus with a Merge Operator (Artifact)}}, pages = {9:1--9:4}, journal = {Dagstuhl Artifacts Series}, ISSN = {2509-8195}, year = {2020}, volume = {6}, number = {2}, editor = {Huang, Xuejing and Oliveira, Bruno C. d. S.}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/DARTS.6.2.9}, URN = {urn:nbn:de:0030-drops-132060}, doi = {10.4230/DARTS.6.2.9}, annote = {Keywords: operational semantics, type systems, intersection types} }
5e97dd3092724a9fd4898f5c9a529c84
(Get MD5 Sum)
Feedback for Dagstuhl Publishing