cs.LOOct 1, 2026

ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents

Authors: Junyi Liu, Tianchi Ren, Fei Guan, Xu Jiang, Zhe Jiang, Wang Yi, Nan Guan

Organizations: City University of Hong Kong · Northeastern University (China) · Northeast Forestry University · University of Electronic Science and Technology of China · 

Abstract

Rigorous schedulability analysis is essential for the design of hard real-time systems, yet errors in pen-and-paper proofs threaten the safety of critical applications. The Prosa initiative addresses this by offering a foundation for building machine-checkable schedulability analysis proofs in the Rocq proof assistant. However, the substantial time and expertise required to construct such proofs remain a major barrier for wider adoption of Prosa. This work presents ProsaBuddy, an LLM?based agent system designed to lower the effort needed to develop mechanized real-time schedulability proofs. ProsaBuddy employs a ReAct loop with retrieval over the Prosa codebase, access to Rocq tools and optional human-written hints. It uses a subgoal?delegation architecture, decomposing a lemma into subgoals and dispatches them to subagents for proof. We evaluate ProsaBuddy on a mini benchmark drawn from real-time scheduling literature. Experiment results show that ProsaBuddy significantly outper?forms state-of-the-art LLM-based Rocq automated proving agent systems and a general coding agent OpenCode

Figures & tables

Explore similar work

CardsList
  1. PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMs

    Aug 13, 2026Sadat Shahriyar, Shareef Ahmed, Abdullah Al ArafatAutomated Theorem ProvingReal-Time Scheduling

  2. TLA-Verus: Generating and Solving Temporal Proof Obligations with LLM Agents

    Oct 10, 2026Kseniia Strelbytska, Balázs Szilágyi, Anna Mészáros +1Formal VerificationAutomated Theorem Proving

  3. Cost-Efficient Theorem Proving via Agent Orchestration in Program Verification

    Oct 7, 2026Shuangjie Yao, Nikolaus Holzer, Mark Paul Santolucito +3Automated Theorem ProvingFormal Verification