Repository navigation
Prism model: ncm's plasticity as the neuromorphic standard; Pages closure v2 - #129
Merged
Merged
Conversation
…sure v2 Uorc.Neuromorphic (src/Uorc/Neuromorphic.lex.tex) states the plasticity of every learning part of the ncm coder as the Prism neuromorphic standard, in the codec's own integer (offset) form, with kernel-checked bounds: - hebbianBoundsHold: every mixer weight stays within +-2^22 under the bounded Hebbian rule; potentiation never lowers and depression never raises a weight. - plasticityBoundsHold: the plasticity 24 + 104*4096/(4096+pos) lies in [24, 128] per 65536 (closed vectors 128, 76, 25, 24 by decide). - laneFitHolds: |x * err * plasticity| <= 1,073,217,536 < 2^31, so the SIMD kernels' 32-bit lanes cannot overflow, and one bit changes a weight by at most 16,376. - slot plasticity: rates 131072/(2n+3) lie in [510, 43690], a slot never steps past its gap to the coded bit, and consolidates at count 127. - refinementBoundsHold: probability-map points stay within 16 bits. The products are proved through `scale`, the product by its recursion (scaleIsMultiply bridges it to `*`), with each bound carried in one induction, since omega has no nonlinear arithmetic. The native coder reads the model's constants from ncm::standard (byte identical output); tests/neuromorphic.rs holds them equal to the model's and the theorem inventory complete. Registered as UC-NEU-01 (kernel_theorem). The Pages site becomes a Prism browser closure v2 (PrismPM SPEC 1.2.1): index.html, app.css, app.js, uorc.js, uorc_bg.wasm, provenance.json and the ten Hologram brand files (fonts, licences, icons, manifest.webmanifest), flat and same-origin, installable, with no remote load. The brand files are vendored byte-identical to PrismPM's (vendor/hologram-brand). scripts/site.mjs assembles and checks the closure (provenance.json names every file's SHA-256); release.yml uses it and `just test` runs its tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3MmVJi8mhN3UZ6rgwH
…-5h3yzm # Conflicts: # .github/workflows/release.yml # scripts/ci-receipt.sh
afflom
pushed a commit
that referenced
this pull request
Nov 10, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3N6Mcveqrwnu6XBiYk
afflom
pushed a commit
that referenced
this pull request
Nov 10, 2026
Keeps #129's formal exclusions (vendor/hologram-brand/, scripts/site.) and excludes scripts/site. from the scripts set too: only the rest legs run site.test.mjs, and they read the whole tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3LdDSxZc5dyuEbM7w7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Alex · project thread
v0.4 lane 4.
The model:
Uorc.Neuromorphicsrc/Uorc/Neuromorphic.lex.texstates the plasticity of every learning part of the ncm coder as the Prism neuromorphic standard (after verdant-resonanceFoundation/Neuromorphic/V1). It uses the codec's own integer (offset) form, and its bounds are kernel-checked. All 14 theorems passlexlean verifylocally with LexLean 0.4.0 and Lean 4.32.1.hebbianBoundsHoldpotentiationNeverLowersHolds,depressionNeverRaisesHoldsplasticityBoundsHold,plasticityAt*24 + 104·4096/(4096+pos)lies in [24, 128] per 65536. Closed vectors: 128, 76, 25, 24.laneFitHoldsx·err·plasticity≤ 1,073,217,536, which is below 2^31, so the AVX2/NEON 32-bit lanes cannot overflow. One bit changes a weight by at most 16,376.slotRatesBoundedHolds,slotRateAtConsolidation,slotCountBoundHolds,slotStepWithinGapHoldsrefinementBoundsHoldOmega has no nonlinear arithmetic, so the products are proved through
scale, the product defined by its recursion.scaleIsMultiplybridgesscaleto*, and each bound is carried in a single induction. For plasticity, the bound is proved over the quotient's defining inequality, because Nat division by a variable does not unfold in the kernel.The model is registered as UC-NEU-01 (
kernel_theorem), with its projections regenerated.The native coder
The native coder now reads its constants from
ncm::standard. Its output stays byte-identical, and the ncm round-trip and kernel-agreement tests pass.crates/uorc/tests/neuromorphic.rschecks that every native constant equals the model's and that the model's theorem inventory is complete.The module is separate from the codec modules. The basis identity and the export are unchanged, so lanes 1 to 3 can change the coder independently. When their coder changes land, the constants test will flag any drift.
Pages: browser closure v2
This follows PrismPM SPEC §1.2.1.
index.html,app.css,app.js,uorc.js,uorc_bg.wasmandprovenance.json, plus the ten Hologram brand files. Those are the Geist, Geist Mono and Archivo fonts, the OFL licences,icon.svg,icon-512.pngandmanifest.webmanifest. All files are flat and same-origin, the page is installable, and nothing loads from a remote origin.vendor/hologram-brand) and checked against theirMANIFEST.sha256.scripts/site.mjsbuilds and checks the closure.provenance.json(uorc/browser-provenance/2) names the SHA-256 of every other file, and the release version moved there fromversion.txt.release.ymlassembles the site with the script, and the release wasm bundle keeps itsuorc.wasmname.just testrunsscripts/site.test.mjs, which covers the exact file set, the digests, remote loads and the manifest bytes.factory/graph.jsonexcludesvendor/hologram-brand/andscripts/site., so changes to the brand files or the site script do not rerun the formal legs.Local checks
lexlean check --all: 341 modules.lexlean verifyof the new module: passes.lexlean lock --check: passes.cargo clippy -p uorc --all-targets -D warnings: clean.cargo test -p uorc(ncm and neuromorphic tests): passes.repo-conformancebdd: passes.node --test scripts/site.test.mjsandfactory.test.mjs: pass.xtask validate: passes up to the SDK-only bootstrap audit.CI on
ce21a83(merged with main after #128): all checks pass.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_013Asa3MmVJi8mhN3UZ6rgwH