% This file contains PBES example 5, as described in:
%
% A. van Dam, B. Ploeger and T.A.C. Willemse. Instantiation for
% Parameterised Boolean Equation Systems.  Computer Science Report
% 08-11, Eindhoven University of Technology (TU/e), 2008.

pbes mu X(b: Bool, n: Nat) = Y(b, n);
     nu Y(b: Bool, n: Nat) = (val(!b) || X(!b, n)) &&
                             (val(!b) || Y(b, n+1)) &&
                             (val(b) || val(n == 0) || Y(b, Int2Nat(n-1)));

init X(true, 0);
