lean4-htt/src/Lean/Compiler
Kim Morrison 3a408e0e54
feat: change Array.get to take a Nat and a proof (#6032)
This PR changes the signature of `Array.get` to take a Nat and a proof,
rather than a `Fin`, for consistency with the rest of the (planned)
Array API. Note that because of bootstrapping issues we can't provide
`get_elem_tactic` as an autoparameter for the proof. As users will
mostly use the `xs[i]` notation provided by `GetElem`, this hopefully
isn't a problem.

We may restore `Fin` based versions, either here or downstream, as
needed, but they won't be the "main" functions.

---------

Co-authored-by: David Thrane Christiansen <david@davidchristiansen.dk>
2024-11-12 03:30:46 +00:00
..
IR feat: change Array.get to take a Nat and a proof (#6032) 2024-11-12 03:30:46 +00:00
LCNF fix: bring elaborator in line with kernel for primitive projections (#5822) 2024-10-31 03:16:52 +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 perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ConstFolding.lean fix: miscompilation in constant folding (#4311) 2024-05-31 04:24:45 +00:00
CSimpAttr.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ExportAttr.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ExternAttr.lean feat: display diagnostic information at term and tactic set_option diagnostics true (#4048) 2024-05-01 22:47:57 +00:00
FFI.lean feat: expose flags for the bundled C compiler (#4477) 2024-06-22 01:23:33 +00:00
ImplementedByAttr.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
InitAttr.lean fix: allow multiple declareBuiltin per declaration 2024-05-23 17:23:39 +02:00
InlineAttrs.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
IR.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
LCNF.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Main.lean feat: trace.profiler export to Firefox Profiler (#3801) 2024-04-15 12:13:14 +00:00
NameMangling.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
NeverExtractAttr.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
NoncomputableAttr.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Old.lean chore: fix spelling mistakes in error messages/exceptions (#5425) 2024-09-23 13:19:05 +00:00
Options.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Specialize.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00