Skip to content

Conversation

@augustepoiroux
Copy link
Contributor

@augustepoiroux augustepoiroux commented Jun 27, 2025

Partially fix #66
The second problem mentioned in #66 is solved by this PR: all declarations preceding the sorries within a same REPL command are now correctly collected in the environment for ProofSnapshots. This issue is a major bottleneck when using the tactic mode on files where proofs depend on lemmas introduced in the same file (i.e. submitted in the same command in the REPL)
However, the initial problem in #66 is still not solved. Auxiliary declarations within the declaration itself are still not captured correctly. I attempted to replay these auxiliary declarations with limited success. Ideas to fix this are welcome.

Note: depends on #108

@augustepoiroux augustepoiroux force-pushed the incremental_processing branch 4 times, most recently from d5b1011 to cc50ca5 Compare July 8, 2025 16:45
@augustepoiroux augustepoiroux force-pushed the incremental_processing branch from cc50ca5 to 92ba30b Compare July 24, 2025 07:41
@augustepoiroux augustepoiroux force-pushed the incremental_processing branch 2 times, most recently from c576842 to 7b48365 Compare August 15, 2025 11:43
augustepoiroux added a commit to augustepoiroux/LeanInteract that referenced this pull request Oct 13, 2025
Add the following features:
- Fine-grained data extraction for Lean declarations leanprover-community/repl#119
- Incremental elaboration leanprover-community/repl#110
  - also fixes #6
- Parallel elaboration (through `set_option` support)
- `set_option` support leanprover-community/repl#119

A few fixes:
- leanprover-community/repl#108
- leanprover-community/repl#109

Add py.typed
- #32 

Breaking changes:
- Support for Lean v4.7.0 is dropped
@augustepoiroux augustepoiroux force-pushed the incremental_processing branch 3 times, most recently from 8290a60 to bb76fa6 Compare November 19, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pattern-matching in theorem signature causes unknown constant 'foo.match_1'

1 participant