by trehans · 2w ago · 0 comments
You're right that if you verify at the assembly language it can give you additional certainty that there are no additional errors in the compilation step. However, it can be easier for AI to reason about proofs written at the programming language level because (from what I can deduce) it matches the level that humans are operating at and it doesn't have additional details such as registers and memory operations to worry about.
I have just begun working with it, but I prefer the convention of including the formalizations alongside application code, as opposed to maintaining a parallel codebase.