Repository navigation
Conversation
|
Verification checkpoint (2026-11-16): queried GitHub Actions for head |
|
Focused safety correction on this existing draft PR: commits Limit: equal-pointer checks do not establish that partially overlapping pointer ranges are disjoint; the documented caller obligation still applies. Exact final-head language tests and the wider CI are pending; this is not yet claimed verified. Keep the PR draft until its independent API/DSL decision is resolved. |
…pping source changes
|
Verification / rebase blocker (17 Nov 2026): current |
|
Exact-head recheck, 2026-11-17: |
|
Current-main integration review (21 Nov, |
Goal
Start the missing Flow-only symbolic PDE engine for #1650 using a reversible experimental library builder rather than new compiler grammar. This is option 3 as an experiment under the still-open API/DSL decision in
docs/project/Questions.md, not an assertion of public API stability.Implementation
lib/stdlib/science/sofia_ir.flow: unit-aware ordered expression DAG for one scalar field; dimensioned constants; add/sub/multiply; centered first/second derivatives, and RHS unit verification.tests/lang/test_sofia_ir_diffusion.flow: compare Euler and RK4 to the exact semi-discrete Fourier eigenmode of the 1D Laplacian; mass-conservation checks; advection-diffusion equation composition.tests/lang/test_sofia_ir_boundary_units.flow: fixed boundary steady state; invalid dt/method/BC; reject dimensionally incorrect PDEs.examples/science/sofia/symbolic_diffusion.flow, scope documentation and generated library docs + coverage.Intended verification
Verification update (16 November 2026): the Flow Linux language-test job explicitly passed both new
test_sofia_ir_*.flowcases and 329/329 language tests (initial head7761ce1). The first native-tools run exposed 13 new LSP completion symbols; the expected and reviewed-diff transcripts were regenerated using the actual CI output at headd3af70d. On that rerun, the Flow language tests, Doc links, Doc examples, FLOW tier-2, Wiki, WASM demos, Tier 1 Linux/macOS, and native LSP tool-transcript step passed. Whole-CI MLIR parity and remaining native-tool jobs are still running. No full showcase-parity claim is made. Keep draft until all altered surfaces pass. This does not implement actual Sofia solver-IR parity, heterogeneous fields, tensor calculus, arbitrary boundary conditions, GPU lowering or any of the 3 full showcase reproductions (#1651 #1652 #1653). It is a controlled numerical/typing foundation for those tasks.Risks
The explicit recursion-based interpreter is for correctness/reference and not production speed. Syntax/semantic/field-owner decisions remain open. Unit exponents are symbolic integers with no unit conversion. Buffer aliasing beyond a few source/output guards is a caller precondition.