Models That Cannot Break the Solver: Certified Numerical Robustness for Verilog-A Compact Models by Interval Abstract Interpretation, with Branch-Boundary Continuity Proofs, Derivative-Continuity Checks, Exception-Freedom over the Declared Operating
Compact models written in Verilog-A are evaluated millions of times per simulation, inside Newton iterations that assume the model's currents and charges are continuous and continuously differentiable. A single discontinuity at a branch boundary, a derivative jump, an exponential that overflows at an unusual bias or a division by a quantity that can reach zero is enough to stall convergence or produce wrong results—often only for some bias, temperature or geometry that the model developer never tried. Best-practice guidelines describe how to avoid these hazards, and rule checkers detect many unsafe coding patterns. What is missing is a semantic guarantee: a proof that, over the whole operating domain the model declares, the model is continuous, smooth where required and free of numerical exceptions. This paper proposes certification of Verilog-A compact models by interval abstract interpretation. The model is compiled to an expression graph with branch conditions; interval and affine arithmetic propagate the declared domain of biases, temperature, geometry and parameters through it. At every conditional, a branch-boundary check proves that the two sides agree in value and, where required, in derivative on the boundary. Exception checks prove that arguments of exponentials, logarithms, square roots and divisions stay in safe ranges. Where a proof fails, domain splitting isolates a small witness sub-box that the developer can inspect. The output is a certificate that the model cannot break the solver anywhere in its declared domain—or a precise place where it can.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24722365
- Citations
- 2
- Primary Topic
- Numerical Methods and Algorithms
- Type
- preprint