Due to our selection of memory (one example for each grammar rule in G), for a given x there is a unique sequence of retrieval and adaptation actions that lead to the production of the correct y.
letting a i be the ith action in the correct sequence of l actions, we define the probability of producing y given x as the probability of taking the sequence of actions a 1 , ..., a l .