# HG changeset patch # User wenzelm # Date 1727014335 -7200 # Node ID 6c9628a116ccaec568cfe289743a5d093a3f0d4e # Parent e0b958719301e3b48bb4f4376ca64220a5de29cf more specific markup for "judgment"; diff -r e0b958719301 -r 6c9628a116cc src/Cube/Cube.thy --- a/src/Cube/Cube.thy Sun Sep 22 16:04:44 2024 +0200 +++ b/src/Cube/Cube.thy Sun Sep 22 16:12:15 2024 +0200 @@ -29,8 +29,8 @@ nonterminal context' and typing' syntax - "_Trueprop" :: "[context', typing'] \ prop" (\(\notation=\infix Trueprop\\_/ \ _)\) - "_Trueprop1" :: "typing' \ prop" (\(\notation=\prefix Trueprop\\_)\) + "_Trueprop" :: "[context', typing'] \ prop" (\(\notation=judgment\_/ \ _)\) + "_Trueprop1" :: "typing' \ prop" (\(\notation=judgment\_)\) "" :: "id \ context'" (\_\) "" :: "var \ context'" (\_\) "_MT_context" :: "context'" (\\) diff -r e0b958719301 -r 6c9628a116cc src/FOL/IFOL.thy --- a/src/FOL/IFOL.thy Sun Sep 22 16:04:44 2024 +0200 +++ b/src/FOL/IFOL.thy Sun Sep 22 16:12:15 2024 +0200 @@ -32,7 +32,7 @@ typedecl o judgment - Trueprop :: \o \ prop\ (\(_)\ 5) + Trueprop :: \o \ prop\ (\(\notation=judgment\_)\ 5) subsubsection \Equality\ diff -r e0b958719301 -r 6c9628a116cc src/Pure/PIDE/markup_kind.ML --- a/src/Pure/PIDE/markup_kind.ML Sun Sep 22 16:04:44 2024 +0200 +++ b/src/Pure/PIDE/markup_kind.ML Sun Sep 22 16:12:15 2024 +0200 @@ -24,6 +24,7 @@ val markup_type_application: Markup.T val markup_application: Markup.T val markup_abstraction: Markup.T + val markup_judgment: Markup.T end; structure Markup_Kind: MARKUP_KIND = @@ -101,4 +102,6 @@ val markup_application = setup_notation (Binding.make ("application", \<^here>)); val markup_abstraction = setup_notation (Binding.make ("abstraction", \<^here>)); +val markup_judgment = setup_notation (Binding.make ("judgment", \<^here>)); + end; diff -r e0b958719301 -r 6c9628a116cc src/Sequents/ILL.thy --- a/src/Sequents/ILL.thy Sun Sep 22 16:04:44 2024 +0200 +++ b/src/Sequents/ILL.thy Sun Sep 22 16:12:15 2024 +0200 @@ -29,7 +29,7 @@ PromAux :: "three_seqi" syntax - "_Trueprop" :: "single_seqe" (\(\notation=\infix Trueprop\\(_)/ \ (_))\ [6,6] 5) + "_Trueprop" :: "single_seqe" (\(\notation=judgment\(_)/ \ (_))\ [6,6] 5) "_Context" :: "two_seqe" (\(\notation=\infix Context\\(_)/ :=: (_))\ [6,6] 5) "_PromAux" :: "three_seqe" (\promaux {_||_||_}\) diff -r e0b958719301 -r 6c9628a116cc src/Sequents/LK0.thy --- a/src/Sequents/LK0.thy Sun Sep 22 16:04:44 2024 +0200 +++ b/src/Sequents/LK0.thy Sun Sep 22 16:12:15 2024 +0200 @@ -34,7 +34,7 @@ Ex :: "('a \ o) \ o" (binder \\\ 10) syntax - "_Trueprop" :: "two_seqe" (\(\notation=\infix Trueprop\\(_)/ \ (_))\ [6,6] 5) + "_Trueprop" :: "two_seqe" (\(\notation=judgment\(_)/ \ (_))\ [6,6] 5) parse_translation \[(\<^syntax_const>\_Trueprop\, K (two_seq_tr \<^const_syntax>\Trueprop\))]\ print_translation \[(\<^const_syntax>\Trueprop\, K (two_seq_tr' \<^syntax_const>\_Trueprop\))]\