lean4-htt/src/Init/Data/Slice
Leonardo de Moura 93683eb455
feat: enable backward.whnf.reducibleClassField (#12538)
This PR enables `backward.whnf.reducibleClassField` for v4.29.

The support is particularly important when the user marks a class field
as `[reducible]` and
the transparency mode is `.reducible`. For example, suppose `e` is `a ≤
b` where `a b : Nat`,
and `LE.le` is marked as `[reducible]`. Simply unfolding `LE.le` would
give `instLENat.1 a b`,
which would be stuck because `instLENat` has transparency
`[instance_reducible]`. To avoid this, when we unfold
a `[reducible]` class field, we also unfold the associated projection
`instLENat.1` using
`.instances` reducibility, ultimately returning `Nat.le a b`.

---------

Co-authored-by: Paul Reichert <6992158+datokrat@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Kim Morrison <kim@tqft.net>
2026-02-22 23:22:14 +00:00
..
Array feat: enable backward.whnf.reducibleClassField (#12538) 2026-02-22 23:22:14 +00:00
List feat: enable backward.whnf.reducibleClassField (#12538) 2026-02-22 23:22:14 +00:00
Array.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Basic.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
InternalLemmas.lean feat: Rxx.nodup_toList lemmas and slice/foldl lemmas (#12438) 2026-02-16 13:55:11 +00:00
Lemmas.lean feat: Rxx.nodup_toList lemmas and slice/foldl lemmas (#12438) 2026-02-16 13:55:11 +00:00
List.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
Notation.lean style: fix typos in Init/ and Std/ docstrings (#11864) 2026-01-09 07:24:07 +00:00
Operations.lean refactor: remove Subarray.foldl and other slice operation aliases (#12441) 2026-02-20 08:18:33 +00:00