{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T03:37:50Z","timestamp":1792640270208,"version":"4.5.0"},"reference-count":28,"publisher":"Cambridge University Press (CUP)","issue":"1-2","license":[{"start":{"date-parts":[[2026,7,30]],"date-time":"2026-07-30T00:00:00Z","timestamp":1785369600000},"content-version":"unspecified","delay-in-days":151,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"},{"start":{"date-parts":[[2026,7,30]],"date-time":"2026-07-30T00:00:00Z","timestamp":1785369600000},"content-version":"tdm","delay-in-days":151,"URL":"https:\/\/www.cambridge.org\/tdm\/tdmrep-policy.json"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2026,3]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    The development of temporal extensions of Answer Set Programming (ASP) has led to the emergence of non-monotonic linear-time (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline1.png\">\n                          <jats:alt-text content-type=\"machine-generated\">TEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>TEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {TEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    ), dynamic (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline2.png\">\n                          <jats:alt-text content-type=\"machine-generated\">DEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>DEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {DEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    ), and metric (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline3.png\">\n                          <jats:alt-text content-type=\"machine-generated\">MEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>MEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {MEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    ) temporal equilibrium logics. However, the inherent rigidity of highly optimized ASP systems often hinders the rapid exploration and implementation of alternative logical designs. In this work, we propose a flexible meta-programming framework that operationalizes the semantics of varied temporal logics through a unified, declarative framework. Our approach extends standard ASP meta-programming by augmenting\n                    <jats:italic>clingo<\/jats:italic>\n                    \u2019s theory grammar with formal type specifications and nesting capabilities. To ensure semantic correctness, we introduce a transformation pipeline that protects nested modalities from stable-model-based simplifications during grounding. We demonstrate the extensibility of our framework by implementing meta-encodings for\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline4.png\">\n                          <jats:alt-text content-type=\"machine-generated\">TEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>TEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {TEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    ,\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline5.png\">\n                          <jats:alt-text content-type=\"machine-generated\">MEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>MEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {MEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , and\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline6.png\">\n                          <jats:alt-text content-type=\"machine-generated\">DEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>DEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {DEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    . We provide a comprehensive account of\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline7.png\">\n                          <jats:alt-text content-type=\"machine-generated\">TEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>TEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {TEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    and highlight the key features for managing the interval constraints of\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline8.png\">\n                          <jats:alt-text content-type=\"machine-generated\">MEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>MEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {MEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    and the Fischer\u2013Ladner closure in\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" content-type=\"simple\" xlink:href=\"S1471068426100568_inline9.png\">\n                          <jats:alt-text content-type=\"machine-generated\">DEL<\/jats:alt-text>\n                        <\/jats:inline-graphic>\n                        <mml:math xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xmlns:mnf=\"http:\/\/cambridge.org\/core\/manifest\" xmlns:cup=\"http:\/\/contentservices.cambridge.org\" xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" xmlns:m=\"http:\/\/cambridge.org\/core\/metadata\" xmlns:core=\"http:\/\/cambridge.org\/core\" xmlns:c=\"http:\/\/cambridge.org\/core\/content\">\n                          <mml:mrow>\n                            <mml:mtext>DEL<\/mml:mtext>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                        <jats:tex-math>$\\textrm {DEL}$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    . Finally, we introduce the\n                    <jats:italic>metasp<\/jats:italic>\n                    system, a versatile tool that encapsulates this workflow.\n                  <\/jats:p>","DOI":"10.1017\/s1471068426100568","type":"journal-article","created":{"date-parts":[[2026,7,30]],"date-time":"2026-07-30T07:42:35Z","timestamp":1785397355000},"page":"180-196","update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":1,"title":["Meta-Programming for Linear-Time Temporal Answer Set Programming"],"prefix":"10.1017","volume":"26","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2622-2632","authenticated-orcid":false,"given":"SUSANA","family":"HAHN","sequence":"first","affiliation":[{"name":"University of Potsdam"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"AMAD\u00c9","family":"NEMES","sequence":"additional","affiliation":[{"name":"University of Potsdam"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5546-9939","authenticated-orcid":false,"given":"JAVIER","family":"ROMERO","sequence":"additional","affiliation":[{"name":"University of Potsdam"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7456-041X","authenticated-orcid":false,"given":"TORSTEN","family":"SCHAUB","sequence":"additional","affiliation":[{"name":"University of Potsdam"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2026,7,30]]},"reference":[{"key":"S1471068426100568_ref2","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068421000557"},{"key":"S1471068426100568_ref16","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-74209-5"},{"key":"S1471068426100568_ref18","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(79)90046-1"},{"key":"S1471068426100568_ref19","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000329"},{"key":"S1471068426100568_ref1","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068416000570"},{"key":"S1471068426100568_ref15","unstructured":"De Giacomo, G. and Vardi, M. 2013. Linear temporal logic and linear dynamic logic on finite traces. In Proceedings of the Twenty-third International Joint Conference on Artificial Intelligence (IJCAI\u201913), F. Rossi, Ed. Menlo Park, California: IJCAI\/AAAI Press, 854\u2013860."},{"key":"S1471068426100568_ref17","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-74209-5_28"},{"key":"S1471068426100568_ref21","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068403001790"},{"key":"S1471068426100568_ref22","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068421000508"},{"key":"S1471068426100568_ref11","unstructured":"Cabalar, P. , Pearce, D. and Valverde, A. 2010. Safety preserving transformations for general answer set programs. In Proceedings of the Nineteenth International Symposium on Logic Based Program Synthesis and Transformation (LOPSTR\u201909), vol. 6037, Lecture Notes in Computer Science, D. De Schreye, Ed. Berlin, Heidelberg:\u00a0Springer-Verlag, 132\u2013146."},{"key":"S1471068426100568_ref24","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-24658-7"},{"key":"S1471068426100568_ref28","doi-asserted-by":"crossref","unstructured":"Pratt, V. 1976. Semantical consideration on floyd-hoare logic. In Proceedings of the Seventeenth Annual Symposium on Foundations of Computer Science (SFCS\u201976).\u00a0Los Alamitos, California: IEEE Computer Society Press, 109\u2013121.","DOI":"10.1109\/SFCS.1976.27"},{"key":"S1471068426100568_ref9","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.416.19"},{"key":"S1471068426100568_ref25","unstructured":"Nemes, A. 2024. Implementing a temporal answer set solver using metaprogramming techniques, Master\u2019s thesis, University of Potsdam."},{"key":"S1471068426100568_ref27","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1977.32"},{"key":"S1471068426100568_ref7","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068424000139"},{"key":"S1471068426100568_ref14","unstructured":"Cuteri, A. , Mazzotta, G. , Pe\u00f1aloza, R. and Ricca, F. 2024. Automata-based ltl satisfiability checking via ASP. In Workshop Proceedings of the Twenty-third International Conference of the Italian Association for Artificial Intelligence (AIxIA\u201924), vol. 3883, CEUR Workshop Proceedings, D. Aineto, R. De Benedictis, M. Maratea, M. Mittelmann, G. Monaco, E. Scala, L. Serafini, I. Serina, F. Spegni, E. Tosello, A. Umbrico and M. Vallati, Eds. Aachen, Germany: CEUR-WS.org. https:\/\/ceur-ws.org\/Vol-3883\/paper4_RCRA2.pdf."},{"key":"S1471068426100568_ref20","unstructured":"Hahn, S. , Nemes, A. , Romero, J. and Schaub, T. 2026. metasp. https:\/\/potassco.org\/metasp."},{"key":"S1471068426100568_ref23","doi-asserted-by":"publisher","DOI":"10.1016\/S0743-1066(96)00121-5"},{"key":"S1471068426100568_ref10","doi-asserted-by":"crossref","unstructured":"Cabalar, P. and Demri, S. 2011. Automata-based computation of temporal equilibrium models. In Proceedings of the Twenty-first International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR\u201911), Vol. 7225, Lecture Notes in Computer Science, G. Vidal, Ed. Berlin, Heidelberg:\u00a0Springer-Verlag, 57\u201372.","DOI":"10.1007\/978-3-642-32211-2_5"},{"key":"S1471068426100568_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0031988"},{"key":"S1471068426100568_ref12","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-20528-7_19"},{"key":"S1471068426100568_ref8","unstructured":"Behrens, J. , Kaminski, R. , Schaub, T. , Son, T. , \u0160vancara, J. and Wanko, P. 2024. Routing and scheduling in answer set programming applied to multi-agent path finding: Preliminary report. abs\/2403.12153. https:\/\/arxiv.org\/abs\/2403.12153."},{"key":"S1471068426100568_ref26","doi-asserted-by":"publisher","DOI":"10.1007\/s10472-006-9028-z"},{"key":"S1471068426100568_ref4","doi-asserted-by":"crossref","unstructured":"Balai, E. , Gelfond, M. and Zhang, Y. 2013. Towards answer set programming with sorts. In Proceedings of the Twelfth International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR\u201913), vol. 8148, P. Cabalar and T. Son, Eds. Berlin, Heidelberg:\u00a0Springer-Verlag, 135\u2013147.","DOI":"10.1007\/978-3-642-40564-8_14"},{"key":"S1471068426100568_ref6","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-74209-5_2"},{"key":"S1471068426100568_ref13","doi-asserted-by":"publisher","DOI":"10.3233\/FAIA200151"},{"key":"S1471068426100568_ref5","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068417000138"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068426100568","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068426100568","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T02:41:25Z","timestamp":1792636885000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068426100568\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,3]]},"references-count":28,"journal-issue":{"issue":"1-2","published-print":{"date-parts":[[2026,3]]}},"alternative-id":["S1471068426100568"],"URL":"https:\/\/doi.org\/10.1017\/s1471068426100568","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,3]]},"assertion":[{"value":"\u00a9 The Author(s), 2026. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https:\/\/creativecommons.org\/licenses\/by\/4.0\/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}]}}