arXiv:2610.09184cs.LOOct 2026

Manuscript Offprint

arXiv:2610.09184

Structural Analysis of Hybrid-Trace Nets: An Optimization Approach

Nguyen Cong Nhat Le, Claire N. Bonial, John G. Rogers, Neil T. Dantam

Nhat Le

Claire N. Bonial

John G. Rogers

Neil T. Dantam

Abstract—Fault and error detection is crucial for ensuring the correctness of safety-critical systems. Safety verification often addresses reachability of bad system states, where exhaustive state inspection may be intractable due to the large state spaces of complex systems. We propose a reachability relaxation for hybrid trace nets, a useful mathematical model for analyzing concurrent event systems, to efficiently verify system safety. We further use our relaxation to effectively identify invariants, expressions that hold in all reachable states, allowing state-space reduction for efficient verification. Empirically, our approach proves unsafe states unreachable in 1.5×1.5\times more instances, generates 2.5×2.5\times more invariants with up to 2 orders of magnitude faster generation times than the baselines in the tested problems.

I. INTRODUCTION

Reliable systems should be free from errors such as deadlocks or forbidden states. Detecting and preventing errors such as unsafe states is a key task in formal verification and synthesis. Petri nets (PNs) are a formalism for event-driven models offering effective tools for reachability and safety analysis. PN variations are well-studied, including discrete [33], continuous [13], and hybrid nets [13]. Trace nets [5] are discrete nets with Boolean states and are useful for modeling systems when events may modify state independently of prior states (e.g., servicing a machine guarantees a proper working status regardless of the machine's prior conditions). Analysis for trace nets (TNs), however, is less studied, especially in a hybrid setting: continuous, integer, and Boolean (HTrNs).

Deciding HTrN reachability is computationally challenging [8], [11]. HTrNs induce exponentially large state spaces, posing limits in testing reachability. However, PN structure provides two useful tools to address the computational challenge: linear relaxation and invariants [31]. PN linear relaxations efficiently detect potentially reachable, and definitely unreachable states [31]. Invariants, which are linear expressions that hold in all reachable states, improve empirical runtime of reachability tests by, for example, reducing the number of decision variables [38], [42]. Although linear relaxation is widely applied in PNs [17], [18], [31], such a structure has not been characterized in TNs (HTrNs). In addition, existing PN invariant works [25], [36], [40] fail for TNs as they miss TN reachable states, while the approach in [10] is impractical due to the prohibitive cost. We address the computational issue of HTrN reachability by providing a reachability relaxation and effective invariant extraction.

We develop an efficient reachability relaxation and relaxation-based invariant generation for hybrid trace nets. A hybrid trace net is a combination of PN formalisms. We describe existing formalisms (see Sec. III) and define hybrid trace nets (see Sec. IV). Our relaxation optimistically determines reachability (see Sec. V) and helps to find invariants (see Sec. VI). We show an efficient polynomial-time invariant procedure via the relaxation (see Sec. VI-A) and comprehensive invariant extraction via mixed-integer programming (see Sec. VI-B).

References (31)