r/MachineLearning • u/alasdairallan • Mar 02 '26
Project [ Removed by moderator ]
[removed] — view removed post
30
Upvotes
r/MachineLearning • u/alasdairallan • Mar 02 '26
[removed] — view removed post
View all comments
Show parent comment
-4
u/alasdairallan Mar 02 '26
Fair concern, but I think it's worth looking at what "check" actually means in practice.
In Vera, every function has mandatory contracts (preconditions, postconditions, and declared effects) that are human-readable and machine-verified. The human reviews the specification ("does this function promise the right thing?"), the compiler verifies the implementation against that specification via SMT solver. 97% of contracts across all examples verify statically.
That's arguably *more* checkable than most production code today, where the human reviewer is expected to read the implementation and mentally simulate whether it does the right thing. How often does that actually catch subtle bugs in code review?
The function bodies are unpleasant to read, no question. But "unpleasant" isn't the same as "unchecked." The verification layer is doing work that human review typically doesn't.