TSR Desk · science · 5 October 2026, 07:00 UTC
WAMpy: Efficient Synthesis of Prolog Programs in Python
- What
- WAMpy: Efficient Synthesis of Prolog Programs in Python
- Who
- arxiv.org
- When
- 5 October 2026, 04:00 UTC
- Category
- Science
- Primary source
- https://arxiv.org/abs/2610.03234
- What is not known
- This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
In a benchmark of repeated compilation-and-evaluation workloads, WAMpy improves end-to-end performance compared with SWI-Prolog accessed from Python using Janus. It comes from a paper posted to arXiv on 5 October 2026. We present WAMpy, a Python framework optimized for synthesizing Prolog programs. Unlike general-purpose Prolog systems, WAMpy targets workloads that repeatedly generate and evaluate small candidate programs. WAMpy compiles Prolog clauses into NumPy array-based WAM instructions and supports partial recompilation of hypotheses against fixed background knowledge. Performance-critical routines are accelerated using Numba just-in-time (JIT) compilation.
Why it counts
In a benchmark of repeated compilation-and-evaluation workloads, WAMpy improves end-to-end performance compared with SWI-Prolog accessed from Python using Janus.
Sources
Primary source: primary source
What is not known
This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
No clip. The article still stands.