Towards an LLM-Based Auto-Corrector Agent for Symboleo Specifications
Abstract
Smart contracts act as immutable and trusted intermediaries, ensuring transactions comply with contractual terms. As translating natural-language legal contracts into executable smart contracts is time-consuming and error-prone, formal specification languages such as Symboleo were introduced as intermediate representations that enable verification and code generation. Yet, writing or generating such specifications correctly still requires time and specialized expertise. To reduce manual effort in this context, this paper investigates a new repair approach that combines Large Language Models with compiler feedback. We propose an automated agent (SymboleoFix) that iteratively repairs Symboleo specifications, correcting many syntactic, semantic, and type-related errors. Preliminary experimental results from a case study suggest that SymboleoFix can help most eliminate syntactic errors, reduce the need for manual intervention, and improve specification accuracy.
BibTeX
@misc{singh2025towards,
author = {Gurdarshan Singh and Sahil Rajpal and Amal Ahmed Anda and Sofana Alfuhaid and Daniel J. Amyot and John Mylopoulos and Marco Roveri},
title = {{Towards an LLM-Based Auto-Corrector Agent for Symboleo Specifications}},
year = {2025},
doi = {10.1109/cascon66301.2025.00124},
}Ask Althea to put this paper to the test.
Loading related content...