Non-commutative propositional logic with short-circuit evaluation

Q1 Arts and Humanities
J. Bergstra, A. Ponse, Daan J. C. Staudt
{"title":"Non-commutative propositional logic with short-circuit evaluation","authors":"J. Bergstra, A. Ponse, Daan J. C. Staudt","doi":"10.1080/11663081.2021.2010954","DOIUrl":null,"url":null,"abstract":"Short-circuit evaluation denotes the semantics of propositional connectives in which the second argument is evaluated only if the first is insufficient to determine the value of the expression. Compound statements are evaluated from left to right. Short-circuit evaluation is widely used in programming, with negation and sequential conjunction and disjunction as primitives. We study the question of which laws axiomatise short-circuit evaluation. In MSCL (memorising short-circuit logic), atoms (propositional variables) evaluate to true or false, and in the evaluation of a compound statement, the first evaluation result of each atom is memorised. Hence, MSCL is 'Non-commutative propositional logic with short-circuit evaluation' and atomic evaluations cannot cause a side effect. Next, we consider the case that atoms can also evaluate to the truth value 'undefined'. For two- and three-valued MSCL, we present evaluation trees as an intuitive semantics and provide complete independent equational axiomatisations.","PeriodicalId":38573,"journal":{"name":"Journal of Applied Non-Classical Logics","volume":"65 1","pages":"234 - 278"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Applied Non-Classical Logics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1080/11663081.2021.2010954","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Arts and Humanities","Score":null,"Total":0}
引用次数: 2

Abstract

Short-circuit evaluation denotes the semantics of propositional connectives in which the second argument is evaluated only if the first is insufficient to determine the value of the expression. Compound statements are evaluated from left to right. Short-circuit evaluation is widely used in programming, with negation and sequential conjunction and disjunction as primitives. We study the question of which laws axiomatise short-circuit evaluation. In MSCL (memorising short-circuit logic), atoms (propositional variables) evaluate to true or false, and in the evaluation of a compound statement, the first evaluation result of each atom is memorised. Hence, MSCL is 'Non-commutative propositional logic with short-circuit evaluation' and atomic evaluations cannot cause a side effect. Next, we consider the case that atoms can also evaluate to the truth value 'undefined'. For two- and three-valued MSCL, we present evaluation trees as an intuitive semantics and provide complete independent equational axiomatisations.
具有短路求值的非交换命题逻辑
短路求值表示命题连接词的语义,其中只有当第一个参数不足以确定表达式的值时,才对第二个参数求值。复合语句从左到右求值。短路求值在规划中有着广泛的应用,它以否定和顺序合取与析取为原语。我们研究了哪些定律公理化短路评定的问题。在MSCL(记忆短路逻辑)中,原子(命题变量)的求值为真或假,在复合语句的求值中,每个原子的第一个求值结果被记忆。因此,MSCL是“短路求值的非交换命题逻辑”,原子求值不会产生副作用。接下来,我们考虑原子也可以求值为真值'undefined'的情况。对于二值和三值MSCL,我们将评估树作为一种直观的语义,并提供了完全独立的等式公理化。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Applied Non-Classical Logics
Journal of Applied Non-Classical Logics Arts and Humanities-Philosophy
CiteScore
1.30
自引率
0.00%
发文量
8
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信