2026 Volume 34 Pages 1036-1047
For deduction problems defined in natural language, it is often the case that not only a solution is sought but also a formal proof, such as one expressed with logical formulas. If natural language could be translated into logical formulas, automated theorem provers could be used; however, a mechanical conversion is only available for simple expressions. This study attempts to solve the logic grid puzzle “MURDLE”, which involves indirect expressions and multi step reasoning, by using Large Language Models (LLMs) to translate the natural language problem into Prolog. It is important to produce a translation that contains no logical leaps and is easy for humans to understand; simply using an LLM will not achieve this quality. By employing techniques such as defining names inferred from indirect expressions and preparing predicates that compile frequently occurring expressions in advance, the approach was tested on 100 puzzles contained in MURDLE: Volume 1. The results showed a high correct answer rate of 90% and confirmed that the sentences could be accurately converted into logical formulas that faithfully reflected their meaning.