Debido al alto tráfico generado por robots, aplicamos límites en el número de peticiones permitidas por cliente y bloqueos por IP automáticos. Si haces un uso legítimo y estás teniendo problemas, avísanos para reevaluar nuestras políticas de bloqueo. Disculpa las molestias.

Artículo:
Automatic Documentation of Java Code with Formal Specifications using Artificial Intelligence

Cargando...
Miniatura

Editor

Sistedes

Publicado en

Actas de las XXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025)

Licencia Creative Commons

Resumen

We present a system that produces JML (Java Modeling Language) formal specifications of Java programming language code using Higher Order Logic (HOL). The system verifies that the formal specifications are correct using the Isabelle/HOL theorem prover assistant. Our approach combines automated unit test case generation, invariant detection, conversion between formal languages, and specialized Large Language Models (LLMs) for proof inference and formalized code documentation generation. This novel pipeline bridges the gap between practical software engineering and formal verification methods, enabling developers to automatically produce trustworthy documentation backed by mathematical proofs and formal statements that can later be combined in a modularized way to prove the correctness of large software systems.

Descripción

Acerca de Recio, Juan Carlos

Palabras clave

Formal Verification, Invariant Detection, Large Language Models, JML, Isabelle/HOL

Citación

Recio, J. C., Saborido, R., Chicano, F.: Automatic Documentation of Java Code with Formal Specifications using Artificial Intelligence. In: Burgueño, L. (ed.) Actas de las XXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025). Sistedes (2025). https://hdl.handle.net/11705/JISBD/2025/90