Notebook Guide

July 19, 2026 · View on GitHub

Complete index of the public Jupyter notebooks in notebooks/. The notebooks are organised as onboarding, feature demonstrations, and evidence notebooks. Treat evidence notebooks as reproducible documentation: each one states what it proves and what it does not prove.

How to use the notebooks

ReaderRecommended pathOutput to keep
New userquickstart_colab -> 03_end_to_end_pipeline -> 04_neuron_explorerScreenshots or local notes only; do not promote as benchmark evidence.
Hardware evaluator08_equation_to_verilog -> 27_python_to_proven_silicon -> 29_golden_path_evidenceGenerated manifests, RTL, and named report artefacts.
Interop reviewer05_nir_bridge -> cross-framework benchmark docsNIR graph artefacts and raw benchmark JSON.
Industrial reviewerEvidence notebooks 34 through 39Evidence-gap tables and readiness manifests.

Notebook output becomes a public claim only when the raw artefact is committed and the docs name it. Otherwise it remains explanatory or local exploratory evidence.

Quickstart

NotebookTopicPrerequisites
quickstart_colabSingle neuron, dense layer, spike rasterpip install sc-neurocore

Core SC Pipeline (01–07)

#NotebookWhat you learnTutorial cross-ref
0101_hdc_symbolic_queryHDC/VSA symbolic memory with 10,000-bit vectorsTutorial 04
0202_fault_tolerant_logicBoolean logic with stochastic redundancy (survives 40% error)Tutorial 27
0303_end_to_end_pipelineEncode → synapse → popcount → LIF → VectorizedSCLayerTutorial 01
0404_neuron_explorerInteractive exploration of 117+ neuron modelsTutorial 22
0505_nir_bridgeNIR graph import/export, cross-framework interopTutorial 30
0606_network_enginePopulation-Projection-Network, E/I balance, STDPTutorial 31
0707_identity_substratePersistent spiking network, STDP consolidationTutorial 32

Feature Demos (08–13)

#NotebookWhat you learnTutorial cross-ref
0808_equation_to_verilogODE string → Python sim → Q8.8 Verilog RTL (LIF, FHN, Izhikevich)Tutorial 33
0909_topology_and_dynamics6 connectivity generators, degree distributions, dynamics comparisonTutorial 83
1010_spike_train_analysisISI, CV, Fano, cross-correlation, van Rossum, PCA (127 functions)Tutorial 23
1111_biological_circuitsTripartite synapse (Ca²⁺), Rall dendrite (3/2 power law)Tutorial 24
1212_learning_rulesSTDP, e-prop eligibility, R-STDP, STP facilitation/depressionTutorial 28
1313_quantisation_pipelineFloat → Q8.8 → SC probabilities → Verilog export, error budgetTutorial 77

Advanced Topics (14–20)

#NotebookWhat you learnTutorial cross-ref
1414_sc_arithmetic_theoryAND=multiply, XNOR=bipolar, MUX=add, CORDIV=divide, Hoeffding boundsTutorial 19
1515_fault_toleranceSC vs fixed-point under bit-flips/stuck-at, TMR majority voteTutorial 63
1616_neuron_atlas12 models from 8 families (1907–2026), voltage tracesTutorial 17
1717_reservoir_computingLiquid state machine, temporal XOR, ridge readoutTutorial 74
1818_mixed_precision_scPer-layer adaptive bitstream length, Hoeffding vs sensitivityTutorial 44
1919_compression_and_pruningMagnitude/SC-aware pruning, quantisation sweep, ParetoTutorial 44
2020_power_analysisEvent-driven vs clock-driven toggle count, scaling with network sizeTutorial 41

Frontier Research (21–28)

These notebooks demonstrate capabilities unique to SC-NeuroCore — features not available in any other SNN framework.

#NotebookWhat you learnUniqueness
2121_spike_aluTuring-complete spike-based ALU: logic gates, register, adder, sortFirst spike ALU in an SNN framework
2222_ir_type_safetyIR signal type checker: Bitstream/Rate/Spike/Fixed compatibilityFirst SNN→FPGA type system
2323_topological_observablesWinding number, Ricci curvature, sheaf defect on coupling graphsFirst topological observables on SNN
2424_identity_lazarusLazarus checkpoint save/load/merge, TraceEncoder, DirectorControllerFirst persistent AI identity substrate
2525_cortical_column_dynamics5-population canonical microcircuit, feedforward latencyBiophysically grounded column model
2626_spike_codec_benchmark5 codecs (ISI/AER/predictive/delta/streaming), density curvesComprehensive codec comparison
2727_python_to_proven_siliconComplete ODE→sim→type check→Verilog→testbench→formal→resourceEnd-to-end verified hardware pipeline
2828_domain_bridgeTensorStream prob↔bitstream↔quantum, Born rule, cos²(θ/2)Cross-domain probability bridge

