// Author: schuessf@informatik.uni-freiburg.de // Date: 2023-05-10 PetriNet net = ( alphabet = {a b c}, places = {p1 p2 p3}, transitions = { ({p1} a {p2 p3}) ({p2} b {p2}) ({p3} c {p3}) }, initialMarking = {p1}, acceptingPlaces = {p3} ); assert(buchiAccepts(net, [a, c])); assert(buchiAccepts(net, [a, b c])); assert(!buchiAccepts(net, [a, b]));