# 运行时刻验证

运行时刻验证（RV）是一种形式化方法技术，它通过分析一次执行所产生的事件迹，来检验系统的某次运行是否满足或违反以形式化规范逻辑写成的正确性性质。监控器是与系统并行执行的一个组件，它读取有限迹并给出判定，记作 \( \sigma \models \varphi \)，其中 \( \sigma \) 为迹、\( \varphi \) 为规范。<sup>[1](https://havelund.com/Publications/high-integrity-rv-2024.pdf)</sup> RV 是一种轻量却严谨的方法：与[模型检验](https://www.edgepedia.org/zh/model-checking)或定理证明不同——后两者对所有可能行为进行推理——它只分析单次执行，因而也只覆盖该次执行，但它适用于真实系统，包括不存在模型的黑盒系统。<sup>[2](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)</sup><sup> • </sup><sup>[3](https://docs.kernel.org/6.12/trace/rv/runtime-verification.html)</sup> 监控既可以在记录的日志上离线运行，也可以在系统执行过程中在线运行。<sup>[1](https://havelund.com/Publications/high-integrity-rv-2024.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 被监控的对象 | 观测到的事件或状态构成的有限迹 \( \sigma \in E^{*} \)，对照形式化规范 \( \varphi \) 进行检查；满足关系为 \( \sigma \models \varphi \)<sup>[1](https://havelund.com/Publications/high-integrity-rv-2024.pdf)</sup> |
| 判定 | 来自真值域（以真为顶、假为底的格）的一个真值，可扩充为 [0,1] 上的概率<sup>[4](https://www.isp.uni-luebeck.de/sites/default/files/publications/Leucker_-_Teaching_Runtime_Verification-RV11.pdf)</sup> |
| 有限迹语义 | LTL3 根据观测到的前缀的所有无穷延伸是否满足该性质，赋予 ⊤、⊥ 或 ?<sup>[5](https://cs.uwaterloo.ca/~bbonakda/teaching/CS745/lectures/RV.pdf)</sup> |
| 领域确立 | 该术语于 2001 年首次使用，作为 RV'01 研讨会的名称，由 Klaus Havelund 与 Grigore Rosu 组织<sup>[6](http://staff.um.edu.mt/__data/assets/pdf_file/0008/468935/Havelund-Festschrift.pdf)</sup> |
| 实测开销 | 在 1,544 个开源项目上对照 160 个 JDK API 规范进行测试，RV 平均开销为 23.6 倍（249.1 秒）；总 RV 时间的 60.5% 用于插桩<sup>[7](https://www.cs.cornell.edu/~legunsen/pubs/GuanAndLegunsenRVOverheadStudyISSTA24.pdf)</sup> |
| 生产环境应用 | Linux 内核随附由 rvgen 工具从确定性自动机、LTL 和混合自动机规范合成的 RV 监控器<sup>[8](https://docs.kernel.org/trace/rv/monitor_synthesis.html)</sup> |
| 安全关键应用 | Copilot 为硬实时系统生成在常数空间和常数时间内执行的 C99 监控器<sup>[1](https://havelund.com/Publications/high-integrity-rv-2024.pdf)</sup> |

## 工作原理

监控器被形式化为一个元组，包含判定域、事件集、监控器状态、确定性转移函数 \( \Delta: (Q \times A) \rightarrow Q \)，以及判定函数 \( \Gamma: Q \rightarrow D \)；确定性之所以重要，是因为监控器在运行时无法回溯。<sup>[9](https://www.cs.man.ac.uk/~regerg/papers/rv-tutorial-ios-2012.pdf)</sup> 针对 LTL 存在两种合成风格：从规范预先计算自动机，或在监控过程中以语义表方法重写公式。<sup>[4](https://www.isp.uni-luebeck.de/sites/default/files/publications/Leucker_-_Teaching_Runtime_Verification-RV11.pdf)</sup>

由于执行是有限的，而 LTL 定义在无穷字上，因此需要有限迹语义。LTL3 语义为

\[ [u \models \varphi] = \top \text{ 若 } \forall \sigma \in \Sigma_{\omega}: u \cdot \sigma \models \varphi; \quad \bot \text{ 若 } \forall \sigma \in \Sigma_{\omega}: u \cdot \sigma \not\models \varphi; \quad ? \text{ 否则.} \]

因此，只有当观测到的前缀的每一个无穷延伸都一致时，才会给出判定。<sup>[5](https://cs.uwaterloo.ca/~bbonakda/teaching/CS745/lectures/RV.pdf)</sup> RV-LTL 将不确定判定细化为“推定真”和“推定假”，从而解决那些否则将永远停留在不确定状态的情形。<sup>[10](https://isp.uni-luebeck.de/sites/default/files/publications/jlap08_1.pdf)</sup> LTL3 的构造将公式分别翻译为 \( \varphi \) 和 \( \neg\varphi \) 的 Büchi 自动机，从其语言补集导出 ⊤ 或 ⊥，并对所得机器做最小化（Myhill-Nerode）。<sup>[5](https://cs.uwaterloo.ca/~bbonakda/teaching/CS745/lectures/RV.pdf)</sup>

若最终能够到达判定，则称一个规范是可监控的，因此并非所有性质都适合 RV。<sup>[11](https://www21.in.tum.de/~traytel/papers/sttt21-tax_long/tax_long.pdf)</sup> 对于实时信号上的度量时序逻辑（MTL），基于自动机的在线监控要求自动机在公式规模上呈双指数，空间界则相对于信号的可变性程度和公式长度呈线性。<sup>[12](https://www-verimag.imag.fr/~maler/Papers/monitor-RV-chapter.pdf)</sup> MonPoly 监控度量一阶时序逻辑（MFOTL），但仅限一个安全性片段：诸如 \( [a,\infty) \, \gamma \) 这样的无界未来算子被禁止，而有界的 \( [a,b) \, \gamma \) 则允许。<sup>[13](https://2wvvw.easychair.org/publications/paper/62MC/download)</sup>

## 如何实施

RV 过程分为三个阶段：监控器合成（从性质生成判定过程）、系统插桩（生成监控器所消费的事件），以及执行分析——或与系统同步在线进行，或从日志离线进行。<sup>[9](https://www.cs.man.ac.uk/~regerg/papers/rv-tutorial-ios-2012.pdf)</sup> 插桩方式包括在源码、字节码或二进制层面进行代码插桩，使用 log4j 等日志 API、strace 等追踪工具，以及用于非侵入式监控的专用追踪硬件；代码插桩会影响系统的运行时间，在必须保持安全关键时序的场合不推荐使用。<sup>[4](https://www.isp.uni-luebeck.de/sites/default/files/publications/Leucker_-_Teaching_Runtime_Verification-RV11.pdf)</sup> 插桩技术构成一个从完全异步到完全同步监控的谱系。<sup>[14](https://ar5iv.labs.arxiv.org/html/1708.07229)</sup>

[Linux 内核](https://www.edgepedia.org/zh/linux-kernel)端到端地展示了这一工作流程：rvgen 将规范编译为监控器代码（对于 LTL，是一个 Büchi 自动机头文件加一个 C 监控器骨架，例如 `rvgen monitor -c ltl -s pagefault.ltl -t per_task`），原子命题在追踪点处通过 `ltl_atom_update()` 更新，反应器决定反应方式，可以经 printk 记录日志、使内核恐慌，或运行用户指定的代码。<sup>[8](https://docs.kernel.org/trace/rv/monitor_synthesis.html)</sup><sup> • </sup><sup>[3](https://docs.kernel.org/6.12/trace/rv/runtime-verification.html)</sup> 当检测到违反时，RV 系统可以提醒相关责任方，例如无人机的安全飞行员，或调用自动纠正程序将系统引导至安全状态。<sup>[1](https://havelund.com/Publications/high-integrity-rv-2024.pdf)</sup> 在完整插桩代价过高时，Copilot 等框架改为将监控器作为专用线程运行，通过共享内存采样程序变量，以牺牲完全可观测性为代价降低开销。<sup>[15](https://ntrs.nasa.gov/api/citations/20160012454/downloads/20160012454.pdf)</sup>

## 起源

“运行时刻验证”一词曾被用作 RV'01 研讨会的名称；该研讨会于 2001 年 7 月 23 日在巴黎举行。<sup>[6](http://staff.um.edu.mt/__data/assets/pdf_file/0008/468935/Havelund-Festschrift.pdf)</sup><sup> • </sup><sup>[16](https://www.havelund.com/Publications/rv-2018-test-of-time.pdf)</sup> 会上展示的工作描述了一个对照 LTL 规范分析执行迹的通用框架，体现在 Java PathExplorer（JPaX）工具中，Java 程序在字节码层面插桩，监控逻辑则作为深嵌入的领域特定语言在 Maude 重写系统中实现。<sup>[6](http://staff.um.edu.mt/__data/assets/pdf_file/0008/468935/Havelund-Festschrift.pdf)</sup><sup> • </sup><sup>[16](https://www.havelund.com/Publications/rv-2018-test-of-time.pdf)</sup> 早期工作受到 Temporal Rover 系统（用于监控时序逻辑性质）以及 VisualThreads 中所用的工业级预测性数据[竞争](https://www.edgepedia.org/zh/competition)与死锁检测算法的启发。<sup>[16](https://www.havelund.com/Publications/rv-2018-test-of-time.pdf)</sup> 后来的扩展 MOP 和 EAGLE 增加了对带数据事件和用户自定义时序算子的监控。<sup>[6](http://staff.um.edu.mt/__data/assets/pdf_file/0008/468935/Havelund-Festschrift.pdf)</sup> 该研讨会自 2001 年起每年举办<sup>[17](https://link.springer.com/book/10.1007/978-3-540-77395-5)</sup>，并于 2010 年升格为会议。<sup>[2](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)</sup> 国际运行时刻验证竞赛（CRV）设有离线监控、在线 C 和在线 Java 三个赛道；欧洲 COST ARVI 网络也于 2014 年启动。<sup>[18](https://link.springer.com/article/10.1007/s10009-017-0454-5)</sup><sup> • </sup><sup>[2](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)</sup>

## 变体

**参数化监控**处理参数化事件上的性质，例如按对象或按线程的实例。JavaMOP 实现了面向监控的编程（MOP）范式，使监控成为系统设计的一部分，而不是事后复核；RV-Monitor 是其核心，可同时监控从 Java API 文档衍生的 150 多个形式化规范。<sup>[14](https://ar5iv.labs.arxiv.org/html/1708.07229)</sup><sup> • </sup><sup>[19](https://fsl.cs.illinois.edu/publications/luo-zhang-lee-jin-meredith-serbanuta-rosu-2014-rv.pdf)</sup> TraceMOP 是一个显式迹工具，直接存储并监控迹；LazyMOP 将对唯一迹的监控推迟到 JVM 关闭时，将每条迹存入按规范划分的前缀树中。<sup>[20](https://par.nsf.gov/servlets/purl/10628155)</sup><sup> • </sup><sup>[21](https://www.cs.cornell.edu/~legunsen/pubs/GuanEtAlLazyMOPOOPSLA25.pdf)</sup>

**一阶与实时工具。** MonPoly 以 OCaml 编写，对照 MFOTL 公式检查日志和事件流以验证策略合规性，支持在线与离线；其项目家族后来增加了聚合算子、正则表达式、受限递归以及并行与分布式监控。Aerial 工具输出形如 \( j \equiv i \) 的等价判定，实现几乎与事件速率无关的监控，空间相对于事件速率呈对数；Hydra 支持过去和未来 MTL 算子，并配有多个独立的单向读取头。<sup>[13](https://2wvvw.easychair.org/publications/paper/62MC/download)</sup><sup> • </sup><sup>[22](https://people.inf.ethz.ch/basin/pubs/atva23.pdf)</sup> Larva 将性质规定为带定时器与事件的动态自动机（DATE）；Lola 使用过去时和未来时 LTL，提供具有有界资源保证的离线和完全同步在线监控；detectEr 监控 Erlang 系统。<sup>[14](https://ar5iv.labs.arxiv.org/html/1708.07229)</sup> CRV 2014 还有 MarQ（量化事件自动机）和 RiTHM（面向 C 程序、带 GPU 与多核加速的一阶 LTL）参赛。<sup>[18](https://link.springer.com/article/10.1007/s10009-017-0454-5)</sup>

**强制执行与保障。** 验证只观察，强制执行则介入。盾牌合成——Roderick Bloem 等人在 TACAS 2015 的论文——从安全 LTL 规范和环境模型合成盾牌，作为安全博弈中最大允许的获胜策略；后置盾牌覆写智能体的不安全动作，而前置盾牌在智能体做出选择之前就阻止不安全动作。<sup>[23](https://doi.org/10.48550/arxiv.1501.02573)</sup><sup> • </sup><sup>[24](https://ar5iv.labs.arxiv.org/html/2208.14426)</sup> 预测性运行时刻强制执行由 Srinivas Pinisetty 等人在 2017 年《系统设计中的形式化方法》中处理，它利用对系统的部分先验知识立即输出某些事件，而不是延迟或阻塞它们，在无任何先验知识时退化为标准强制执行。<sup>[25](https://doi.org/10.1007/s10703-017-0271-1)</sup> 预测性运行时刻验证同样将受监控性质 \( P \) 替换为更强的性质 \( Q \)，使得对所有输入都有 \( Q(x) \rightarrow P(x) \)，从而以高概率从少量迹中识别缺陷。<sup>[26](https://www.vstte.ethz.ch/Files/havelund-goldberg.pdf)</sup> 运行时刻保障则更进一步：在 Simplex 架构模式下，一个决策模块监控正在执行的系统，每当先进控制器可能在不久的将来导致安全违反时，就在不安全状态发生之前将控制切换到可由常规手段保障的保守组件。<sup>[15](https://ntrs.nasa.gov/api/citations/20160012454/downloads/20160012454.pdf)</sup><sup> • </sup><sup>[27](https://people.eecs.berkeley.edu/~sseshia/219c/spr19/lectures/RuntimeVerfication-and-Assurance.pdf)</sup>

## 应用

LogScope 是一种用于日志分析的时序逻辑，其开发目的是协助测试 JPL 火星车“好奇号”的飞行软件，该火星车于 2012 年 8 月 6 日着陆火星。<sup>[16](https://www.havelund.com/Publications/rv-2018-test-of-time.pdf)</sup> RV 监控器通过 `/sys/kernel/tracing/rv/` 启用，配有若干反应器和并发监控器。<sup>[3](https://docs.kernel.org/6.12/trace/rv/runtime-verification.html)</sup> Copilot 是一种嵌入 Haskell 的基于流的规范语言，面向硬实时安全关键系统，可编译为 MISRA C99 监控器或用于 FPGA 的 BlueSpec/Verilog；其配套工具 Ogma 可为 NASA cFS、JPL 的 F'、ROS 以及独立部署自动生成即用型监控应用。<sup>[28](https://sos-vo.org/system/files/2024-05/An%20Assured%20Open%20Source%20Framework%20for%20Runtime%20Verification.pdf)</sup> MonPoly 的主要用途是检查 IT 系统是否符合合规策略并报告所有违反。<sup>[13](https://2wvvw.easychair.org/publications/paper/62MC/download)</sup> 机器学习是一个日益增长的应用领域：一份 2026 年的系统综述识别出 46 项关于机器学习安全的形式化方法研究，其中包括运行时刻验证方法与盾牌技术，其中一项被综述的研究将运行时刻保障与定理证明和 SMT 求解相结合，用于一个使用神经网络的空中防撞系统。<sup>[29](https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2026.1749956/full)</sup>

开销在很大程度上取决于插桩和工作负载。用 JavaMOP 对 1,544 个开源项目中的 182,547 个单元测试对照 160 个 JDK API 规范进行监控，平均开销为 23.6 倍，即 249.1 秒；插桩占主导，消耗了总 RV 时间的 60.5%，而对于 1,279 个已预先插桩的项目，RV 开销平均降低了 8 倍。<sup>[7](https://www.cs.cornell.edu/~legunsen/pubs/GuanAndLegunsenRVOverheadStudyISSTA24.pdf)</sup> 工具设计很重要：在 DaCapo 9.12 基准上，avrora、lusearch、pmd 和 xalan 在 JavaMOP 下的开销分别为 150%、654%、797% 和 2,968%，而在 RV-Monitor 下仅为 22%、420%、261% 和 97%。<sup>[19](https://fsl.cs.illinois.edu/publications/luo-zhang-lee-jin-meredith-serbanuta-rosu-2014-rv.pdf)</sup> 对于使用确定性自动机模型的内核 RV，在内核中同步处理事件比将同样的事件保存到追踪缓冲区开销更低（De Oliveira、Cucinotta 与 De Oliveira，SEFM 2019）；这细化了“异步在线监控通常比同步监控开销更低”这一一般性结论，因为两项结果所比较的对象不同。<sup>[3](https://docs.kernel.org/6.12/trace/rv/runtime-verification.html)</sup><sup> • </sup><sup>[2](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)</sup>

## 局限与替代方案

RV 检查单次执行，而模型检验考虑系统所有可能的执行；两者互补，RV 检查实现的实际执行。<sup>[11](https://www21.in.tum.de/~traytel/papers/sttt21-tax_long/tax_long.pdf)</sup> 模型检验受状态爆炸问题困扰，而监控单次运行只要只存储有限历史便可避免内存问题。<sup>[10](https://isp.uni-luebeck.de/sites/default/files/publications/jlap08_1.pdf)</sup> 程序验证一般是不可解的，交互式定理证明也无法扩展到当前软件规模，因此 RV 通过在测试或运行期间监控剩余的证明义务来补充静态技术。<sup>[26](https://www.vstte.ethz.ch/Files/havelund-goldberg.pdf)</sup>

事件迹可能不完整或包含不精确的事件，当检测到缺失或歧义事件时，监控器可能无法给出可靠的判定；可靠性与完备性一般无法保证，例如当观测顺序与实际顺序不一致时。<sup>[30](https://dl.acm.org/doi/10.1016/j.cosrev.2023.100594)</sup><sup> • </sup><sup>[11](https://www21.in.tum.de/~traytel/papers/sttt21-tax_long/tax_long.pdf)</sup> 代码插桩会改变被插桩程序与时间相关的行为，这对于实时安全关键需求可能是不可接受的，并可能引发与时间相关的海森堡缺陷；基于采样的技术可降低开销，但会引入迹的空隙和监控的不确定性。<sup>[2](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)</sup> 封闭的硬件平台和专有接口可能使所需数据不可观测，有时迫使规范只能依赖可观测数据。<sup>[15](https://ntrs.nasa.gov/api/citations/20160012454/downloads/20160012454.pdf)</sup> 监控器本身也是软件制品，必须经过验证：Copilot 的合成保障使用 QuickCheck 基于性质的回归测试，以及借助 Frama-C 的 WP 引擎对生成的 ACSL 契约进行演绎验证，CopilotVerifier 则通过交由 Z3 求解器验证的双模拟关系证明生成的 C 监控器行为与规范一致。<sup>[15](https://ntrs.nasa.gov/api/citations/20160012454/downloads/20160012454.pdf)</sup><sup> • </sup><sup>[28](https://sos-vo.org/system/files/2024-05/An%20Assured%20Open%20Source%20Framework%20for%20Runtime%20Verification.pdf)</sup> 更具表达力的规范形式体系带来更高开销，因此必须在效率与表达力之间取得平衡。<sup>[9](https://www.cs.man.ac.uk/~regerg/papers/rv-tutorial-ios-2012.pdf)</sup> 对于黑盒 AI 系统，保守抽象可能导致过于保守的行为，而当保守性不可避免时，运行时间开销等标准 RV 指标并不适用。<sup>[24](https://ar5iv.labs.arxiv.org/html/2208.14426)</sup>

## References

1. [High-Integrity Runtime Verification](https://havelund.com/Publications/high-integrity-rv-2024.pdf)
2. [Introduction to Runtime Verification (Bartocci, Falcone, Francalanza, Reger, LNCS 10457, 2018)](https://staff.um.edu.mt/afra1/papers/RV-book-intro.pdf)
3. [Runtime Verification, The Linux Kernel documentation](https://docs.kernel.org/6.12/trace/rv/runtime-verification.html)
4. [Teaching Runtime Verification (LNCS 7186, RV 2011)](https://www.isp.uni-luebeck.de/sites/default/files/publications/Leucker_-_Teaching_Runtime_Verification-RV11.pdf)
5. [Runtime Verification for LTL (CS745 lecture slides, U. Waterloo)](https://cs.uwaterloo.ca/~bbonakda/teaching/CS745/lectures/RV.pdf)
6. [Passing the Baton: On Teaching Runtime Verification (Havelund Festschrift)](http://staff.um.edu.mt/__data/assets/pdf_file/0008/468935/Havelund-Festschrift.pdf)
7. [An In-Depth Study of Runtime Verification Overheads during Software Testing (ISSTA 2024)](https://www.cs.cornell.edu/~legunsen/pubs/GuanAndLegunsenRVOverheadStudyISSTA24.pdf)
8. [Runtime Verification Monitor Synthesis, The Linux Kernel documentation](https://docs.kernel.org/trace/rv/monitor_synthesis.html)
9. [A Tutorial on Runtime Verification (Reger et al., 2012)](https://www.cs.man.ac.uk/~regerg/papers/rv-tutorial-ios-2012.pdf)
10. [A Brief Account of Runtime Verification (Finkbeiner et al., JLAP)](https://isp.uni-luebeck.de/sites/default/files/publications/jlap08_1.pdf)
11. [A taxonomy for classifying runtime verification tools (extended version, STTT)](https://www21.in.tum.de/~traytel/papers/sttt21-tax_long/tax_long.pdf)
12. [Specification-Based Monitoring of Cyber-Physical Systems: A Survey on Theory, Tools and Applications](https://www-verimag.imag.fr/~maler/Papers/monitor-RV-chapter.pdf)
13. [The MonPoly Monitoring Tool](https://2wvvw.easychair.org/publications/paper/62MC/download)
14. [A Survey of Runtime Monitoring Instrumentation Techniques](https://ar5iv.labs.arxiv.org/html/1708.07229)
15. [Challenges in High-Assurance Runtime Verification](https://ntrs.nasa.gov/api/citations/20160012454/downloads/20160012454.pdf)
16. [Runtime Verification - 17 Years Later](https://www.havelund.com/Publications/rv-2018-test-of-time.pdf)
17. [Runtime Verification: 7th International Workshop, RV 2007 (LNCS 4839)](https://link.springer.com/book/10.1007/978-3-540-77395-5)
18. [First international Competition on Runtime Verification: CRV 2014 (STTT)](https://link.springer.com/article/10.1007/s10009-017-0454-5)
19. [RV-Monitor: Efficient Parametric Runtime Verification with Simultaneous Properties](https://fsl.cs.illinois.edu/publications/luo-zhang-lee-jin-meredith-serbanuta-rosu-2014-rv.pdf)
20. [TraceMOP: An Explicit-Trace Runtime Verification Tool for Java](https://par.nsf.gov/servlets/purl/10628155)
21. [Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests (LazyMOP, OOPSLA 2025)](https://www.cs.cornell.edu/~legunsen/pubs/GuanEtAlLazyMOPOOPSLA25.pdf)
22. [Correct and Efficient Policy Monitoring, a Retrospective](https://people.inf.ethz.ch/basin/pubs/atva23.pdf)
23. [Bloem, Roderick and colleagues (2015). Shield Synthesis: Runtime Enforcement for Reactive Systems. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1501.02573)
24. [Correct-by-Construction Runtime Enforcement in AI – A Survey](https://ar5iv.labs.arxiv.org/html/2208.14426)
25. [Srinivas Pinisetty and colleagues (2017). Predictive runtime enforcement. Formal Methods in System Design.](https://doi.org/10.1007/s10703-017-0271-1)
26. [Verify Your Runs (Havelund & Goldberg, VSTTE)](https://www.vstte.ethz.ch/Files/havelund-goldberg.pdf)
27. [A Tutorial on Runtime Verification and Assurance (EECS 219C, UC Berkeley)](https://people.eecs.berkeley.edu/~sseshia/219c/spr19/lectures/RuntimeVerfication-and-Assurance.pdf)
28. [An Assured Open-Source Framework for Runtime Verification (Copilot/Ogma)](https://sos-vo.org/system/files/2024-05/An%20Assured%20Open%20Source%20Framework%20for%20Runtime%20Verification.pdf)
29. [Formal methods for safety-critical machine learning: a systematic literature review](https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2026.1749956/full)
30. [Uncertainty in runtime verification: A survey (Computer Science Review, Vol 50)](https://dl.acm.org/doi/10.1016/j.cosrev.2023.100594)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Software testing and quality

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/runtime-verification

English original: https://www.edgepedia.org/runtime-verification
