Pretty-print the expression in widget mode
See original GitHub issueWhen you have longer expressions, the text and widget modes render very differently. It would be very nice if we could also pretty-print in the widget mode. Here’s an example:
example : ∀ n : ℕ, to_string n ≠ "hello" :=
begin
intro n, dsimp [to_string, has_to_string.to_string, repr, has_repr.repr, nat.repr, nat.to_digits],
delta nat.to_digits,
-- put your cursor here
end
The top state is rendered using widget mode, the bottom one is just text, but they both refer to the same proof state.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Printing - SymPy 1.11 documentation
As we have already seen, SymPy can pretty print its output using Unicode characters. This is a short introduction to the most common ......
Read more >xml:prettyPrint() - Humio Documentation
The name of the field to store the output in. The name of the field to format. The indentation in number of characters....
Read more >Pretty printing Sympy expression in Tkinter? - Stack Overflow
Is there a way to pretty print a Sympy expression within a Tkinter window? I tried writing a function that finds the derivative...
Read more >Using Pretty-Printing - Oracle® Developer Studio 12.5
Call-based pretty-printing enables an application to provide its own rendition of an expression's value through a function call. If you specify the –p...
Read more >Create a static method to pretty print gherkin · Issue #4 - GitHub
I find myself wishing there was a simple SDK with the ability to pretty print (format) gherkin files. Like how intellij cucumber plugin...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The vscode extension does not need to be adjusted
So this issue should be moved to the lean repo or mathlib, it’s not a vscode problem