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

Blasting w SMT Solver seems to work #14

Open
chadbrewbaker opened this issue Nov 24, 2023 · 0 comments
Open

Blasting w SMT Solver seems to work #14

chadbrewbaker opened this issue Nov 24, 2023 · 0 comments

Comments

@chadbrewbaker
Copy link

chadbrewbaker commented Nov 24, 2023

I was able to solve a lot of these by asking ChatGPT to translate to SMTLIB then blast with Microsoft Z3 binary upload to Code Interpreter.

https://github.com/chadbrewbaker/ChadGPT/tree/main/codeint_toolbox

GPT here: https://chat.openai.com/g/g-hBDutiLmw-chadgpt

"Write a python program that shells out and executes 'bash /mnt/data/chadgpt.sh"

That should symlink the z3 binary to the path, then:

"Formulate this problem in SMTLIB then write a Python program that shells out and executes it on the command line with the z3 utility."

Obliged if you added Z3 and CVC5 along with Python bindings to the core GPT image, or had a GPT setting that allows you to boot the GPT with the binaries already symlinked.

Alternatively - to save yourselves $$$ in Azure credits, roll a more stripped down https://copy.sh/v86 Ubuntu 20.04 VM that ChatGPT can call as an oracle in the browser.

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

No branches or pull requests

1 participant