pub fn repeat_base_name(name: &str) -> &strExpand description
Resolve a (possibly synthesised) protocol step name to its base performative name (SPEC-015 REQ-704).
x#2 → x; nested-repeat names strip every index: x#1#3 → x;
a plain user name is returned unchanged. Because # is outside the
user symbol alphabet (REPEAT_SEPARATOR), this resolution is exact:
everything before the first separator is the declared base name.
This is how each expanded copy inherits the base performative’s definition and role annotation: R5 definedness and the R6 annotation table look a copy up under its base name, while R3 core-name protection continues to apply to the base name (copies are never declared performatives).