Skip to main content

IDP-Z3 is a reasoning engine for knowledge represented using the FO(.) language.

Reason this release was yanked:

Specific back-ported version

Project description

idp-engine is a reasoning engine for knowledge represented using the FO(.) language. FO(.) is First Order logic, with various extensions to make it more expressive: types, arithmetic, inductive definitions, aggregates, and intensional objects. The idp-engine uses the Z3 SMT solver as a back-end.

It is developed by the Knowledge Representation group at KU Leuven in Leuven, Belgium, and made available under the GNU LGPL v3 License.

See more information at www.IDP-Z3.be.

Installation

idp_engine can be installed from pypi.org, e.g. using pip:

   pip install idp_engine

Get started

The following code illustrates how to run inferences on the IDP knowledge.

    from idp_engine import IDP, model_expand
    kb = IDP.parse("path/to/file.idp")
    T, S = kb.get_blocks("T, S")
    for model in model_expand(T,S):
        print(model)

For more information, please read the documentation.

Contribute

Contributions are welcome! The repository is on GitLab.

Project details


Download files

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

Source Distribution

idp-engine-0.8.4a0.tar.gz (68.2 kB view details)

Uploaded Source

Built Distribution

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

idp_engine-0.8.4a0-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

File details

Details for the file idp-engine-0.8.4a0.tar.gz.

File metadata

  • Download URL: idp-engine-0.8.4a0.tar.gz
  • Upload date:
  • Size: 68.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4

File hashes

Hashes for idp-engine-0.8.4a0.tar.gz
Algorithm Hash digest
SHA256 60daa6e5e81c582654f173df1c9d3cd2d0ad58081e5a70fb7eeb8d75f858b77f
MD5 fafc3a7360e69da09eaae9a981905816
BLAKE2b-256 067c0f28d12937680ad865deeaab82a1f7d2ff042c01354569ed8e64337cce51

See more details on using hashes here.

File details

Details for the file idp_engine-0.8.4a0-py3-none-any.whl.

File metadata

  • Download URL: idp_engine-0.8.4a0-py3-none-any.whl
  • Upload date:
  • Size: 77.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4

File hashes

Hashes for idp_engine-0.8.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 cae5e8eb3f26f8fa8cf02e445d9a12308543f12f0969ada58c098571eba3d4d9
MD5 0581e43a14239087457099b889961254
BLAKE2b-256 fce6bb878bfe621e489db028a49aa0a10abe47895ac50ec0700b53b86e1cfc78

See more details on using hashes here.

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