Evidence Notebooks (29–39)

#NotebookWhat you learnEvidence boundary
2929_golden_path_evidenceDeterministic training -> Q8.8 -> SC simulation -> typed IR -> generated Verilog -> manifestLocal generated evidence only; no physical FPGA, timing, power, QPU, or external-data claim
3030_shd_vertex_deployable_evidenceSummarise downloaded SHD Vertex deployable-selector artifacts by seedAvailable local artifacts only; no claim that all intended seeds are downloaded or externally accepted
3131_balanced_resonate_and_fire_evidenceVerify BRF Algorithm 1 update, deterministic traces, guardrails, and committed benchmark artifactScalar model and benchmark evidence only; no full BRF-RSNN training reproduction or hardware timing claim
3232_posner_ibm_readiness_evidenceVerify ORCA/IBM readiness gates, runtime JSON refusal paths, and minimum QPU shot budgetReadiness gates only; no ORCA-derived runtime parameter, IBM calibration, or QPU-result claim
3333_hil_digital_twin_evidenceGenerate HIL protocol, drift controller, digital twin, SEU schedule, and telemetry drift manifestLocal generated protocols and synthetic telemetry only; no physical hardware calibration or certification claim
3434_industrial_readiness_evidenceEvaluate industrial application profiles, mandatory evidence categories, and fail-closed readiness arithmeticLocal readiness profile arithmetic only; no certification, target-hardware, or authority-accepted safety-case claim
3535_bci_closed_loop_evidenceProcess synthetic waveform windows through BCI compression, AER, rate decoding, emulator feedback, telemetry, and HIL manifestsSynthetic waveform and implant-emulator evidence only; no clinical, stimulation, physical implant, or HIL timing claim
3636_fault_resilience_evidenceRun seeded fault-injection resilience mode, deterministic replay policy, radiation stress presets, and input guardrailsLocal seeded fault-injection evidence only; no radiation qualification, mission acceptance, hardware SEU, or certified fault-tolerance claim
3737_neuro_symbolic_self_verification_evidenceVerify neuro-symbolic inference traces, stable digests, tamper detection, symbol-score ordering, trace-only evidence, and vector guardrailsInternal consistency evidence only; no external semantic-truth, clinical, physical, or deployment-validity claim
3838_formal_snn_verification_standard_evidenceExercise the formal SNN verification profile, pass/fail/missing evidence accounting, wrong-kind rejection, optional safety-case evidence, and evidence guardrailsLocal evidence-accounting behavior only; no external prover, model-checker, HDL proof, safety certification, or unbounded semantic-correctness claim
3939_self_hosted_hub_evidenceGenerate and validate offline-first hub manifests, model-zoo index, Compose hardening, opt-in benchmark plan, bundle files, and config guardrailsLocal bundle generation only; no Docker start, image build, production exposure, network-isolation proof, or operational-security certification claim

High-fidelity demo notebooks (41–43)

Programme plan: monorepo .coordination/planning/SC-NEUROCORE/PLAN_2026-07-19T2301_notebook_demo_programme_high_fidelity_neurons.md.

Neurons are taken only from the polyglot-complete set in model_fidelity_status.md.

#NotebookWhat you learnEvidence boundary
4141_one_model_five_viewsHodgkin–Huxley, Morris–Lecar, AdEx: dynamics, f–I, SC rate pedagogy, didactic Q8.8 voltage quantisation, hardware-path pointersLocal figures only; not polyglot parity, FPGA power/timing, or full RTL co-sim for all three
4242_fault_tolerance_theatrePerfect Integrator baseline plus production-injected SC bit-flip sensitivityLocal SC BER trend only; no fixed-point comparison, radiation qualification, or FIT rates
4343_studio_evidence_cart_labAdEx run plus pedagogical SHA-256 ledger aligned with studio.evidence-cart.v1 field namesPython in-process digests only; not Studio browser cart or server evidence-bundle product export
4444_shd_real_spike_walkthroughLocal SHD H5 sample raster + Vertex training_log.csv curves when presentLocal files only; no download, no leaderboard, no FPGA claim
4545_nir_passportNIR LIF graph → from_nir → step → write/reloadToy NIR LIF graph interop; not full HF catalogue export
4646_energy_proxy_honestPerfect Integrator population toggle proxy (event vs clock)Toggle counts only — not joules/PPA
4747_closed_loop_in_silicoProduction lossless SpikeCodec round-trip + toy plant + PI companionSimulation only; not clinical BCI
4848_fail_closed_galleryProduction SC-NIR/STDP refusal paths and valid controlsFour demonstrated guards only; not a full security audit

