{"title":"‘ReLIC: Reduced Logic Inference for Composition’ for Quantifier Elimination-Based Compositional Reasoning and Verification","authors":"Hao Ren, Ratnesh Kumar","doi":"10.1049/cps2.70033","DOIUrl":null,"url":null,"abstract":"<p>Formally verifying complex model-based designs has posed a significant challenge for complex systems, primarily due to their sheer scale and the critical nature of safety involved. A common method for tackling this challenge is the divide-and-conquer strategy, which leverages the system model architecture to decompose the verification tasks into smaller subtasks focused on subsystems or components. This approach entails articulating the verification goals as formal property contracts and subsequently verifying each one separately. Once the individual contracts of the subsystems or components are validated, they are integrated through formal reasoning to achieve verification at the system level also represented as a formal property contract. However, the current procedures and tools designed for this type of compositional verification often requires manual postulation of system-level contracts and are susceptible to false alarms in verification outcomes due to over-approximation. In the paper, we introduce our approach to compositional reasoning and verification using quantifier elimination (QE), which automates the derivation of the strongest system-level property given the component-level ones and their connectivity, enabling precise automated analysis for even time-dependent and nonlinear systems. QE serves as the foundation for <i>composition calculus</i>, allowing us to derive the <i>strongest system-level property</i> in a single step. We begin by applying this framework to properties that are time-independent, and subsequently, we expand our approach to encompass the composition of time-dependent properties. For the latter case, we shift the given properties over time to span the time horizon of interest, which we show to be no greater than the total time horizons of the component-level properties. Similarly, we use QE to infer the system-initial-condition from the component-level initial conditions. The automatically inferred strongest system-level property becomes useful in verifying a postulated desired system-level property through induction, involving inferred strongest system-level property and its initial condition. In this regard, we also advance the existing <span></span><math>\n <semantics>\n <mrow>\n <mi>k</mi>\n </mrow>\n <annotation> $k$</annotation>\n </semantics></math>-induction based model-checking by incorporating QE and formulating its base and inductive steps as QE problems. Our composition approach is uniform regardless of the type of composition (cascade/parallel/feedback) and regardless the component properties being composed are time-independent or time-dependent. We also present a prototype verifier called ReLIC (Reduced Logic Inference for Composition), which implements our approach and demonstrate it through several illustrative and practical examples. We also demonstrate the recent integration of our approach into an industrial verification and validation (V&V) tool suite, which allows for augmented static analysis of Simulink models and deep neural networks (DNNs).</p>","PeriodicalId":36881,"journal":{"name":"IET Cyber-Physical Systems: Theory and Applications","volume":"10 1","pages":""},"PeriodicalIF":0.8000,"publicationDate":"2025-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ietresearch.onlinelibrary.wiley.com/doi/epdf/10.1049/cps2.70033","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IET Cyber-Physical Systems: Theory and Applications","FirstCategoryId":"1085","ListUrlMain":"https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cps2.70033","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Formally verifying complex model-based designs has posed a significant challenge for complex systems, primarily due to their sheer scale and the critical nature of safety involved. A common method for tackling this challenge is the divide-and-conquer strategy, which leverages the system model architecture to decompose the verification tasks into smaller subtasks focused on subsystems or components. This approach entails articulating the verification goals as formal property contracts and subsequently verifying each one separately. Once the individual contracts of the subsystems or components are validated, they are integrated through formal reasoning to achieve verification at the system level also represented as a formal property contract. However, the current procedures and tools designed for this type of compositional verification often requires manual postulation of system-level contracts and are susceptible to false alarms in verification outcomes due to over-approximation. In the paper, we introduce our approach to compositional reasoning and verification using quantifier elimination (QE), which automates the derivation of the strongest system-level property given the component-level ones and their connectivity, enabling precise automated analysis for even time-dependent and nonlinear systems. QE serves as the foundation for composition calculus, allowing us to derive the strongest system-level property in a single step. We begin by applying this framework to properties that are time-independent, and subsequently, we expand our approach to encompass the composition of time-dependent properties. For the latter case, we shift the given properties over time to span the time horizon of interest, which we show to be no greater than the total time horizons of the component-level properties. Similarly, we use QE to infer the system-initial-condition from the component-level initial conditions. The automatically inferred strongest system-level property becomes useful in verifying a postulated desired system-level property through induction, involving inferred strongest system-level property and its initial condition. In this regard, we also advance the existing -induction based model-checking by incorporating QE and formulating its base and inductive steps as QE problems. Our composition approach is uniform regardless of the type of composition (cascade/parallel/feedback) and regardless the component properties being composed are time-independent or time-dependent. We also present a prototype verifier called ReLIC (Reduced Logic Inference for Composition), which implements our approach and demonstrate it through several illustrative and practical examples. We also demonstrate the recent integration of our approach into an industrial verification and validation (V&V) tool suite, which allows for augmented static analysis of Simulink models and deep neural networks (DNNs).