Skip to main content

A high-level functional language for writing mathematically-precise specifications for neural networks.

Project description

PyPI GitHub tag (latest by date) GitHub Workflow Status readthedocs status pre-commit.ci status

Vehicle

Vehicle is a system for embedding logical specifications into neural networks. At its heart is the Vehicle specification language, a high-level, functional language for writing mathematically-precise specifications for your networks. For example, the following simple specification says that a network's output should be monotonically increasing with respect to its third input.

Example specification

These specifications can then automatically be compiled down to loss functions to be used when training your network. After training, the same specification can be compiled down to low-level neural network verifiers such as Marabou which either prove that the specification holds or produce a counter-example. Such a proof is far better than simply testing, as you can prove that the specification holds for all inputs. Verified specifications can also be exported to interactive theorem provers (ITPs) such as Agda. This in turn allows for the formal verification of larger software systems that use neural networks as subcomponents. The generated ITP code is tightly linked to the actual deployed network, so changes to the network will result in errors when checking the larger proof.

Documentation

Examples

Each of the following examples comes with an explanatory README file:

  • ACAS Xu - The complete specification of the ACAS Xu collision avoidance system from the Reluplex paper in a single file.

  • Car controller - A neural network controller that is formally proven to always keep a simple model of a car on the road in the face of noisy sensor data and an unpredictable cross-wind.

  • MNIST robustness - A classifier for the MNIST dataset that is proven to be robust around the images in the dataset.

In addition to the above, further examples of specifications can be found in the test suite and the corresponding output of the Vehicle compiler can be found here.

Support

If you are interested in adding support for a particular format/verifier/ITP then open an issue on the Issue Tracker to discuss it with us.

Neural network formats

Dataset formats

Verifier backends

Interactive Theorem Prover backends

Related papers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vehicle_lang-0.26.1-cp313-cp313-win_amd64.whl (13.8 MB view details)

Uploaded CPython 3.13Windows x86-64

vehicle_lang-0.26.1-cp313-cp313-musllinux_1_1_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.13musllinux: musl 1.1+ x86-64

vehicle_lang-0.26.1-cp313-cp313-manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

