网站大量收购独家精品文档,联系QQ:2885784924

Analyzing Data Models Using Alloy Analyzer and SMT.ppt

  1. 1、本文档共56页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Analyzing Data Models Using Alloy Analyzer and SMT

We see that Z3 verification time extremely fast: less than .1 seconds on average. However not all properties gave an answer to the verification query (4 didn’t). So performed property-based projection. Then all properties gave an answer. However in general a property may not given an answer, even after projection since we are generating SMT-LIB specs in the theory of uninterpreted functions, which is undecidable. A disadvantage of unbounded verification, but not bounded. Thus can be used as complimentary approaches. But bounded verification, even for smallest bound of 10 objects took up to tens of seconds whereas Z3 took less than .1 seconds. * Bounded: We also see that the number of variables and verification time have exponential growth with respect to increasing bound, as expected. Although the number of variables in the SMT specification are not directly comparable to the figures produced by Alloy, we can still observe that the SMT formula size is much smaller than the one used by the SAT solver (tens vs hundreds). * Since Alloy specializes in the verification of object models, it is rather surprising that there is such a drastic difference between the verication times of Z3 and Alloy. There may be several reasons why unbounded verication did so well. Last bullet: Thus SMT solvers can use information about the structure and semantics of a formula to make inferences about satisfiability more accurately as well as more efficiently than a SAT-based approach which converts the verification to SAT formulas using a Boolean encoding. In fact, due to increasing size of the Boolean encoding, bounded verification suffers from an exponential increase in verication time with increasing bound. * * We can construct a formal data model representing the objects and their relationships in a RoR application. S is the data model schema, identifying the sets and relations of the data model, C is a set of relational constraints and D is a set of dependency constraints. Th

文档评论(0)

didala + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档