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

feat: implement MBA blast algorithm #977

Merged
merged 27 commits into from
Jan 27, 2025
Merged

feat: implement MBA blast algorithm #977

merged 27 commits into from
Jan 27, 2025

Conversation

bollu
Copy link
Collaborator

@bollu bollu commented Jan 20, 2025

We implement the MBA-blast theory on terms, which will allow us to decide mixed boolean arithmetic theorems.

Copy link

Alive Statistics: 90 / 93 (3 failed)

Copy link

Alive Statistics: 90 / 93 (3 failed)

bollu added 6 commits January 21, 2025 11:58
This taught me an important dependent design principle:
Hide the actual 'casting' of environments behind a new definition.
This will allow propext to unify things, while writing lemmas about the
cast will allow 'simp' to simplify it.
Building a raw function will mean that 'simp' is entirely unable to
unify terms, since it doesn't see that the 'content' of what's going on is the casting of `Fin n`
along an irrelevant proof.
Copy link

Alive Statistics: 90 / 93 (3 failed)

bollu added 2 commits January 22, 2025 11:09
We next need to write a `Decidable` instance for `forall (env : EnvFin 1 eqn.numVars), eqn.denote env = 0`.
This is trivial, since we can brute-force all `EnvFin 1 eqn.numVars`.
However, it's not clear how much of the machinery lives in `Mathlib`.
Copy link

Alive Statistics: 90 / 93 (3 failed)

1 similar comment
Copy link

Alive Statistics: 90 / 93 (3 failed)

Copy link

Alive Statistics: 90 / 93 (3 failed)

@bollu bollu enabled auto-merge January 27, 2025 18:51
Copy link

Alive Statistics: 90 / 93 (3 failed)

@bollu bollu added this pull request to the merge queue Jan 27, 2025
Merged via the queue into main with commit d55368a Jan 27, 2025
2 of 3 checks passed
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.

1 participant