%0 Conference Proceedings %T Type Inference of Simulink Hierarchical Block Diagrams in Isabelle %+ Aalto University %+ VERIMAG (VERIMAG - IMAG) %+ University of California [Los Angeles] (UCLA) %A Preoteasa, Viorel %A Dragomir, Iulia %A Tripakis, Stavros %< avec comité de lecture %( Lecture Notes in Computer Science %B 37th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE) %C Neuchâtel, Switzerland %Y Ahmed Bouajjani %Y Alexandra Silva %I Springer International Publishing %3 Formal Techniques for Distributed Objects, Components, and Systems %V LNCS-10321 %P 194-209 %8 2017-06-19 %D 2017 %R 10.1007/978-3-319-60225-7_14 %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X Simulink is a de-facto industrial standard for embedded system design. In previous work, we developed a compositional analysis framework for Simulink, the Refinement Calculus of Reactive Systems (RCRS), which allows checking compatibility and substitutability of components. However, standard type checking was not considered in that work. In this paper we present a method for the type inference of Simulink models using the Isabelle theorem prover. A Simulink diagram is translated into an (RCRS) Isabelle theory. Then Isabelle’s powerful type inference mechanism is used to infer the types of the diagram based on the types of the basic blocks. One of the aims is to handle formally as many diagrams as possible. In particular, we want to be able to handle even those diagrams that may have typing ambiguities, provided that they are accepted by Simulink. This method is implemented in our toolset that translates Simulink diagrams into Isabelle theories and simplifies them. We evaluate our technique on several case studies, most notably, an automotive fuel control system benchmark provided by Toyota. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-01658411/document %2 https://inria.hal.science/hal-01658411/file/446833_1_En_14_Chapter.pdf %L hal-01658411 %U https://inria.hal.science/hal-01658411 %~ UGA %~ IMAG %~ CNRS %~ INPG %~ VERIMAG %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-FORTE %~ IFIP-LNCS-10321 %~ UGA-COMUE