I had fun reading this. Thanks for sharing.
With dendritic compartments, this seems like a waste of a perfectly good neuron that we could productively use elsewhere. ;)
Note that a SINGLE neuron can compute nonlinear functions like XOR.
Shameless plug: If anyone is interested, I did a post a while back on how neurons can act as logic gates:
https://blog.typeobject.com/posts/2025-neural-logic-gates/
This article builds on the first and creates a half adder out of neurons:
Nice article, but the methods they used seem more like they just hand wrote a function for the task and called the function neurons based on how it was implemented. It is encouraging though that a simple network can be found for a complicated task like this, kind of like the Tiny Recursive Model that came out last year.