Introduction to Bigraphical Models for Algebraic Swarm Equations

Wait—equations for swarms?

Yes—algebraic equations, but with a twist: they come with visual notations built from (bi)graphical structures.

This matters when working with systems like drone swarms or robot collectives—where agents move in space, interact locally, and must coordinate globally. Algebra here isn’t just numbers; it’s a language for structure. Combined with visual bigraphs, it becomes a powerful tool for describing collective behaviors.

Algebraic Spaces

Bigraphs extend ordinary graphs with two complementary dimensions:

  • Locality – who is “inside” or “near” whom
  • Connectivity – who is linked or able to communicate

By combining these, bigraphs provide a unified algebraic and visual framework for systems where geometry meets interaction.

We extend bigraphs into so-called bi-spatial structures — modular, grid-like building blocks that define discrete spatial layouts.
These can model drones flying in formation, robots sorting themselves on a grid, or agents exploring an environment.

Examples

The following figures illustrate exemplary topological structures built from this “syntax of space” (which are formalized using our bigraphical axioms):

Bigraphical Landscape of the Axioms

Why It Matters

  • Concrete + formal: Models are both visually intuitive and mathematically precise.
  • Composable: Complex swarms are built from simple axioms (“bi-spatial axioms”), ensuring modularity.
  • Dynamic: Agents evolve via reaction rules, giving rise to algebraic swarm equations that capture both motion and coordination.
  • Debuggable: Equations can be analyzed by calculators and through extensions like 3D raycasting, swarm evolution can be observed in real time.

Foundations of UniAgent: Bigraphical Models

The UniAgent platform builds on a small set of bi-spatial axioms—algebraic rules that define how discrete locales connect. These axioms form the backbone for modeling swarms as algebraic spaces, where agents move, interact, and adapt.

Think of them as the Lego-bricks of swarm modeling: simple, composable, and grounded in both algebra and geometry.

Bigraphical Landscape of the Axioms This figures presents an overview of the bi-spatial axioms.

Read more about it here: A Bigraphical Framework for Modeling and Simulation of UAV-based Inspection Scenarios


The following pages explore drone equations through the lens of bigraphical reactive systems (BRS)—a form of graphical, rule-based system. These systems are evolutionary and causally closed, providing a modular framework for modeling dynamic interactions.

BRSs allow representing and reasoning about dynamic, spatially organized systems. Discrete states are expressed as algebraic equations. The equations are expressed in terms of bigraphs. A BRS easily captures the relational and reactive nature of agent interactions in a structured and visually intuitive way.

What is also explored is how composition can be used to manage high-level, macroscopic, and emergent behaviors within drone swarms.

To ensure correctness, the equations are formally verified using formal methods (i.e., directed model checking techniques), where swarm programs are primarily formulated as reachability problems.

For reproducibility, we provide the initial conditions, rule sets, and correctness properties to help you replicate the results and re-verify the system's behavior.

It is noteworthy that the proof method constitutes not merely a formal verification technique, but also the primary approach for actual execution.

Previous Next