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

Uploaded CPython 3.13Windows x86-64

vehicle_lang-0.24.1-cp313-cp313-musllinux_1_1_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.1+ x86-64

vehicle_lang-0.24.1-cp313-cp313-manylinux_2_28_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

vehicle_lang-0.24.1-cp313-cp313-macosx_11_0_arm64.whl (18.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

vehicle_lang-0.24.1-cp313-cp313-macosx_10_13_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

vehicle_lang-0.24.1-cp312-cp312-win_amd64.whl (13.6 MB view details)

Uploaded CPython 3.12Windows x86-64

vehicle_lang-0.24.1-cp312-cp312-musllinux_1_1_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

vehicle_lang-0.24.1-cp312-cp312-manylinux_2_28_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

vehicle_lang-0.24.1-cp312-cp312-macosx_11_0_arm64.whl (18.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

vehicle_lang-0.24.1-cp312-cp312-macosx_10_13_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

vehicle_lang-0.24.1-cp311-cp311-win_amd64.whl (13.6 MB view details)

Uploaded CPython 3.11Windows x86-64

vehicle_lang-0.24.1-cp311-cp311-musllinux_1_1_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

vehicle_lang-0.24.1-cp311-cp311-manylinux_2_28_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

vehicle_lang-0.24.1-cp311-cp311-macosx_11_0_arm64.whl (18.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

vehicle_lang-0.24.1-cp311-cp311-macosx_10_10_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.11macOS 10.10+ x86-64

vehicle_lang-0.24.1-cp310-cp310-win_amd64.whl (13.6 MB view details)

Uploaded CPython 3.10Windows x86-64

vehicle_lang-0.24.1-cp310-cp310-musllinux_1_1_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

vehicle_lang-0.24.1-cp310-cp310-manylinux_2_28_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

vehicle_lang-0.24.1-cp310-cp310-macosx_11_0_arm64.whl (18.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

vehicle_lang-0.24.1-cp310-cp310-macosx_10_10_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.10macOS 10.10+ x86-64

File details

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dc8afd9a7c3d9d1b92c89795425007fa45d0df24139e2ff58b75eabbf9b9ace5
MD5 fb07f09546eb481fa0b45654bf732e7b
BLAKE2b-256 7a1a900090237a3a785da853c1686d013a2a56de989cd978b4a2efeb46980d22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp313-cp313-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4aa3e99cb4a10cbdbd54f47debe0be7c5ff5346485252bccdb0c5d608f20d082
MD5 1a59d69c715ae2792c232162c7b49c91
BLAKE2b-256 ba3711e74994ce10a9b711e57ef230bd09a865a9a9123f3c11939f2aff2447b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f280abc40ccf88cca095bb4ed0fa59abce30dd2c3297c9f610a8181dba68d7a2
MD5 f76cc76bef97cc4fe32fe6740393c243
BLAKE2b-256 07e089835c5aff74cba24ce3021954ea1c19063566a287f8b292a6538b2ddbd4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73e8ea4abafd43fe8e5ae34281ae8ef3536ce7ae828f26d499f47eb14b4c9d66
MD5 8ff7e47abdca65f29032e8daa6251f0c
BLAKE2b-256 d39846cec5603096377e745fac3510cee5c2cc3d26932c5c57a2b5c58baef250

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e973fcdfd72e0d1ac79f3fbae1fe1a450a5f4abf6f8ab8bd2f36a7623bbb72f5
MD5 619d4a21911ab2d983de1826f4895c46
BLAKE2b-256 17657a904ad0c015c698351c15024613c3ed82b308342364d4aab1c69f3e3b1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7964dfa46f17aa025e6999119531bc1f7acc0621c7681cdf5e7c17cf416b2ee7
MD5 d1680d3a4f45c9f065160b5233c48f60
BLAKE2b-256 e66e9617bdb5303d5e977f3ff40190d84dde999a7645094f7ac1e7adfdb54aab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8338e17e694e75ccc24933b3154b806fe06e7c2f2fa4f2fd5273edbfd9ab1b4d
MD5 8085aeb4ecb91dbb5da92daef3525a5e
BLAKE2b-256 98d2387afc4d9bb3f431f166c5f6e3c3859db7697c65fbbed176c7d03c9dce67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b2b6e3da1429d529dbb06a10b84a46160928b29ccde3de4cc1175212b065eb2b
MD5 688348eed9e850ccc4b71c08b6f0c29b
BLAKE2b-256 548c9ca96e8958557d3f79317f088113a5d456e0f45992c54831ba9a48206c32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f644ae879ad500323ceed63e88e1b5990662c34927c8913173664360d54a4959
MD5 1fe7154829e248cdb8cc064949948595
BLAKE2b-256 ca7741a4a674add8f0257f220e269cdd803f801289fdae13c9b44f8717008844

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4d55efcef3ab0b18ac86efbd21695dc081839532a974e8d5a831ea0a9eb8f595
MD5 9210da899dcf4e03aa555fc7f8407f91
BLAKE2b-256 dca6211c1f09b9d8344da247d753023642a98835bc9503f6c8928b12cfe211b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb500cd6b16889dd9b41f6cb78d0c708c1a389875b95a4ff83ba382ea3f2e6e2
MD5 bb961e7fd9bcede7704c0c579da607d6
BLAKE2b-256 7e0dcb50b380b44247f0a45c03a5b7c076c2eff509b09115d19f6aa89d86b424

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 37b785973274392c7bc6716e375b61e23ab84fe2331d4c37e2450e7a4eab45b0
MD5 664a936159065c060328119ba22d4a53
BLAKE2b-256 8b135719aa5c1e2538c14718c21492ae51884b5c4bf154a8b86e99d788239890

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fbba7574fe4e21ed7e15c3a4b571b4b7ad2e851f58cdf73294ae16a5e3fc18b7
MD5 8e29903458b75f33a6297a59fdc412a6
BLAKE2b-256 e77571b08e3c03d72f3fc36ec7745dc8cb608622929922cfcf07920f942ac0c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a34b497342dfe67fcd8bed9ca290cd31f6a812f25c804d4229a3668732590e3
MD5 27abbdf9ed87f7ca84a7dba265226dbb
BLAKE2b-256 70b397057cceba02b11213ccab2d4f2a4694950cf2ca5c9c67de3b8319cfb9d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp311-cp311-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ded094a76705da42209ceeccf6a2703ad2b462254344aa0e70a3fdcea96a2b14
MD5 7efe5d9e1776c866de32f31300940b6a
BLAKE2b-256 f9bc36aee932d6907245a6c4655e6426a789bf6ec68757187962779cc7d50a92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 676aaef684fe6d4fde63f0caaa4393d935a15a095dd663ce05476c0120e29799
MD5 2665dbb24ca9af601082ff458ae90960
BLAKE2b-256 c7d33c0dbe3322ec979e80e76dc124a566f51fd15ffde4135a9b773b4aa1184b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9e48c13657128346686a851c957360084e137c5c89e3b67d28cae7699d4a2cee
MD5 0b86dafefd1c069d58dc6479cd8556a1
BLAKE2b-256 402f8185987612ec2f44a53894f3d35021b1e0d69db7a290a2e89272f4c10f04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ac4a7f2df7100f09f773473113974ccbf9b82723610324bd31609499446ffe4
MD5 d3286649e779fe5d22d19b44070a5e6e
BLAKE2b-256 9532d201986d213e9b3417b8b4e30de4b2b9597da9fca7cff223d7eff64415ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a36f79a10e161f96c594787d7753b1201eea6b95c95f465b64868ccf0b812e9
MD5 79d86366f1e20d64356f2a945fa05452
BLAKE2b-256 3424f7edd16d75f8c6ccee159d9c07f9970aca0bd54403dd0234c96dde0c145c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vehicle_lang-0.24.1-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 50b6bb6f392c136d86d201120c2ccc5c9b2b22f23f41bab39bdbaef1254d1807
MD5 efd913cdd5453f15a97a09a3adcced53
BLAKE2b-256 a319023184a2ba317c41378ed292c495bf3438461f75f8b5bd38d66453197cca

See more details on using hashes here.

Provenance

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