lean4-htt/src/Init/Data/Fin
Joachim Breitner 842280321b
refactor: let Nat.mod reduce more (#4145)
this refined upon #4098 and makes `Nat.mod` reduce on even more
literals. The key observation that I missed earlier is that `if m ≤ n`
reduces better than `if n < m`.

Also see discussion at

https://github.com/leanprover-community/mathlib4/pull/12853#discussion_r1597798308
2024-05-13 16:41:09 +00:00
..
Basic.lean doc: docstrings for some Fin definitions (#3858) 2024-04-13 07:52:32 +00:00
Fold.lean perf: use with_reducible in special-purpose decreasing_trivial macros (#3991) 2024-04-29 15:12:27 +00:00
Iterate.lean perf: use with_reducible in special-purpose decreasing_trivial macros (#3991) 2024-04-29 15:12:27 +00:00
Lemmas.lean refactor: let Nat.mod reduce more (#4145) 2024-05-13 16:41:09 +00:00
Log2.lean feat: log2 for Fin and UInts 2022-11-29 01:05:06 +01:00