Logic-LM icon

Logic-LM

Empowers large language models with symbolic reasoning capabilities using Answer Set Programming and the Clingo solver.

概要

The Logic-LM tool integrates a Model Context Protocol (MCP) server to provide advanced symbolic reasoning for large language models, particularly Claude Code. It bridges the gap between natural language logical problems and formal symbolic solutions by converting problems into Answer Set Programming (ASP) format, solving them with the Clingo solver, and interpreting the results back into human-readable output. This enables LLMs to perform faithful logical inference through a robust three-stage pipeline: Problem Formulation, Symbolic Reasoning, and Result Interpretation.

主な機能

  • 1 GitHub stars
  • Clingo Integration
  • Self-Refinement
  • Natural Language Input
  • Template Library
  • ASP-Based Reasoning

ユースケース

  • Syllogistic Reasoning
  • Basic Logical Reasoning
  • Set-Based Logic
Advertisement

Advertisement