Graph-Based State Management for Monadic Panmentalism
Most days, I design graph-based automation pipelines and distributed state systems. Reading a paper by my friend Dr. Savvas Ioannou, titled Monadic Panmentalism (published in Synthese), prompted an intriguing crossover: the classical mind-body problem closely resembles a distributed state orchestration puzzle.
How does a vast network of unfeeling physical matter in the human brain coordinate a unified, subjective observer state from moment to moment without a central coordinator?
Dr. Ioannou proposes Dynamic Monadic Panmentalism, which translates naturally into systems terminology. Below, we examine the consensus challenge through a pub conversation analogy, followed by a Python simulation using NetworkX to model conscious experience as dynamic leader election on a graph.
1. The Consensus Problem: A Pub Conversation
To visualize decentralized consensus without a coordinator, consider a group of friends chatting at a pub. No chairperson presides. Yet despite the lack of a central coordinator, the gathering maintains a coherent conversation as participants yield the floor to whichever speaker currently holds the group’s attention.
If two participants speak simultaneously, quick local signals like eye contact or a brief pause resolve the collision in fractions of a second. The group converges back onto a single conversational thread. As the gathering expands, propagation delay increases, causing the network to partition into separate conversations. This dynamic illustrates peer-to-peer consensus operating without central orchestration.
2. Demystifying Monadic Panmentalism
Physicalist accounts of mind encounter two traditional obstacles:
- The Hard Problem asks why physical information processing produces qualitative inner experience rather than purely unconscious function.
- The Ingredient Problem questions how non-conscious particles combine to yield qualitative awareness.
Dr. Savvas Ioannou defends Monadic Panmentalism, a view rooted in Leibniz’s monads. The position holds that basic constituents of the universe possess an inherent capacity for experiential states.
This approach addresses the Ingredient Problem, yet it introduces the Combination Problem: if fundamental particles carry phenomenal potential, why do we observe a unified macro-consciousness rather than countless disconnected micro-states?
3. Dynamic Monadic Panmentalism as a Distributed System
Distributed systems face a similar dilemma. Merging uncoordinated writes from thousands of independent nodes into a single global table creates latency and contention locks. Architects address this challenge with consensus algorithms like Raft or Paxos to elect a temporary primary node.
Dynamic Monadic Panmentalism follows an analogous logic. Instead of micro-experiences aggregating into a static mixture, the physical network conducts continuous leader elections.
At any millisecond, a specific cluster of monad nodes reaches consensus, establishing a dominant node as the active observer. The surrounding graph syncs. Through this continuous synchronization, macro-consciousness manifests as the emergent consensus state of a peer-to-peer network.
4. Building the Python NetworkX Simulator
To test this model computationally, we can construct a Python simulator using NetworkX and NumPy. The architecture relies on three primary components:
- The ontology defines
Simpleentities that hold a dormantPowerfulQualityrepresenting conscious potential. - The physical causal topology connects nodes through directed, weighted edges in
BrainWiseCausalStructure. - Sensory stimulus biases specific nodes by increasing their connection weights, after which Google’s PageRank selects the dominant node to host the active experience.
Here is the simulation code:
import networkx as nx
import numpy as np
# -----------------------------------------------------------------------------
# 1. Defining Savvas's Ontology: Simples, Abilities, and Powerful Qualities
# -----------------------------------------------------------------------------
class PowerfulQuality:
def __init__(self):
self.is_activated = False # Latent by default
class Simple:
def __init__(self, simple_id):
self.id = simple_id
self.ability_to_be_conscious = PowerfulQuality() # Every simple has the ability
self.current_experience = None
def activate_experience(self, mental_content):
self.ability_to_be_conscious.is_activated = True
self.current_experience = f"Experiencing: [{mental_content}]"
def set_dormant(self):
self.ability_to_be_conscious.is_activated = False
self.current_experience = None
# -----------------------------------------------------------------------------
# 2. Modeling the Physical Brain-Wise Causal Structure
# -----------------------------------------------------------------------------
class BrainWiseCausalStructure:
def __init__(self, num_simples=10):
self.simples = {i: Simple(i) for i in range(num_simples)}
self.network = nx.DiGraph()
self.network.add_nodes_from(self.simples.keys())
# Build a more uniform base graph to avoid natural "dictators" like Simple #9
for i in self.simples.keys():
# Add a self-loop (representing a particle's self-stability/intrinsic state)
self.network.add_edge(i, i, physical_weight=1.0)
for j in self.simples.keys():
if i != j and np.random.rand() > 0.4:
# Give everyone a uniform starting physical connection weight of 0.5
self.network.add_edge(i, j, physical_weight=0.5)
def run_dynamic_monadic_election(self, active_mental_content, stimulus_nodes):
# Step 1: Reset all simples to dormant
for simple in self.simples.values():
simple.set_dormant()
# Step 2: Causal dynamics heavily alter the weights of stimulated nodes
working_network = self.network.copy()
# Inject massive physical activity directly into the target nodes (the "stimulus")
for node in stimulus_nodes:
# We drastically boost the incoming and self-connections of the stimulated nodes
working_network[node][node]['physical_weight'] += 50.0
for neighbor in working_network.neighbors(node):
working_network[node][neighbor]['physical_weight'] += 10.0
# Step 3: Run PageRank (The Consensus Election)
scores = nx.pagerank(working_network, weight='physical_weight')
dominant_simple_id = max(scores, key=scores.get)
# Step 4: Activate the winning Simple
dominant_simple = self.simples[dominant_simple_id]
dominant_simple.activate_experience(active_mental_content)
return dominant_simple_id, scores
# -----------------------------------------------------------------------------
# 3. Running the Simulation
# -----------------------------------------------------------------------------
np.random.seed(42) # For reproducible network structure
brain_simulation = BrainWiseCausalStructure(num_simples=10)
# MOMENT 1: Visual stimulus (Active on Nodes 2 and 3)
content_1 = "Vivid Crimson Red Flower"
dominant_id_1, election_results_1 = brain_simulation.run_dynamic_monadic_election(
active_mental_content=content_1,
stimulus_nodes=[2, 3]
)
print("--- MOMENT 1 (Dynamic Monadic Panmentalism) ---")
print(f"Active Mental Content: '{content_1}'")
print(f"Elected Dominant Simple: Simple #{dominant_id_1}")
print(f"Subjective State of Simple #{dominant_id_1}: {brain_simulation.simples[dominant_id_1].current_experience}\n")
# MOMENT 2: Auditory stimulus (Active on Nodes 8 and 9)
content_2 = "High-Pitch Piercing Siren"
dominant_id_2, election_results_2 = brain_simulation.run_dynamic_monadic_election(
active_mental_content=content_2,
stimulus_nodes=[8, 9]
)
print("--- MOMENT 2 (Dynamic Monadic Panmentalism) ---")
print(f"Active Mental Content: '{content_2}'")
print(f"Elected Dominant Simple: Simple #{dominant_id_2}")
print(f"Subjective State of Simple #{dominant_id_2}: {brain_simulation.simples[dominant_id_2].current_experience}")
Simulation Output
Running the script produces:
--- MOMENT 1 (Dynamic Monadic Panmentalism) ---
Active Mental Content: 'Vivid Crimson Red Flower'
Elected Dominant Simple: Simple #3
Subjective State of Simple #3: Experiencing: [Vivid Crimson Red Flower]
--- MOMENT 2 (Dynamic Monadic Panmentalism) ---
Active Mental Content: 'High-Pitch Piercing Siren'
Elected Dominant Simple: Simple #8
Subjective State of Simple #8: Experiencing: [High-Pitch Piercing Siren]
What is happening?
The simulation clarifies how the two metaphysical puzzles resolve in code. Defining experiential capability as a dormant property within individual particles addresses the Ingredient Problem at the constituent level.
The brain’s causal graph resolves this by executing a decentralized election. Sensory stimulus on visual nodes ([2, 3]) elects Simple #3, whereas auditory input ([8, 9]) elects Simple #8.
Because only the winning node activates its qualitative state during a given cycle, the wider network maintains a unified observer experience.
Mapping Metaphysics to System Architecture
To make the comparison explicit:
| Metaphysical / Panmentalist Concept | Distributed Systems Concept |
|---|---|
| Monad | Node / Actor (Decentralized unit with local state and messaging capability). |
| Phenomenal Capacity (Ingredient) | Compute / State Potential (The ability of a node to process and participate in state). |
| The Ingredient Problem | The Cold Start Problem (Why nodes must have baseline capabilities before you can build global state). |
| The Combination Problem | Distributed Consensus / Leadership Election (How independent nodes agree on a single active state). |
| Unified Observer State | Consensus Leader (Primary Node) (The temporary dominant node defining the active system state). |
Architectural Synthesis
Framing the mind-body problem through distributed systems principles gives abstract metaphysics concrete grounding. The parallel runs deep. Dr. Ioannou’s philosophical model aligns directly with graph-based consensus patterns, showing how decentralized networks can produce coordinated singular state without relying on a central database.
Fascinated by graph-based state machines or distributed orchestration?
Let's grab a coffee and dive into decentralized state orchestration, weighted graphs, or unorthodox systems modeling.
Grab a CoffeeTransparency Disclosure: In compliance with transparency guidelines for AI-assisted content under EU policy, please note that this article was co-authored by Savvas Alexandrou and Gemini.
