Skip to content

teorth/equational_theories

 
 

Repository files navigation

Equational theory project

License: Apache 2.0 Website Documentation Blueprint Paper Zulip Channel

The purpose of this project, launched on Sep 25, 2024, is to explore the space of equational theories of magmas, ordered by implication. To begin with we shall focus only on theories of a single equation, and specifically on the 4694 equational laws involving at most four magma operations, up to symmetry and relabeling (here is the list in Lean and in plain text). This creates 4694*(4694-1) = 22,028,942 implications that need to be proven or disproven, creating both "implications" and "anti-implications".

We will accumulate both "proven" and "conjectured" implications and anti-implications: proven assertions will be verified in the proof assistant language Lean, and "conjectured" assertions represent all claims (either human-generated or computer-generated) that have not yet been verified in Lean. The current status of the project can be found on the dashboard.

Some selected equations of interest are listed here (in Lean form) and here (in a human readable blueprint). Examples include

  • Equation 1: x = x. The trivial law.
  • Equation 2: x = y. The singleton law.
  • Equation 43: x ∘ y = y ∘ x. The commutative law.
  • Equation 46: x ∘ y = z ∘ w. The constant law.
  • Equation 168: x = (y ∘ x) ∘ (x ∘ z). The central groupoid law.
  • Equation 4512: x ∘ (y ∘ z) = (x ∘ y) ∘ z. The associative law.

Some automatically generated progress:

Some statistics and data files from a given point in time:

  • Sep 28, 2024: A repository of unknown implications, including all unknown implications, known equivalence classes, unknown implications modulo known equivalence, and only the strongest unknown implications.
  • Sep 29, 2024: Here is a text file of the (21K or so) direct implications proven to date, and here is the transitive closure of these implications (about 4.5m). More precisely, we have 21791 implications explicitly proven true, 4494090 additional relations implicitly proven true, 739207 explicitly proven false, 12764328 implicitly proven false, one additional relations explicitly conjectured true (and 64 more implicitly conjectured true), and 4014155 remaining implications which remain completely open. Quotienting out by known equivalences, there are 3182453 open implications remaining.
  • Oct 2, 2024: A list of unknown implications whose converse is proven, i.e. implications that would reduce the number of equivalence classes of equations. At the time of creation we had 2969 equivalence classes. This file contains 4526 unknown implications, if all hold then it will reduce the number of equivalence classes to 1300.

Some visualizations from a given point in time:

Current statistics and data files, updated automatically:

Current visualizations, updated automatically:

  • coming soon!

For guidelines on how to contribute, see the CONTRIBUTING.md file.

Building the project

To build this project after installing Lean and cloning this repository, follow these steps:

% cd equational_theories/
% lake exe cache get
% lake build

Links