Skip to content

Add BindingSpace signed delta join law - #91

Closed
MesTTo wants to merge 26 commits into
trueagi-io:mainfrom
MesTTo:pr/mork-binding-delta-join-law
Closed

Add BindingSpace signed delta join law#91
MesTTo wants to merge 26 commits into
trueagi-io:mainfrom
MesTTo:pr/mork-binding-delta-join-law

Conversation

@MesTTo

@MesTTo MesTTo commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Stack dependency: review after #90. This branch is based on the trie-trace stack head, so GitHub may include prerequisite commits until that stack merges. The intended review increment is commit 8a754e7.

Adds a signed delta-join operation for BindingRelation and checks it against full recomputation with both insertions and deletions.

The implementation follows the differential join identity while preserving MORK's signed row weights. The regression verifies that applying relation deltas produces the same result as rebuilding and joining the updated inputs.

Validation:

  • RUSTFLAGS='-C target-cpu=native' cargo +nightly-2026-06-01 test -p mork --lib binding_space
  • RUSTFLAGS='-C target-cpu=native' cargo +nightly-2026-06-01 test -p mork --lib (54 passed)
  • jscpd --reporters ai --format rust kernel/src/binding_space.rs
  • git diff --check

rustfmt --check reports an existing formatting difference in an unchanged trace test inherited from the prerequisite branch. This PR does not reformat that unrelated code.

@MesTTo

MesTTo commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Closing: signed-delta incremental view maintenance is deprioritized (not sink/source-compatible and expressible directly in MM2), and this lives in the un-wired binding_space island. Parking it.

@MesTTo MesTTo closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant