LeanNeuro
Formalizing neuroscience models
Make assumptions and conclusions checkable.
We express mathematical models of neuroscience in Lean and build a body of machine-checkable conditions for state reconstruction and the preservation of function.
The research question
Can the logic connecting a model's assumptions to its conclusions be checked with less ambiguity? We express neuroscience models as definitions and propositions that can be handled by the Lean proof assistant.
Current work
- Defining discrete neuron models and their inputs, states, and observations
- Formalizing conditions for distinguishing and reconstructing states from observations
- Developing definitions and propositions about preservation of function and approximation error between models
When do two measurements determine the state?
Simulations in which different parameters yield similar activity motivate a formal question about adding measurements.[1]
For a nonempty, noiseless state space, an exact decoder for the paired observation exists if and only if the second measurement distinguishes every distinct pair left ambiguous by the first. Two Lean examples compare reading the first bit twice with reading both bits. The theorem uses exact equality of observations.
Contribute to this project
Check up to eight states under two bit-parity observations. Return the number of unresolved pairs and the first counterexample to exact decoding. This job runs a finite model check. The result also records the state set and both masks.
python mindupload.pyz join leanneuro
How to join and check availability
Challenge: Distinguish eight states with bit-parity observations
Challenge: Resolve collisions left by two observations of seven states
Connection to mind uploading
This work makes conditional claims explicit: if specified conditions hold, a particular property is preserved. It makes theoretical assumptions and conclusions traceable, providing a foundation for discussion and model comparison.
Next questions
We are considering how to extend models of observation and learning and identify which assumptions need experimental testing. Future directions also include connections to models in biology and physics.
Research scope
Formal proofs establish properties within the defined mathematical models. Whether those models fit real brains requires separate validation.
References
- Prinz AA, Bucher D, Marder E. Similar network activity from disparate circuit parameters. Nature neuroscience. 2004;7(12):1345-1352. doi:10.1038/nn1352.