Priority C demo scripts (examples/)

IDFileHonesty boundary
DM-01examples/dm01_spike_raster_gif.pyLocal HH animation only
DM-02examples/dm02_sc_error_sweep.pySC decode error curve; not silicon energy
DM-03examples/dm03_mnist_verilog_path.mdPoints at existing mnist_fpga/demo.py
DM-04examples/dm04_synthesis_report_reader.pyParses committed reports only

Running Notebooks

Local

pip install sc-neurocore[dev]
pip install matplotlib jupyter
jupyter notebook notebooks/

Google Colab

Use quickstart_colab.ipynb — installs sc-neurocore automatically.

Prerequisites by Notebook

NotebooksExtra dependencies
01–16, 20, 25, 41–48matplotlib (visualisation)
44 (optional SHD plot)h5py when SHD H5 is present
45nir package
17matplotlib, numpy.linalg (SVD)
21–22None beyond sc-neurocore
23matplotlib
24tempfile (checkpoint I/O)
26time (benchmarking)
27None beyond sc-neurocore
28matplotlib
29None beyond sc-neurocore
30None beyond sc-neurocore
31None beyond sc-neurocore
32None beyond sc-neurocore
33None beyond sc-neurocore
34None beyond sc-neurocore
35None beyond sc-neurocore
36None beyond sc-neurocore
37None beyond sc-neurocore
38None beyond sc-neurocore
39pyyaml

Test Coverage

Every notebook topic has a corresponding test suite in tests/:

Notebook topicTest fileTests
Topology (09)test_topology_generators.py26
SC arithmetic (14)test_sc_convergence.py13
Fault tolerance (15)test_fault_injection.py14
Neuron atlas (16)test_neuron_families.py57
Learning rules (12)test_learning_advanced.py11
Quantisation (13)test_quantisation_pipeline.py12
Spike ALU (21)test_spike_alu.py27
IR types (22)test_ir_type_checker.pyexisting
Topology obs (23)test_topological_observables.py17
Identity (24)test_identity_lazarus.py20
Cortical col (25)test_cortical_column_dynamics.py13
Domain bridge (28)test_tensor_stream.py, test_quantum_hybrid.py24
Golden path evidence (29)test_notebooks/test_golden_path_notebook.py2
SHD Vertex deployable evidence (30)test_notebooks/test_shd_vertex_notebook.py2
BRF evidence (31)test_notebooks/test_brf_notebook.py2
Posner/IBM readiness evidence (32)test_notebooks/test_posner_ibm_readiness_notebook.py2
HIL/digital twin evidence (33)test_notebooks/test_hil_digital_twin_notebook.py2
Industrial readiness evidence (34)test_notebooks/test_industrial_readiness_notebook.py2
BCI closed-loop evidence (35)test_notebooks/test_bci_closed_loop_notebook.py2
Fault resilience evidence (36)test_notebooks/test_fault_resilience_notebook.py2
Neuro-symbolic self-verification evidence (37)test_notebooks/test_neuro_symbolic_self_verification_notebook.py2
Formal SNN verification standard evidence (38)test_notebooks/test_formal_snn_verification_standard_notebook.py2
Self-hosted hub evidence (39)test_notebooks/test_self_hosted_hub_notebook.py2
One model, five views (41)test_notebooks/test_one_model_five_views_notebook.py2
SC bit-flip sensitivity (42)test_notebooks/test_fault_tolerance_theatre_notebook.py2
Studio evidence-cart lab (43)test_notebooks/test_studio_evidence_cart_lab_notebook.py2
SHD real-spike walkthrough (44)test_notebooks/test_shd_real_spike_walkthrough_notebook.py2
NIR passport (45)test_notebooks/test_nir_passport_notebook.py2
Honest energy proxy (46)test_notebooks/test_energy_proxy_honest_notebook.py2
Closed-loop in silico (47)test_notebooks/test_closed_loop_in_silico_notebook.py2
Fail-closed gallery (48)test_notebooks/test_fail_closed_gallery_notebook.py2
SCPN (—)test_scpn_integrated.py17
CORDIV (14)test_cordiv_division.py10
Monitors (—)test_network_monitors_stimulus.py19

Total new tests: 340 passing on Python 3.12.