Abstract

Kobayashi et al. have recently shown that various verification problems for higher-order functional programs can naturally be reduced to the validity checking problem for \(\text {HFL}_\mathbb {Z}\), a higher-order fixpoint logic extended with integers. We propose a refinement type system for checking the validity of \(\nu \text {HFL}_\mathbb {Z}\) formulas, where \(\nu \text {HFL}_\mathbb {Z}\) is a fragment of \(\text {HFL}_\mathbb {Z}\) without least fixpoint operators, but sufficiently expressive for encoding safety property verification problems. Our type system has been inspired by the type system of Burn et al. for solving the satisfiability problem for HoCHC, which is essentially equivalent to the \(\nu \text {HFL}_\mathbb {Z}\) validity checking problem. Our type system is more expressive, however, due to a more sophisticated subtyping relation. We have implemented a type-based \(\nu \text {HFL}_\mathbb {Z}\) validity checker ReTHFL based on the proposed type system, and confirmed through experiments that ReTHFL can solve more instances than Horus, the tool based on Burn et al.’s type system.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.