English

A Complete Finitary Refinement Type System for Scott-Open Properties

Logic in Computer Science 2026-04-30 v3

Abstract

We are interested in proving input-output properties of functions that handle infinite data such as streams or non-wellfounded trees. We provide a finitary refinement type system which is (sound and) complete for Scott-open properties defined in a fixpoint-like logic. Working on top of Abramsky's Domain Theory in Logical Form, we build from the well-known fact that the Scott domains interpreting recursive types are spectral spaces. The usual symmetry between Scott-open and compact-saturated sets is reflected in logical polarities: positive formulae allow for least fixpoints and define Scott-open sets, while negative formulae allow for greatest fixpoints and define compact-saturated sets. A realizability implication with the expected (contra)variance on polarities allows for non-trivial input-output properties to be formulated as positive formulae on function types.

Keywords

Cite

@article{arxiv.2601.23082,
  title  = {A Complete Finitary Refinement Type System for Scott-Open Properties},
  author = {Colin Riba and Adam Donadille},
  journal= {arXiv preprint arXiv:2601.23082},
  year   = {2026}
}

Comments

arXiv admin note: text overlap with arXiv:2502.11917

R2 v1 2026-07-01T09:27:56.369Z