Choosing Place Labels
When the PCG analysis labels a place, all references to the current version of the place (i.e. not within already labelled places) are labelled with a label corresponding to the last time the place could have been updated.
To accomplish this, the PCG uses a data structure called the Latest Map to track, for each place, the most recent location where it could have been updated.
We could consider instead to label locations at the point it is required (as is done when labelling lifetime projection). Our current approach involves a lot of bookkeeping.
The Latest Map
The Latest Map is a partial map from places to labels.
The function is defined as follows:
We note that for each place , either does not contain any place that is either a prefix or postfix of , or it contains exactly one such place. This is ensured by construction.