Abstract
This paper proposes an approach to verifying programs against context free properties. To this end, the system to be verified is modeled by a program m in Modeling, Simulation and Verification Language (MSVL), and the desired property is also specified by an MSVL program \(m'\). Then program m and formula \(\lnot m'\) are interpreted by means of executing programs m and \(m'\). If an acceptable execution path is generated, a counterexample is found, otherwise the property is valid. To show how the proposed approach works, an example is given.
The research is supported by National Natural Science Foundation of China under Grant Nos. 61420106004, 61572386, 61732013 and 61751207.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
IEC 62531:2012(e) (IEEE Std 1850–2010): Standard for property specification language (PSL). IEC 62531:2012(E) (IEEE Std 1850–2010), pp. 1–184, June 2012
Beyer, D., Keremoglu, M.E.: CPAchecker: a tool for configurable software verification. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 184–190. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22110-1_16
Ciortea, L., Zamfir, C., Bucur, S., Chipounov, V., Candea, G.: Cloud9: a software testing service. SIGOPS Oper. Syst. Rev. 43(4), 5–10 (2010)
Clarke, E.M.: SAT-based counterexample guided abstraction refinement. In: Bošnački, D., Leue, S. (eds.) SPIN 2002. LNCS, vol. 2318, p. 1. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-46017-9_1
Clarke, E.M., Emerson, E.A.: Design and synthesis of synchronization skeletons using branching time temporal logic. In: Kozen, D. (ed.) Logic of Programs 1981. LNCS, vol. 131, pp. 52–71. Springer, Heidelberg (1982). https://doi.org/10.1007/BFb0025774
de Moura, L., Bjørner, N.: Z3: an efficient SMT solver. In: Ramakrishnan, C.R., Rehof, J. (eds.) TACAS 2008. LNCS, vol. 4963, pp. 337–340. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78800-3_24
Duan, Z.: Temporal Logic and Temporal Logic Programming. Science Press, Beijing (2005)
Duan, Z., Tian, C.: A unified model checking approach with projection temporal logic. In: Liu, S., Maibaum, T., Araki, K. (eds.) ICFEM 2008. LNCS, vol. 5256, pp. 167–186. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-88194-0_12
Hao, K., Duan, Z.: Traceable automata. Chin. J. Comput. 5, 340–348 (1990)
Kesten, Y., Pnueli, A.: A complete proof system for QPTL. J. Logic Comput. 12(5), 701–745 (1995)
Kobayashi, N., Luke Ong, C.H.: A type system equivalent to the modal mu-calculus model checking of higher-order recursion schemes. In: IEEE Symposium on Logic in Computer Science, 2009. LICS 2009, pp. 179–188 (2009)
Wang, M., Tian, C., Zhang, N., Duan, Z., Yao, C.: Translating C programs to MSVL programs. https://arxiv.org/abs/1809.00959 (2018)
Wang, X., Tian, C., Duan, Z., Zhao, L.: MSVL: a typed language for temporal logic programming. Front. Comput. Sci. 11(5), 762–785 (2017)
Yang, K., Duan, Z., Tian, C., Zhang, N.: A compiler for MSVL and its applications. Theoretical Computer Science (2017). https://doi.org/10.1016/j.tcs.2017.07.032
Zhang, N., Duan, Z., Tian, C.: Model checking concurrent systems with MSVL. SCI. CHINA Inf. Sci. 59(11), 118101 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Zhang, N., Duan, Z., Tian, C., Du, H. (2018). A Novel Approach to Verifying Context Free Properties of Programs. In: Tang, S., Du, DZ., Woodruff, D., Butenko, S. (eds) Algorithmic Aspects in Information and Management. AAIM 2018. Lecture Notes in Computer Science(), vol 11343. Springer, Cham. https://doi.org/10.1007/978-3-030-04618-7_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-04618-7_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-04617-0
Online ISBN: 978-3-030-04618-7
eBook Packages: Computer ScienceComputer Science (R0)