Skip to main content
Have a personal or library account? Click to login
Formal Modeling with Verification of Smart Courtroom Building System (SMCBS) Using UML and TLA+ Specification Cover

Formal Modeling with Verification of Smart Courtroom Building System (SMCBS) Using UML and TLA+ Specification

Open Access
|Mar 2026

Abstract

The growing trend of interconnected subsystems has brought significant interest in designing smart systems with the ability to build fully controlled attention upon them. Designing and verifying a smart building system presents unique challenges, including ensuring security for sensitive areas, managing diverse user access levels, and integrating multiple subsystems while maintaining system integrity and performance. There is also a need to work and focus on the goal of a smart, safe, and secure courtroom environment for all stakeholders, particularly in developing countries, such as Pakistan. There are also problems of security, safety, and energy saving in the infrastructure of the smart building systems. This study presents a proposed model for a secure, safe, and energy-saving courtroom building, and the model utilizes Unified Modeling Language (UML) diagrams to visualize the system’s components or objects and interaction sequences of actions. Additionally, formal methods are used, specifically Temporal Logic of Actions (TLA+), to write specifications as per the requirements of specifications and to rigorously verify the system’s properties to ensure its correctness. In the context of the smart courtroom building, security measures, such as password-protected entry, user access level, and safety, are implemented for the courtroom building. The system also manages building-wide lighting and temperature control while incorporating a subsystem of smoke detection to enhance safety during a fire in the courtroom. The model’s properties, such as correctness, are rigorously verified using the TLA+ toolbox and built-in Model Checker (TLC) after applying the specification as per the requirements of the infrastructure of a building. So, we have developed a novel integration of UML modeling and TLA+ specification for comprehensive system representation and verification. This is a robust set of formal specifications that address the unique security and functionality requirements of a courtroom environment. We have successfully verified the system properties using the TLC model checker, ensuring the correctness and safety of the proposed smart courtroom building system.

Language: English
Submitted on: Jul 4, 2024
Published on: Mar 12, 2026
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2026 Shahbaz Ahmad, Nadeem Akhtar, Adeel Ahmad, Saima Abdulla, Saman Iftikhar, published by Macquarie University, Australia
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.