Hoare logic (also known as Floyd–Hoare logic or Hoare rules) is a formal system with a set of logical rules for reasoning rigorously about the correctness of computer programs . It was proposed in 1969 by the British computer scientist and logician C. A. R. Hoare , and subsequently refined by Hoare and other researchers. [1] The original ideas were seeded by the work of Robert Floyd , who had published a similar system [2] for flowcharts . Contents {P} C {Q} where P and Q are assertions and C is a command. [note 1] P is named the precondition and Q the postcondition :
Read full article from Hoare logic - Wikipedia, the free encyclopedia
No comments:
Post a Comment