@article{HULETTE201571, title = {Theorem-Proving Analysis of Digital Control Logic Interacting with Continuous Dynamics}, journal = {Electronic Notes in Theoretical Computer Science}, volume = {317}, pages = {71-83}, year = {2015}, note = {The Seventh and Eighth International Workshops on Numerical Software Verification (NSV)}, issn = {1571-0661}, doi = {https://doi.org/10.1016/j.entcs.2015.10.008}, url = {https://www.sciencedirect.com/science/article/pii/S1571066115000493}, author = {Geoffrey C. Hulette and Robert C. Armstrong and Jackson R. Mayo and Joseph R. Ruthruff}, keywords = {formal methods, theorem proving, hybrid systems, cyber-physical systems}, abstract = {This work outlines an equation-based formulation of a digital control program and transducer interacting with a continuous physical process, and an approach using the Coq theorem prover for verifying the performance of the combined hybrid system. Considering thermal dynamics with linear dissipation for simplicity, we focus on a generalizable, physically consistent description of the interaction of the real-valued temperature and the digital program acting as a thermostat. Of interest in this work is the discovery and formal proof of bounds on the temperature, the degree of variation, and other performance characteristics. Our approach explicitly addresses the need to mathematically represent the decision problem inherent in an analog-to-digital converter, which for rare values can take an arbitrarily long time to produce a digital answer (the so-called Buridan's Principle); this constraint ineluctably manifests itself in the verification of thermostat performance. Furthermore, the temporal causality constraints in the thermal physics must be made explicit to obtain a consistent model for analysis. We discuss the significance of these findings toward the verification of digital control for more complex physical variables and fields.} }