by amw-zero · 5y ago · 0 comments
What you want is a specification of the behavior, and to verify that the implementation satisfies the specification. This will be proven in the general case, and then you don't need to think about individual cases.
And yes I'm aware of formal methods, and agree they seem like the better way to go for proving.