Equation 1 · Part 8 · How Claude Code's Memory Actually Persists Across Sessions
Symbol M_i
What this part means
the token count of the i -th memory file discovered along the walk from the filesystem root to the working directory, summed over however many, k , are found.
Its job in the formula
is one of the signed contributions combined to compute the quantity on the left.
Full expression→Symbol M_i→Article meaning
Where the article explains it
where is the token count of the i -th memory file discovered along the walk from the filesystem root to the working directory, summed over however many, k , are found.
The passage around this formula
…these “representative numbers” rather than fixed constants — actual figures move with every project’s own files — but the shape they describe is stable and worth writing down as an identity: . where is the token count of the i -th memory file discovered along the walk from the filesystem root to the working directory, summed over however many, k , are found. Every term is committed before the developer types a word. The point is not the specific numbers; it is that is…
Learn the underlying idea
A subscript is a label attached below a symbol. It often selects a time step, component, category, or member of a sequence.
Open the illustrated subscripts: which member of a family? guide →
See this notation across published equations →
Sources cited in the surrounding passage
These citations provide research context; check each source for the exact claim it supports.