ElGolog: A High-Level Programming Language with Memory of the Execution History
Giuseppe De Giacomo, Yves Lespérance, Eugenia Ternovska
Abstract
Most programming languages only support tests that refer exclusively to the current state. This applies even to high-level programming languages based on the situation calculus such as Golog. The result is that additional variables/fluents/data structures must be introduced to track conditions that the program uses in tests to make decisions. In this paper, drawing inspiration from McCarthy's Elephant 2000, we propose an extended version of Golog, called ElGolog, that supports rich tests about the execution history, where tests are expressed in a first-order variant of two-way linear dynamic logic that uses ElGolog programs with converse. We show that in spite of rich tests, ElGolog shares key features with Golog, including a sematics based on macroexpansion into situation calculus formulas, upon which regression can still be applied. We also show that like Golog, our extended language can easily be implemented in ElGolog.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- LTLf Synthesis on First-Order Agent Programs in Nondeterministic EnvironmentsTill Hofmann, Jens ClaßenAAAI 2025 · 2 citations
- A Syntactic Approach to Computing Complete and Sound Abstraction in the Situation CalculusLiangda Fang, Xiaoman Wang, Zhang Chen, Kailun Luo et al.AAAI 2025 · 2 citations
- Abstraction of Situation Calculus Concurrent Game StructuresYves Lespérance, Giuseppe De Giacomo, Maryam Rostamigiv, Shakil M. KhanAAAI 2024 · 7 citations
- Strategic Reasoning over Golog Programs in the Nondeterministic Situation CalculusGiuseppe De Giacomo, Yves Lespérance, Matteo MancanelliAAAI 2026
- Staged Specification Logic for Verifying Higher-Order Imperative ProgramsDarius Foo, Yahui Song, Wei-Ngan ChinFM 2024 · 1 citation
