arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.22063cs.CR
收藏

用于可扩展形式化硬件信息流验证的守卫等价谓词

Guarded Equivalence Predicates for Scalable Formal Hardware Information-Flow Verification

University of Virginia(弗吉尼亚大学)

Liangtao Dai, Yimin Gao, Melika Morsali, Mircea R. Stan

AI总结:

针对硬件信息流验证中自组合产生的跨副本等价关系难以捕获控制上下文相关性的问题,提出守卫等价谓词,通过CTI局部提取和状态分裂搜索从关系反例中生成守卫,显著提升PDR验证效率。

摘要:

形式化硬件信息流验证是一种排除依赖于秘密的功能或时序观测的原则性方法,但扩展此类证明仍然困难。自组合将信息流验证简化为对两个电路副本的安全性检查,产生了关系证明义务,而通用的PDR引擎难以仅从比特级逻辑中发现这些义务。最近的基于PDR的技术通过副本对称性和全局跨副本等价谓词利用这种重复结构。当对应的内部信号在整个可达状态空间中一致时,这些谓词是有效的,但它们无法捕获仅在特定控制上下文中相关的等价性。我们观察到,这种上下文关系在硬件IFV证明中自然出现:内部信号对可能只需要在某个控制阶段、事务窗口、循环状态或协议区域内一致。我们引入守卫等价谓词,将这些关系暴露给PDR。验证器不将提议的上下文等式视为假设,而是将相应的不匹配条件作为辅助阻塞义务提交。守卫通过CTI局部提取和状态分裂搜索从关系反例中提出;只有后端证明不可达的候选才会影响证明。在12个IFV基准测试和两个PDR后端上,守卫谓词在1800秒限制下将两个上下文基线超时转换为在34.2-89.5秒内完成的证明,同时在额外基准测试上将证明时间减少高达10.8倍。

英文摘要:

Formal hardware information-flow verification is a principled way to rule out secret-dependent functional or timing observations, but scaling such proofs remains difficult. Self-composition reduces information-flow verification to safety checking over two circuit copies, creating relational proof obligations that are hard for a generic PDR engine to discover from bit-level logic alone. Recent PDR-based techniques exploit this duplicated structure through copy symmetry and global cross-copy equivalence predicates. These predicates are effective when corresponding internal signals agree throughout the reachable state space, but they do not capture equalities that are relevant only in a specific control context. We observe that such contextual relations arise naturally in hardware IFV proofs: an internal signal pair may need to agree only within a control phase, transaction window, loop state, or protocol region. We introduce guarded equivalence predicates to expose these relations to PDR. Rather than treating a proposed contextual equality as an assumption, the verifier submits the corresponding mismatch condition as an auxiliary blocking obligation. Guards are proposed from relational counterexamples-to-induction using CTI-local extraction and state-split search; only candidates proved unreachable by the backend affect the proof. Across 12 IFV benchmarks and two PDR backends, guarded predicates convert two contextual baseline timeouts into completed proofs within 34.2--89.5s under an 1800s limit, while reducing proof time by up to 10.8x on additional benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