Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hoare logic
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Rules to verify computer program correctness}} {{use dmy dates|date=April 2025}} '''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 [[mathematical logic|logician]] [[Tony Hoare]], and subsequently refined by Hoare and other researchers.{{sfn|Hoare|1969}} The original ideas were seeded by the work of [[Robert W. Floyd]], who had published a similar system{{sfn|Floyd|1967}} for [[flowchart]]s.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)