powerdomain
powerdomain
(theory)There are at least three possible orderings of the subsets ofa powerdomain:
Egli-Milner:
X <= Y iff for all x in X, exists y in Y: x <= yand for all y in Y, exists x in X: x <= y
("The other domain always contains a related element").
Hoare or Partial Correctness or Safety:
X <= Y iff for all x in X, exists y in Y: x <= y
("The bigger domain always contains a bigger element").
Smyth or Total Correctness or Liveness:
X <= Y iff for all y in Y, exists x in X: x <= y
("The smaller domain always contains a smaller element").
If a powerdomain represents the result of an abstract interpretation in which a bigger value is a safeapproximation to a smaller value then the Hoare powerdomain isappropriate because the safe approximation Y to thepowerdomain X contains a safe approximation to each point inX.
("<=" is written in LaTeX as \\sqsubseteq).