🤖 AI Summary
Existing theories lack a formal foundation for synchronous parallel algorithms capable of self-modifying behavior—termed reflective algorithms (RAs)—which dynamically adapt their computational logic via internal linguistic reflection.
Method: We introduce the reflective Abstract State Machine (rASM) model, built upon multisets of terms as primitive values and extended states incorporating updatable rule representations; we develop an axiomatic framework ensuring bounded exploration and formal precision.
Contribution/Results: This work establishes the first behaviorally complete theory for RAs: we prove that every RA is behaviorally equivalent to some rASM, thereby providing the first rigorous characterization of linguistic reflection in parallel computation—i.e., the capacity of an algorithm to modify its own operational semantics through manipulation of its internal syntactic representation. The rASM model thus furnishes a sound and expressive formal basis for adaptive, dynamically evolving parallel systems, bridging a critical gap between reflective programming practice and foundational algorithm theory.
📝 Abstract
We develop a behavioural theory of reflective parallel algorithms (RAs), i.e. synchronous parallel algorithms that can modify their own behaviour. The theory comprises a set of postulates defining the class of RAs, an abstract machine model, and the proof that all RAs are captured by this machine model. RAs are sequential-time, parallel algorithms, where every state includes a representation of the algorithm in that state, thus enabling linguistic reflection. Bounded exploration is preserved using multiset comprehension terms as values. The abstract machine model is defined by reflective Abstract State Machines (rASMs), which extend ASMs using extended states that include an updatable representation of the main ASM rule to be executed by the machine in that state.