This repository is the official Agda library for interacting with the VNN-LIB standard. It includes:
ONNX.Syntax: abstract interface for the syntax of ONNXONNX.Semantics: abstract interface for the semantics of ONNXONNX.Parser: very minimal abstract interface for parsing ONNX constantsVNNLIB.Syntax- intrinsically-typed syntax for VNNLIB queriesVNNLIB.Parser- ability to parse/type-check a string into VNNLIB queries.VNNLIB.Semantics- semantics for VNNLIB queriesVNNLIB.Theories- orthogonal subsets of the query syntaxVNNLIB.Logics- overall subsets of the query syntaxVNNLIB.Solver- an interface for solvers of VNNLIB queries
-
Does not yet cover:
- Network equivalence statements
- Logics and theories
| VNNLIB-Agda version | VNNLIB version |
|---|---|
| v1.0 | v2.0 |
- Agda Standard Library v2.3
- BNFC Parser v2.9.5
Later versions of these tools may work but are not tested.
Agda does not yet have a good story for distributing libraries. Please follow the instructions for building from source in CONTRIBUTING.md.