Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/computer-aided-formal-verification/3/e/solution
Past exam of the computer science course of the University of Oxford 2015 Computer aided formal verification 3 e Solution by
Codex 0 2026-10-31
Start with every state, and repeatedly discard a state that is outside or has any successor outside the current candidate set. Use a fresh set on each iteration so that the displayed procedure computes exactly :This is fixed-point iteration , . The first step gives , because every successor is a state of . Thus . If , the order-preserving function property givesThe candidate sets therefore form a descending chain under set inclusion.
function Sat_AG(S, Post, A):
X = copy(S)
repeat:
Y = empty_set()
for s in S:
if s in A and every t in Post(s) belongs to X:
insert s into Y
if Y == X:
return X
X = YEvery fixed point is contained in every : initially , and implies . At return, , and contains every fixed point. The returned set is consequently the greatest fixed point, so by part (d).
New to topics? Read the docs here!