Consistency Verification of Specification Rules

  • Thai Son Hoang
  • Shinji Itoh
  • Kyohei Oyama
  • Kunihiko Miyazaki
  • Hironobu Kuruma
  • Naoto Sato
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9407)


This paper focuses on the consistency analysis of specification rules expressing relationships between input and expected output of systems. We identified the link between Minimal Inconsistent Sets (MISes) of rules and Minimal Unsatisfiable Subsets (MUSes) of constraints. For practical consistency verification of rules, we developed a novel algorithm using SMT solvers for fast enumeration of MUSes. We evaluated the algorithm using publicly available benchmarks. Finally, we used the approach to verify the consistency of specifications rules extracted from real-world case studies.


Specification rules Consistency verification Minimal Inconsistent Sets (MISes) Minimal Unsatisfiable Subsets (MUSes) SMTs 


  1. 1.
    Abrial, J.-R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, New York (2010)CrossRefzbMATHGoogle Scholar
  2. 2.
    Abrial, J.-R., Butler, M., Hallerstede, S., Hoang, T.S., Mehta, F., Voisin, L.: Rodin: an open toolset for modelling and reasoning in Event-B. STTT 12(6), 447–466 (2010)CrossRefGoogle Scholar
  3. 3.
    Bailey, J., Stuckey, P.J.: Discovery of minimal unsatisfiable subsets of constraints using hitting set dualization. In: Hermenegildo, M.V., Cabeza, D. (eds.) PADL 2004. LNCS, vol. 3350, pp. 174–186. Springer, Heidelberg (2005) CrossRefGoogle Scholar
  4. 4.
    Barrett, C.W., Sebastiani, R., Seshia, S.A., Tinelli, C.: Satisfiability modulo theories. In: Handbook of Satisfiability. Frontiers in Artificial Intelligence and Applications, vol. 185, pp. 825–885. IOS Press (2009)Google Scholar
  5. 5.
    Belov, A., Manthey, N., Marques-Silva, J.: Parallel MUS extraction. In: Järvisalo, M., Van Gelder, A. (eds.) SAT 2013. LNCS, vol. 7962, pp. 133–149. Springer, Heidelberg (2013) CrossRefGoogle Scholar
  6. 6.
    Belov, A., Marques-Silva, J.: MUSer2: an efficient MUS extractor. JSAT 8(1/2), 123–128 (2012)zbMATHGoogle Scholar
  7. 7.
    Berstel, B., Leconte, M.: Using constraints to verify properties of rule programs. ICST 2010, 349–354 (2010)Google Scholar
  8. 8.
    Christ, J., Hoenicke, J., Nutz, A.: SMTInterpol: an interpolating SMT solver. In: Donaldson, A., Parker, D. (eds.) SPIN 2012. LNCS, vol. 7385, pp. 248–254. Springer, Heidelberg (2012) CrossRefGoogle Scholar
  9. 9.
    Hoang, T.S., Itoh, S., Oyama, K., Miyazaki, K., Kuruma, H., Sato, N.: Validating the consistency of specification rules. (2015)
  10. 10.
    Liffiton, M.H., Malik, A.: Enumerating infeasibility: finding multiple MUSes quickly. In: Gomes, C., Sellmann, M. (eds.) CPAIOR 2013. LNCS, vol. 7874, pp. 160–175. Springer, Heidelberg (2013) CrossRefGoogle Scholar
  11. 11.
    Liffiton, M.H., Sakallah, K.A.: Algorithms for computing minimal unsatisfiable subsets of constraints. J. Autom. Reasoning 40(1), 1–33 (2008)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Ligeza, A.: Logical Foundations for Rule-Based Systems. Studies in Computational Intelligence, vol. 11, 2nd edn. Springer, Heidelberg (2006) zbMATHGoogle Scholar
  13. 13.
    Nadel, A., Ryvchin, V., Strichman, O.: Efficient MUS extraction with resolution. In: FMCAD 2013, pp. 197–200. IEEE (2013)Google Scholar
  14. 14.
    Berstel-Da Silva, B.: Verification of Business Rules Programs. Springer, Heidelberg (2014) CrossRefGoogle Scholar
  15. 15.
    Wieringa, S.: Understanding, improving and parallelizing MUS finding using model rotation. In: Milano, M. (ed.) CP 2012. LNCS, vol. 7514, pp. 672–687. Springer, Heidelberg (2012) CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Thai Son Hoang
    • 1
  • Shinji Itoh
    • 1
  • Kyohei Oyama
    • 1
  • Kunihiko Miyazaki
    • 1
  • Hironobu Kuruma
    • 1
  • Naoto Sato
    • 1
  1. 1.Center for Technology InnovationHitachi Ltd.YokohamaJapan

Personalised recommendations