Saved in:
Bibliographic Details
Main Authors: Rothgang, Colin, Rabe, Florian
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.02855
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915370710859776
author Rothgang, Colin
Rabe, Florian
author_facet Rothgang, Colin
Rabe, Florian
contents The recently introduced dependent typed higher-order logic (DHOL) offers an interesting compromise between expressiveness and automation support. It sacrifices the decidability of its type system in order to significantly extend its expressiveness over standard HOL. Yet it retains strong automated theorem proving support via a sound and complete translation to HOL. We leverage this design to extend DHOL with refinement and quotient types. Both of these are commonly requested by practitioners but rarely provided by automated theorem provers. This is because they inherently require undecidable typing and thus are very difficult to retrofit to decidable type systems. But with DHOL already doing the heavy lifting, adding them is not only possible but elegant and simple. Concretely, we add refinement and quotient types as special cases of subtyping. This turns the associated canonical inclusion resp. projection maps into identity maps and thus avoids costly changes in representation. We present the syntax, semantics, and translation to HOL for the extended language, including the proofs of soundness and completeness.
format Preprint
id arxiv_https___arxiv_org_abs_2507_02855
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Subtyping in DHOL -- Extended preprint
Rothgang, Colin
Rabe, Florian
Logic in Computer Science
Artificial Intelligence
Formal Languages and Automata Theory
The recently introduced dependent typed higher-order logic (DHOL) offers an interesting compromise between expressiveness and automation support. It sacrifices the decidability of its type system in order to significantly extend its expressiveness over standard HOL. Yet it retains strong automated theorem proving support via a sound and complete translation to HOL. We leverage this design to extend DHOL with refinement and quotient types. Both of these are commonly requested by practitioners but rarely provided by automated theorem provers. This is because they inherently require undecidable typing and thus are very difficult to retrofit to decidable type systems. But with DHOL already doing the heavy lifting, adding them is not only possible but elegant and simple. Concretely, we add refinement and quotient types as special cases of subtyping. This turns the associated canonical inclusion resp. projection maps into identity maps and thus avoids costly changes in representation. We present the syntax, semantics, and translation to HOL for the extended language, including the proofs of soundness and completeness.
title Subtyping in DHOL -- Extended preprint
topic Logic in Computer Science
Artificial Intelligence
Formal Languages and Automata Theory
url https://arxiv.org/abs/2507.02855