perf: do not wait for earlier declarations when adding inductive types This PR makes `inductive` and `structure` commands no longer wait for earlier declarations in the file to be elaborated and checked, so that parallel elaboration continues across them. `Environment.addDeclCore` now checks an inductive type declaration against `Environment.uncheckedKernelEnv` and adds the resulting constants to `checked` asynchronously. `mkCasesOn` uses the same environment, and the auxiliary recursors of nested inductive types are now registered by `addDeclCore` itself. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.