r/ProgrammingLanguages • u/mttd • Jul 30 '26
Why Higher-Order Logic Is a Good Foundation for Deep Verification
https://sequent.inc/blog/posts/why-hol-for-deep-verification/
41
Upvotes
r/ProgrammingLanguages • u/mttd • Jul 30 '26
12
u/josephjnk Jul 30 '26
Something I’ve wondered about HOL: When the proof language is semi-separated from the executable language the proofs are about like this, is there a reason why the executable language can’t use higher-kinded and/or higher-rank polymorphism? One of the things that turned me off from Isabelle/HOL (aside from the syntax, near impossibility of finding assistance from other developers online, and Animal Crossing NSFW fan art on the front page of their subreddit) was that it just felt less expressive as a programming language when you set the proof aspects to the side.
3
u/Pzzlrr Jul 30 '26
I think λProlog is very interesting in this space.
3
u/phischu Effekt Jul 31 '26
We did win static versus dynamic typing, declarative versus imperative programming, functional versus object-oriented design. We will win intrinsic versus extrinsic specification.
I am wondering though why everyone is ignoring Metamath as an even more extreme approach?
16
u/Aaron1924 Jul 30 '26
This article was (in parts) written by Ramana Kumar, the guy who published a fake proof of the Collatz conjecture the other day, exploiting a soundness bug in the Lean 4 kernel (see zulip thread)
This blog post makes it feel like that was a PR stunt to sell his own product
-8
u/justbrixco Jul 30 '26
We have seen this thoroughly with Haskell. In order verify the logic of a program, it remains clear that functional programming is necessary.