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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 89ee6aad-665d-4a0e-b4d8-6c808b7cecebRelated 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
