Towards Building Verifiable CPS using Lingua Franca

被引:1
|
作者
Lin, Shaokai [1 ]
Manerkar, Yatin A. [2 ]
Lohstroh, Marten [1 ]
Polgreen, Elizabeth [3 ]
Yu, Sheng-Jung [1 ]
Jerad, Chadlia [4 ]
Lee, Edward A. [1 ]
Seshia, Sanjit A. [1 ]
机构
[1] Univ Calif Berkeley, Cory Hall, Berkeley, CA 94720 USA
[2] Univ Michigan, 2260 Hayward St, Ann Arbor, MI 48109 USA
[3] Univ Edinburgh, 10 Crichton St, Edinburgh EH8 9AB, Midlothian, Scotland
[4] Univ Manouba, Campus Univ Manouba, Manouba 2010, Manouba Governo, Tunisia
基金
美国国家科学基金会;
关键词
Cyber-physical systems; concurrency; safety MTL; axiomatic modeling; automated verification; model-based design; REAL-TIME SYSTEMS; MODEL CHECKING; SMT;
D O I
10.1145/3609134
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Formal verification of cyber-physical systems (CPS) is challenging because it has to consider real-time and concurrency aspects that are often absent in ordinary software. Moreover, the software in CPS is often complex and low-level, making it hard to assure that a formal model of the system used for verification is a faithful representation of the actual implementation, which can undermine the value of a verification result. To address this problem, we propose a methodology for building verifiable CPS based on the principle that a formal model of the software can be derived automatically from its implementation. Our approach requires that the system implementation is specified in Lingua Franca (LF), a polyglot coordination language tailored for real-time, concurrent CPS, which we made amenable to the specification of safety properties via annotations in the code. The program structure and the deterministic semantics of LF enable automatic construction of formal axiomatic models directly from LF programs. The generated models are automatically checked using Bounded Model Checking (BMC) by the verification engine Uclid5 using the Z3 SMT solver. The proposed technique enables checking a well-defined fragment of Safety Metric Temporal Logic (Safety MTL) formulas. To ensure the completeness of BMC, we present a method to derive an upper bound on the completeness threshold of an axiomatic model based on the semantics of LF. We implement our approach in the LF Verifier and evaluate it using a benchmark suite with 22 programs sampled from real-life applications and benchmarks for Erlang, Lustre, actor-oriented languages, and RTOSes. The LF Verifier correctly checks 21 out of 22 programs automatically.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Towards Lingua Franca on the Patmos Processor
    Khodadad, Ehsan
    Pezzarossa, Luca
    Schoeberl, Martin
    2024 IEEE 27TH INTERNATIONAL SYMPOSIUM ON REAL-TIME DISTRIBUTED COMPUTING, ISORC 2024, 2024,
  • [2] Attitudes towards English as a Lingua Franca
    Kaur, Paramjit
    INTERNATIONAL CONFERENCE ON KNOWLEDGE-INNOVATION-EXCELLENCE: SYNERGY IN LANGUAGE RESEARCH AND PRACTICE (2013), 2014, 118 : 214 - 221
  • [3] Towards a Conceptualization of Legal English as a Lingua Franca?
    Anesa, Patrizia
    INTERNATIONAL JOURNAL OF ENGLISH LINGUISTICS, 2019, 9 (06) : 14 - 21
  • [4] Lingua franca?
    Anon
    Photonics Spectra, 2000, 34 (08)
  • [5] 'Lingua Franca'
    Stroffolino, C
    AMERICAN POETRY REVIEW, 1998, 27 (02): : 56 - 56
  • [6] Lingua franca
    Keller, John M.
    EUROPE-REVUE LITTERAIRE MENSUELLE, 2024, (1140) : 279 - 297
  • [7] Lingua franca
    White, M
    ECONTENT, 2003, 26 (04) : 6 - 6
  • [8] 'Lingua Franca'
    Komunyakaa, Y
    CALLALOO, 2001, 24 (04) : 1073 - 1074
  • [9] LINGUA FRANCA
    MOILLIET, RWK
    NEW SCIENTIST, 1984, 102 (1410) : 53 - 53
  • [10] 'Lingua franca'
    O'Mahony, N
    EIRE-IRELAND, 2005, 40 (3-4): : 270 - 270