lean4-htt/src
Leonardo de Moura 7d2a7dba81
fix: improve evalInt? (#9479)
This PR improves the `evalInt?` function, which is used to evaluate
configuration parameters from the `ToInt` type class. This PR also adds
a new `evalNat?` function for handling the `IsCharP` type class, and
introduces a configuration option:
```
grind (exp := <num>)
```
This option controls the maximum exponent size considered during
expression evaluation. Previously, `evalInt?` used `whnf`, which could
run out of stack space when reducing terms such as `2^1024`.

closes #9427
2025-07-23 01:51:04 +00:00
..
bin
cmake
include/lean perf: inline lean_inc_ref_cold (#4978) 2025-06-27 15:58:00 +00:00
Init fix: improve evalInt? (#9479) 2025-07-23 01:51:04 +00:00
initialize feat: remove the old compiler (#9275) 2025-07-09 06:00:46 +00:00
kernel perf: add missing std::moves (#9107) 2025-07-01 12:39:12 +00:00
lake feat: lake: meta import support (#9478) 2025-07-23 01:17:20 +00:00
Lean fix: improve evalInt? (#9479) 2025-07-23 01:51:04 +00:00
library chore: add a new tagged IRType for inline tagged scalars (#9394) 2025-07-16 00:42:56 +00:00
runtime fix: behavior of String.next (#9449) 2025-07-22 06:48:33 +00:00
shell
Std fix: improve evalInt? (#9479) 2025-07-23 01:51:04 +00:00
util chore: have shell.cpp use library/util.h rather than library/compiler… (#9269) 2025-07-09 01:41:04 +00:00
cadical.mk
CMakeLists.txt chore: benchmark using USE_LAKE (#9361) 2025-07-17 18:44:29 +00:00
config.h.in
githash.h.in
Init.lean chore: module-ize Init.lean 2025-06-29 16:52:13 +02:00
lakefile.toml.in chore: benchmark using USE_LAKE (#9361) 2025-07-17 18:44:29 +00:00
lean-toolchain
Lean.lean feat: add initial error explanations (#8934) 2025-06-23 17:24:09 +00:00
lean.mk.in
Leanc.lean
Std.lean feat: Upstream MPL.SPred.* from mpl (#8928) 2025-06-26 11:15:11 +00:00
stdlib.make.in chore: benchmark using USE_LAKE (#9361) 2025-07-17 18:44:29 +00:00
stdlib_flags.h chore: remove old documentation site (#7974) 2025-05-14 14:31:33 +00:00
version.h.in