What Hacker News thinks, at a glance.

Proof-oriented programming in Verus vs. Lean

What HN thinks

Commenters disagree on whether SMT-based automated verification or interactive theorem proving is more effective for programmers, with some favoring SMT solvers for their accessibility and others noting that ITPs like Lean also rely on SMT technology.

Clear majority (60%) Based on 5 of 8 sampled comments that took a side (10 in the thread).

  1. SMT solvers are more practical for programmers 60%

    SMT-based verification maps cleanly to program state transitions and is easier for programmers to learn than type-based interactive theorem provers.

    “SAT/SMT solvers are easier to understand for programmers than type-based interactive theorem provers.” — rramadass

    3 comments

  2. Interactive theorem proving is fundamentally more complete 20%

    SMT solvers are heuristic workarounds for human labor scarcity, whereas interactive theorem proving is complete in a way that wrestling with solvers is not.

    “interactive theorem proving is 'complete' in a way that wrestling with a heuristic-driven solver never is.” — t520z520

    1 comment

  3. Lean uses SMT solvers like Verus does 20%

    Lean builds on the same SMT solver (Z3) as Verus, making the distinction between them less stark than some claim.

    “Lean builds on the exact same SMT solve (Z3) as Verus does.” — ted_dunning

    1 comment

Read Later