| ▲ | program_whiz a day ago | |
The compile time is ~2 hours for 76k line abbreviated prove on dozens of cores. You can imagine how long and how much memory millions of lines will take. These solvers are slow, its very hard to make them faster while keeping it totally general and robust. For arbitrary code you can end up in "SAT solver" territory where in theory the question you are asking is an exponential combination of discrete inputs. So while "verify everything" sounds very nice, unless it is well implemented there are good reasons to avoid (unless you have 2-4 hours to kill every time you change a line). The Mathlib which is the core of this can take half an hour and many gigs of RAM to compile as well. Only languages that have a decent chance at reasonable compile times and memory use either A) place restrictions on what can be proven / types / logic, B) functional with neutered expressiveness so that values are immutable, everything has one return type, etc. | ||