计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 251200074-852.doi: 10.11896/jsjkx.251200074

• 大数据&数据科学 • 上一篇    下一篇

基于抽象技术的非关系型数据库μ-演算性质验证研究

王小龙, 施韶亭   

  1. 甘肃省计算中心 兰州 730000
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 王小龙(619706615@qq.com)
  • 基金资助:
    甘肃省基础研究计划(23JRZA355)

Verification of μ-calculus Properties of Non-relational Databases Based on Abstract Techniques

WANG Xiaolong, SHI Shaoting   

  1. Gansu Computing Center,Lanzhou 730000,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:WANG Xiaolong,born in 1981,master,associate researcher,is a member of CCF(No.20824M).His main research interests include AI and application of high performance computing.
  • Supported by:
    This work was supported by the Gansu Province Basic Research Program(23JRZA355).

摘要: 目前非关系型数据库得到不断应用,分析数据库随着数据的持续操作而动态演化的过程成为一个难点问题。该工作面临的挑战源于数据与系统不断的相互作用而造成形式化模型产生了无穷的状态空间,使得验证系统形式化模型的时序性质成为不可判定的。对此,提出将抽象技术应用于非关系数据库的演化模型的μ-演算性质验证,研究了μL和μLp两种μ-演算变体的形式化验证。首先提出了μL性质验证可判定的基本条件。基于所采用的伽罗瓦联络,对于提出的抽象状态转移系统,在初始状态和任意对应状态两种情况下,提出μL性质的可保持性;指出若μL性质φ的验证在抽象状态转移系统中是可判定的,则φ在采用非确定数据域的具体模型中是可保持的。在此基础上,对抽象状态转移系统提出抽象解释的近似关系,为寻求更易计算的抽象状态转移系统,通过定理指出上述可保持性在近似关系中、近似关系与具体模型之间都成立;基于双模拟的抽象技术扩展具体状态转移系统,从而获得同构的具体数据域,指出扩展后上述可保持性都可成立。对于μLp语言采用上述技术进行分析,定理结论说明上述可保持性对于μLp性质都是可成立的。若非关系型数据库采用可数无穷的数据域操作同构数据,造成具体模型形成无穷状态空间,上述结果为这类具体状态转移系统寻求可判定的时序性质验证提供了理论基础。

关键词: 非关系型数据库, 抽象解释, 可保持性, μ-演算, 双模拟, 验证, 时序性质

Abstract: With the continuous application of non-relational databases,it becomes a difficult problem to analyse the process combining the dynamic evolution of databases and the manipulated data.The challenge faced by this work is due to infinity of the state space caused by the data-system interplay,which makes the verification of temporal properties of the formal model of system undecidable.Abstraction techniques are proposed to be applied to the verification of μ-calculus properties of evolution model of non-relational databases to address this challenge.This paper studies the formal verification of 2 kinds variants of μ-calculus,called μL and μLp.Firstly,it shows the basic condition of the decidability of the verification of μL properties.Based on the employed Galois Insertions,the proposed abstract state transition system is shown to have both initial-states preservation and state-wise preservation of the μL properties.It is proved that when the verification of a μL property φ is decidable in abstract state transition system,φ is preserved in concrete state transition system even if it adopts nondeterministic data domain.Based on these proved preservation,approximations to abstract state transition system are proposed based on abstract interpretation.In order to find a simpler abstract state transition system easier to compute,the preservation of μL properties for approximations as well as the preservation of μL properties from approximation of abstract model to concrete state transition system are shown through theorems.Concrete state transition systems are proposed to be extended with the support of abstraction techniques of bisimulation to adopt isomorphic data from nondeterministic data domain.It is shown all preservation discussed above hold after this extension.For μLp,the preservation of μLp properties is studied in all the situations analysed above,it is shown to be still hold through theorems.If concrete state transition systems of non-relational databases manipulate isomorphic data from a countable infinite domain,this situation will lead to the infinity of the state space of the system.The results above provide theoretical basis to obtain a decidable verification of a μL or a μLp property for such concrete state transition systems based on abstraction techniques.

Key words: Non-relational database, Abstract interpretation, Preservation, μ-calculus, Bisimulation, Verification, Temporal property

中图分类号: 

  • TP311
