lean4-htt/nix
Sebastian Ullrich f97a7d4234
feat: incremental elaboration of definition headers, bodies, and tactics (#3940)
Extends Lean's incremental reporting and reuse between commands into
various steps inside declarations:
* headers and bodies of each (mutual) definition/theorem
* `theorem ... := by` for each contained tactic step, including
recursively inside supported combinators currently consisting of
  * `·` (cdot), `case`, `next`
  * `induction`, `cases`
  * macros such as `next` unfolding to the above

![Recording 2024-05-10 at 11 07
32](https://github.com/leanprover/lean4/assets/109126/c9d67b6f-c131-4bc3-a0de-7d63eaf1bfc9)

*Incremental reuse* means not recomputing any such steps if they are not
affected by a document change. *Incremental reporting* includes the
parts seen in the recording above: the progress bar and messages. Other
language server features such as hover etc. are *not yet* supported
incrementally, i.e. they are shown only when the declaration has been
fully processed as before.

---------

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
2024-05-22 13:23:30 +00:00
..
bareStdenv chore: Nix: re-enable nix develop on bare derivations 2022-07-08 14:49:08 +02:00
templates/pkg chore: Nix: use strings instead of URL literals (#2172) 2023-03-28 10:10:24 +02:00
bootstrap.nix feat: incremental elaboration of definition headers, bodies, and tactics (#3940) 2024-05-22 13:23:30 +00:00
buildLeanPackage.nix fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
lake-dev.in feat: per-package server options (#2858) 2023-11-26 13:42:38 +00:00
lean-dev.in chore: Nix: better solution for filtering test output 2022-07-28 17:12:17 +02:00
packages.nix chore: Nix bump to LLVM 15 2023-07-28 10:56:54 +02:00