{"title":"clauseSMT: 基于 NLSAT 的可满足性模态非线性实数算术理论的条款级框架","authors":"Zhonghan Wang","doi":"arxiv-2406.02122","DOIUrl":null,"url":null,"abstract":"Model-constructing satisfiability calculus (MCSAT) framework has been applied\nto SMT problems on different arithmetic theories. NLSAT, an implementation\nusing cylindrical algebraic decomposition for explanation, is especially\ncompetitive among nonlinear real arithmetic constraints. However, current\nConflict-Driven Clause Learning (CDCL)-style algorithms only consider literal\ninformation for decision, and thus ignore clause-level influence on arithmetic\nvariables. As a consequence, NLSAT encounters unnecessary conflicts caused by\nimproper literal decisions. In this work, we analyze the literal decision caused conflicts, and introduce\nclause-level information with a direct effect on arithmetic variables. Two main\nalgorithm improvements are presented: clause-level feasible-set based\nlook-ahead mechanism and arithmetic propagation based branching heuristic. We\nimplement our solver named clauseSMT on our dynamic variable ordering\nframework. Experiments show that clauseSMT is competitive on nonlinear real\narithmetic theory against existing SMT solvers (cvc5, Z3, Yices2), and\noutperforms all these solvers on satisfiable instances of SMT(QF_NRA) in\nSMT-LIB. The effectiveness of our proposed methods are also studied.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"58 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"clauseSMT: A NLSAT-Based Clause-Level Framework for Satisfiability Modulo Nonlinear Real Arithmetic Theory\",\"authors\":\"Zhonghan Wang\",\"doi\":\"arxiv-2406.02122\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Model-constructing satisfiability calculus (MCSAT) framework has been applied\\nto SMT problems on different arithmetic theories. NLSAT, an implementation\\nusing cylindrical algebraic decomposition for explanation, is especially\\ncompetitive among nonlinear real arithmetic constraints. However, current\\nConflict-Driven Clause Learning (CDCL)-style algorithms only consider literal\\ninformation for decision, and thus ignore clause-level influence on arithmetic\\nvariables. As a consequence, NLSAT encounters unnecessary conflicts caused by\\nimproper literal decisions. In this work, we analyze the literal decision caused conflicts, and introduce\\nclause-level information with a direct effect on arithmetic variables. Two main\\nalgorithm improvements are presented: clause-level feasible-set based\\nlook-ahead mechanism and arithmetic propagation based branching heuristic. We\\nimplement our solver named clauseSMT on our dynamic variable ordering\\nframework. Experiments show that clauseSMT is competitive on nonlinear real\\narithmetic theory against existing SMT solvers (cvc5, Z3, Yices2), and\\noutperforms all these solvers on satisfiable instances of SMT(QF_NRA) in\\nSMT-LIB. The effectiveness of our proposed methods are also studied.\",\"PeriodicalId\":501033,\"journal\":{\"name\":\"arXiv - CS - Symbolic Computation\",\"volume\":\"58 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Symbolic Computation\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2406.02122\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Symbolic Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.02122","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
clauseSMT: A NLSAT-Based Clause-Level Framework for Satisfiability Modulo Nonlinear Real Arithmetic Theory
Model-constructing satisfiability calculus (MCSAT) framework has been applied
to SMT problems on different arithmetic theories. NLSAT, an implementation
using cylindrical algebraic decomposition for explanation, is especially
competitive among nonlinear real arithmetic constraints. However, current
Conflict-Driven Clause Learning (CDCL)-style algorithms only consider literal
information for decision, and thus ignore clause-level influence on arithmetic
variables. As a consequence, NLSAT encounters unnecessary conflicts caused by
improper literal decisions. In this work, we analyze the literal decision caused conflicts, and introduce
clause-level information with a direct effect on arithmetic variables. Two main
algorithm improvements are presented: clause-level feasible-set based
look-ahead mechanism and arithmetic propagation based branching heuristic. We
implement our solver named clauseSMT on our dynamic variable ordering
framework. Experiments show that clauseSMT is competitive on nonlinear real
arithmetic theory against existing SMT solvers (cvc5, Z3, Yices2), and
outperforms all these solvers on satisfiable instances of SMT(QF_NRA) in
SMT-LIB. The effectiveness of our proposed methods are also studied.