• Home
  • Search
  • On Model-Checking Higher-Order Effectful Programs
  • Cite Icon8
  • https://doi.org/10.1145/3632929Copy DOI Icon

On Model-Checking Higher-Order Effectful Programs

Show More
  • Abstract
  • Highlights & Summary
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Model-checking is one of the most powerful techniques for verifying systems and programs, which since the pioneering results by Knapik et al., Ong, and Kobayashi, is known to be applicable to functional programs with higher-order types against properties expressed by formulas of monadic second-order logic. What happens when the program in question, in addition to higher-order functions, also exhibits algebraic effects such as probabilistic choice or global store? The results in the literature range from those, mostly positive, about nondeterministic effects, to those about probabilistic effects, in the presence of which even mere reachability becomes undecidable. This work takes a fresh and general look at the problem, first of all showing that there is an elegant and natural way of viewing higher-order programs producing algebraic effects as ordinary higher-order recursion schemes. We then move on to consider effect handlers, showing that in their presence the model checking problem is bound to be undecidable in the general case, while it stays decidable when handlers have a simple syntactic form, still sufficient to capture so-called generic effects . Along the way, we hint at how a general specification language could look like, this way justifying some of the results in the literature, and deriving new ones.

Similar Papers
  • Research Article
  • Citations136

Vertex-minors, monadic second-order logic, and a conjecture by Seese

  • Jun 21, 2006
  • Journal of Combinatorial Theory, Series B
  • Bruno Courcelle +1
  • Book Chapter
  • Citations13

Monadic second-order definable graph transductions

  • Jan 01, 1992
  • Bruno Courcelle
  • Book Chapter
  • Citations10

The definability of equational graphs in monadic second-order logic

  • Jan 01, 1989
  • B Courcelle
  • Book Chapter
  • Citations3

Facial circuits of planar graphs and context-free languages

  • Jan 01, 1998
  • Bruno Courcelle +1
  • Research Article

Specification and Verification for Unrestricted Algebraic Effects and Handling

  • Aug 15, 2024
  • Proceedings of the ACM on Programming Languages
  • Yahui Song +2
  • Conference Article
  • Citations5

Translating Higher-Order Specifications to Coq Libraries Supporting Hybrid Proofs

  • May 26, 2013
  • EPiC series in computing
  • Nada Habli +1
  • Conference Article
  • Citations12

Relational Semantics of Linear Logic and Higher-order Model Checking

  • Jan 01, 2015
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Charles Grellois +1
  • Research Article
  • Citations4

Higher-order Recursion Schemes and Collapsible Pushdown Automata: Logical Properties

  • Apr 30, 2021
  • ACM Transactions on Computational Logic
  • Christopher H Broadbent +3
  • Conference Article
  • Citations2

Chinese Spelling Text Generation of Mathematical Formulas

  • May 23, 2022
  • Su Dong +3
  • Research Article
  • Citations2

On the Termination Problem for Probabilistic Higher-Order Recursive Programs

  • Oct 02, 2020
  • Logical Methods in Computer Science
  • Naoki Kobayashi +2
  • Research Article
  • Citations4

The intricacies of three-valued extensional semantics for higher-order logic programs

  • Aug 23, 2017
  • Theory and Practice of Logic Programming
  • Panos Rondogiannis +1
  • Conference Article
  • Citations71

Verifying higher-order functional programs with pattern-matching algebraic data types

  • Jan 26, 2011
  • C.-H Luke Ong +1
  • Research Article
  • Citations1

Foreword

  • Mar 01, 2008
  • ACM SIGMETRICS Performance Evaluation Review
  • Stephen Gilmore +1
  • Research Article

Variable Distributed Loads in the Theorem of Three Moments

  • Jun 01, 1941
  • The Journal of the Royal Aeronautical Society
  • F J Turton
  • Research Article
  • Citations2

A frailty model for interaction between multiple events

  • Aug 06, 2013
  • Journal of Multivariate Analysis
  • Jack Cuzick +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.