Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/859427b61d2c04d7 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [SI REUSE R2] Incrementally update guarded methods with exact dependency invalidation Open · #743 · open 2026-10-25 13:58 UTC Imported from GitHub aien-dev/omega-mv#743, by drakestapleton drakestapleton wrote on 2026-10-25 13:58 UTC ## Outcome / dependencies Depends on #742 artifact contract; extend existing #665 compilation and #657 dependency analysis, not another graph engine. Reuse canonical World/J-Space/Cortex and generation semantics. PROPOSED / NOT_RUN. ## Acceptance - Define bounded change algebra and typed delta operator for supported pure .om graphs: applyDelta(f(x), df(x,dx)) = f(applyDelta(x,dx)) under explicit guards. Specify exact integers first; FP mode/error budget separately. - Track dependencies by stable identity and generation, including shape, aliases, control dependencies, model version and numeric profile. Recompute affected closure only; unchanged nodes remain reusable. Missing tracking or unsupported effects/cycles falls back explicitly; never assume DAG where recursion exists. - Keep update transactional: bind reads/guard to a consistent snapshot, atomically publish the new generation, detect concurrent invalidation and prevent mixed-version outputs. Interrupted updates preserve a valid prior generation. - Independently compare full recomputation to deltas after insert/delete/change/reorder, batch and repeated changes. Test alias changes, branch flips, stale and revoked inputs, restart, overflow, partial writes, cancellation and adversarial all-node changes. - Measure tracking, guard, invalidation and recomputation overhead separately; zero-change, sparse-change and dense-change cases. Bound graph memory/code growth; select full recomputation when incremental work costs more. ## Research motivation Incremental Computation for Efficient Programmable Inference in Probabilistic Programs (2026), https://doi.org/10.1145/`3808316` , motivates separate compilation and incrementalization correctness obligations. It does not prove Omega correctness or arbitrary LLM acceleration. ## Shared delivery contract User approved this bounded experiment on 2026-10-25. Parent research owners: https://github.com/aien-dev/omega-mv/issues/584 and https://github.com/aien-dev/omega-mv/issues/652 ; SI parent https://github.com/aien-dev/aien-architecture-mv/issues/307 . This is NOT another master plan and does not change release sequencing. Before edits read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, doctrine architecture/roadmap, applicable ADRs, repository AGENTS.md/.crumb, active PRs and ownership claims. Reuse canonical compiler/IR, Cortex single writer, World/J-Space, FORGE and independent verifier/promotion authority. All delivered first-party logic/tests/automation use seeded handwritten .om; no second compiler, store, trainer or retained foreign fallback. Route missing facilities to existing owners. Preserve live 27B/35B service and device state; physical measurements use existing reserved windows. Isolated reviewable PRs, exact source/compiler/artifact/fixture hashes, raw results and independent final-source review required. Distinguish source/host/simulator/physical PASS, FAIL, INCONCLUSIVE, BLOCKED and NOT_RUN. Do not auto-close on source-only completion. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:20 UTC Recovered GitHub comment by @aien-spark on 2026-10-25T15:02:12Z. Original comment `6399236786` REUSE-1 plan, file ownership and frozen contract (omega-mv `d6edaad1`, `docs/reuse/REUSE-1.md`): https://github.com/aien-dev/omega-mv/issues/742#issuecomment-`6399236443` This issue's slice: `om/reuse/delta.om` (lane CandDelta) plus library generations in `om/reuse/lib.om` (lane CandLib); contract sections 3.4 and 4; controls C4 and C8; comparison delta vs method and idelta vs full per change regime. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:20 UTC Recovered GitHub comment by @aien-spark on 2026-10-25T16:28:47Z. Original comment `6400175581` ## REUSE-1 FINAL evidence for #743 Draft PRs: aien-dev/omega-mv#749 (candidate; frozen at `6ad09bff`, result commit `9862a862`) and aien-dev/spark-rsi-mv#74 (evaluator `4345eda9`; FINAL evidence `84900162`, `evidence/REUSE-73/final/`). Contract `d6edaad1` `docs/reuse/REUSE-1.md`; clarifications K1..K17. K1..K8 are in the freeze; K9..K17 were written into the clarifications file after FINAL to record decisions already in the frozen code (judge.om, lib.om, router.om, select.om, delta.om notes); no rule changed. K10 corrected: NOG3 variants ran for C1 and C1b only. Results: - Incremental execution without a library lowers lifecycle cost: rho(idelta) = 0.751 (95 % interval 0.650 to 0.867). Payback is immediate (0 queries). Answers are exact: 0 wrong across all invalidation paths. - With the learned library (primary arm): rho(delta) = 1.164 (1.040 to 1.307). - delta/method = 0.955 (0.854 to 1.079): inconclusive. - delta/idelta = 1.551 (1.406 to 1.737): the library makes incremental execution slower. - Generation round trips are 139 ms above idelta's for the same algebra. The excess is concentrated at n = 64: request-only rho is 1.585 for delta against 1.094 for idelta. [INFERENCE] Binary size and method-state maintenance; not profiled. - Regimes (request-only delta/method, idelta/full): Type delta/method idelta/full Z 0.78 0.37 S 0.86 0.71 R 0.77 0.55 I 0.81 0.55 A 1.04 0.83 P 0.95 0.78 C 0.67 0.55 D (dense) 2.43 2.41 The dense regime is a loss. - Atomic generations: PASS. - C8: a crash after each of publish steps 1..9 leaves CURRENT, the manifest and the ELF self-consistent. - C11: restart identity holds. - C4: a wrong delta unit is detected by wrong answers. - Memory: delta peak high-water mark is 832 kB, against 232 kB for full. Verdicts: source PASS after independent review; host (Spark CPU) correctness and controls PASS, lifecycle cost STOP; simulator NOT_RUN; physical GB10 NOT_RUN; energy NOT_MEASURED. Independence UNISOLATED (one operator account), receipt UNSIGNED (#67 signer is Rust). This issue stays open: source exists, acceptance is not met. Sign in to comment