English

Orthologic Type Systems

Programming Languages 2025-07-15 v1 Logic in Computer Science

Abstract

We propose to use orthologic as the basis for designing type systems supporting intersection, union, and negation types in the presence of subtyping assumptions. We show how to extend orthologic to support monotonic and antimonotonic functions, supporting the use of type constructors in such type systems. We present a proof system for orthologic with function symbols, showing that it admits partial cut elimination. Using these insights, we present an O(n2(1+m))\mathcal O(n^2(1+m)) algorithm for deciding the subtyping relation under mm assumptions. We also show O(n2)O(n^2) polynomial-time normalization algorithm, allowing simplification of types to their minimal canonical form.

Keywords

Cite

@article{arxiv.2507.10482,
  title  = {Orthologic Type Systems},
  author = {Simon Guilloud and Viktor Kunčak},
  journal= {arXiv preprint arXiv:2507.10482},
  year   = {2025}
}