lean4-htt/tests/pkg/module/Module
Joachim Breitner f20cae3729
fix: no defeq equations for irreducible definitions (#12429)
This PR sets the `irreducible` attribute before generating the equations
for recursive definitions. This prevents these equations to be marked as
`defeq`, which could lead to `simp` generation proofs that do not type
check at default transparency.

This issue is surfacing more easily since well-founded recursion on
`Nat` is implemented with a dedicated fix point operator (#7965). Before
that, `WellFounded.fix` was used, which is inherently not reducing, so
we did get the desired result even without the explicit reducibility
setting.

Fixes #12398.
2026-02-11 11:49:10 +00:00
..
Basic.lean fix: no defeq equations for irreducible definitions (#12429) 2026-02-11 11:49:10 +00:00
Basic2.lean fix: import-merging theorems under the module system (#10556) 2025-09-26 13:02:51 +00:00
ConflictingImported.lean fix: import-merging theorems under the module system (#10556) 2025-09-26 13:02:51 +00:00
Imported.lean chore: do not rely on Name.lt for ordering fvars in acLt (#12306) 2026-02-08 14:25:31 +00:00
ImportedAll.lean fix: no defeq equations for irreducible definitions (#12429) 2026-02-11 11:49:10 +00:00
ImportedAllImportedAll.lean fix: privacy checks and import all (#10550) 2025-09-26 13:26:10 +00:00
ImportedAllPrivateImported.lean chore: avoid confusing public import all combination (#10051) 2025-08-22 12:04:42 +00:00
ImportedImportedAll.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
ImportedPrivateImported.lean chore: even more module system fixes and refinements from Mathlib porting (#10726) 2025-10-15 14:59:09 +00:00
MetaImported.lean fix: detect private references in inferred type of public def (#10762) 2025-10-15 12:51:54 +00:00
NonModule.lean fix: no defeq equations for irreducible definitions (#12429) 2026-02-11 11:49:10 +00:00
PrivateImported.lean fix: [local simp] on privately imported theorem (#12287) 2026-02-03 12:57:23 +00:00