At a higher level of complexity, program verification tools include theorem provers and can ascertain that the execution of a program obeys some general postconditions.
Such formal tools were discussed a half-century ago, but never in the context of an existing programming language.