Rule-based reasoning is an essential part of human intelligence prominently formalized in artificial intelligence research via Horn theories. Describing complex objects as the composition of elementary ones is a common strategy in computer science and science in general. Recently, the author introduced the sequential composition of Horn logic programs for syntactic program composition and decomposition in the context of logic-based analogical reasoning and learning. This paper contributes to the foundations of logic programming, knowledge representation, and database theory by studying the sequential composition of propositional Horn theories. Specifically, we show that the notion of composition gives rise to a family of finite magmas and algebras, baptized {\em Horn magmas} and {\em Horn algebras} in this paper. On the semantic side, we show that the van Emden-Kowalski immediate consequence operator of a theory can be represented via composition, which allows us to compute its least model semantics without any explicit reference to operators. This bridges the conceptual gap between the syntax and semantics of a propositional Horn theory in a mathematically satisfactory way. Moreover, it gives rise to an algebraic meta-calculus for propositional Horn theories. In a broader sense, this paper is a first step towards an algebra of rule-based logical theories and in the future we plan to adapt and generalize the methods of this paper to wider classes of theories, most importantly to first-, and higher-order logic programs, and non-monotonic logic programs under the stable model or answer set semantics and extensions thereof.
翻译:基于规则的推理是通过合恩理论在人工智能研究中明显正式化的人类情报的基本部分。 将复杂的物体作为基本物体的构成描述为基本物体的构成是计算机科学和一般科学的共同战略。 最近, 作者在基于逻辑的模拟推理和学习的背景下引入了合恩逻辑程序相继构成和分解程序。 本文有助于通过研究合恩理论的顺序构成来构建其最起码的模型语义学学和数据库理论的基础。 具体地说, 我们表明, 组成的概念导致在本文中形成一个有限度的岩浆和代数的组合, 受洗的伊恩岩浆和何恩藻的构成是整个计算机科学的共同战略。 此外, 在语义学方面, 范恩登- 考瓦斯基直接的理论操作者可以通过构成来表达。 这让我们通过研究其最小的模型的语义学结构学, 而不明确提及操作者。 具体地说, 我们用数学上令人满意的方式来弥合组合学和语义理学解释的词义学和语义学解释的延伸。 此外, 更广义的逻辑学是, 更广义的逻辑学理论是,, 更广义的理论的逻辑学是更广义的理论, 。