Abstract
The infinitary propositional logic of here-and-there is important for the theory of answer set programming in view of its relation to strongly equivalent transformations of logic programs. We know a formal system axiomatizing this logic exists, but a proof in that system may include infinitely many formulas. In this note we describe a relationship between the validity of infinitary formulas in the logic of here-and-there and the provability of formulas in some finite deductive systems. This relationship allows us to use finite proofs to justify the validity of infinitary formulas. This note is under consideration for publication in Theory and Practice of Logic Programming.
Introduction
In the field of Answer Set Programming (ASP), a central challenge is determining "strong equivalence"—the property that two logic programs behave identically under any context. For programs operating over infinite domains, such as the set of all integers, this analysis often requires translating programs into the infinitary propositional logic of here-and-there (HT).
While theoretical frameworks exist to axiomatize this logic, they frequently necessitate proofs of infinite length. This creates a significant gap: how can we use finite syntactic tools to reason about infinite logical structures? This paper addresses this gap by establishing a formal relationship between the validity of infinitary formulas and the provability of formulas in finite first-order deductive systems.
The HHT Deductive System
To bridge the gap between finite reasoning and infinite formulas, the authors introduce the Herbrand logic of here-and-there (HHT). This system is built upon first-order intuitionistic logic, augmented with specific axioms:
- Clark Equality Theory: To handle equality within the logic.
- Hosoi/Umezawa Axiom: Defined as $F \lor (F \to G) \lor \neg G$, which characterizes the intermediate logic of here-and-there.
The core innovation lies in the definition of "instances." By mapping finite first-order formulas to infinitary propositional formulas—for example, treating a universal quantifier ($\forall x P(x)$) as an infinite conjunction ($\bigwedge_{\alpha \in A} F_\alpha$)—the authors create a formal link between the two domains.
The Lifting Principle
The primary theoretical contribution is the Lifting Lemma. This lemma establishes that if a first-order formula is provable within the finite HHT system, then every infinitary propositional instance of that formula is necessarily HT-valid.
This "lifting" allows researchers to verify complex infinitary properties, such as De Morgan’s laws or distributive laws for infinite sets, by performing standard finite proofs in first-order logic. To handle scenarios where variables range over distinct subsets, the authors introduce "restrictors." These unary predicates function as sorts or types, limiting the scope of quantifiers and ensuring the logic can model heterogeneous domains accurately.
Second-Order Extensions and Induction
The framework extends into second-order logic (HHT²), incorporating comprehension and choice axioms. A significant addition is the Domain Closure Axiom (DCA), which effectively transforms the second-order logic into a form of intuitionistic arithmetic. This allows for the use of mathematical induction to prove properties of infinite chains of formulas, such as $F_0 \land (F_0 \to F_1) \land (F_1 \to F_2) \dots$, within the finite deductive system.
Conclusion and Results
The main theorem confirms that HHT-provability implies HT-validity for all instances. This provides a robust, finite method for justifying the validity of infinitary formulas, simplifying the verification of cardinality constraints and other complex ASP properties.
While the current method requires "syntactic uniformity"—where terms in an infinite conjunction follow a consistent pattern—most non-uniform formulas can be decomposed into uniform components. This work provides a foundation for integrating finite proof techniques into automated reasoning tools, streamlining the development of reliable ASP applications over infinite domains.
Summary updated