lean4-htt/tests/pkg/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
..
Module fix: no defeq equations for irreducible definitions (#12429) 2026-02-11 11:49:10 +00:00
lakefile.toml feat: module system is no longer experimental (#11637) 2025-12-12 21:20:26 +00:00
lean-toolchain
Module.lean fix: privacy checks and import all (#10550) 2025-09-26 13:26:10 +00:00
test.sh fix: import-merging theorems under the module system (#10556) 2025-09-26 13:02:51 +00:00