LLMs Generate Theorem Prover Scripts for Real-Time Systems

Sadat Shahriyar, Shareef Ahmed, Abdullah Al Arafat· August 14, 2026 View original

Key takeaways

  • PROVE-RT uses LLMs to generate mechanized theorem prover scripts for real-time systems.
  • It overcomes LLM domain knowledge gaps through guided, staged generation and retrieval.
  • The framework significantly improves success rates compared to direct LLM prompting.
  • This approach automates and scales rigorous schedulability analysis for critical systems.

Who benefits

Aerospace & DefenseAutomotiveIndustrial AutomationEmbedded SystemsCritical Infrastructure

Summary

PROVE-RT is an LLM-assisted framework that generates PROSA/ROCQ scripts for mechanized schedulability analysis in real-time systems, overcoming LLMs' lack of domain-specific knowledge. It achieves a 44.7% success rate by guiding generation through informal sketches, retrieval, and staged completion, significantly improving upon direct LLM prompting.

Certifying real-time systems requires rigorous schedulability analysis, often relying on complex, manual pen-and-paper proofs that are difficult to scale and maintain. Mechanized verification using tools like PROSA/ROCQ offers a more robust alternative, but it demands substantial domain expertise and proof-engineering effort. While Large Language Models (LLMs) show promise for automating script generation, they typically lack the specialized PROSA knowledge needed for correct modeling and proof patterns. This paper introduces PROVE-RT, an LLM-assisted framework designed to generate PROSA/ROCQ scripts for mechanizing real-time systems schedulability analyses. PROVE-RT enhances LLM generation through a multi-stage process: it uses dependency-aware informal sketches, retrieves relevant information from processed PROSA documentation, generates staged skeletons, and then completes the proofs. By leveraging a corpus of 1,191 real-time systems papers, PROVE-RT achieves a 44.7% success rate in generating valid PROSA mechanizations, a significant improvement over the unreliable results from direct prompting of state-of-the-art LLMs.

Why it matters

For engineers and researchers in real-time systems, PROVE-RT offers a pathway to automate and scale the rigorous verification of system schedulability, reducing manual effort and improving the reliability of critical system certifications.

How to implement this in your domain

  1. 1Explore PROVE-RT's methodology for generating mechanized theorem prover scripts.
  2. 2Integrate LLM-assisted script generation into your real-time system certification workflows.
  3. 3Develop or adapt informal sketches with dependency information to guide LLM proof generation.
  4. 4Utilize retrieval-augmented generation techniques with domain-specific documentation for improved accuracy.

Original post by Sadat Shahriyar, Shareef Ahmed, Abdullah Al Arafat

"arXiv:2608.12762v1 Announce Type: new Abstract: Schedulability analysis is essential for certifying real-time systems, but existing tests are often developed through pen-and-paper proofs that are difficult to scale, validate, and maintain. Mechanized verification in PROSA/ROCQ of…"

View on X

Originally posted by Sadat Shahriyar, Shareef Ahmed, Abdullah Al Arafat on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools