Search arXivSearch

arXiv · 2605.03613

Set-like operations on propositional logic programs

Abstract

Composition and decomposition of logic programs have been studied extensively in the context of modularity, and decomposing a program along the dependency structure of its atoms --- by strata or strongly connected components in datalog, and by splitting sets in the non-monotonic setting of answer set programming --- is standard practice. All of these approaches operate on the level of rule sets: programs are cut along dependencies between atoms, while the internal structure of the individual rules remains untouched. In this paper, we complement this picture by a finer-grained algebra. We introduce set-like operations on (propositional Horn) logic programs --- body-union, body-intersection, body-complement, body-subtraction, body-symmetric-difference, and body-power-set --- which manipulate rule bodies in analogy to the corresponding set operations, and we study their algebraic laws and their interaction with sequential composition and the least model semantics. Our main technical result is a decomposition theorem in this algebra: every minimalist program --- containing at most one rule for each rule head --- is the body-union of Krom programs consisting only of rules with at most one body atom, in such a way that its least model is the intersection of the least models of these components; for arbitrary programs we obtain corresponding approximations. Since Krom programs are algebraically better behaved than arbitrary programs --- composition is associative and distributes from the left --- this may support decomposition-based reasoning and provides a basis for compositional program construction.

Explore related subjects

Keep this discovery

BibTeXRIS

Christian Antić. 2026-09-03. Set-like operations on propositional logic programs. https://arxiv.org/abs/2605.03613

Cite the original work for its findings. Save a collection to share your selection of sources.

Discover connections

Connections use source metadata and explicit phrase matches, not verified experimental comparisons.

KEEP EXPLORING

Related papers

A categorical formulation of Kraus' paradox

We give a categorical formulation of Kraus' "magic trick" for recovering information from truncated types. Rather than type theory, we work in Van den Berg-Moerdijk path categories with a univalent universe, and rather than propositional truncation we work with arbitrary cofibrations, which includes truncation as a special case. We show, using Kraus' argument that any cofibration with homogeneous domain is a monomorphism. We give some simple concrete examples in groupoids to illustrate the interaction between homogeneous types, cofibrations and univalent fibrations.

math.CT

Univalence without function extensionality

It is a well-known theorem of homotopy type theory, originally due to Voevodsky, that function extensionality holds inside any univalent universe. We consider a weaker variant of the univalence axiom, asserting that the wild category formed by the universe is univalent, which we call categorical univalence. We show that categorical univalence does not imply function extensionality by an analysis of Von Glehn's polynomial model construction, which produces models of Martin-Löf type theory that always refute function extensionality. We find in particular that when the base model has a univalent universe, its polynomial model has a universe that is categorically univalent but lacks function extensionality.

cs.LO

Quantified propositional calculi and narrow implicit proofs

In the implicit version of a propositional proof system Q, we work with Q-proofs that are not written down directly, but are succinctly encoded by circuits. Thus implicit Q-proofs are potentially exponentially shorter than usual Q-proofs. We study narrow implicit proofs, a restricted version of this notion, in which lines in the encoded proof can only have polynomial size. We use a cut-elimination construction to show that G_{i+1} is equivalent to narrow implicit G_i, for i >= 1, where G_i is the extension of Frege allowing reasoning with Sigma^q_i quantified propositional formulas. We show that G_1 is equivalent to implicit resolution.

cs.LO