lean4 icon indicating copy to clipboard operation
lean4 copied to clipboard

Lean 4 programming language and theorem prover

Results 621 lean4 issues
Sort by recently updated
recently updated
newest added

Unlike `String.fromUtf8Unchecked`, this one should check for valid UTF-8. In fact, since we have to decode the string anyway to figure out its character length, we might as well remove...

enhancement

Leo asked for help from the community to write docstrings in the Lean 4 codebase. It would be nice to have a docstring style guide to help in this effort...

RFC

This PR contains a number of improvements to trace messages, most notably collapsible trace nodes can now have a message. Before (neovim screenshot): ``` [Meta.synthInstance] ▼ [Meta.synthInstance] main goal R...

Currently `Server.RequestM` does not provide any way to make a server->client LSP request and then wait on the client's response. This is useful in cases where we want to make...

enhancement
server

### Prerequisites * [x] Put an X between the brackets on this line if you have done all of the following: * Checked that your issue isn't already [filed](https://github.com/leanprover/lean4/issues). *...

depends on new code generator

```lean example [Inhabited Empty] : α := (default : Empty).rec --^ term goal (instance missing) example [Inhabited α] : α := default --^ term goal (instance shown) example [Inhabited α]...

This is an implementation of labeled break and continue in do notation. ```lean example : IO Unit := do for (label := xLoop) x in [1:10] do for (label :=...

low priority
missing RFC

This ensures `x` is guaranteed to be of kind `c` even in presence of partial syntax.

waiting-on-author