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.25.0-cp313-cp313-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.13Windows x86-64

vehicle_lang-0.25.0-cp313-cp313-musllinux_1_1_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.1+ x86-64

vehicle_lang-0.25.0-cp313-cp313-manylinux_2_28_x86_64.whl (22.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

vehicle_lang-0.25.0-cp313-cp313-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

vehicle_lang-0.25.0-cp313-cp313-macosx_10_13_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

vehicle_lang-0.25.0-cp312-cp312-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.12Windows x86-64

vehicle_lang-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

vehicle_lang-0.25.0-cp312-cp312-manylinux_2_28_x86_64.whl (22.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

vehicle_lang-0.25.0-cp312-cp312-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

vehicle_lang-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

vehicle_lang-0.25.0-cp311-cp311-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.11Windows x86-64

vehicle_lang-0.25.0-cp311-cp311-musllinux_1_1_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

vehicle_lang-0.25.0-cp311-cp311-manylinux_2_28_x86_64.whl (22.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

vehicle_lang-0.25.0-cp311-cp311-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

vehicle_lang-0.25.0-cp311-cp311-macosx_10_10_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.11macOS 10.10+ x86-64

vehicle_lang-0.25.0-cp310-cp310-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.10Windows x86-64

vehicle_lang-0.25.0-cp310-cp310-musllinux_1_1_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

vehicle_lang-0.25.0-cp310-cp310-manylinux_2_28_x86_64.whl (22.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

vehicle_lang-0.25.0-cp310-cp310-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

vehicle_lang-0.25.0-cp310-cp310-macosx_10_10_x86_64.whl (18.9 MB view details)

Uploaded CPython 3.10macOS 10.10+ x86-64

File details

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ed2bdee01f8019f98c2de3865cdd10698b7666a86320043ba5e136af152125c2
MD5 afb06c427e9059b575f3644f93966424
BLAKE2b-256 309f85c8fba94d14a677ab5e6a7a9ffee7277d17d3a8064fb290a5e1bf2aeb6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp313-cp313-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp313-cp313-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8b9197c7b45fb9c5d48eb7847a6bca25a53cb51c024f21238f65950acddecaa8
MD5 988d440a2ebf8fdff7b625705aa476fb
BLAKE2b-256 e3fe88d5b30a5a93d6b687551c1a13f1af705415dbff7cf4619588013c8e95c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 583df4e20d49027b0cddd3e2a29aca4bf3dc9d4baa7c9cdbe5637aa0ec590f04
MD5 6da27881881ca7efb01305f236fe2f2d
BLAKE2b-256 0d3d155a0003b503d427b9b9f3530015bd9999b382eb8bda33b955d54e7db296

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9a064760aaff2af08d2f3b4fb7de750afc611baf3118053a3d0823722e543e6
MD5 4e6af1ad6ca288385ead5f409aa59e01
BLAKE2b-256 e0851dbad077d6361ee0eddc35ea841d71061d8bbf4866d0ad407b73344425f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 fac7e0f527abb01cf53203870739df3bcaf4870e9407812df06eb132a25341da
MD5 9067b0a42bcab9781b9f22845a8fa18e
BLAKE2b-256 0f1e2ba74fa6e0a2ae74b15b7cf541155496968fc97f915753bc90276018e603

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cad383ec7560ea9cc38621c2f7b8ae32f15fd2727e6b3867378240138ad3fdc6
MD5 0702fbc45b265e6352ac45c37d7664e3
BLAKE2b-256 3aea7e288871e2ceca0a3c2cb8cbeced9d9c788bfde18aa025882c0d0e698f3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c38a45d11663a96e0dec9874c1e0d120e9bbef9e617ca1fefb64052ed378ccdc
MD5 efc3c8ee1679fd9a53d350c30ecd6772
BLAKE2b-256 bc11f99039adb290b33d237edc779444ddbe0cca7210cfdd08b9a7a2d2f3c73b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e936f3190f78e318df1cab32b346e4e2aeda92a17d2c345b8d9da030ac8e54e8
MD5 58958c61db640d797bdc2699d3b6600d
BLAKE2b-256 710a729dee01ad797de68d51382e31d69413eae4b3401d95c291ded8cb83fc25

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b3f56b17dc3265e0caef19e41d229635a4ee801ffc1bd0d35038833953eb367b
MD5 6f4e332a5e24cc445404cfdd61d2b832
BLAKE2b-256 79f2cd58649ca3fcf2c4110fc719ed18057a27a91583610ee75ee9048ca03af0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3a2814d3f0ba73cd557476bad0203cad1161bc32f86af19e8f0e0373a97fef0f
MD5 2f5fa8015d14bcd2a4a9800787e36c50
BLAKE2b-256 a9dd6cabcd801c0cfd752b32b581f6071c020cc899434ed7ad4a9f6bf91c4fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b6fead3ca4bedde386bd2c6ae2a91069b952212663796e751a72a7075dc1795
MD5 4c06aac7a154dcf2489a1bd011d8ead5
BLAKE2b-256 610226c5fd61fc47ca6b8e9f6d803079c1cb32b36a7adfa1c31cf08e018f9b39

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dbfaba96e8853478a0d3e9f1101b3f61c6aed24f5fbebc60c56edbafb5eca596
MD5 bb55e7e3f7879d1dcf7a600f3f6a8a66
BLAKE2b-256 9cee1e9a841d8be9dc6d9f1a3f8fd111e9ac42130f6b067e0bd69cc8bb509cce

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 38a35679ab5fc19784f6861680fe5f8743da703d0f07a22276ffbf440e7c838b
MD5 2bf7a98d1b75b1b2bfb608a3ab1707a8
BLAKE2b-256 d824cfa2cddc1283a817c65a4c93636d4e1ef3578701bab21a9d5ce5e9180162

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03b5607d3346f86744fe858b3e3d0a591727c5638921ccbd1c80291ca784dc1c
MD5 cc013d1d5b0211ffad5a0a416ef0d723
BLAKE2b-256 8fa3804a2bfbb394ffe6629a0365b45161720bb696f7c18f4387c57efd11c3e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp311-cp311-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp311-cp311-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 67fe7f33d71b64c14b3617c872c62aa2ded05cb26eda70ef30e8c6a2e0174cc6
MD5 91b6ec1ded2ba12766f14eff37e2f874
BLAKE2b-256 f8e331a6922e5ee45267b47f6a01800fae809f062d27a580c750e5f059e41d08

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a6a806059d9a52669b96af7174ed048caddbcf557ae8b12ecc3259a9b8a59f68
MD5 8c97f055726e576994f84fb4e9129e56
BLAKE2b-256 fed760bb4c03f7e6907a4ea752b91ff55c4ed7b640429a4afbef38d924caab75

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cff41a94b9407607d6a500a5cc381dbb76222bba01529f6adccbb96bfa0a2046
MD5 ad784c3f1de7426279bf91664f811b59
BLAKE2b-256 20210532b81b35fd1853e107fa2b2eb07d9ff874fbf1f190e509d53268bccf57

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffc9db2bde1a384562331ec621e59b81d2fd7d560ddc08c5e27518fa65c9931d
MD5 7c853c546c6396611a41e3f0161ba619
BLAKE2b-256 e3e588b386c6c6770cc2c4cc4712fd5fa130d1c92f761752e560bde12e5ba97d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c1c120ebd63a2f8188501b88f00d6fb3ad6bc18c5924eea4b5275c06de7357d
MD5 25bd45eaf6d7caebda03354b69e2249d
BLAKE2b-256 a0c4c1d7184ecb6e8e28e524e19d6d33a45346c4e09eb2c5de493af5e3259d11

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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.25.0-cp310-cp310-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.0-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fb3bc11971c8c8f20258c539d7a01c589a9f1730a5ad5fcbc00896f0dff14a4a
MD5 2b29c2d2a7ea5c820fd37a4c763f6827
BLAKE2b-256 6dd59c24ccaa6017d64b4316cea84e7d7b9d4c5a9237f63cdcf24ca1906a1b5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vehicle_lang-0.25.0-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