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 this list of 4694 equations (all laws involving at most four magma operations, up to symmetry and relabeling). This creates 4694*(4694-1) = 22,028,942 implications that need to be proven or disproven.

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

Some automatically generated progress:

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

  • 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.
  • 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: 23019 implications explicitly proven true (and an additional 5925922 implicitly proven); 829607 explicitly proven false (and an additional 12994633 implicitly disproven); 38489 explicitly conjectured true (and an additional 1223057 implicitly conjectured), and 79635 explicitly conjectured false (and an additional 1540725 implicitly conjectured false). This only leads 7999 open implications!

Some visualizations from a given point in time:

  • Sep 28, 2024: A (manually created) Hasse diagram of the dependencies obtained up to this date for the selected equations of interest can be found here. Note: the orientation in these legacy images is reversed from that in current guidance.
  • Sep 28, 2024: A directed acyclic graph of automatically generated implications is here: circular vertices are for nodes representing multiple equivalent equations and equations in green are from Subgraph.lean. Note: the orientation in these legacy images is reversed from that in current guidance.
  • Oct 1, 2024: An image visualizing the graph of proved results can be found here. This was generated by outcomes_to_image.py.

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