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

Lift Egglog ground prover to non-ground equations #81

Open
wisnesky opened this issue Feb 20, 2025 · 0 comments
Open

Lift Egglog ground prover to non-ground equations #81

wisnesky opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wisnesky
Copy link
Contributor

wisnesky commented Feb 20, 2025

Now that egglog's boolean EqSat(Theory, GroundTerm, GroundTerm) is exposed as a CQL prover, to lift it to full theorem proving it is necessary to choose between

boolean Eq(Theory t, Term t1, Term t2) 
 t1' = herbrandize(t1)
 t2' = herbrandize(t2)
 return EqSat(t U vars(t1) U vars(t2), t1', t2');

and

Eq(Theory t, Term t1, Term t2) 
 t1' = herbrandize(t1)
 t2' = herbrandize(t2)
 return EqSat(t U vars(t1) U vars(t2) U {true,false,eq,eq(x,x)=false,eq(t1',t2')=true}, true, false);

or something else entirely, to lift the current egglog prover. The second method is from unfailing knuth-bendix completion, and the first is "naive". egraphs-good/egglog#519

@wisnesky wisnesky added the enhancement New feature or request label Feb 20, 2025
@wisnesky wisnesky self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant