This paper, titled "Interpolant Existence is Undecidable for Two-Variable First-Order Logic with Two Equivalence Relations," presents a surprising theoretical result in the field of formal logic. It challenges a long-held intuition about the relationship between the decidability of a logic and the complexity of finding interpolants.
TL;DR
The authors prove that for certain decidable fragments of first-order logic—specifically those with two variables and two equivalence relations—determining whether a Craig interpolant exists is undecidable. This provides the first known examples of decidable logics where the Interpolant Existence Problem (IEP) is undecidable, disproving the conjecture that IEP decidability always follows from the decidability of the logic itself.
What Problem Does This Paper Address?
In logic, a Craig interpolant for two formulas $\phi$ and $\psi$ is a third formula $\iota$ that sits "between" them: $\phi$ entails $\iota$, and $\iota$ entails $\psi$, where $\iota$ uses only the vocabulary shared by $\phi$ and $\psi$. Interpolants are vital in computer science for tasks like formal verification, database query rewriting, and modularizing large ontologies.
For many logics, if $\phi$ entails $\psi$, an interpolant is guaranteed to exist (a property called the Craig Interpolation Property, or CIP). However, many useful fragments of first-order logic (FO), such as the two-variable fragment ($FO^2$) or various Description Logics (DLs), lack the CIP. In these cases, we face the Interpolant Existence Problem (IEP): given $\phi$ and $\psi$, does an interpolant actually exist?
Previously, researchers observed that for every decidable logic studied, the IEP was also decidable. This led to the conjecture that as long as you can decide if a formula is valid, you can decide if an interpolant exists. This paper tackles that conjecture head-on.
Methods
The authors use a classic technique in theoretical computer science: reduction from an undecidable problem. Specifically, they reduce the infinite Post Correspondence Problem ($\omega$PCP) to the IEP.
The $\omega$PCP asks whether, given two sets of words, there exists an infinite sequence of indices such that concatenating the corresponding words from both sets results in the same infinite string. By carefully constructing formulas $\phi$ and $\psi$ in $FO^2$ with two equivalence relations ($E_1$ and $E_2$), the authors encode the requirements of a solution to the $\omega$PCP into the existence of an interpolant.
To prove this, they rely on bisimulations, which are mathematical tools used to show that two structures are "logically indistinguishable" within a specific fragment of logic. They use a variant of Robinson’s joint consistency criterion: an interpolant fails to exist if and only if there are two bisimilar models where one satisfies $\phi$ and the other satisfies $\neg\psi$.
Datasets
Not discussed in the paper. As a theoretical work in mathematical logic, it does not use empirical datasets or benchmarks.
Key Insights and Ideas
- The Power of Two Equivalence Relations: The "aha moment" is realizing that while $FO^2$ is relatively weak, adding just two equivalence relations provides enough expressive power to "coordinate" infinite sequences. This coordination is sufficient to simulate the matching process of the $\omega$PCP.
- Shattering the Conjecture: The primary insight is that the gap between "deciding truth" (validity) and "deciding the existence of a shared explanation" (interpolation) can be infinitely large.
- Visualizing the Reduction: The construction involves generating infinite $S$-chains. As shown in Figure 2, the logic uses the equivalence relations to ensure that the words written along these chains are unique and correctly sequenced.
Key Results
- Theorem 5: The IEP is undecidable for $FO^2$ with two equivalence relations ($FO^2 2E$).
- Theorem 6: The IEP is undecidable for the two-variable guarded fragment with constants and two equivalence relations ($GF^2 2E_c$).
- Theorem 7: The results translate to Description Logics. The IEP is undecidable for $\mathcal{ALC}$ enriched with Boolean operators on roles, the identity role, and two equivalence relations.
- EDEP Undecidability: Because the Explicit Definition Existence Problem (EDEP) is closely related to the IEP, the authors also prove that EDEP is undecidable for these same fragments.
Limitations and Future Work
The authors identify several "boundary" cases where the decidability of the IEP remains unknown:
- One Equivalence Relation: Is the IEP decidable for $FO^2$ with only one equivalence relation? The proofs for two relations are much more complex, suggesting one might be simpler or even decidable.
- Transitive Relations: What happens if we replace equivalence relations with general transitive relations?
- Equality-Free Logic: Does dropping the equality symbol ($=$) from $FO^2$ make the IEP decidable again?
- Counting Quantifiers: The status of the IEP for logics with counting (like $C^2$ or the DL $\mathcal{ALCQIO}$) remains an open and challenging question.
Summary updated