Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lean 4 Theorem Prover plugin #3352

Open
ImHangLi opened this issue Feb 7, 2025 · 1 comment
Open

Add Lean 4 Theorem Prover plugin #3352

ImHangLi opened this issue Feb 7, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@ImHangLi
Copy link

ImHangLi commented Feb 7, 2025

Integrate Lean 4 Theorem Prover for Advanced Logical Reasoning

Is your feature request related to a problem? Please describe.

Eliza excels with conversational patterns but struggles with formal or mathematical reasoning.

The motivations can be:

  • Enhanced Conversation: Beyond classic Eliza patterns, users could ask logical or mathematical questions, and Eliza could leverage Lean 4 to provide validated answers or insights.
  • Educational Value: A Lean 4 integration could serve as an educational tool for users learning formal reasoning and proof techniques.
  • Differentiation: Incorporating a theorem prover sets Eliza apart from traditional chatbot frameworks, offering unique capabilities for advanced or specialized use cases.

Describe the solution you’d like.

  • Integrate Lean 4 so Eliza can pass user statements or questions to a theorem-proving engine. Whether in natural language, e.g., “Eliza, can you prove that the sum of two even numbers is even?”, or in Lean code snippet.
  • Define specific triggers or keywords in Eliza’s pattern-matching system.
  • When triggered, Eliza calls the Lean 4 plugin to validate or prove statements.
  • If a statement can’t be proved, Eliza gracefully handles the error or explains the reason.

Describe alternatives you’ve considered.

  • Using different theorem provers (e.g., Coq, Isabelle).
  • Simpler pattern-based approaches that lack robust logic handling.

Additional context.

  • Using external APIs or embedding Lean 4 directly?
@ImHangLi ImHangLi added the enhancement New feature or request label Feb 7, 2025
Copy link
Contributor

github-actions bot commented Feb 7, 2025

Hello @ImHangLi! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant