Faithful Modeling of Product Lines with Kripke Structures and Modal Logic

Z. Diskin, Aliakbar Safilian, T. Maibaum, Shoham Ben-David
{"title":"Faithful Modeling of Product Lines with Kripke Structures and Modal Logic","authors":"Z. Diskin, Aliakbar Safilian, T. Maibaum, Shoham Ben-David","doi":"10.7561/SACS.2016.1.69","DOIUrl":null,"url":null,"abstract":"Software product lines are now an established framework for software design. They are specified by special diagrams called feature models. For formal analysis, the latter are usually encoded by Boolean propositional theories. We discuss a major deficiency of this semantics, and show that it can be fixed by considering a product to be an instantiation process rather than its final result. We call intermediate states of this process partial products, and argue that what a feature model really defines is a poset of its partial products. We argue that such structures can be viewed as special Kripke structure that we call partial product Kripke structures, ppKS. To specify these Kripke structures, we propose a CTL-based logic, called partial product CTL, ppCTL. We show how to represent a feature model M by a ppCTL theory ML(M) (ML stands for modal logic) such that any ppKS satisfying the theory is equal to the partial product line determined by M . Hence, ML(M) can be considered a sound and complete representation of M . We also discuss several applications of the modal logic view in feature modeling, including refactoring of feature models.","PeriodicalId":394919,"journal":{"name":"Sci. Ann. Comput. Sci.","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sci. Ann. Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.7561/SACS.2016.1.69","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Software product lines are now an established framework for software design. They are specified by special diagrams called feature models. For formal analysis, the latter are usually encoded by Boolean propositional theories. We discuss a major deficiency of this semantics, and show that it can be fixed by considering a product to be an instantiation process rather than its final result. We call intermediate states of this process partial products, and argue that what a feature model really defines is a poset of its partial products. We argue that such structures can be viewed as special Kripke structure that we call partial product Kripke structures, ppKS. To specify these Kripke structures, we propose a CTL-based logic, called partial product CTL, ppCTL. We show how to represent a feature model M by a ppCTL theory ML(M) (ML stands for modal logic) such that any ppKS satisfying the theory is equal to the partial product line determined by M . Hence, ML(M) can be considered a sound and complete representation of M . We also discuss several applications of the modal logic view in feature modeling, including refactoring of feature models.
基于Kripke结构和模态逻辑的产品线忠实建模
软件产品线现在是软件设计的既定框架。它们由称为特征模型的特殊图指定。对于形式分析,后者通常由布尔命题理论编码。我们讨论了该语义的一个主要缺陷,并表明可以通过将产品视为实例化过程而不是其最终结果来修复它。我们称这个过程的中间状态为部分产品,并认为特征模型真正定义的是它的部分产品的偏序集。我们认为这种结构可以看作是特殊的Kripke结构,我们称之为部分积Kripke结构,简称ppKS。为了指定这些Kripke结构,我们提出了一种基于CTL的逻辑,称为部分产品CTL, ppCTL。我们展示了如何通过ppCTL理论ML(M) (ML代表模态逻辑)来表示特征模型M,使得任何满足该理论的ppKS等于由M确定的部分产品线。因此,ML(M)可以被认为是M的完整表示。我们还讨论了模态逻辑视图在特征建模中的几个应用,包括特征模型的重构。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信