Cargando…
Formal verification of Matrix based MATLAB models using interactive theorem proving
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...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8022509/ https://www.ncbi.nlm.nih.gov/pubmed/33834107 http://dx.doi.org/10.7717/peerj-cs.440 |
_version_ | 1783674943689457664 |
---|---|
author | Gauhar, Ayesha Rashid, Adnan Hasan, Osman Bispo, João Cardoso, João M.P. |
author_facet | Gauhar, Ayesha Rashid, Adnan Hasan, Osman Bispo, João Cardoso, João M.P. |
author_sort | Gauhar, Ayesha |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-8022509 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-80225092021-04-07 Formal verification of Matrix based MATLAB models using interactive theorem proving Gauhar, Ayesha Rashid, Adnan Hasan, Osman Bispo, João Cardoso, João M.P. PeerJ Comput Sci Theory and Formal Methods 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. PeerJ Inc. 2021-03-22 /pmc/articles/PMC8022509/ /pubmed/33834107 http://dx.doi.org/10.7717/peerj-cs.440 Text en © 2021 Gauhar et al. https://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Theory and Formal Methods Gauhar, Ayesha Rashid, Adnan Hasan, Osman Bispo, João Cardoso, João M.P. Formal verification of Matrix based MATLAB models using interactive theorem proving |
title | Formal verification of Matrix based MATLAB models using interactive theorem proving |
title_full | Formal verification of Matrix based MATLAB models using interactive theorem proving |
title_fullStr | Formal verification of Matrix based MATLAB models using interactive theorem proving |
title_full_unstemmed | Formal verification of Matrix based MATLAB models using interactive theorem proving |
title_short | Formal verification of Matrix based MATLAB models using interactive theorem proving |
title_sort | formal verification of matrix based matlab models using interactive theorem proving |
topic | Theory and Formal Methods |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8022509/ https://www.ncbi.nlm.nih.gov/pubmed/33834107 http://dx.doi.org/10.7717/peerj-cs.440 |
work_keys_str_mv | AT gauharayesha formalverificationofmatrixbasedmatlabmodelsusinginteractivetheoremproving AT rashidadnan formalverificationofmatrixbasedmatlabmodelsusinginteractivetheoremproving AT hasanosman formalverificationofmatrixbasedmatlabmodelsusinginteractivetheoremproving AT bispojoao formalverificationofmatrixbasedmatlabmodelsusinginteractivetheoremproving AT cardosojoaomp formalverificationofmatrixbasedmatlabmodelsusinginteractivetheoremproving |