首页|期刊导航|计算机科学与探索|面向SCADE高阶语言结构的程序转换和模型检验技术

面向SCADE高阶语言结构的程序转换和模型检验技术OA

Program Transformation and Model Checking Techniques for Higher-Order Lan-guage Constructs in SCADE

中文摘要英文摘要

同步数据流语言被广泛应用于安全攸关系统的研发,例如Lustre语言和SCADE语言.SCADE语言相较于Lustre语言,增加了多种易用且具有高阶编程概念的语言结构.安全攸关系统的安全性验证需借助模型检验来完成形似化的系统证明.但目前SCADE程序的验证工具存在的问题有不支持所有的高阶语言结构,能够验证的程序模型局限在可扩展标记结构,导致现阶段对大型复杂程序的验证能力较差.主要研究对含有高阶语言结构(map、fold等12类高阶迭代操作符以及参数化节点)的SCADE程序进行模型检验.提出了从高阶语言结构到Lustre程序的基于语义等价思想的转换算法,针对转换后的程序结合现有工具完成模型检验;提出了时钟数据流等价性的概念评价转换前后程序语义的等价性;在含有高阶语言结构的SCADE测试集上进行实验,通过实验评估了依据转换算法设计的模型检验工具的有效性,可以完成对含有高阶语言结构程序的模型检验.提出和实现的方法提高了对SCADE程序进行模型检验的语言兼容能力.

Synchronous dataflow languages are widely used in safety-critical systems,such as the Lustre and SCADE(safety critical application development environment).Compared with Lustre,SCADE introduces various higher-order programming constructs that enhance usability and expressiveness.The safety verification of safety-critical systems relies on model checking to perform formalized system proofs.However,existing verification tools for SCADE have limita-tions:do not fully support all higher-order constructs,verification capabilities are restricted to XML structures.As a result,their ability to verify large and complex programs remains limited.This paper focuses on model checking for SCADE pro-grams containing higher-order language constructs(including 12 types of higher-order iterators such as map and fold,and parameterized nodes).A semantic equivalence-based translation algorithm is proposed to transform higher-order language constructs into Lustre programs,after which existing tools are utilized to perform model checking on the translated programs.Furthermore,the concept of clocked dataflow equivalence is introduced to evaluate the semantic equivalence between the original and translated programs.Experiments are conducted on a SCADE test containing higher-order language constructs,and the results demonstrate the effectiveness of the proposed model checking tool based on the translation algorithm.The approach successfully enables model checking for programs involving higher-order language structures.In summary,the proposed method enhances the language compatibility and verification capability of SCADE model checking.

王慧杰;陈哲;韦依洋

南京航空航天大学 计算机科学与技术学院,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106||软件新技术与产业化协同创新中心,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106

信息技术与安全科学

SCADE高阶迭代器参数化节点程序转换模型检验

SCADEhigher-order iteratorparameterized nodeprogram transformationmodel checking

《计算机科学与探索》 2026 (7)

1954-1962,9

国家自然科学基金(62172217)国家自然科学基金委员会-中国民航局民航联合研究基金(U1533130). This work was supported by the National Natural Science Foundation of China(62172217),and the National Natural Science Founda-tion of China and Civil Aviation Administration of China(U1533130).

10.3778/j.issn.1673-9418.2509006

评论