{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/large-language-models-meet-symbolic-provers","title":"Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluation","arxiv_id":"2502.06563","date":"2025-02-10","proceeding":null,"authors":["Chengwen Qi","Ren Ma","Bowen Li","He Du","Binyuan Hui","Jinwang Wu","Yuanjun Laili","Conghui He"],"abstract":"First-order logic (FOL) reasoning, which involves sequential deduction, is pivotal for intelligent systems and serves as a valuable task for evaluating reasoning capabilities, particularly in chain-of-thought (CoT) contexts. Existing benchmarks often rely on extensive human annotation or handcrafted templates, making it difficult to achieve the necessary complexity, scalability, and diversity for robust evaluation. To address these limitations, we propose a novel framework called ProverGen that synergizes the generative strengths of Large Language Models (LLMs) with the rigor and precision of symbolic provers, enabling the creation of a scalable, diverse, and high-quality FOL reasoning dataset, ProverQA. ProverQA is also distinguished by its inclusion of accessible and logically coherent intermediate reasoning steps for each problem. Our evaluation shows that state-of-the-art LLMs struggle to solve ProverQA problems, even with CoT prompting, highlighting the dataset's challenging nature. We also finetune Llama3.1-8B-Instruct on a separate training set generated by our framework. The finetuned model demonstrates consistent improvements on both in-distribution and out-of-distribution test sets, suggesting the value of our proposed data generation framework. Code available at: https://github.com/opendatalab/ProverGen","url_abs":"https://arxiv.org/abs/2502.06563v2","url_pdf":"https://arxiv.org/pdf/2502.06563v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"large-language-models-meet-symbolic-provers","repo_url":"https://github.com/opendatalab/provergen","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[{"task_slug":"logical-reasoning","task_name":"Logical Reasoning"}],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2502.06563","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2502.06563"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/opendatalab/ProverGen","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/opendatalab/provergen","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"official":{"samples":6,"ran":3,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":6,"samples":[{"code_sha256_prefix":"e243d2db7d8d5f66","entry":"FOL2Prover9Converter","repo":"opendatalab/provergen","repo_kind":"official","path":"utils/logic_generator/generator.py","file_url":"https://github.com/opendatalab/provergen/blob/HEAD/utils/logic_generator/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e243d2db7d8d5f66"}},{"code_sha256_prefix":"5416153d561337ee","entry":"Problems","repo":"opendatalab/provergen","repo_kind":"official","path":"utils/logic_generator/generator.py","file_url":"https://github.com/opendatalab/provergen/blob/HEAD/utils/logic_generator/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5416153d561337ee"}},{"code_sha256_prefix":"f53e5d6a3bbc14bd","entry":"load_names","repo":"opendatalab/ProverGen","repo_kind":"official","path":"fol_problem_generator.py","file_url":"https://github.com/opendatalab/ProverGen/blob/HEAD/fol_problem_generator.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f53e5d6a3bbc14bd"}},{"code_sha256_prefix":"c1eb4d16c20b6ef6","entry":"LogicGenerator","repo":"opendatalab/provergen","repo_kind":"official","path":"utils/logic_generator/generator.py","file_url":"https://github.com/opendatalab/provergen/blob/HEAD/utils/logic_generator/generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c1eb4d16c20b6ef6"}},{"code_sha256_prefix":"4ca7c1b995b9ff6b","entry":"RuleGenerator","repo":"opendatalab/provergen","repo_kind":"official","path":"utils/logic_generator/generator.py","file_url":"https://github.com/opendatalab/provergen/blob/HEAD/utils/logic_generator/generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4ca7c1b995b9ff6b"}},{"code_sha256_prefix":"823cb62fb50c7fa3","entry":"prover9_prove","repo":"opendatalab/provergen","repo_kind":"official","path":"utils/logic_generator/generator.py","file_url":"https://github.com/opendatalab/provergen/blob/HEAD/utils/logic_generator/generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"823cb62fb50c7fa3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}