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

Uploaded CPython 3.13Windows x86-64

vehicle_lang-0.25.1-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.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

vehicle_lang-0.25.1-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.1-cp312-cp312-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.12Windows x86-64

vehicle_lang-0.25.1-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.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

vehicle_lang-0.25.1-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.1-cp311-cp311-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.11Windows x86-64

vehicle_lang-0.25.1-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.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

vehicle_lang-0.25.1-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.1-cp310-cp310-win_amd64.whl (13.7 MB view details)

Uploaded CPython 3.10Windows x86-64

vehicle_lang-0.25.1-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.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

vehicle_lang-0.25.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a2301da49f6d887543db8a82c080821be844ac4293f92032787cbda58e029070
MD5 c011cb382facc065e18f76120c817e83
BLAKE2b-256 e4f1b324ff019c4f89e6a47802444805ba26851f4c48d52c7016df7422a97f12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp313-cp313-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8463167d0e323a5eb3749ec5c76ee91578f8203140423323d1a89535edba504e
MD5 f4dae511a9276d612693434dd0c6fb3a
BLAKE2b-256 6801bb2d349148e33205a5b4b9fabd2166bcfd5478ccc1167c318c1ddd85d08e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14ab6e06b589c8c71fc2b5ac9b49de100e4f18309246474672d32324b0e0f369
MD5 c749348af7d0afdf472dd5df7cd5771e
BLAKE2b-256 ba57e7ff6b16b8637af1cab325ebe51df5e1db2d935eb55da4e411a015429010

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89da43bafb78cb47b2652e7e65c2f4828d659283c08989305279e5918e2349bf
MD5 3448020560b641516fac3f1bc0175085
BLAKE2b-256 fdef1fd4310d4b9cf2f7ac2d0f56f42c6cdc64d947e16b8cc8073fc08bd9ec0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bc562f6f0c435796c267ea2c0c5c75a0697c79834c385a12c0e0f0d79731b111
MD5 4f7263595ef8983bfc2b4c87ddaeb9b1
BLAKE2b-256 39df5b926f6523ac8bc898c78753bb953d870e74ab35bd3bbd3d1b776d3c1402

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 18dd341c0cb2e2ca144333def2b940e492750e41acbccd6e6441fc90704469cf
MD5 3c9ac437181cbf34dda5d99241135b2d
BLAKE2b-256 8961b249a9f5f7893733614de569ba2237abe8f12cff4a7e980fbd5646a72cda

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dd2196927ffff57bcbeb08ed7b19297a1cecdc62899ed5f9f9bf1ce5bdb5fc88
MD5 e2bb76f3635249310c06941c1c0e7ba0
BLAKE2b-256 3c06e4366ed0be83f93194954d7f5cb70f0a4cab71f18bd43dbee07fdeba501a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc100369dc2a574e09eee2a6adc7619c9cd9f7f39c55a6a5c28bd5db0c87cacd
MD5 7a0ffef96b2adfb526d72117b32315b3
BLAKE2b-256 da73d8281a798ce021286e4d1c9ea1ae243f0fda06678a4c65bd99d31ee3cc3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72c8997593d9cf13c043f0696fcf18c619ba48f407f4d4b801c6e2cfe1064351
MD5 cce1fc44f38eb22dac9031cbd1b49fe4
BLAKE2b-256 8550899122d95f1e9d6e71ab0f4c2518a0cdc71150ffc0831e37795df265b1b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c2a5a17f7b5a6d9954f5e4708944be9fb8ce73ba11ce309d047444fd9d905b3b
MD5 895f80c4000d9f17611958a51a4f09a0
BLAKE2b-256 ab26de8de612ee66f70c4a5f3af00154427de738de3d287d2b185634b8efc780

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 45c33ca54cda805686ba4a06b946ef022328c59829f23df4d0601c073623211b
MD5 783c1ad6cf8dcfc009b1ceebb3f18b0a
BLAKE2b-256 5d301cbcefa5aecadd87192b6e4496bea61eb24682c28bcb8bc06c9c4cf27c5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 699d2230a7eeb3f596d66c922e9e101867d9c991e4d5343f864cb32241ee3bdc
MD5 bdbcb3b5077aafc57d19fbbc27ede0b4
BLAKE2b-256 25fe078f9d7ea03f7382e216f7162b3553c495eb04afa89e9550a9fcf79e19fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb70f323435d22b168ff71520cb38be6541988bc17dcca4c164b07da4df4be70
MD5 9c7ed108ee394f0b03ddd43668b9ef7e
BLAKE2b-256 392655915e042ffeed0027c30cbaa13e867c18c5e275a02177adb413b6b7965e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36efa9663036cebbbcea07e65bf30cf9d5df8e66325a152ebe5182fb974fc42e
MD5 a7e13d07f5a112f87e696f050a6b4795
BLAKE2b-256 ed4c1f4b26444dfd29743e71f5e0018db13eb204ee70815380e79edc804dc1d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp311-cp311-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 4a79b5ad7422c29e141660bed7cbdd00bc963ca8b2d9375a5294f33e4726e11b
MD5 1a325edacadc7197d7fe6277286ae743
BLAKE2b-256 d4e61de3f10750f870a913e70a06db0491a29507a9709065504ab44419b9da65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 79a535da90694c99cbf87d3014d76f36857c3bf2bb5a6d12b1c94c76a7a41e94
MD5 1cf7314a8f0f8e8cd0ec0281a497f1ba
BLAKE2b-256 41ec669900d37094434d9b80d8ca4f906df7eca4c9e6ee9c18053b204dfdd513

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fe767f21fdef7ef823821f34c149db60b7dfbf315bf73ee86d5b3c624ca3509a
MD5 7557fa4cdc91ce134e95de1902b6d664
BLAKE2b-256 a31d0ecc3f9a9ca1542fd6729620eaf313243abb7ceb20a6a1711934a5f5b885

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 34a93b7eec9db6e7f77cbd47f138c89bf7f33f28ec7f87bd5cccdf05463c705d
MD5 ec0302b27fa24817133efb5a5a59b1b3
BLAKE2b-256 cca26f4a8b751335f94a6cbe2d3fb6b74db52e2184809e9b6a766c3e00bc53ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1393a3fa101befce25100a99fc5dde17b27a512d97d5d806d008a38e8adf91ab
MD5 fabb2b74a03257e4df283468303a783c
BLAKE2b-256 b8f12bcf06b5779bfb06d108e8c44ea1432c9c2074dbb43fe8e1e35f3a7cb2ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.25.1-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8714e6ad038f72fc2edaa1d3848fbf203bbc792e8016bd241780e865090156c9
MD5 10442747e3236e17578be3120216e0ea
BLAKE2b-256 adae3819733dea15f0fd8ccdaede410b1d4a6cd261a4b60321d298db586f4e25

See more details on using hashes here.

Provenance

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