Syntactic Effectful Realizability in Higher-Order Logic

  • Liron Cohen
  • , Ariel Grunfeld
  • , Dominik Kirst
  • , Etienne Miquey

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    1 Scopus citations

    Abstract

    Realizability interprets propositions as specifications for computational entities in programming languages. Specifically, syntactic realizability is a powerful machinery that handles realizability as a syntactic translation of propositions into new propositions that describe what it means to realize the input proposition. This paper introduces EffHOL (Effectful Higher-Order Logic), a novel framework that expands syntactic realizability to uniformly support modern programming paradigms with side effects. EffHOL combines higher-kinded polymorphism, enabling typing of realizers for higher-order propositions, with a computational term language that uses monads to represent and reason about effectful computations. We craft a syntactic realizability translation from (intuitionistic) higher-order logic (HOL) to EffHOL, ensuring the extraction of computable realizers through a constructive soundness proof. EffHOL's parameterization by monads allows for the synthesis of effectful realizers for propositions unprovable in pure HOL, bridging the gap between traditional and effectful computational paradigms. Examples, including continuations and memoization, showcase EffHOL's capability to unify diverse computational models, with traditional ones as special cases. For a semantic connection, we show that any instance of EffHOL induces an evidenced frame, which, in turn, yields a tripos and a realizability topos.

    Original languageEnglish
    Title of host publicationProceedings - 2025 40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025
    PublisherInstitute of Electrical and Electronics Engineers
    Pages16-30
    Number of pages15
    ISBN (Electronic)9798331554644
    DOIs
    StatePublished - 1 Jan 2025
    Event40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025 - Singapore, Singapore
    Duration: 23 Jun 202526 Jun 2025

    Publication series

    NameProceedings - Symposium on Logic in Computer Science
    ISSN (Print)1043-6871

    Conference

    Conference40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025
    Country/TerritorySingapore
    CitySingapore
    Period23/06/2526/06/25

    Keywords

    • effectful computation
    • evidenced frames
    • higher-kinded polymorphism
    • higher-order logic
    • monads
    • syntactic realizability

    ASJC Scopus subject areas

    • Software
    • General Mathematics

    Fingerprint

    Dive into the research topics of 'Syntactic Effectful Realizability in Higher-Order Logic'. Together they form a unique fingerprint.

    Cite this