TY - GEN
T1 - Syntactic Effectful Realizability in Higher-Order Logic
AU - Cohen, Liron
AU - Grunfeld, Ariel
AU - Kirst, Dominik
AU - Miquey, Etienne
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025/1/1
Y1 - 2025/1/1
N2 - 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.
AB - 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.
KW - effectful computation
KW - evidenced frames
KW - higher-kinded polymorphism
KW - higher-order logic
KW - monads
KW - syntactic realizability
UR - https://www.scopus.com/pages/publications/105020014712
U2 - 10.1109/LICS65433.2025.00009
DO - 10.1109/LICS65433.2025.00009
M3 - Conference contribution
AN - SCOPUS:105020014712
T3 - Proceedings - Symposium on Logic in Computer Science
SP - 16
EP - 30
BT - Proceedings - 2025 40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025
PB - Institute of Electrical and Electronics Engineers
T2 - 40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025
Y2 - 23 June 2025 through 26 June 2025
ER -