Skip to main content

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

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, equality, 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 a knowledge base.

    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.9.0.tar.gz (71.1 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.9.0-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file idp-engine-0.9.0.tar.gz.

File metadata

  • Download URL: idp-engine-0.9.0.tar.gz
  • Upload date:
  • Size: 71.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.9 Linux/5.4.0-91-generic

File hashes

Hashes for idp-engine-0.9.0.tar.gz
Algorithm Hash digest
SHA256 a42d33646eb195be289788acd6ada0eac414af5348baab1698d63be9561cd58e
MD5 c15f19187869f30b9579ec38da76ed5f
BLAKE2b-256 e046630b7b53d6d70f76038e752fe95314fe96d0c98c823a8815c432675d821c

See more details on using hashes here.

File details

Details for the file idp_engine-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: idp_engine-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 80.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.9 Linux/5.4.0-91-generic

File hashes

Hashes for idp_engine-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9397e69586f0f137134698282e57dd923dc5eb8aad73bd11d8fc6832fb23650c
MD5 d41993efce38f776c31ab52b897fa0a9
BLAKE2b-256 d99b3c8c2f23efe3ce2afb8b645a67d48bacf4ca3fca20cea6a735248214ff3a

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