Some silly Z3 scripts I wrote
28 points
3 days ago
| 3 comments
| hillelwayne.com
| HN
jeremysalwen
35 minutes ago
[-]
I'm suspicious of the theorem proving example. I thought Z3 could fail to return sat or unsat, but he is assuming that if it's not sat the theorem must be proven
reply
potato-peeler
2 hours ago
[-]
For the curious, solvers like z3 are used in programming languages to verify logic and constraints. Basically it can help find logic issues and bugs during compile time itself, instead of waiting for it to show up in runtime.

https://en.wikipedia.org/wiki/Satisfiability_modulo_theories...

reply
bjornsing
2 hours ago
[-]
The concept is called static analysis.
reply
ukuina
1 hour ago
[-]
Seems adjacent, with some overlap.
reply
mathisfun123
1 hour ago
[-]
in theory that's what a compiler is - a thin wrapper over a SAT solver. in practice most compilers just use heuristics <shrug>.
reply
iberator
2 hours ago
[-]
I was expecting a Z3 computer from Germany.
reply