lean4-htt/src/Lean/Compiler
Cameron Zwarich 997892d49a
fix: constant fold Char.ofNat in LCNF simp (#8816)
This PR adds constant folding for Char.ofNat in LCNF simp. This
implicitly relies on the representation of `Char` as `UInt32` rather
than making a separate `.char` literal type, which seems reasonable as
`Char` is erased by the trivial structure optimization in `toMono`.
2025-06-16 17:48:55 +00:00
..
IR chore: improve clarity in a match expression (#8781) 2025-06-14 00:53:12 +00:00
LCNF fix: constant fold Char.ofNat in LCNF simp (#8816) 2025-06-16 17:48:55 +00:00
AtMostOnce.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
BorrowedAnnotation.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ClosedTermCache.lean fix: more realizeConst fixes (#7300) 2025-03-03 12:10:40 +00:00
ConstFolding.lean fix: remove incorrect strictOr/strictAnd optimizations (#8594) 2025-06-02 16:14:56 +00:00
CSimpAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
ExportAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
ExternAttr.lean feat: add support for extern LCNF decls (#6429) 2024-12-20 21:20:56 +00:00
FFI.lean chore: lake: bootstrap Lean include directory (#7967) 2025-04-15 23:15:53 +00:00
ImplementedByAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
InitAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
InlineAttrs.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
IR.lean feat: LCNF -> IR translation (#8211) 2025-05-03 05:34:37 +00:00
LCNF.lean chore: test that there are no orphaned modules (#8082) 2025-04-24 11:55:07 +00:00
Main.lean feat: trace.profiler export to Firefox Profiler (#3801) 2024-04-15 12:13:14 +00:00
MetaAttr.lean fix: meta tag can be added async (#8783) 2025-06-14 11:19:35 +00:00
NameMangling.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
NeverExtractAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
NoncomputableAttr.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
Old.lean perf: Environment blocker removals from async-proofs branch (#7483) 2025-03-14 13:37:01 +00:00
Options.lean fix: run LCNF checks less often by default (#8764) 2025-06-13 05:39:21 +00:00
Specialize.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00