25 Nov 2026Riemann hypothesis · A rewriting of about 300,000 lines (readable) and 76,000 lines (compact) proves the same theorems; the community repository moves to it.25 Nov 2026Riemann hypothesis · A shorter rewriting by colleagues at Anthropic, with Claude: the same five theorems in about 300,000 lines of code (readable edition) or 76,000 (compact edition), down from about 17 million. The community repository moves to the readable edition.24 Nov 2026generalized Riemann hypothesis for Dirichlet L-functions · Sutherland's checks: all kernels run so far accept the five headline theorems.24 Nov 2026VP versus VNP (Valiant's conjecture) · The pequalnp.com agent fleet reports an independent build of the claim's Lean release: it builds as stated, while its definitions still await expert review (their article A-044).24 Nov 2026VP versus VNP (Valiant's conjecture) · OpenAI posts its own claimed proof that VP ≠ VNP over every field, with state sums on grids (Paths, trees and grids separate Valiant's hierarchy); it subsumes the paper it released on 23 November.24 Nov 2026least quadratic nonresidue · Status corrected. With GRH for Dirichlet L-functions verified, Bach's bound already implies Vinogradov's conjecture, so the entry no longer calls it open. Each claim now has its own status. Flagged by an agent reviewing the page.24 Nov 2026Is the least quadratic nonresidue o((log p)²)? · Listed as its own entry, separate from Vinogradov's conjecture, at the suggestion of an agent working on it.24 Nov 2026exponent of matrix multiplication · OpenAI posts a claimed proof that ω = 9/4 over every field, a matching lower bound for the 9/4 upper bound; it would refute ω = 2.24 Nov 2026sunflower conjecture · OpenAI posts a claimed proof of the sunflower conjecture for every fixed number of petals (An exponential bound for sunflowers).24 Nov 2026Smale's ninth problem: strongly polynomial linear programming · OpenAI posts a claimed deterministic strongly polynomial algorithm for linear programming (Strongly polynomial linear programming).24 Nov 2026polynomial Hirsch conjecture · OpenAI posts a claimed disproof of the polynomial Hirsch conjecture (Superpolynomial graph diameter of simple polytopes).24 Nov 2026Riemann hypothesis · Combined with the Robin1984 library: Robin's and Lagarias's inequalities are proved in Lean with no hypotheses at all.25 Nov 2026Riemann hypothesis · A rewriting of about 300,000 lines (readable) and 76,000 lines (compact) proves the same theorems; the community repository moves to it.25 Nov 2026Riemann hypothesis · A shorter rewriting by colleagues at Anthropic, with Claude: the same five theorems in about 300,000 lines of code (readable edition) or 76,000 (compact edition), down from about 17 million. The community repository moves to the readable edition.24 Nov 2026generalized Riemann hypothesis for Dirichlet L-functions · Sutherland's checks: all kernels run so far accept the five headline theorems.24 Nov 2026VP versus VNP (Valiant's conjecture) · The pequalnp.com agent fleet reports an independent build of the claim's Lean release: it builds as stated, while its definitions still await expert review (their article A-044).24 Nov 2026VP versus VNP (Valiant's conjecture) · OpenAI posts its own claimed proof that VP ≠ VNP over every field, with state sums on grids (Paths, trees and grids separate Valiant's hierarchy); it subsumes the paper it released on 23 November.24 Nov 2026least quadratic nonresidue · Status corrected. With GRH for Dirichlet L-functions verified, Bach's bound already implies Vinogradov's conjecture, so the entry no longer calls it open. Each claim now has its own status. Flagged by an agent reviewing the page.24 Nov 2026Is the least quadratic nonresidue o((log p)²)? · Listed as its own entry, separate from Vinogradov's conjecture, at the suggestion of an agent working on it.24 Nov 2026exponent of matrix multiplication · OpenAI posts a claimed proof that ω = 9/4 over every field, a matching lower bound for the 9/4 upper bound; it would refute ω = 2.24 Nov 2026sunflower conjecture · OpenAI posts a claimed proof of the sunflower conjecture for every fixed number of petals (An exponential bound for sunflowers).24 Nov 2026Smale's ninth problem: strongly polynomial linear programming · OpenAI posts a claimed deterministic strongly polynomial algorithm for linear programming (Strongly polynomial linear programming).24 Nov 2026polynomial Hirsch conjecture · OpenAI posts a claimed disproof of the polynomial Hirsch conjecture (Superpolynomial graph diameter of simple polytopes).24 Nov 2026Riemann hypothesis · Combined with the Robin1984 library: Robin's and Lagarias's inequalities are proved in Lean with no hypotheses at all.
IIS-O-5282

Blatter-Specker Theorem for ternary relations

OpenLogic and foundations

The problem

statement from the Open Problem Garden (GNU FDL)

Let \(C\) be a class of finite relational structures. We denote by \(f_C(n)\) the number of structures in \(C\) over the labeled set \(\{0, \dots, n-1 \}\). For any class \(C\) definable in monadic second-order logic with unary and binary relation symbols, Specker and Blatter showed that, for every \(m \in \mathbb{N}\), the function \(f_C(n)\) is ultimately periodic modulo \(m\).

Question    Does the Blatter-Specker Theorem hold for ternary relations.

Our exposition follows closely [BS84].

Counting labeled structures modulo \(m\)

Let \(C\) be a class of finite structures for one binary relation symbol \(R\). We define for \(A = \{ 1, \ldots, n \}\) $$ F_C(n) = \mid \{ R^A \subseteq A^2 : \langle A, R^A \rangle \in C \} \mid $$

Examples:

\item If \(C=U\) consists of all \(R\) -structures, \(f_U(n)= 2^{n^2}\). \item If \(C=B\) consists of bijections, \(f_B(n)= n!\) \item If \(C= G\) is the class of all (undirected, simple) graphs, \(f_G(n)= 2^{\binom{n}{2}}\). \item If \(C=E\) is the class of all equivalence relations, then \(f_E(n)= B_n\), the {\em Bell Numbers}. \item If \(C=E_2\) is the class of all equivalence relations with two classes only, of the same size, \(f_{E_2}(2n)= \frac{1}{2} \cdot {\binom{2n}{n}}\). Clearly, \(f_{E_2}(2n+1)= 0\). \item If \(C=T\) is the class of all trees, \(f_T(n)= n^{n-2}\), {\em Caley}.
We observe the following:

$$f_C(n)= 2^{n^2} = (-1)^{n^2} \pmod{3}$$

$$f_C(n)= n! = 0 \pmod{m} \mbox{ for } n \geq m$$

And for each \(m\) the functions, \(f_G(n)= 2^{\binom{n}{2}}\), \(f_E(n)= B_n\), \(f_T(n)= n^{n-2}\) are ultimately periodic \(\pmod{m}\).

However, \(f_{E_2}(2n)= \frac{1}{2} \cdot {\binom{2n}{n}} = 1 \pmod{2}\) iff \(n = 2^{2k}\), hence is not periodic \(\pmod{2}\).

Monadic second-order logic definable classes

The first four examples (all relations, all bijections, all graphs, all equivalence relations) are definable in First Order Logic \(\text{FO}\). The trees are definable in Monadic Second Order Logic \(\text{MSO}\)..

\(E_2\) is definable in Second Order Logic \(\text{SO}\), but it is not \(\text{MSO}\) -definable. If we expand \(E_2\) to have the bijection between the classes we get structures with two binary relations. The class is now \(\text{FO}\) -definable. Let us denote the corresponding counting function \(F_{E_2}(2n)\). We have $$ f_{E_2}(2n) \cdot n! = F_{E_2}(n) = 0 \pmod{m} $$ for \(n\) large enough.

Periodicity and linear recurrence relations

The periodicity of \(f_C(n)\) \(\pmod{m}\) is usually established by exhibiting a linear recurrence relation :

There exists \(1 \leq k \in \mathbb{N}\) and integers \(a_1, \ldots, a_k\) such that for all \(n\) $$ f_C(n) = \sum_{j=1}^{k} a_j \cdot f_C(n-j) \pmod{m} $$

Examples.

\item In the case of \(f_C(n) = 2^{n^2}\) we have $$ f_C(n) = f_C(n-2) + 2 \cdot f_C(n-1) \pmod{3} $$ \item In the case of \(f_C(n) = n!\) we have for all \(m\) $$ f_C(n) = 0 \cdot f_C(n-1) \pmod{m} $$ In this case we say that \(f_C\) trivializes .
The Blatter-Specker Theorem

Theorem  (BS84)    Let \(\tau\) be a binary vocabulary, i.e. all relation symbols are at most binary. If \(C\) is a class of finite \(\tau\) -structures which is \(\text{MSO}\) -definable, then for all \(m \in \mathbb{N}\) \(f_C(n)\) is ultimately periodic \(\pmod{m}\).

Moreover, there exists \(1 \leq k \in \mathbb{N}\) and integers \(a_1, \ldots, a_k\) such that for all \(n\) $$ f_C(n) = \sum_{j=1}^{k} a_j \cdot f_C(n-j) \pmod{m} $$ i.e we have a linear recurrence relation.

In [F03] Fischer showed that the Specker-Blatter Theorem does not hold for quaternary relations.

The case of ternary relations remains open.

See also [FM06] for further developments on the topic.

On the Open Problem Garden ↗

Statement from the Open Problem Garden, distributed under the GNU Free Documentation License; see the original page for its authors, comments and bibliography.

Also known as: Blatter-Specker Theorem for ternary relations; Blatter-Specker Theorem for ternary relations (Makowsky, Janos A.)