All products

Record gaps between a paper and Lean with AI

Write a traceable note when a formal declaration and its cited mathematical source disagree or appear to require different hypotheses.

Record gaps between a paper and Lean with AI when a formalisation proves less, more or something slightly different from the statement it cites. The paper-gap-notes skill helps an agent prepare a standalone mathematical note with a precise source location, affected declarations and an evidence-based classification of the difference.

For instance, a proof in the project may require a nonzero parameter while the printed statement appears unrestricted. The condition may be implicit earlier in the paper, a limitation of the current proof or an actual gap. The note can preserve that question while the team investigates, without presenting suspicion as a published correction.

What it does

  • Compare the hypotheses and conclusion of two statements.
  • Distinguish notation changes from restrictions on scope.
  • Identify declarations that rely on an additional assumption.
  • Record a genuinely unresolved step with its supporting evidence.
  • Keep the blueprint and formal source aligned after a correction.

Install and use

  1. Use a file-capable agent with the authorised source passage and Lean project. A local TeX setup is needed only to compile the optional note template.
  2. Ask it to describe the specific mismatch and mark any proposed explanation that lacks evidence.
  3. Have someone familiar with the mathematics check the note and the affected declaration before changing its status.

FAQ

Source

Made by Texra (texra-ai). Original skill: paper-gap-notes, published on GitHub under the MIT licence.

View on GitHub