Hybrid systems theorem proving provides strong correctness guarantees about the interacting discrete and continuous dynamics of cyber-physical systems. The trustworthiness of proofs rests on the soundness of the proof calculus and its correct implementation in a theorem prover. Correctness is easier to achieve with a soundness-critical core that is stripped to the bare minimum, but, as a consequence, proof convenience has to be regained outside the soundness-critical core with proof management techniques. We present modeling and proof management techniques that are built on top of the soundness-critical core of KeYmaera X to enable expanding definitions, parametric proofs, lemmas, and other useful proof techniques in hybrid systems proofs. Our techniques steer the uniform substitution implementation of the differential dynamic logic proof calculus in KeYmaera X to allow users choose when and how in a proof abstract formulas, terms, or programs become expanded to their concrete definitions, and when and how lemmas and sub-proofs are combined to a full proof. The same techniques are exploited in implicit sub-proofs (without making such sub-proofs explicit to the user) to provide proof features, such as temporarily hiding formulas, which are notoriously difficult to get right when implemented in the prover core, but become trustworthy as proof management techniques outside the core. We illustrate our approach with several useful proof techniques and discuss their presentation on the KeYmaera X user interface.
翻译:证明证据的可靠性取决于证明微积分的正确性及其在理论验证中正确执行的正确性。 正确性比较容易以一个稳健的关键核心实现,该核心被剥除到最起码的最低限度,但因此,必须在稳健关键核心之外重新恢复证据便利,并采用证据管理技术。 我们提供了建在KeYmaera X的稳健关键核心之上的模型和证据管理技术,以便能够在混合系统验证中扩大定义、参数校验、利玛斯和其他有用的证据技术。 我们的技术指导不同动态逻辑校准核心的统一替代实施,使用户能够选择何时以及如何在证据抽象公式、术语或程序扩展到其具体定义,以及何时和如何将乳质和子校准结合到一个完整的证据中。 在隐含的子校准核心中,(在不提供子校准证据的情况下)使用同样的技术,但在用户核心中,我们临时地讨论其核心的证明特征。