Total Correctness

A total correctness statement in Hoare Logic or Separation Logic is a triple \Hoare P C Q \Hoare 𝑃 𝐶 𝑄 \Hoare{P}{C}{Q} that states that a program C 𝐶 C that starts in a state P 𝑃 P must terminate in a state satisfying Q 𝑄 Q .