lean4-htt/tests/lean/run
Sebastian Ullrich db6aa9d8d3
feat: move instance-class check to declaration site (#12325)
This PR adds a warning to any `def` of class type that does not also
declare an appropriate reducibility.

The warning check runs after elaboration (checking the actual
reducibility status via `getReducibilityStatus`) rather than
syntactically checking modifiers before elaboration. This is necessary
to accommodate patterns like `@[to_additive (attr :=
implicit_reducible)]` in Mathlib, where the reducibility attribute is
applied during `.afterCompilation` by another attribute, and would be
missed by a purely syntactic check.

---------

Co-authored-by: Paul Reichert <6992158+datokrat@users.noreply.github.com>
Co-authored-by: Kim Morrison <kim@tqft.net>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 03:23:27 +00:00
..
10067.lean fix: copied 11940 fix for structure command (#12680) 2026-02-25 13:50:04 +00:00
10850.lean fix: let Meta.zetaReduce zeta reduce have expressions (#12695) 2026-02-27 00:37:52 +00:00
async_http_encode.lean feat: add core HTTP data types (#12126) 2026-03-04 14:32:29 +00:00
async_http_string_quoting.lean feat: add core HTTP data types (#12126) 2026-03-04 14:32:29 +00:00
classDefReducibilityAfterAttr.lean feat: move instance-class check to declaration site (#12325) 2026-03-06 03:23:27 +00:00
mvcgenRflReducibility.lean fix: heartbeat limit in mvcgen due to withDefault rfl (#12696) 2026-02-26 16:40:42 +00:00
ppFVarsAnonymous.lean fix: use _fvar._ instead of _ for anonymous fvars (#12745) 2026-03-01 09:59:13 +00:00
test_single.sh