计算机科学 > 计算机科学中的逻辑
[提交于 2020年3月24日]
标题:Efficient Computation of Graph Overlaps for Rule Composition: Theory and Z3 Prototyping
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Graph transformation theory relies upon the composition of rules to express the effects of sequences of rules. In practice, graphs are often subject to constraints, ruling out many candidates for composed rules. Focusing on the case of sesqui-pushout (SqPO) semantics, we develop a number of alternative strategies for computing compositions, each theoretically and with an implementation via the Python API of the Z3 theorem prover. The strategies comprise a straightforward generate-and-test strategy based on forbidden graph patterns, a variant with a more implicit logical encoding of the negative constraints, and a modular strategy, where the patterns are decomposed as forbidden relation patterns. For a toy model of polymer formation in organic chemistry, we compare the performance of the three strategies in terms of execution times and memory consumption.
提交历史
来自:EPTCS[v1] 2020年3月24日 星期二 17:54:00 UTC