lean4-htt/src/Init/Data/Fin
Kim Morrison 20acc72a29
feat: ensure Fin.foldl/r are semireducible (#6207)
This PR ensures the `Fin.foldl` and `Fin.foldr` are semireducible.
Without this the defeq `example (f : Fin 3 → ℕ) : List.ofFn f = [f 0, f
1, f 2] := rfl` was failing.

Thanks @eric-wieser and @digama0 for diagnosing on
[Zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/.60List.2EfinRange.60.20in.20Mathlib/near/484191814).
2024-11-25 03:21:36 +00:00
..
Basic.lean chore: deprecate duplicated Fin.size_pos (#6025) 2024-11-11 04:06:13 +00:00
Bitwise.lean feat: USize.and_toNat (#4629) 2024-07-03 01:28:36 +00:00
Fold.lean feat: ensure Fin.foldl/r are semireducible (#6207) 2024-11-25 03:21:36 +00:00
Iterate.lean chore: fix spelling mistakes in src/Init/ (#5427) 2024-09-23 21:09:58 +00:00
Lemmas.lean fix: make sure monad lift coercion elaborator has no side effects (#6024) 2024-11-13 16:22:31 +00:00
Log2.lean feat: log2 for Fin and UInts 2022-11-29 01:05:06 +01:00