Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All4x4Tables: Integrate straggler counterexamples #324

Merged
merged 3 commits into from
Oct 5, 2024

Conversation

zaklogician
Copy link
Contributor

@zaklogician zaklogician commented Oct 5, 2024

Expands the number of finite magmas in All4x4Tables by integrating a couple of finite magmas which were previously used in counterexamples elsewhere.

Benefits:

  • For all these examples, each satisfied and refuted equation was determined,
    which settled 236 previously unknown anti-implications.
  • These examples were put through the proof planner, meaning that while the
    number of magmas serving as counterexamples increased greatly (from 543 to 740) the number of checks the
    kernel has to perform remains about the same. The generate_lean.py script can
    also prune them using transitive closure whenever new implications are proven.

The newly added sources:

 * Magmas constructed by the Vampire theorem prover gathered from #276.
 * Two magmas constructed by the Z3 solver gathered from #308.
 * A 5x5 magma manually constructed by Pace Nielsen.

With the importation of the straggler examples, the current set of Vampire disproofs become redundant, so these are removed. The commit changes the VampireProven documentation with a bit of explanation about how Vampire Disproof*.lean files will appear when Vampire disproofs are generated. It also updates the blueprint with more sources of counterexamples.

Unknowns at 21679.

Expands the number of finite magmas in All4x4Tables by gathering a couple of
finite magmas which were previously used in counterexamples elsewhere.

Benefits:

* For all these examples, each satisfied and refuted equation was determined,
  which settled 236 previously unknown anti-implications.
* These examples were put through the proof planner, meaning that while the
  number of magmas increased greatly (from 543 to 740) the number of checks the
  kernel has to perform remains about the same.

New sources:
 * Magmas constructed by the Z3 solver gathered from teorth#308.
 * Magmas constructed by the Vampire theorem prover gathered from teorth#276.
 * A 5x5 magma manually constructed by Pace Nielsen.

Unknowns now at 21679.
With the importation of the straggler examples, the Vampire Disproofs
become unnecessary.

This commit removes the disproofs, and changes the documentation with
explanations about how Vampire disproofs can be generated.

It also updates the blueprint with more sources of counterexamples.

The unknowns remain at 21679.
Updates the implication database used for transitive closure pruning
in `All4x4Tables`.

This time it does not result in further reductions in the number of checks.
@teorth
Copy link
Owner

teorth commented Oct 5, 2024

Great, thanks! By the way, another finite magma by Pace was proposed recently in https://leanprover.zulipchat.com/#narrow/stream/458659-Equational/topic/visualization.20of.20graph.20closure

@teorth teorth merged commit 35e22b0 into teorth:main Oct 5, 2024
2 checks passed
@Command-Master
Copy link
Contributor

How did you produce the lists of which implications each table proves? I'm running Vampire with more time per equality, so I want to add the magmas it finds directly to here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants