Skip to main navigation Skip to search Skip to main content

Formalizing Model Inference of MicroPython

  • University of Lisbon
  • University of the Azores

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Model checking has often been used for verifying Cyber-Physical Systems (CPS). A major challenge is how to capture a model that represents the actual behavior of the software. Model extraction can introduce errors that can affect the accuracy of the analysis including loss of precision, inconsistency, non-conformance, and over- and under-approximations.In this paper, we formalize and prove the correctness of extracting a model from a subset of the MicroPython programming language with respect to a trace-based semantics. The extracted models capture the order of method calls and can be model checked using Shelley. We formalize the extraction process from an intermediate representation of MicroPython codes and prove that the behavior of our intermediate representation is a regular language. Our formalization and theoretical results are fully mechanized using the Coq proof assistant.

Original languageEnglish
Title of host publicationProceedings - 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops Volume, DSN-W 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages283-289
Number of pages7
ISBN (Electronic)9798350325430
DOIs
StatePublished - 2023
Event53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops Volume, DSN-W 2023 - Porto, Portugal
Duration: Jun 27 2023Jun 30 2023

Publication series

NameProceedings - 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops Volume, DSN-W 2023

Conference

Conference53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops Volume, DSN-W 2023
Country/TerritoryPortugal
CityPorto
Period6/27/236/30/23

ASJC Scopus Subject Areas

  • Computer Networks and Communications
  • Information Systems
  • Software
  • Safety, Risk, Reliability and Quality

Keywords

  • formalization
  • micropython
  • model-checking
  • model-extraction

Fingerprint

Dive into the research topics of 'Formalizing Model Inference of MicroPython'. Together they form a unique fingerprint.

Cite this