Skip to content

Conversation

@kmill
Copy link
Contributor

@kmill kmill commented Jun 20, 2025

This PR makes changes for compatibility with leanprover/lean4#8804.

The key difference is that nondep := true should be treated as a cdecl in the future. The LocalDecl.isLet function will return false for such ldecls.

This PR makes changes for compatibility with leanprover/lean4#8804.

The key difference is that `nondep := true` should be treated as a cdecl. The `LocalDecl.isLet` will return false for such ldecls.
@JLimperg
Copy link
Collaborator

LGTM, thanks!

After reading the new LocalDecl docstrings, I'm still a bit confused about the purpose of nonDep ldecls. If I can treat these as cdecls and even ignore their values (for the most part?), why are they not turned into cdecls?

@JLimperg JLimperg added this pull request to the merge queue Jun 23, 2025
Merged via the queue into master with commit 1b1abe6 Jun 23, 2025
1 check passed
@JLimperg JLimperg deleted the kmill_for_8804 branch June 23, 2025 15:54
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.

3 participants