lean4-htt/src
Julia Markus Himmel ba502f7027
chore: rename UInt8.ofNatTruncate to UInt8.ofNatClamp (#13627)
This PR renames `UInt8.ofNatTruncate` to `UInt8.ofNatClamp`.

The new name is more consistent with the rest of the library (e.g.,
`Int8.toNatClampNeg`) and also more clear. See also [#lean4 > Name of
UInt32.ofNatTruncate etc may be
wrong](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/Name.20of.20UInt32.2EofNatTruncate.20etc.20may.20be.20wrong/with/591873604).

Historical note: during prehistoric times (in January 2024),
`UInt32.ofNatTruncate` (only the 32 bit version) was introduced for use
in the `simp` configuration. When I looked at the `UIntX` API more
properly later, I added the missing variants but didn't reconsider the
name.
2026-05-04 11:02:10 +00:00
..
bin perf: separate meta and non-meta initializers (#12016) 2026-02-26 08:05:19 +00:00
cmake fix: use commondir to resolve git directory in worktrees (#13045) 2026-04-11 06:45:02 +00:00
include/lean refactor: make CancelToken Promise-based (#13303) 2026-04-28 21:50:54 +00:00
Init chore: rename UInt8.ofNatTruncate to UInt8.ofNatClamp (#13627) 2026-05-04 11:02:10 +00:00
initialize
kernel chore: fix spelling errors (#13274) 2026-04-04 07:34:34 +00:00
lake fix: lake: await needs before processing module headers (#13601) 2026-05-03 18:17:08 +00:00
Lean chore: rename UInt8.ofNatTruncate to UInt8.ofNatClamp (#13627) 2026-05-04 11:02:10 +00:00
library fix: potential Array.get!Internal leaks part 2 (#13148) 2026-03-27 02:51:39 +00:00
runtime refactor: make CancelToken Promise-based (#13303) 2026-04-28 21:50:54 +00:00
shell chore: move test suite setup to tests/CMakeLists.txt (#12278) 2026-02-03 13:22:20 +00:00
Std feat: MVarId.assertAfter fvar alias info, MVarId.replace mvar dependencies, specialize tactic using eta arguments (#13528) 2026-04-30 10:36:29 +00:00
util feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
cadical.mk
CMakeLists.txt fix: pass CMake Lake args to the Lake make build (#13410) 2026-04-14 22:07:29 +00:00
config.h.in
githash.h.in
Init.lean feat: lake: add support for running environment linters (#13431) 2026-04-22 18:17:41 +00:00
lakefile.toml.in chore: use weakLeanArgs for Lake plugin (#13335) 2026-04-09 00:02:39 +00:00
lean-toolchain chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
Lean.lean refactor: move getOriginalConstKind? into its own module to avoid future import cycle (#12265) 2026-02-01 16:18:51 +00:00
lean.mk.in
Leanc.lean
LeanChecker.lean refactor: remove Lean.Environment.replay from core (#12972) 2026-03-18 22:11:42 +00:00
LeanIR.lean chore: fixes from #13103 "enable separate codegen" (#13241) 2026-04-02 11:13:22 +00:00
out
Std.lean
stdlib.make.in fix: pass CMake Lake args to the Lake make build (#13410) 2026-04-14 22:07:29 +00:00
stdlib_flags.h chore: consistent build flags between USE_LAKE ON and OFF (#12941) 2026-03-17 11:02:55 +00:00
version.h.in