Correction: (Un)Solvable loop analysis

Daneshvar Amrollahi, Ezio Bartocci, George Kenison, Laura Kovács, Marcel Moosbrugger, Miroslav StankovicFormal Methods Syst. Des 2025

Introduction

This article presents a formal corrigendum to the research paper titled "(Un)Solvable loop analysis," originally published in the journal Formal Methods in System Design. This correction rectifies specific mathematical notations and technical details to ensure the mathematical rigor of the proposed framework for analyzing program loops. These updates are essential for proving program correctness and safety through the identification of loop invariants.

Refined Definition of Variable Dependency

In the field of formal methods, the distinction between linear and non-linear variable dependency is fundamental to the theory of "solvable loops." The original paper contained a notational ambiguity in Definition 7, which classifies these dependencies.

The authors have updated the notation from a standard equality ($=$) to a definition operator ($:=$). This change clarifies that $\mathcal{L}(x, y)$ is a defined classification rather than a derived equality. Furthermore, the formatting of the term "non-linearly" has been corrected to maintain technical consistency. These refinements are crucial for the sound classification of loop types, ensuring that the theoretical distinction between linear and non-linear dependencies is mathematically sound.

Diversity of Trace Map Invariants

Loop analysis involves finding invariants—properties that remain constant across every execution of a program loop. The original paper initially used a single general equation to represent invariants for several different "trace maps" (rules for matrix substitution in a sequence).

Upon further review, the authors determined that different trace maps actually generate distinct polynomial invariants. To address this, the correction replaces the oversimplified general equation with three specific cubic polynomial functions ($I_1, I_2, I_3$). These functions are used to generate invariants of the form $I(x, y, z) - I(x_0, y_0, z_0) = 0$.

The corrected invariants are as follows:

  1. $I_1(x, y, z) = x^2 + y^2 + z^2 - 2xyz$: This represents the classic Fricke–Vogt invariant.
  2. $I_2(x, y, z) = 4x^2y - 2xz - y$.
  3. $I_3(x, y, z) = x^2 + y^2 + z^2 - xyz - xy - xz - yz - x - y - z$.

These formulas are essential for the scientific correction on page 23 of the original work regarding the generation of cubic polynomial invariants. By explicitly linking these specific polynomial forms to Examples 36, 37, and 38, the authors provide a clearer and more accurate roadmap for researchers attempting to replicate or extend the (Un)Solvable loop analysis framework.

Conclusion

This correction serves to maintain the integrity of the published record for (Un)Solvable loop analysis. While it does not introduce new empirical data or discuss future work, the formalization of dependency definitions and the granular specification of trace map invariants are vital for the theoretical accuracy of formal program verification. Researchers are encouraged to consult the original 2024/2025 paper for the broader context and limitations of the framework.

Summary updated

BibTeX
@article{amrollahi2025correction,
  author = {Daneshvar Amrollahi and Ezio Bartocci and George Kenison and Laura Kovács and Marcel Moosbrugger and Miroslav Stankovic},
  title = {{Correction: (Un)Solvable loop analysis}},
  journal = {Formal Methods Syst. Des.},
  year = {2025},
  doi = {10.1007/s10703-024-00465-y},
}
Figure