21 NAND Docs 中文

Fruit fly connectome

Behavior pathways picked from the connectome of a fruit fly's whole central nervous system, distilled into a few dozen NAND gates. Not yet checked by independent experiments, and not on chain.

Status: two pathways are built as gate circuits, each bit for bit identical to its model. None of them has passed an independent biological experiment yet. Nothing is written on chain.

Data

We use the public connectome of the whole central nervous system of a male fruit fly (MaleCNS). All of it is downloaded:

ItemCount
Neurons176,422
Cell type groups11,752
Connections between types3,853,300
Synapses125,024,863

How it works

  1. Pick a behavior pathway with experimental support, such as "take off and escape when something looms".
  2. Use the connectome weights to build a simple firing-rate model as the teacher. The model's dynamics and signs are assumptions, not measured biological parameters.
  3. Calibrate the gains with looming stimuli and control stimuli: the target neuron must fire for looming and stay quiet for controls.
  4. Distill it into NAND gates on a finite table of 256 inputs, then prove the netlist matches the teacher bit for bit.

The two pathways built so far

PathwayNAND gatesDepthLatchesAgainst the teacherCalibration result
Giant fiber escape (GF)36100256 / 256 bits match102 positives; all 128 controls quiet
Visual descending (DN)1660512 / 512 bits match84 and 85 positives for the two outputs; all 128 controls quiet

Joined into one three-part graph (plus a 6-gate collector), they come to 58 NAND gates and 406 bytes, with 768 / 768 bits matching. This is only a plan. It is not written on chain.

Not done yet