[1] HARIRI B,CALVANESE D,GIACOMO G,et al.Verification of relational data-centric dynamic systems with external services[C]//the 32nd ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems.New York,USA,2013:163-174.
[2] CALVANESE D,GIACOMO G,MONTALI M,et al.Verification and synthesis in description logic based dynamic systems[C]//the 7th International Conference on Web Reasoning and Rule Systems.Springer,2013:50-64.
[3] GIANOLA A,MONTALI M,WINKLER S.Linear-time verification of data-aware processes modulo theories via covers and automata[C]//the Thirty-Eighth Association for the Advancement of Artificial Intelligence Conference on Artificial Intelligence.Vancouver,Canada,2024:10525-10534.
[4] AHMETAJ S,CALVANESE D,ORTIZ M,et al.Managing change in graph-structured data using description logics[C]//the Twenty-Eighth Association for the Advancement of Artificial Intelligence Conference on Artificial Intelligence,Québec City,Canada,2014:27-31.
[5] CALVANESE D,MONTALI M,PATRIZI F,et al.Plan Synthesis for Knowledge and Action Bases[C]//the 25th International Joint Conference on Artificial Intelligence.New York,USA,2016:1022-1029.
[6] SCHÜLER T,MENNICKE S,LOCHAU M.Abstract domains for database manipulating[C]//the 7th International Joint Conference on Rules and Reasoning.Springer,2023:222-237.
[7] JIANG H.Model checking for first-order predicate ambient logic based on μ-calculus with partial orders[J].Chinese Journal of Computers,2016,39(12):2547-2561.
[8] ABDULLA P,AISWARYA C,ATIG M,et al.Complexity ofreachability for data-aware dynamic systems[C]//18th International Conference on Application of Concurrency to System Design.Bratislava,Slovakia,2018:11-20.
[9] BOJANCZYK M,SEGOUFIN L,TORUNCZYK S.Verification of database-driven systems via amalgamation[C]//the 32nd of ACM SIGMOD Conference on Principles of Data Base Systems.New York,USA,2013:63-74.
[10] CALVANESE D,GHILARDI S,GIANOLA A,et al.SMT-based verification of data-aware processes:a model-theoretic approach[J].Mathematical Structures in Computer Science,2020,30(3):271-313.
[11] DAMS D,GERTH R,GRUMBERG O.Abstract interpretation of reactive systems[J].ACM Transactions on Programming Languages and Systems,1997,19(2):253-291.
[12] MCMILLAN K.Symbolic model checking-an approach to thestate explosion problem[D].Pittsburgh,Carnegie Mellon University,1992.
[13] BELARDINELLI F,LOMUSCIO A,PATRIZI F.An abstraction technique for the verification of artifact-centric systems[C]//The 13th International Conference on Principles of Knowledge Representation and Reasoning.2012:319-328.
[14] CANGIALOSI P,GIACOMO G,MASELLIS R,et al.Conjunctive artifact-centric services[C]//International Conference on Service Oriented Computing.San Francisco,USA,2010:318-333.
[15] SOLOMAKHIN D,MONTALI M,TESSARIS S,et al.Verification of artifact-centric systems:decidability and modeling issues[C]//International Conference on Service Oriented Computing.Berlin,Germany,2013:252-266.
[16] HALDER R,CORTESI A.Abstract interpretation for soundapproximation of database query languages[C]//the 7th International Conference on Informatics and Systems.Cairo,Egypt,2010:1-10.
[17] HALDER R,CORTESI A.Abstract interpretation of database query languages[J].Computer Languages Systems & Structures,2012 38(2):123-157.
[18] BAILEY J,POULOVASSILIS A.Abstract interpretation fortermination analysis in functional active databases[J].Journal of Intelligent Information Systems,1999,12(2/3):243-273.
[19] AMATO G,GIANNOTTI F,MAINETTO G.Data sharing analysis for a database programming language via abstract interpretation[C]//19th International Conference on Very Large Data Base.Dublin,Ireland,1993:405-415.
[20] TOMAN D.Constraint databases and program analysis usingabstract interpretation[C]//International Workshop on Constraint Database Systems.Delphi,Greece,1997:246-262.
[21] PARK D.Finiteness is mu-ineffable[J].Theoretical Computer Science,1976,3(2):173-181.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!