lean4-htt/tests
Cameron Zwarich 333f7573d7
fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824)
This PR fixes an issue where uses of 'noncomputable' definitions can get
incorrectly compiled, while also removing the use of 'noncomputable'
definitions altogether. Some uses of 'noncomputable' definitions (e.g.
Classical.propDecidable) do not get compiled correctly by type erasure.
Running the optimizer on the result can lead to them being optimized
away, eluding the later IR-level check for uses of noncomputable
definitions.

To fix this, we add a 'noncomputable' check earlier in the
erase_irrelevant pass.
2025-04-06 16:01:07 +00:00
..
bench test: re-elaboration benchmarks (#7784) 2025-04-02 10:10:46 +00:00
compiler
elabissues
ir
lean fix: perform an earlier 'noncomputable' check to avoid misoptimizations (#7824) 2025-04-06 16:01:07 +00:00
pkg feat: lake: use absolute paths (#7822) 2025-04-05 13:38:35 +00:00
playground
plugin
simpperf
.gitignore
common.sh chore: normalize URLs to the language reference in test results (#7782) 2025-04-02 06:17:31 +00:00
lean-toolchain