Repository navigation
#127 slice 2: κ-label composition (KA-04), the five categorical operations on the sha256 axis - #369
Merged
Merged
Conversation
The row for the five categorical compositions of uor-addr on the sha256 axis (E-series composition of #127), written in spec/src and the register, CONFORMANCE.md and SPEC.md regenerated; KA-01 now counts the module Compose and its five roots. The case holds composeG2, composeF4, composeE6, composeE7 and composeE8 to uor_addr::composition::compose_* on a seeded corpus under the evaluator and rustc. It fails: the module is not committed. Part of #127 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3QZQru5a9Beo3r4Rfa
…ha256 axis (#127, KA-04) composeG2, composeF4, composeE6, composeE7 and composeE8 are production roots (rust-std; allocation, overflow) that write the canonical form of each operation of uor-addr's composition module and take its label with kappaLabel, refusing an operand isLabel does not accept. The project is relocked and re-verified under the pinned Lean with exact axiom policies; its build oracles and verification records are rewritten for the kappa project only. VERIFICATION.md records the plants as observed. Part of #127 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3QZQru5a9Beo3r4Rfa
afflom
marked this pull request as ready for review
November 1, 2026 10:04
afflom
pushed a commit
that referenced
this pull request
Nov 1, 2026
…low-bound The register is 482 with KA-04; this branch's rows stay PD-09, SP-31 and RB-23. The kappa project's lock and verification records are regenerated under this branch's language-1.2 identity (kappa alone; nothing else the merge brought touches the identity). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3QZQru5a9Beo3r4Rfa
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
Part of #127. Slice 2 after #368 (slice 1: KA-01..KA-03).
Scope of this slice
The remainder of #127 is: GGUF and ONNX model forms, the four other hash axes (blake3, sha3-256, keccak256, sha512), and E-series composition. Those do not fit one reviewable PR (the four axes need new 64-bit/Keccak/BLAKE3 primitives in LexLean, GGUF and ONNX are ~1.6 kLoC of parsers in the oracle). This PR does the coherent subset that rests on what slice 1 already has: the five categorical compositions of uor-addr on the sha256 axis.
Added
New module
kappa/src/Compose.lex.tex(module prefixLexLeanKappa, samekappaproject; nolanguage/orschemas/file touched, so no compiler-semantics identity moves). Five production roots (rust-std, effectsallocation,overflow), each thekappaLabelof the canonical form of uor-addr's operation,Nonefor an operandisLabeldoes not accept:composeG2 a bcompose_g2_productcomposeF4 xsha256:+ min(digest, nibble-wise complement)compose_f4_quotientcomposeE6 x05,06when first digest byte mod 9 = 8) + labelcompose_e6_filtrationcomposeE7 xsha256:+ the four digest quarters sorted ascending (= lex-min of the 24 S4 orders)compose_e7_augmentationcomposeE8 xcompose_e8_embeddingRegister (R3, one commit each for the rows and the implementation):
KA-04(build, suitekappa-addressing);KA-01is widened from two modules to three and now lists the five new roots. Register 478 -> 479; README rowKA-01..KA-04, "All 479 registered conformance IDs".spec/srcedited, SPEC.md / CONFORMANCE.md / model/ids.toml regenerated bycargo xtask validate-model --write.KA-04holds each root touor_addr::composition::compose_*(uor-addr 0.2.0, already the oracle) on a seeded corpus (290 runs for G2 in both operand orders and self-pairs, 101 for the others): extremes, the degree-6 class of E6, a digest and its mirror, quarters in all 24 orders, plus refused operands (other axes, prefix case, short/long digest, upper case, non-hex, trailing newline, non-ASCII byte). It runs under the calculus evaluator and under rustc (rust-stdpackage), reads the commutativity and mirror laws, and plants four defects (G2 order, F4 complement, E6 degree class, E7 quarter order) that the differential must detect: 88/290, 34/101, 11/101 and 81/101 runs disagree. The first run showed the oracle's composed label is exactly SHA-256 of that canonical form.kappa/expected/is regenerated for the kappa project only (29 build oracles, 164 verification records);kappa/lexlean.lockrelocked.uor-atlaswas not touched or run.Left for #127 (not in this PR)
.kappa-labelfixtures, still only checked for label form viaisLabel)Evidence (this host, Linux, Rust 1.97.1, Lean 4.32.1)
lexlean verifyofkappa: accepted, exact axiom policies per definitioncargo fmt --check,clippy --workspace --all-targets --all-features -D warnings,validate-model(479 ids),validate-spec-links(479 rows),check-golden: passconformance_ka_01..ka_04(525 s together, run singly),cargo test -p repo-conformance --test bdd,conformance_rp_*(18),conformance_pk_05: passjust vvwhole,check-fixtures,check-reproducibility,cargo deny,conformance_ex_*, uor-atlas examples🤖 Generated with Claude Code
https://claude.ai/code/session_013Asa3QZQru5a9Beo3r4Rfa