| ▲ | potato-peeler 4 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... | ||||||||
| ▲ | bjornsing 4 hours ago | parent | next [-] | |||||||
The concept is called static analysis. | ||||||||
| ||||||||
| ▲ | mathisfun123 3 hours ago | parent | prev [-] | |||||||
in theory that's what a compiler is - a thin wrapper over a SAT solver. in practice most compilers just use heuristics <shrug>. | ||||||||