A Stable Model Semantics for eFLINT Norm Specifications and Model Checking Scenarios

Open Access
Authors
Publication date 2025
Host editors
  • Amir Shaikhha
  • Sebastian Erdweg
  • Nada Amin
Book title GPCE '25
Book subtitle Proceedings of the 24th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences : July 3-4, 2025, Bergen, Norway
ISBN (electronic)
  • 9798400719950
Event 24th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2025
Pages (from-to) 80-93
Number of pages 14
Publisher New York, NY: Association for Computing Machinery
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

Since its introduction at GPCE2020, the eFLINT norm specification language has been used in academic and industrial applications to specify and automate compliance for various norms, such as privacy regulations and data processing agreements. The eFLINT interpreter has been used to automate the analysis of real-time or historical cases by computing logical consequences and reporting normative violations. 

To support future language and tooling developments, we contribute a formal definition of the language as a translation to first-order logic programming with stable model semantics. The described semantics aligns with the previous semi-formal descriptions of the language, but resolves issues relating to logical inference with negative antecedent and aggregation operators. Specifically, we formalise the connection between eFLINT's derivation rules and Horn clauses under the stable model semantics. Secondly, by repurposing the Clingo answer-set solver as a highly-optimised eFLINT interpreter, we extend the toolset for eFLINT with model-checking abstract properties in addition to case analysis. 

We evaluate the new semantics and interpreter via an empirical comparison of the existing implementation to our prototype implementation. We observe that the expected subset of our tests have the equivalent behaviours.

Document type Conference contribution
Language English
Published at https://doi.org/10.1145/3742876.3742882
Other links https://www.scopus.com/pages/publications/105013061350
Downloads
3742876.3742882 (Final published version)
Permalink to this page
Back