Skip to content

build: bend 2.0.28, no numeric name segments in PROOF.bend - #65

Merged
noah-emp merged 3 commits into
mainfrom
build/bend-2.0.28
Sep 25, 2026
Merged

noah-emp merged 3 commits into
mainfrom
build/bend-2.0.28

Conversation

@noah-emp

Copy link
Copy Markdown
Collaborator

Moves ezjson to bend 2.0.28.

bend 2.0.28 refuses a declared name whose segment starts with a digit. PROOF.bend had 54 numbered helper lemmas (each a law and its def), so the proof gate no longer checked. They take a c before the number:

  • cl_<x>_<yy>.s.N -> cl_<x>_<yy>.s.cN for cl_c_oo (1-6), cl_c_wo (1-2), cl_c_ww (1-2), cl_o_oo (1-4), cl_o_ww (1-2), cl_q_io (1-8), cl_q_iw (1-2), cl_q_oi (1-8), cl_q_wi (1-2), cl_s_oo (1-2), cl_w_ow (1-4), cl_w_ww (1-2)
  • cpo.N -> cpo.cN (1-8)
  • cpw.t.N -> cpw.t.cN (1-2)

The package walk (main.bend, src/) and LAWS.bend are unchanged, so this is build: + test: and cuts no release. No effect files. PROOF.bend: All terms check. with no unsafe listing. README: all 3 hub snippets check under 2.0.28 in an empty HOME (none has a main to run).

CI is expected red until ez and bolt build on 2.0.28

nix flake check builds ez v1.2.0 and bolt v1.8.0 with the flake's bend, and neither builds on 2.0.28 yet:\n- ez v1.2.0: duplicate declaration: Window (a hub dependency, the sha256 message-schedule type Window, redeclares a Base name)\n- bolt v1.8.0: duplicate declaration: Set in bolt's src/config.bend\n\nSo the proofs and lint checks and the devshell fail here until those are re-released. Verified locally instead: bend 2.0.28 --check-only over every tracked .bend file, ez prove (ez 1.2.0 driving bend 2.0.28), ez test (0/0, same as main), and bolt v1.8.0 (built on 2.0.27) over this tree (same result as main).\n

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vp3SCG5bcKMF4fUytZTwPj

ngngardner and others added 3 commits September 25, 2026 16:03
`nix flake update bend` moves the bend input to bendlang/bend main
(11c65a2), which is bend 2.0.28. The ez input stays at v1.2.0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vp3SCG5bcKMF4fUytZTwPj
bend 2.0.28 refuses a declared name with a segment that starts with a
digit ("expected a name (words joined by dots)"), so PROOF.bend no longer
checked. Its 54 numbered helper lemmas (each a law and its def, in
PROOF.bend only) take a `c` before the number:

- cl_<x>_<yy>.s.N -> cl_<x>_<yy>.s.cN, for cl_c_oo (1-6), cl_c_wo (1-2),
  cl_c_ww (1-2), cl_o_oo (1-4), cl_o_ww (1-2), cl_q_io (1-8),
  cl_q_iw (1-2), cl_q_oi (1-8), cl_q_wi (1-2), cl_s_oo (1-2),
  cl_w_ow (1-4), cl_w_ww (1-2)
- cpo.N -> cpo.cN (1-8)
- cpw.t.N -> cpw.t.cN (1-2)

The package walk (main.bend, src/) and LAWS.bend are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vp3SCG5bcKMF4fUytZTwPj
ez 1.2.0 does not build on bend 2.0.28 (its sha256 dependency declares
`type Window`, now a Base name), so the ez input no longer follows this
flake's bend: ez, `ez prove` and bolt (packages.bolt and mkLint) use the
bend ez 1.2.0 locks, and the package's own builds use 2.0.28.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vp3SCG5bcKMF4fUytZTwPj
@noah-emp
noah-emp merged commit b1cd192 into main Sep 25, 2026
1 check passed
@noah-emp
noah-emp deleted the build/bend-2.0.28 branch September 25, 2026 20:20
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.

2 participants