Skip to content

Conversation

@Kha
Copy link
Member

@Kha Kha commented Oct 31, 2025

prelude-injectivity.lean was testing inj thm generation for all inductives in core, including private ones, which could lead to name clashes that should not be able to occur in actual files. Put it under the module system to not load private decls in the first place.

@Kha Kha requested a review from nomeata October 31, 2025 17:24
gen_injective_theorems% Macro.Context
gen_injective_theorems% Macro.Exception
gen_injective_theorems% Macro.Methods
gen_injective_theorems% Macro.State
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(gone because it has a private ctor)

@Kha Kha force-pushed the push-nvqwkutmxzlu branch from 0732429 to d3a59ae Compare November 1, 2025 11:41
@Kha Kha enabled auto-merge November 1, 2025 11:41
@Kha Kha added this pull request to the merge queue Nov 1, 2025
Merged via the queue into leanprover:master with commit 4939f44 Nov 1, 2025
14 checks passed
@Kha Kha deleted the push-nvqwkutmxzlu branch November 4, 2025 21:14
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.

2 participants