Skip to content

perf: elide proven span loop bounds checks - #1181

Merged
godofecht merged 2 commits into
mainfrom
codex/615-span-bounds
Oct 2, 2026
Merged

godofecht merged 2 commits into
mainfrom
codex/615-span-bounds

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Adds a narrow bounds proof for ascending loops of the form for i in 0 to xs.len. Reads of xs[i] in that loop body emit direct span data access while other span indexing keeps the existing runtime checks.\n\nLocal verification: focused C golden, runtime checks, FIR gate, bootstrap fixed point, and three-generation self-host gate.\n\nCloses #615

@godofecht
godofecht merged commit 74b7528 into main Oct 2, 2026
37 checks passed
@godofecht
godofecht deleted the codex/615-span-bounds branch October 12, 2026 23:02
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