Hello, could anybody point me to the Isabelle/ML and Isabelle/Scala functions used by the State panel in jEdit to show outputs such as the one below?:
proof (prove)
goal (1 subgoal):
1. xs ≠ [] ⟹ head xs = hd xs
This is Isabelle/Scala (not /ML) - have a look at Tools/jEdit/src/state_dockable.scala, the print_state function should populate the panel.
Thanks @Fabian Huch!
But to generate the output I think Proof_Display.print_results is used.
@Lukas Stevens how do you know that the Query_Operation called print_state calls Proof_Display.print_results?
If you look at the implementation of e.g. lemma, then you see that it uses Proof_Display.print_results. This tells me that this function is used to generate the string that is then displayed by the state panel.
Last updated: Nov 05 2025 at 08:30 UTC