计算机科学 > 程序设计语言
[提交于 2026年7月15日 (v1),最后修订于 2026年11月26日 (此版本, v2)]
标题:A Logical Interpretation of Two-Sided Type Systems
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Two-sided type systems, introduced in POPL'24, are an extension of the traditional notion of type system that allows for stating and deriving typing judgements in which (a) assumptions can be made about the types of arbitrary terms and not only variables, and (b) conclusions can be made about any number of type assignments, and not exactly one. In this work, we investigate a logical interpretation of a core of two-sided typing rules in the sense of the propositions-as-types paradigm. A key step is to strengthen the meaning of a distinguished left-side typing $M:A$ from ``$M$ is not a proof of $A$'' to ``$M$ constructs a refutation of $A$''. Building on the core two-sided rules for pure \(\lambda\)-terms, we introduce new two-sided type systems 2\(\lambda\)Int and 2\(\lambda\)Int$^c$, and establish a correspondence of derivability/type inhabitation with Wansing's bilateral logic 2Int and its extension with Nelson's strong negation, respectively. Going beyond the propositional case, we introduce 2\(\lambda\)HOL as a two-sided extension of Geuvers' \(\lambda\)HOL, and we show its expressive adequacy, its consistency and that it satisfies both the existence property and its dual.
提交历史
来自:Steven Ramsay[v1] 2026年7月15日 星期三 19:45:03 UTC (141 KB)
[v2] 2026年11月26日 星期四 13:57:46 UTC (173 KB)