Hoare logic
E100208
Hoare logic is a formal system in computer science used to reason rigorously about the correctness of computer programs using logical assertions about program states.
All labels observed (4)
| Label | Occurrences |
|---|---|
| Hoare logic canonical | 6 |
| Floyd–Hoare logic | 1 |
| Hoare triple | 1 |
| weakest precondition | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T846542 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: Hoare logic Context triple: [Tony Hoare, notableWork, Hoare logic]
-
A.
Hilbert’s program
Hilbert’s program was an influential early-20th-century initiative in the foundations of mathematics that sought to formalize all of mathematics and prove its consistency using finitistic methods.
-
B.
Entscheidungsproblem
The Entscheidungsproblem is a foundational decision problem in mathematical logic that asks whether there exists a general algorithm to determine the truth or falsity of any given first-order logical statement.
-
C.
Knuth–Bendix completion algorithm
The Knuth–Bendix completion algorithm is a procedure in term rewriting and automated theorem proving that transforms a set of equations into a confluent rewriting system, enabling decision of word problems in algebraic structures.
-
D.
Science of Logic
Science of Logic is a foundational philosophical work by G.W.F. Hegel that systematically develops his dialectical method and metaphysical account of concepts, being, and reality.
-
E.
CSP (Communicating Sequential Processes)
CSP (Communicating Sequential Processes) is a formal model for describing and analyzing concurrent systems based on independent processes that interact solely through message-passing communication.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: Hoare logic Target entity description: Hoare logic is a formal system in computer science used to reason rigorously about the correctness of computer programs using logical assertions about program states.
-
A.
Hilbert’s program
Hilbert’s program was an influential early-20th-century initiative in the foundations of mathematics that sought to formalize all of mathematics and prove its consistency using finitistic methods.
-
B.
Entscheidungsproblem
The Entscheidungsproblem is a foundational decision problem in mathematical logic that asks whether there exists a general algorithm to determine the truth or falsity of any given first-order logical statement.
-
C.
Knuth–Bendix completion algorithm
The Knuth–Bendix completion algorithm is a procedure in term rewriting and automated theorem proving that transforms a set of equations into a confluent rewriting system, enabling decision of word problems in algebraic structures.
-
D.
Science of Logic
Science of Logic is a foundational philosophical work by G.W.F. Hegel that systematically develops his dialectical method and metaphysical account of concepts, being, and reality.
-
E.
CSP (Communicating Sequential Processes)
CSP (Communicating Sequential Processes) is a formal model for describing and analyzing concurrent systems based on independent processes that interact solely through message-passing communication.
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
axiomatic semantics
ⓘ
formal system ⓘ program logic ⓘ |
| appliesTo | imperative programs ⓘ |
| assumes | formal semantics of the programming language ⓘ |
| basedOn | first-order logic ⓘ |
| coreConcept | Hoare triple ⓘ |
| describedIn | An Axiomatic Basis for Computer Programming ⓘ |
| field |
computer science
ⓘ
formal methods ⓘ program verification ⓘ |
| formalizes | reasoning with assertions about program states ⓘ |
| hasExtension |
dynamic logic-based systems
ⓘ
probabilistic Hoare logic ⓘ separation logic ⓘ |
| hasProperty |
relative completeness
ⓘ
soundness ⓘ |
| hasRule |
assignment axiom
ⓘ
conditional rule ⓘ consequence rule ⓘ sequence rule ⓘ while rule ⓘ |
| influenced |
design of specification languages
ⓘ
development of separation logic ⓘ dynamic logic ⓘ program verification research ⓘ |
| introducedBy |
Tony Hoare
ⓘ
surface form:
C. A. R. Hoare
|
| introducedIn | 1969 ⓘ |
| namedAfter |
Tony Hoare
ⓘ
surface form:
C. A. R. Hoare
|
| relatedTo |
Dijkstra weakest precondition calculus
ⓘ
Hoare logic self-linksurface differs ⓘ
surface form:
Floyd–Hoare logic
denotational semantics ⓘ operational semantics ⓘ |
| representsHoareTripleAs | {P} C {Q} ⓘ |
| supports |
compositional verification
ⓘ
modular reasoning about programs ⓘ |
| taughtIn |
formal methods courses
ⓘ
program verification courses ⓘ |
| typicalPostconditionForm | logical formula over program variables ⓘ |
| typicalPreconditionForm | logical formula over program variables ⓘ |
| usedFor |
proving partial correctness of programs
ⓘ
proving total correctness of programs ⓘ reasoning about program correctness ⓘ |
| usesConcept |
assertion
ⓘ
invariant ⓘ loop invariant ⓘ postcondition ⓘ precondition ⓘ program state ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: Hoare logic Description of subject: Hoare logic is a formal system in computer science used to reason rigorously about the correctness of computer programs using logical assertions about program states.
Referenced by (9)
Full triples — surface form annotated when it differs from this entity's canonical label.