English

Natlog: a Lightweight Logic Programming Language with a Neuro-symbolic Touch

Programming Languages 2021-09-20 v1 Artificial Intelligence Machine Learning Logic in Computer Science

Abstract

We introduce Natlog, a lightweight Logic Programming language, sharing Prolog's unification-driven execution model, but with a simplified syntax and semantics. Our proof-of-concept Natlog implementation is tightly embedded in the Python-based deep-learning ecosystem with focus on content-driven indexing of ground term datasets. As an overriding of our symbolic indexing algorithm, the same function can be delegated to a neural network, serving ground facts to Natlog's resolution engine. Our open-source implementation is available as a Python package at https://pypi.org/project/natlog/ .

Keywords

Cite

@article{arxiv.2109.08291,
  title  = {Natlog: a Lightweight Logic Programming Language with a Neuro-symbolic Touch},
  author = {Paul Tarau},
  journal= {arXiv preprint arXiv:2109.08291},
  year   = {2021}
}

Comments

In Proceedings ICLP 2021, arXiv:2109.07914

R2 v1 2026-06-24T06:03:32.257Z