The Latent Space of Equational Theories
Luis Berlioz, Paul-André Melliès
TL;DR
This work constructs a latent, geometry-based representation of equational theories by embedding the 4694 theories from the Equational Theories project into a Stone-paired feature space derived from finite magmas. It connects model-theoretic structure (Stone pairing, Stone spectrum) with proof-theoretic structure (implication graph and its atomic steps) to reveal organized, directionally oriented flows of reasoning in a three-dimensional latent space obtained via PCA. Key contributions include demonstrating that the latent space clusters theories by signature, quantifies how reversible (provably equivalent) theories cluster tightly, and exposes radial and parallel patterns in implication flows, with a Z-axis indication of conjugacy. The findings suggest a deep, statistics-based correspondence between model-theoretic and proof-theoretic notions, offering new tools for analyzing logical deduction and guiding future research in the intersection of finite model theory, universal algebra, and machine-assisted reasoning.
Abstract
Building on the collaborative Equational Theories project initiated by Terence Tao fifteen months ago, and combining it with ideas coming from machine learning and finite model theory, we construct a latent space of equational theories where each equational theory is located at a specific location, determined by its statistical behavior with respect to a large sample of finite magmas. This experiment enables us to observe for the first time how reasoning flows and produces surprisingly oriented and well-structured chains of logical implications in the latent space of equational theories.
