logoalt Hacker News

tachim • yesterday at 8:13 PM • 1 reply • view on HN

Tudor here, I work at Harmonic. Aristotle auto-formalizes your natural language specifications into theorems about the embedding of your program based on the formal semantics of the Rust mid-level IR. You can see the full docs here: https://aristotle.harmonic.fun/docs/software/rust

For Verilog which is another language we support, for hardware, we compile the SVA assertions deterministically into Lean theorem statements about the compiled Lean embedding of the Verilog.


Replies

remywang • yesterday at 8:28 PM

For those wondering what “embedding” is:

> Aristotle compiles the provided Rust code deterministically into our proprietary Lean formal model of Rust execution (onward: the embedding).

I was also wondering how readable the auto-formalized spec is, but “proprietary” suggests the formal spec is hidden?

As a user I’d much prefer looking at the formalization myself instead of trusting the auto-formalization from natural language.

➕ show 1 reply