logoalt Hacker News

markhermeling • today at 2:45 PM • 2 replies • view on HN

Well written piece and certainly on-topic. There is a ton of conversation going on how AI can assist with formal methods.

Personally I am having great success using Ada SPARK. The SPARK subset has been greatly enhanced over the past years. I spent yesterday taking existing C repos, translating to SPARK, lifting it to SPARK Silver (absence of runtime errors) and then reporting the findings to the various maintainers. All as a background activity.

Result: integer overflows, typically on boundary conditions, some logic mistakes, again on boundary conditions.

I have not looked into Magmide, but I think the next breakthrough is a combination of something like SysMLv2 to describe architecture and requirements, TLA+ for modeling and formal proofs at the system level and then Lean or SPARK for the implementation.


Replies

irundebian • today at 5:24 PM

Thank you for your work on improving Ada/SPARK projects!

➕ show 1 reply
nickpsecurity • today at 6:28 PM

I was told before that there was a minimum number of seats one had to buy for around $25,000 which came with a consulting or support contract to sweeten the deal. Many of us would rather drop a few hundred or a thousand for one seat. Do you know id they have per-seat, single-seat pricing for SPARK Pro?