vehicle_lang-0.26.1-cp313-cp313-macosx_11_0_arm64.whl (18.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

vehicle_lang-0.26.1-cp313-cp313-macosx_10_13_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

vehicle_lang-0.26.1-cp312-cp312-win_amd64.whl (13.8 MB view details)

Uploaded CPython 3.12Windows x86-64

vehicle_lang-0.26.1-cp312-cp312-musllinux_1_1_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

vehicle_lang-0.26.1-cp312-cp312-manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

vehicle_lang-0.26.1-cp312-cp312-macosx_11_0_arm64.whl (18.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

vehicle_lang-0.26.1-cp312-cp312-macosx_10_13_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

vehicle_lang-0.26.1-cp311-cp311-win_amd64.whl (13.8 MB view details)

Uploaded CPython 3.11Windows x86-64

vehicle_lang-0.26.1-cp311-cp311-musllinux_1_1_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

vehicle_lang-0.26.1-cp311-cp311-manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

vehicle_lang-0.26.1-cp311-cp311-macosx_11_0_arm64.whl (18.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

vehicle_lang-0.26.1-cp311-cp311-macosx_10_10_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.11macOS 10.10+ x86-64

vehicle_lang-0.26.1-cp310-cp310-win_amd64.whl (13.8 MB view details)

Uploaded CPython 3.10Windows x86-64

vehicle_lang-0.26.1-cp310-cp310-musllinux_1_1_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

vehicle_lang-0.26.1-cp310-cp310-manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

vehicle_lang-0.26.1-cp310-cp310-macosx_11_0_arm64.whl (18.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

vehicle_lang-0.26.1-cp310-cp310-macosx_10_10_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.10macOS 10.10+ x86-64

File details

Details for the file vehicle_lang-0.26.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 34a28bf658930d76ce3430cd8910f896f255e0eb1a6b20d175bb7b821d7e5b79
MD5 f83c3e6d45e83c505ebdee17af9c9ad1
BLAKE2b-256 966d1acae0dd1491a665a3ca359d1177dce450f51f34e27dae9ecd32fbd3556c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp313-cp313-win_amd64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp313-cp313-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp313-cp313-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 10cacd2d0f34fa2049642fd5ffa3239c06f85f7935610befe14d55c80d421720
MD5 f05bfcd0729d34a8480f65e06c9900eb
BLAKE2b-256 c608ee7ec765e0a0acffad8bdc46fa9622201b3d30238ca85b6228a40d3d2a2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp313-cp313-musllinux_1_1_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95289870f9509f891c4317ac7f72ae062e29589be6dd76be811ccb13a29e018d
MD5 dc8eed67119e0a8979d730312fc8e7e1
BLAKE2b-256 81adf58a4a8b1d568ac079c780566d4c6c5910158ba04173dc6be8c8e7b1adbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4fbb6be3f98b5c6e0be79432172942f89f59fb52c6b2ae2ba61a70b32165669a
MD5 db03d51379092f00cabb34dd3428c44c
BLAKE2b-256 1ab386ef5315483b4ed0bd504623ab713ac97559ac737327ede875ed82dd1f1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 44141526c82902c4122b1d2d01666ce42006b4fd47a4f204573f25ddcc1354b3
MD5 3bd935c6aecadecc5646ab0446ff6638
BLAKE2b-256 168f293637914f17bc6daf5c6af1f8c3329fbebded6f68aaa00d78ce693ee031

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3fcd959b7b38e613a3055ac515e11fe1b953bee0dbf53a50130ac86d500367d6
MD5 fa9e6ba98ab6c5a61f4e0e8d5159a926
BLAKE2b-256 1557595b607e4127e6ce36c94b1e18e60461861da300ae2526dc053573649869

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp312-cp312-win_amd64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6b6548f01ef0b8b62612add43e23feca7376bf2834390c0e40c37e574d0b8627
MD5 ce2d9b8d025f5ed677787f9be3fa81a2
BLAKE2b-256 cc4aaa95bbb39bb63e1a35f03398fc82ce62f69907601d5bd2da207aa8c748fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp312-cp312-musllinux_1_1_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c64a09282ff2d93f3031f2e4688394c6ae7e5fd7e7975e5d616c7de6d47349a3
MD5 5edd56c429b8e71c23e900e40f34a499
BLAKE2b-256 17835a2065b003496b915e1bacd168552eb0961738d0ecc5850a179eeb891875

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 befd11e3a81b82a4af2deee2bc47da3b32f58953cb323344c8446f9a698e51d7
MD5 931b8385f0afca32f676cce36254a310
BLAKE2b-256 9e5fae28c38f538a9fd444d79b30b856da174d17d652c16c94c6a6b5da67114a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9774a52611ddf63bfa7bab86cdf585b1413f15cd402a811fa567922842483389
MD5 fa26e42299311be89e786992587a500d
BLAKE2b-256 4e5e543f22c5a0f4958b51314199e5019eb27941b3256a29a1cbcc0187415a6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 106b6e5bf36206ecdd481af469adec1c685c3c93b54d640ce626e3aee3064ac2
MD5 c12d59dcf13fb74e943823ccc54a216b
BLAKE2b-256 176efc2df04e73b40334c9b897ff994424590b1575991abae154561546edd54b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp311-cp311-win_amd64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0e3a652156213fc3907187b383f938dc5b2bf2856dcec42fb7b100891d637245
MD5 32f611593b9fca5f8b88bf39d2957b68
BLAKE2b-256 9c5cd01d96a6f39af9081348b65739c539d6ca3031751b35d5dbd1f8057078f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp311-cp311-musllinux_1_1_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a233e72066c90358df1a12b0545d289bf66626225779695ba9abb4dc6934847
MD5 33823cc744e0187c72c96e1d30f70981
BLAKE2b-256 ac8a8c1f5c18960305f11dea417d205cc890b16923f4d85544b6b926d8d3b63a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40fd0a2adb42cf84a8a872ea50a47b00aff5fc4d902731ff5bd699143a01227d
MD5 7db0f03194f918a9f98f632e38c8c15f
BLAKE2b-256 a38929b1c92d62df94c898dfe29c8d67cefceb7e7dbb84564a12b18a9ed50f11

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp311-cp311-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp311-cp311-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f8559ebb3f7347cedd0f900af4140df19f6e31a311bce732b60239e7c2a0c0ec
MD5 8c29694be541ef1e944cd428486cd3ad
BLAKE2b-256 74a3c74dda4f12beee7e61488e8d963dd588f9aa706fa37dd1276fc1dc45ffd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp311-cp311-macosx_10_10_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2302b27c097ce233fe5f5f5fef68d960d2e158631791fca5ea4b23db630ead22
MD5 7d30290f90a9916ffb1ffd615dfa4c7b
BLAKE2b-256 c5f8778f581e017e360621d2007f699637b84c74bf2f7703c45331dc8390ec99

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp310-cp310-win_amd64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 400b60cee0c5b314c69df79c1c7fadbe52cebaca2a9cd230a73d014655ebba56
MD5 f8a473793f6551b9a47bbe73df2e6eb9
BLAKE2b-256 0a1b6247d695e29224b51b8caa6ddd14662b6d375c783e7e945e58e493f66598

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp310-cp310-musllinux_1_1_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de46b94816762b0e3bdfd3449d6913c8089449f797e50fc76ae8598389cc9ad5
MD5 afcc9df1599c91b7cadcfd83b689fac7
BLAKE2b-256 e2764162b5b314c268ce20d8ae439255c4133d5d33691d29e53a4d8f11ddd711

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 02e6aa16498bba77cf2dd5fc05147f2c6243f90ce80c365b952a56f7d1d4a171
MD5 4a8c838ab013049ab607fe21ef0364b7
BLAKE2b-256 1225cf635e32f7c1e4246c3bfaa7730ba07a8950e0527964ceab38c013a924a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vehicle_lang-0.26.1-cp310-cp310-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.26.1-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a96cd54611e4e2c31dca47dae8b7092fe929340bbe88e7e0473feab4bc1a21fd
MD5 37ec06f577f98ea4efa0280906e24334
BLAKE2b-256 287db5b66b0c4fe6961ffb208a096866281e74d032196252f16b3c115ba813fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.26.1-cp310-cp310-macosx_10_10_x86_64.whl:

Publisher: ci.yml on vehicle-lang/vehicle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page