Formal verification of Matrix based MATLAB models using interactive theorem proving

被引:1
作者
Gauhar, Ayesha [1 ]
Rashid, Adnan [1 ]
Hasan, Osman [1 ]
Bispo, Joao [2 ]
Cardoso, Joao M. P. [2 ]
机构
[1] Natl Univ Sci & Technol NUST, Sch Elect Engn & Comp Sci SEECS, Islamabad, Pakistan
[2] Univ Porto, Fac Engn, Porto, Portugal
关键词
MATLAB; Formal verification; Matrix based MATLAB models; Interactive theorem proving; HOL Light; Formal Methods; Higher-order logic; HOL LIGHT;
D O I
10.7717/peerj-cs.440
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
MATLAB is a software based analysis environment that supports a high-level programing language and is widely used to model and analyze systems in various domains of engineering and sciences. Traditionally, the analysis of MATLAB models is done using simulation and debugging/testing frameworks. These methods provide limited coverage due to their inherent incompleteness. Formal verification can overcome these limitations, but developing the formal models of the underlying MATLAB models is a very challenging and time-consuming task, especially in the case of higher-order-logic models. To facilitate this process, we present a library of higher-order-logic functions corresponding to the commonly used matrix functions of MATLAB as well as a translator that allows automatic conversion of MATLAB models to higher-order logic. The formal models can then be formally verified in an interactive theorem prover. For illustrating the usefulness of the proposed library and approach, we present the formal analysis of a Finite Impulse Response (FIR) filter, which is quite commonly used in digital signal processing applications, within the sound core of the HOL Light theorem prover.
引用
收藏
页码:1 / 21
页数:21
相关论文
共 33 条
  • [1] Afshar SK, 2014, LECT NOTES ARTIF INT, V8543, P123, DOI 10.1007/978-3-319-08434-3_10
  • [2] [Anonymous], 2011, Understanding Digital Signal Processing
  • [3] [Anonymous], 2007, Digital Signal Processing
  • [4] Generalizing a Mathematical Analysis Library in Isabelle/HOL
    Aransay, Jesus
    Divason, Jose
    [J]. NASA FORMAL METHODS (NFM 2015), 2015, 9058 : 415 - 421
  • [5] The Role of the Mizar Mathematical Library for Interactive Proof Development in Mizar
    Bancerek, Grzegorz
    Bylinski, Czeslaw
    Grabowski, Adam
    Kornilowicz, Artur
    Matuszewski, Roman
    Naumowicz, Adam
    Pak, Karol
    [J]. JOURNAL OF AUTOMATED REASONING, 2018, 61 (1-4) : 9 - 32
  • [6] Coquelicot: A User-Friendly Library of Real Analysis for Coq
    Boldo, Sylvie
    Lelay, Catherine
    Melquiond, Guillaume
    [J]. MATHEMATICS IN COMPUTER SCIENCE, 2015, 9 (01) : 41 - 62
  • [7] Boström P, 2011, LECT NOTES COMPUT SC, V6991, P291, DOI 10.1007/978-3-642-24559-6_21
  • [8] A formal framework for modeling and validating Simulink diagrams
    Chen, Chunqing
    Dong, Jin Song
    Sun, Jun
    [J]. FORMAL ASPECTS OF COMPUTING, 2009, 21 (05) : 451 - 483
  • [9] Denes M, 2011, COQ WORKSH
  • [10] Gamboa R, 2003, ACL2 THEOREM PROVER