siddhartha-gadgil / LeanAide

Tools based on AI for helping with Lean 4
Apache License 2.0
65 stars 5 forks source link

Rudimentary Proof search step using "first tactic" prompts #11

Closed siddhartha-gadgil closed 2 years ago

siddhartha-gadgil commented 2 years ago

Overview

Implementation

Some of these steps have been tried out in Fiddle.lean and some others are like previous code.

siddhartha-gadgil commented 2 years ago

We may want to use something other than sentence similarity for these, perhaps keyword matching based on identifiers.

siddhartha-gadgil commented 2 years ago

To trace bug, in mathlib4/Mathlib/Data/Finset/Basic.lean have "index out of bounds"

siddhartha-gadgil commented 2 years ago

To avoid the above bug, while parsing we must:

siddhartha-gadgil commented 2 years ago

This is implemented in 68cb6613c2c621ffc5 with a switch to a smaller but correct database in 1769432f69151d08