bendtorch@1.2.0.0 checks
0xea477ac4399d6f3f46b9d25d99c1900c
The entry to publish: `bend package.bend --publish <name>@<version>` sends this file and everything it imports, so
bendtorch@1.2.0.0 by nuxyel
Other versions (8)
- bendtorch@2.1.0.0 2026-11-12 latest
- bendtorch@2.0.2.0 2026-11-07
- bendtorch@2.0.0.0 2026-11-03
- bendtorch@1.3.0.0 2026-11-01
- bendtorch@1.1.1.0 2026-10-25
- bendtorch@1.1.0.0 2026-10-25
- bendtorch@1.0.1.0 2026-10-23
- bendtorch@1.0.0.0 2026-10-22
- Published
- 2026-10-27
- Size
- 326,166 bytes, 8 files
- License
- MIT (LICENSE)
- Declarations
- 23 laws (23 proved), 841 defs, 102 types
Import
import bendtorch@1.2.0.0/LAWS.bend as LAWS import 0xea477ac4399d6f3f46b9d25d99c1900c/LAWS.bend as LAWS import bendtorch@1.2.0.0/PROOF.bend as PROOF import 0xea477ac4399d6f3f46b9d25d99c1900c/PROOF.bend as PROOF import bendtorch@1.2.0.0/dtype.bend as Dtype import 0xea477ac4399d6f3f46b9d25d99c1900c/dtype.bend as Dtype import bendtorch@1.2.0.0/main.bend as Main import 0xea477ac4399d6f3f46b9d25d99c1900c/main.bend as Main import bendtorch@1.2.0.0/package.bend as Package import 0xea477ac4399d6f3f46b9d25d99c1900c/package.bend as Package import bendtorch@1.2.0.0/spec.bend as Spec import 0xea477ac4399d6f3f46b9d25d99c1900c/spec.bend as Spec import bendtorch@1.2.0.0/tensor.bend as Tensor import 0xea477ac4399d6f3f46b9d25d99c1900c/tensor.bend as Tensor
Modules
- LAWS.bend 23 declarations, 23 laws — BendTorch's laws. Each is a claim about every input, not a test case; PROOF.bend proves them, and
- PROOF.bend 90 declarations — The proofs of LAWS.bend. Every proof is plain Bend: no @unsafe, no ?TODO, no axioms. The arithmetic lemmas come
- dtype.bend 127 declarations — BendTorch's dtypes (plan M11): BF16 and F16 stored two per U32, int8 with a scale per row stored four per U32, a
- main.bend 681 declarations — BendTorch: layers with typed forward and backward passes, composed generically, trained in Bend 2.
- package.bend 0 declarations — The entry to publish: `bend package.bend --publish <name>@<version>` sends this file and everything it imports, so
- spec.bend 31 declarations — The mathematical model the laws speak about: vectors and matrices as lists of Nat, a matrix as its list of rows.
- tensor.bend 133 declarations — BendTorch tensors: Tensor<s>, an n-dimensional F32 array whose shape s (a list of sizes) is in its type.
Other files
- LICENSE 1,102 bytes
Dependencies
- bend-ml-nat-lemmas@0.1.2.0 via
PROOF.bend: import bend-ml-nat-lemmas@0.1.2.0/main.bend as NL - bend-ml-tensor-array@0.1.14.0 via
PROOF.bend: import bend-ml-tensor-array@0.1.14.0/main.bend as TA
Dependents
- bendtorch-load@1.2.0.0 via
main.bend: import bendtorch@1.2.0.0/main.bend as T - bendtorch-gpu@1.2.0.0 via
main.bend: import bendtorch@1.2.0.0/main.bend as T - bendtorch-fast@1.2.0.0 via
main.bend: import bendtorch@1.2.0.0/main.bend as T
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 23 TODOs found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 23 TODOs found. The code is incomplete, and not a valid proof yet. | 1.2 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 1.8 s |
| dtype.bend | checks | ALL PROOFS CHECK | 1.7 s |
| main.bend | checks | ALL PROOFS CHECK | 1.1 s |
| package.bend | checks | ALL PROOFS CHECK | 1.8 s |
| spec.bend | checks | ALL PROOFS CHECK | 1.2 s |
| tensor.bend | checks | ALL PROOFS CHECK | 0.8 s |