arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.00322cs.LO
收藏

加权程序检验的Kleene代数

Kleene Algebra With Tests for Weighted Programs

Igor Sedlár

摘要:

加权程序推广了概率程序,并提供了一个框架,用于通过算法表示指定和编码数学模型。带测试的Kleene代数是一种基于正则表达式的代数形式,其应用于证明程序等价性。我们扩展了Kleene代数语言的测试,使它足以形式化推理的简化版本加权计划。我们引入关系语义的扩展语言,我们推广的关系语义的Kleene代数与测试,称为Kleene代数与权重和测试的适当扩展。我们通过一个例子表明,Kleene代数的权重和测试提供了一个简单的代数框架推理等价性和加权程序的最优运行。

英文摘要:

Weighted programs generalize probabilistic programs and offer a framework for specifying and encoding mathematical models by means of an algorithmic representation. Kleene algebra with tests is an algebraic formalism based on regular expressions with applications in proving program equivalence. We extend the language of Kleene algebra with tests so that it is sufficient to formalize reasoning about a simplified version weighted programs. We introduce relational semantics for the extended language, and we generalize the relational semantics to an appropriate extension of Kleene algebra with tests, called Kleene algebra with weights and tests. We demonstrate by means of an example that Kleene algebra with weights and tests offers a simple algebraic framework for reasoning about equivalence and optimal runs of weighted programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