lean4
lean4 copied to clipboard
Lean 4 programming language and theorem prover
As reported on [Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Regression.20in.20function.20coercion.20inference/near/303901188). This used to be supported in Lean 3 (community edition), and is used pretty heavily in mathlib: ```lean structure Equiv (α : Sort _) (β :...
...while go-to-declaration should go to the typeclass as it does right now. I hope that's not too controversial (and may even have been suggested before)? Note that you can still...
Let us refactor the patch that adds LLVM support to Lean4 into another component: We first bump up LLVM to LLVM 15, and then add the bindings. We see that...
Closes #1546. There were no bugs with the current implementation as far as I could tell, but I noticed three areas that could be improved here: 1. Penalties should really...
This fixes an issue with hovers inside user attributes caused by the fact that the info nodes generated by the user attribute are not nested correctly under the attribute itself,...
Benchmarks: https://github.com/leanprover/lean4/pull/1689#issuecomment-1268175703
This is a low-level system for registering LSP code actions. LSP code actions are editor integrated code actions. In VScode, you can trigger the `textDocument/codeAction` handler by hitting `Ctrl+.` (`Cmd+.`...
This implements a feature similar to the `#[track_caller]` attribute in Rust or the `[HasCallStack]` typeclass in GHC Haskell. * The panicking primitive `panicWithPosWithDecl` and `panicWithPos` are changed to `StackInfo.panic` which...