Repository navigation
toolchain: move the pinned compiler to bend 2.0.38 - #26
Merged
Merged
Conversation
Pin the v2.0.38 archives and source files at 0a57ca0d. Base 2.0.38 defines String.order directly (PLAN F39) and short-circuits List.all/any/find/contains through List.*.if thunks, with List.find.put removed. - string.bend: internal_order_cmp gets the bridge proof from research/candidates/base-next-bridges.bend. - list.bend: the cons bridges are proved by cases on the head's test (internal_all_if, internal_any_if, internal_find_if; internal_find_put stands in for the removed List.find.put), and the proofs that still unfolded List.all/any/contains go through them. No law statement or public def changes. - Goldens regenerated: only the version field changes. Full gate green on 2.0.38: 11/11 modules, lawcheck, lint, twins, lock (789/789, 0 failed against bend-mathlib-v0.7.3.0), index. bun test tools/ passes except the docs e2e statuses on macOS, where the checker's ulimit -v is unsupported (unrelated to this change; CI is Linux).
sorted_cons_cons_elim_le/tail called internal_all_cons_test with a variable pair head, which --verdict reports as a TypeScript/BendTT mismatch. internal_sorted_cons_test states the step with the head written as (x, y), like internal_sorted_cons_true/false. 2.0.38 takes a ~ constant's model from a concrete call of its law (bendlang/bend#1580), so algebra, order, sort and all now pass --verdict too: the verdict job checks every module with it and the kernel-only fallback for them goes. README, SKILL and PLAN F38 follow.
MuhDur
added a commit
that referenced
this pull request
Oct 21, 2026
…nd 2.0.38, every module passes --verdict Bend 2.0.38 changed Base (List.all/any/find/contains short-circuit through a thunk, String.order defined directly), so 0.7.3.0 no longer checks on it; PR #26 from @nohzafk re-proved the internal bridges, with no statement changes. 2.0.38 also includes bendlang/bend#1580, so algebra, order, sort and all pass `bend --verdict` like the other modules: a --verdict project can import any of them (issue #25). release.ts now requires a clean --verdict on every module. Verified from an empty BEND_LIB: importing 0.7.4.0's nat, sort and all prints ALL PROOFS CHECK under --check-only and --verdict; the README and SKILL examples check against the hub package. Closes bend-3ev Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NJjQ47v3mvnKmc8XojZitg
Contributor
|
Thanks @nohzafk, a clean port. It shipped as bend-mathlib 0.7.4.0 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bend 2.0.38 (released 2026-10-20) breaks bend-mathlib 0.7.3.0 in two places (PLAN F39):
internal_order_cmpnow uses the bridge proof already prepared inresearch/candidates/base-next-bridges.bend.List.all.if(u => List.all(t), f(h)),List.any.if,List.find.if), andList.find.putis removed. The four cons bridges in list.bend are now proved by cases on the head's test;internal_find_putreplaces the removed Base helper; the proofs that still unfolded these functions directly (all_append,any_append,contains_append,mem_cons_self,mem_cons_of_mem,sorted_cons_cons_elim_*, and someinternal_helpers) go through the bridges.No law statement or public def signature changes (
lock.ts --check --against bend-mathlib-v0.7.3.0: 0 failed).--verdict (second commit): every module passes
bend --verdicton 2.0.38.sorted_cons_cons_elim_le/tailnow go throughinternal_sorted_cons_test(head written as(x, y)), sinceinternal_all_cons_testat a variable pair head is a TypeScript/BendTT mismatch under--verdict. 2.0.38 includes bendlang/bend#1580, soalgebra,order,sortandallpass--verdictas well: the verdict job now checks every module with it and drops the kernel-only fallback; README, SKILL and PLAN F38 say so.Gate on bend 2.0.38 (macOS arm64):
check.ts packages/bend-mathlib: 11/11 green;bendlib-kernel-list: 1/1--verdict: ALL PROOFS CHECK on all 11 modules and the kernel packagebun test tools/: all pass except the 3 docs e2e status assertions, which fail on macOS only because the checker'sulimit -vis unsupported there (independent of this change; CI runs Linux)Not done here: re-running the F-fact replay (
research/experiments/run.sh) and the SKILL's worked proof on 2.0.38, so AGENTS.md line 43 and SKILL.md still say 2.0.37. A bend-mathlib release on 2.0.38 would let downstream packages (e.g. bend-schema) move to 2.0.38.