Skip to content

Share fusion and autodiff programs and make numeric domains explicit - #141

Merged
jph00 merged 47 commits into
mainfrom
pr/share-fusion-and-autodiff-programs-and-make
Nov 7, 2026
Merged

jph00 merged 47 commits into
mainfrom
pr/share-fusion-and-autodiff-programs-and-make

Conversation

@jph00

@jph00 jph00 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Replace the separate linear autodiff tape with typed Program steps shared by deferred execution, fusion and differentiated-function replay. Keep eager evaluation as the general path and use rustymath’s numerical formulas and kernel facts. Admit primitive-equivalent dfns to primitive fold and product machinery.

Make ᵣ the explicit unbounded integer/rational domain, retain machine-width integer arithmetic, and make integer division floor. Add the general real-float mark ₐ, minimum-width weak literals and weak symbolic infinities. Preserve complex storage and use real floats for differentiation. Invalid numeric reads use fill; invalid writes skip their positions.

Treat function-valued call and selection results as data. Provide direct regex matching and replacement with cached patterns, and give random draws independent counter-based streams. Align Python indexing and composition with BPL operations and update the language documentation and examples.

Expand local validation, case-and-mode accounting, worker isolation and profiling tools. Update build profiles and remove performance-budget testing from CI.

jph00 added 30 commits November 1, 2026 16:02
…r operands, ⍠ fill options, #⁻¹ expand primitive, under predicates
… wrap machine-integer overflow, and keep host iteration as ordinary calls
jph00 added 17 commits November 4, 2026 16:43
src/, cli/src and py/ now match 96ea793 (v0.1.82 plus #140). Tests, fixtures, tooling, docs and build configuration stay as at graph-parked.
All suites pass except 3 reference cases (core 3392, 3737, 9564) and the explain suite's dec∂ timeout; pytest and notebooks pass.
Reuse structured writes and folds, accumulate window gradients through shifted reads, and retain Boolean scan results. Build distributed artifacts with explicit ThinLTO and preserve WASM target features until Bindgen. Document the timing policy in DEV.md.
@jph00 jph00 added the enhancement New feature or request label Nov 7, 2026
@jph00
jph00 merged commit 04f6a79 into main Nov 7, 2026
@jph00
jph00 deleted the pr/share-fusion-and-autodiff-programs-and-make branch November 7, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant