ALab

Get aterm

ALab / ny

Know what your neural network cannot do.

ny checks the whole input region on your machines. Counterexamples are re-run, and eligible networks can emit exact-rational certificates clean replays.

github.com/alabsystems/ny · ALab Academic Use License · Rust core, Lean proofs · signed packages

49 of 49
unique VNN-COMP 2025 sat_relu UNSAT instances kernel-checked in LeanALab's own measurement, 2026-10-08
5 of 5
planted verdict-admission bugs caught by ty; bug-free TLA+ model exhaustively checked (8,784 states)ALab's own measurement, 2026-07-26
2,505
VNN-COMP 2025 instances decided locally in budget (SAT assumed valid, UNSAT not independently proved)ALab's own measurement, 2026-09-14
measuring
ny against α,β-CROWN wall time on VNN-COMP 2025 Regular instances both decide

Get ny

macOS, Apple silicon

aterm pkg install ny

Installed from the releases page by aterm’s package manager. Get aterm first. ↗

Linux, Windows, Intel Macs. No current build. The signed ny package is built for Apple-silicon macOS only. ↗

How you use it

Run ny beta-crown MODEL -p PROP, or try ny tutorial demo. It prints Status: VERIFIED, Status: VIOLATED with a breaking input, or why it returned unknown. Exit codes drive CI: 0 verified, 1 falsified, 2 unknown, 3 timeout, 4 error.

Works today

  • Checks ONNX and NNet models against VNN-LIB 1.0 and part of 2.0; inspects PyTorch, SafeTensors, CoreML, GGUF.
  • Runs IBP, CROWN, α-CROWN, β-CROWN and PGD natively; exact MIP and SMT steps run on ay.
  • ny quantize-check checks float16/int8 safety, ny diff finds divergence when porting, ny lipschitz computes global Lipschitz bounds.
  • --backend wgpu runs proof work on the GPU only after it passes qualification, else on the CPU.

Not yet

  • Outside certificates, the floating-point verifier had a reachable false proof in softmax IBP, since found and fixed.
  • Certificates are best effort and cover only sequential, fully connected ReLU networks up to 8,192 hidden neurons.
  • No general Whisper or decoder-transformer verification: ny inspects them and fails closed on verification requests.

not proved: ny’s releases are built with trust’s verification off, so they make no compiler-proof claim. ↗

Against the competitions

  • VNN-COMP 2025Regular (16 categories)

    1,474.0 vs α,β-CROWN’s 1,600 (small tolerance); 0 wrong; SAT assumed valid, UNSAT not independently proved.

    ALab’s own replay, not an entry: official budgets, local machine, several builds, scored by ny 2026-09-14. ↗

  • VNN-COMP 2025Extended (9 categories)

    491.0 (0 on ViT, YOLO); 0 wrong, 1 disputed (SAT assumed valid, UNSAT not independently proved).

    ALab’s own replay, not an entry: official budgets, local machine, several builds, scored by ny 2026-09-14. ↗

Beside it: nn

  • nn

    Rust machine-learning framework: nn convert compiles PyTorch exports into Metal-ready models.

    not proved: Verification coverage is partial and not yet end-to-end proof-powered.

Follow the work