Recognition: unknown
Set-like operations on propositional logic programs
Pith reviewed 2026-05-07 13:32 UTC · model grok-4.3
The pith
Every minimalist Horn logic program decomposes into Krom programs so its least model can be recovered exactly from the least models of those components.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that set-like operations permit every minimalist program to be decomposed into Krom programs in such a way that the least model of the original program is computed directly from the least models of its Krom components; for arbitrary programs the same operations produce approximations of the least model.
What carries the argument
Set-like operations on rule bodies that decompose minimalist programs into Krom programs for exact reconstruction of least-model semantics.
If this is right
- Minimalist programs admit exact decomposition into Krom components while preserving least-model semantics.
- Arbitrary Horn programs admit decomposition with approximate reconstruction of their least models.
- Logic programs become amenable to compositional reasoning and modular construction under these operations.
- The algebraic framework supplies a uniform method for breaking complex programs into simpler, semantically related pieces.
Where Pith is reading between the lines
- The operations could support step-by-step verification of large programs by checking only the Krom factors and then combining results.
- Similar decomposition techniques might apply to other semantics such as stable models once the set-like operations are extended.
- Program synthesis tools could use the reverse operations to assemble complex programs from libraries of Krom building blocks.
Load-bearing premise
The definitions of minimalist programs, Krom programs, and the set-like operations together guarantee that the least model can be recovered exactly from the components.
What would settle it
A concrete minimalist program whose least model differs from the model obtained by combining the least models of any Krom decomposition produced by the set-like operations.
read the original abstract
A systematic algebraic framework for composing and decomposing logic programs is currently missing, limiting our ability to analyze and construct programs in a modular way. In this paper, we introduce set-like operations for (propositional Horn) logic programs that allow for a structured manipulation of rule bodies. Our main technical result shows that programs can be decomposed into simpler components in such a way that their least model semantics can be reconstructed or approximated from the semantics of these components. In particular, we prove that every minimalist program can be decomposed into Krom programs -- consisting only of rules with at most one body atom -- such that its least model can be computed from the least models of its components. For arbitrary programs, we obtain corresponding approximation results. These results provide a new algebraic perspective on logic programs and lay the groundwork for compositional reasoning and program construction.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces set-like operations on propositional Horn logic programs to enable structured composition and decomposition of rule bodies. The central claim is that every minimalist program (a Horn program whose rule bodies satisfy a minimality condition with respect to the operations) can be decomposed into Krom programs (rules with at most one body atom) such that the least model of the original is exactly recoverable as the pointwise union of the least models of the components. Approximation results are given for general programs. The proof proceeds by showing that the immediate-consequence operator of the program is the pointwise union of the operators of the Krom components (restricted to atoms appearing in the least models) and that the least fixpoint commutes with the decomposition because the operations are monotonic and preserve the Horn property.
Significance. If the decomposition and approximation results hold, the work supplies a new algebraic perspective on logic programs that supports compositional reasoning and modular construction, which is currently lacking. The reduction to Krom programs is particularly useful because their least-model semantics is simpler, and the preservation of monotonicity ensures the results integrate cleanly with standard least-model semantics of Horn programs without introducing circularity.
minor comments (3)
- The precise definition of a 'minimalist program' (the minimality condition on rule bodies) should be stated explicitly and early, ideally with a formal definition or equation, as it is load-bearing for the main theorem.
- [Proof of the main decomposition theorem] In the inductive argument for the decomposition (around the statement that the immediate-consequence operator is the pointwise union when restricted to atoms in the least models), clarify whether the restriction can be computed without prior knowledge of the least model or if it is purely existential for the proof.
- Add a small concrete example (e.g., a 3- or 4-rule minimalist program) showing the decomposition into Krom components and the reconstruction of the least model; this would greatly improve readability and verifiability.
Simulated Author's Rebuttal
We thank the referee for the positive assessment of our work and the recommendation for minor revision. The provided summary correctly identifies the core contribution: an algebraic framework for set-like operations on propositional Horn programs that enables decomposition into Krom components while preserving or approximating least-model semantics.
Circularity Check
No significant circularity
full rationale
The paper introduces new set-like operations on Horn programs, defines 'minimalist programs' as those satisfying a minimality condition with respect to these operations, and then proves via induction on rule bodies that the immediate-consequence operator of a minimalist program is the pointwise union of the operators of its Krom components. The least fixpoint is recovered because the operations are monotonic and preserve the Horn property. This chain relies on the externally standard Tarski-Knaster least-fixpoint theorem for monotone operators on complete lattices and contains no self-referential definitions, fitted parameters renamed as predictions, or load-bearing self-citations. The central claim is therefore a genuine theorem about the newly defined objects rather than a restatement of its inputs.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
On cascade products of answer set programs
Antić, C. On cascade products of answer set programs. Theory and Practice of Logic Programming 14 , 4-5 (2014), 711–723. https: //doi.org/10.1017/S1471068414000301
-
[2]
Analogical proportions
Antić, C. Analogical proportions. Annals of Mathematics and Artificial Intelligence 90 , 6 (2022), 595–644. https://doi.org/10. 1007/s10472-022-09798-y
2022
-
[3]
Analogical proportions in monounary algebras
Antić, C. Analogical proportions in monounary algebras. Annals of Mathematics and Artificial Intelligence 92 (2024), 1663–1677. https://doi.org/10.1007/s10472-023-09921-7
-
[4]
Antić, C. Boolean proportions. Logical Methods in Computer Science 20 , 2 (2024), 2:1 – 2:20. https://doi.org/10.46298/lmcs- 20(2:2)2024
-
[5]
Sequential composition of answer set programs
Antić, C. Sequential composition of answer set programs. https://arxiv.org/pdf/2104.12156.pdf, submitted, 2024
-
[6]
Sequential composition of propositional logic programs
Antić, C. Sequential composition of propositional logic programs. Annals of Mathematics and Artificial Intelligence 92 , 2 (2024), 505–533. https://doi.org/10.1007/s10472-024-09925-x
-
[7]
Logic program proportions
Antić, C. Logic program proportions. Annals of Mathematics and Artificial Intelligence 93 (2025), 321–342. https://doi.org/10. 1007/s10472-023-09904-8
2025
-
[8]
Apt, K. R. Logic programming. In Handbook of Theoretical Computer Science , J. van Leeuwen, Ed., vol. B. Elsevier, Amsterdam, 1990, pp. 493–574
1990
-
[9]
Apt, K. R. From Logic Programming to Prolog . C.A.R. Hoare Series. Prentice Hall, Prentice Hall, Englewood Cliffs, NJ, 1997
1997
-
[10]
Can programming be liberated from the von Neumann style? A functional style and its algebra of programs
Backus, J. Can programming be liberated from the von Neumann style? A functional style and its algebra of programs. Communi- cations of the ACM 21 , 8 (1978), 613–641
1978
-
[11]
Knowledge Representation, Reasoning and Declarative Problem Solving
Baral, C. Knowledge Representation, Reasoning and Declarative Problem Solving . Cambridge University Press, Cambridge, 2003
2003
-
[12]
Differential logic programs: Programming methodologies and semantics
Bossi, A., Bugliesi, M., Gabbrielli, M., Levi, G., and Meo, M. Differential logic programs: Programming methodologies and semantics. Science of Computer Programming 27 (1996), 217–262
1996
-
[13]
Answer set programming at a glance
Brewka, G., Eiter, T., and Truszczynski, M. Answer set programming at a glance. Communications of the ACM 54 , 12 (Dec. 2011), 92–103
2011
-
[14]
Compositional model-theoretic semantics for logic programs
Brogi, A., Lamma, E., and Mello, P. Compositional model-theoretic semantics for logic programs. New Generation Computing 11 (1992), 1–21
1992
-
[15]
Composition operators for logic theories
Brogi, A., Mancarella, P., Pedreschi, D., and Turini, F. Composition operators for logic theories. In Computational Logic, Symposium Proceedings, J. W. Lloyd, Ed. Springer-Verlag, New York, 1990, pp. 117–134
1990
-
[16]
Meta for modularising logic programming
Brogi, A., Mancarella, P., Pedreschi, D., and Turini, F. Meta for modularising logic programming. In META 1992 . 1992, pp. 105–119. SET-LIKE OPERATIONS ON PROPOSITIONAL LOGIC PROGRAMS 26
1992
-
[17]
Modular logic programming
Brogi, A., Mancarella, P., Pedreschi, D., and Turini, F. Modular logic programming. ACM Transactions on Programming Languages and Systems 16 , 4 (1999), 1361–1398
1999
-
[18]
Fully abstract compositional semantics for an algebra of logic programs
Brogi, A., and Turini, F. Fully abstract compositional semantics for an algebra of logic programs. Theoretical Computer Science 149, 2 (1995), 201–229
1995
-
[19]
Modularity in logic programming
Bugliesi, M., Lamma, E., and Mello, P. Modularity in logic programming. The Journal of Logic Programming 19-20 , 1 (1994), 443–502
1994
-
[20]
A Course in Universal Algebra
Burris, S., and Sankappanavar, H. A Course in Universal Algebra . http://www.math.hawaii.edu/~ralph/Classes/619/univ- algebra.pdf, 2000
2000
-
[21]
What you always wanted to know about datalog (and never dared to ask)
Ceri, S., Gottlob, G., and Tanca, L. What you always wanted to know about datalog (and never dared to ask). IEEE Transactions on Knowledge and Data Engineering 1 , 1 (1989), 146–166
1989
-
[22]
Logic Programming and Databases
Ceri, S., Gottlob, G., and Tanca, L. Logic Programming and Databases. Surveys in Computer Science. Springer-Verlag, Berlin/Hei- delberg, 1990
1990
-
[23]
Chen, W., Kifer, M., and W arren, D. S. HiLog: A foundation for higher-order logic programming. The Journal of Logic Programming 15, 3 (1993), 187–230
1993
-
[24]
Clark, K. L. Negation as failure. In Logic and Data Bases , H. Gallaire and J. Minker, Eds. Plenum Press, New York, 1978, pp. 293– 322
1978
-
[25]
When intelligence is just a matter of copying
Correa, W., Prade, H., and Richard, G. When intelligence is just a matter of copying. In ECAI 2012 (2012), L. D. Raedt, C. Bessiere, D. Dubois, P. Doherty, P. Frasconi, F. Heintz, and P. Lucas, Eds., vol. 242 of Frontiers in Artificial Intelligence and Applications, pp. 276–281
2012
-
[26]
Inductive logic programming at 30: a new introduction
Cropper, A. Inductive logic programming at 30: a new introduction. Journal of Artificial Intelligence Research 74 (2022), 765–850
2022
-
[27]
Logic program synthesis
Deville, Y., and Lau, K.-K. Logic program synthesis. The Journal of Logic Programming 19-20 , 1 (1994), 321–350
1994
-
[28]
On the Composition and Decomposition of Datalog Program Mappings
Dong, G. On the Composition and Decomposition of Datalog Program Mappings . PhD thesis, University of Southern California, Los Angeles, California, 1988
1988
-
[29]
On the decomposition of datalog program mappings
Dong, G., and Ginsburg, S. On the decomposition of datalog program mappings. Theoretical Computer Science 76 , 1 (1990), 143–177
1990
-
[30]
Weighted finite automata over strong bimonoids
Droste, M., Stüber, T., and Vogler, H. Weighted finite automata over strong bimonoids. Information Sciences 180 , 1 (2010), 156–166
2010
-
[31]
Answer set programming: a primer
Eiter, T., Ianni, G., and Krennwallner, T. Answer set programming: a primer. In Reasoning Web. Semantic Technologies for Information Systems, volume 5689 of Lecture Notes in Computer Science . Springer, Heidelberg, 2009, pp. 40–110
2009
-
[32]
Semantics and complexity of recursive aggregates in answer set programming
F aber, W., Pfeifer, G., and Leone, N. Semantics and complexity of recursive aggregates in answer set programming. Artificial Intelligence 175 , 1 (2011), 278–298
2011
-
[33]
Logic Program Synthesis from Incomplete Information
Flener, P. Logic Program Synthesis from Incomplete Information . Kluwer, 1995
1995
-
[34]
E., and Fromherz, M
Fuchs, N. E., and Fromherz, M. P. J. Schema-based transformations of logic programs. In LOPSTR 1991 , T. P. Clement and K.-K. Lau, Eds. 1992, pp. 111–134
1991
-
[35]
Fully abstract institute of mathematics fully abstract compositional semantics for logic programs
Gaifman, H., and Shapiro, E. Fully abstract institute of mathematics fully abstract compositional semantics for logic programs. In Proceedings of the 16th Annual ACM Symposium on Principles of Programming Languages . ACM Press, 1989, pp. 134–142
1989
-
[36]
Classical negation in logic programs and disjunctive databases
Gelfond, M., and Lifschitz, V. Classical negation in logic programs and disjunctive databases. New Generation Computing 9 , 3-4 (1991), 365–385
1991
-
[37]
Golan, J. S. Semirings and their Applications . Springer Science+Business Media, 1999
1999
-
[38]
Greibach, S. A. Theory of Program Structures: Schemes, Semantics, Verification . Springer-Verlag, Berlin/Heidelberg, 1975
1975
-
[39]
A novel view of analogical proportions between formulas
Herzig, A., Lorini, E., and Prade, H. A novel view of analogical proportions between formulas. In ECAI 2024. 2024, pp. 1270–1277
2024
-
[40]
Hill, P., and Lloyd, J. W. The Gödel Programming Language . The MIT Press, 1994
1994
-
[41]
Logical features of Horn clauses
Hodges, W. Logical features of Horn clauses. In Handbook of Logic in Artificial Intelligence and Logic Programming , D. M. Gabbay, C. J. Hogger, and J. A. Robinson, Eds., vol. 1. Clarendon Press, Oxford/New York, 1994, pp. 449–503
1994
-
[42]
The copycat project: a model of mental fluidity and analogy-making
Hofstadter, D., and Mitchell, M. The copycat project: a model of mental fluidity and analogy-making. In Fluid Concepts and Creative Analogies. Computer Models of the Fundamental Mechanisms of Thought . Basic Books, New York, 1995, ch. 5, pp. 205–267
1995
-
[43]
Howie, J. M. Fundamentals of Semigroup Theory . London Mathematical Society Monographs New Series. Oxford University Press, Oxford, 2003
2003
-
[44]
Logic programming for Boolean networks
Inoue, K. Logic programming for Boolean networks. In IJCAI 2011 . AAAI Press, 2011, pp. 924–930
2011
-
[45]
Learning from interpretation transition
Inoue, K., Ribeiro, T., and Sakama, C. Learning from interpretation transition. Machine Learning 94 (2014), 51–79. https: //link.springer.com/content/pdf/10.1007/s10994-013-5353-8.pdf
-
[46]
Oscillating behavior of logic programs
Inoue, K., and Sakama, C. Oscillating behavior of logic programs. In Correct Reasoning — Essays on Logic-based AI in Honour of Vladimir Lifschitz , E. Erdem, J. Lee, Y. Lierler, and D. Pearce, Eds. Springer, Berlin, 2012
2012
-
[47]
E., and Wong, E
Ioannidis, Y. E., and Wong, E. Towards an algebraic theory of recursion. Journal of the ACM 38 , 2 (1991), 329–381
1991
-
[48]
Krom, M. R. The decision problem for a class of first-order formulas in which all disjunctions are binary. Mathematical Logic Quarterly 13, 1-2 (1967), 15–20
1967
-
[49]
Answer Set Programming
Lifschitz, V. Answer Set Programming . Springer Nature Switzerland AG, Cham, Switzerland, 2019
2019
-
[50]
Lloyd, J. W. Foundations of Logic Programming , 2 ed. Springer-Verlag, Berlin, Heidelberg, 1987
1987
-
[51]
Maher, M. J. Equivalences of logic programs. In Foundations of Deductive Databases and Logic Programming , J. Minker, Ed. Morgan Kaufmann Publishers, 1988, ch. 16, pp. 627–658
1988
-
[52]
An algebra of logic programs
Mancarella, P., and Pedreschi, D. An algebra of logic programs. In Proceedings of the 5th International Conference on Logic Programming, R. Kowalski and K. A. Bowen, Eds. The MIT Press, Cambridge MA, 1988, pp. 1006–1023
1988
-
[53]
Stable models and an alternative logic programming paradigm
Marek, V., and Truszczyński, M. Stable models and an alternative logic programming paradigm. In The Logic Programming Paradigm: a 25-Year Perspective , K. R. Apt, V. Marek, M. Truszczyński, and D. S. Warren, Eds. Springer, Berlin, 1999, pp. 375–398
1999
-
[54]
Programming with Higher-Order Logic
Miller, D., and Nadathur, G. Programming with Higher-Order Logic . Cambridge University Press, 2012
2012
-
[55]
Inductive logic programming
Muggleton, S. Inductive logic programming. New Generation Computing 8 , 4 (1991), 295–318
1991
-
[56]
Foundations of Inductive Logic Programming
Nienhuys-Cheng, S.-H., and de Wolf, R. Foundations of Inductive Logic Programming . LNAI 1228. Springer-Verlag, Berlin/Hei- delberg, 1997
1997
-
[57]
O’Keefe, R. A. Towards an algebra for constructing logic programs. In SLP 1985 . 1985, pp. 152–160. SET-LIKE OPERATIONS ON PROPOSITIONAL LOGIC PROGRAMS 27
1985
-
[58]
Program transformation systems
Partsch, H., and Steinbrüggen, R. Program transformation systems. ACM Computing Surveys 15 , 3 (1983), 199–236
1983
-
[59]
Inductive inference of theories from facts
Shapiro, E. Inductive inference of theories from facts. Tech. Rep. Research Report 192, Yale University, 1981
1981
-
[60]
The Art of Prolog: Advanced Programming Techniques , 2 ed
Sterling, L., and Shapiro, E. The Art of Prolog: Advanced Programming Techniques , 2 ed. The MIT Press, Cambridge MA, 1994
1994
-
[61]
H., and Kowalski, R
van Emden, M. H., and Kowalski, R. The semantics of predicate logic as a programming language. Journal of the ACM 23 , 4 (1976), 733–742
1976
-
[62]
G., and van Rootselaar, B
van Hoorn, W. G., and van Rootselaar, B. Fundamental notions in the theory of seminearrings. Compositio Mathematica 18 , 1-2 (1967), 65–78
1967
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.