skip to main content
10.1145/3361242.3362773acmotherconferencesArticle/Chapter ViewAbstractPublication PagesinternetwareConference Proceedingsconference-collections
research-article

Modeling and Reasoning Event-B Models Based on Mathematica

Authors Info & Claims
Published:28 October 2019Publication History

ABSTRACT

Event-B is a formal method for modeling and reasoning about complex systems, its open toolset Rodin supports integer numbers, but does not support real numbers and mathematical notations like trigonometric functions. The mathematical software Mathematica provides built-in data types and plenty of predicates and functions. In this paper, an approach for modeling and reasoning Event-B models based on Mathematica is proposed, both integer and real numbers, built-in mathematical notations in Mathematica can be utilized directly for modeling, and the simplification and reduction functions in Mathematica are proposed to reason about the generated proof obligations. The experimental results demonstrate the practicability of modeling and reasoning Event-B models based on Mathematica.

References

  1. [n.d.]. http://www.lab205.org/home/download/hybrid/Examples.pdfGoogle ScholarGoogle Scholar
  2. [n.d.]. Theorem Proving. https://reference.wolfram.com/language/guide/TheoremProving.htmlGoogle ScholarGoogle Scholar
  3. Jean-Raymond Abrial. 2010. Modeling in Event-B - System and Software Engineering. Cambridge University Press. http://www.cambridge.org/uk/catalogue/catalogue.asp?isbn=9780521895569Google ScholarGoogle Scholar
  4. Jean-Raymond Abrial, Michael J. Butler, Stefan Hallerstede, Thai Son Hoang, Farhad Mehta, and Laurent Voisin. 2010. Rodin: an open toolset for modelling and reasoning in Event-B. STTT 12, 6 (2010), 447--466. https://doi.org/10.1007/s10009-010-0145-yGoogle ScholarGoogle ScholarCross RefCross Ref
  5. Jean-Raymond Abrial, Wen Su, and Huibiao Zhu. 2012. Formalizing Hybrid Systems with Event-B, See [5], 178--193. https://doi.org/10.1007/978-3-642-30885-7_13Google ScholarGoogle Scholar
  6. Andrej Bauer, Edmund M. Clarke, and Xudong Zhao. 1998. Analytica - An Experiment in Combining Theorem Proving and Symbolic Computation. J. Autom. Reasoning 21, 3 (1998), 295--325. https://doi.org/10.1023/A:1006079212546Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Bruno Buchberger, Adrian Craciun, Tudor Jebelean, Laura Kovács, Temur Kutsia, Koji Nakagawa, Florina Piroi, Nikolaj Popov, Judit Robu, Markus Rosenkranz, and Wolfgang Windsteiger. 2006. Theorema: Towards computer-aided mathematical theory exploration. J. Applied Logic 4, 4 (2006), 470--504. https://doi.org/10.1016/j.jal.2005.10.006Google ScholarGoogle ScholarCross RefCross Ref
  8. Michael J. Butler and Issam Maamria. 2013. Practical Theory Extension in Event-B, See [8], 67--81. https://doi.org/10.1007/978-3-642-39698-4_5Google ScholarGoogle Scholar
  9. Carlo A. Furia and Bertrand Meyer. 2010. Inferring Loop Invariants Using Postconditions, See [9], 277--300. https://doi.org/10.1007/978-3-642-15025-8_15Google ScholarGoogle Scholar
  10. Mélanie Jacquel, Karim Berkani, David Delahaye, and Catherine Dubois. 2015. Verifying B proof rules using deep embedding and automated theorem proving. Software and System Modeling 14, 1 (2015), 101--119. https://doi.org/10.1007/s10270-013-0322-zGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  11. Laura Kovács. 2008. Aligator: A Mathematica Package for Invariant Generation (System Description), See [11], 275--282. https://doi.org/10.1007/978-3-540-71070-7_22Google ScholarGoogle Scholar
  12. L. Kovács. 2007. Automated Invariant Generation by Algebraic Techniques for Imperative Program Verification in Theorema. Ph.D. Dissertation. Johannes Kepler University Linz, Linz, Austria.Google ScholarGoogle Scholar
  13. Mengjun Li. 2012. A Practical Loop Invariant Generation Approach Based on Random Testing, Constraint Solving and Verification, See [13], 447--461. https://doi.org/10.1007/978-3-642-34281-3_31Google ScholarGoogle Scholar
  14. Mengjun Li. 2015. Automatic proving or disproving equality loop invariants based on finite difference techniques. Inf. Process. Lett. 115, 4 (2015), 468--474. https://doi.org/10.1016/j.ipl.2014.11.006Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Wen Su, Jean-Raymond Abrial, and Huibiao Zhu. 2014. Formalizing hybrid systems with Event-B and the Rodin Platform. Sci. Comput. Program. 94 (2014), 164--202. https://doi.org/10.1016/j.scico.2014.04.015Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Modeling and Reasoning Event-B Models Based on Mathematica

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            Internetware '19: Proceedings of the 11th Asia-Pacific Symposium on Internetware
            October 2019
            179 pages
            ISBN:9781450377010
            DOI:10.1145/3361242

            Copyright © 2019 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 28 October 2019

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article
            • Research
            • Refereed limited

            Acceptance Rates

            Internetware '19 Paper Acceptance Rate20of35submissions,57%Overall Acceptance Rate55of111submissions,50%
          • Article Metrics

            • Downloads (Last 12 months)6
            • Downloads (Last 6 weeks)0

            Other Metrics

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader