more "xsymbols" syntax;
authorwenzelm
Wed, 25 Oct 2000 18:32:02 +0200
changeset 10331 7411e4659d4a
parent 10330 4362e906b745
child 10332 b4f7f8693f8e
more "xsymbols" syntax;
src/HOL/Record.thy
src/HOL/Transitive_Closure.thy
--- a/src/HOL/Record.thy	Wed Oct 25 18:31:21 2000 +0200
+++ b/src/HOL/Record.thy	Wed Oct 25 18:32:02 2000 +0200
@@ -40,7 +40,7 @@
   "_updates"            :: "[update, updates] => updates"               ("_,/ _")
   "_record_update"      :: "['a, updates] => 'b"                ("_/(3'(| _ |'))" [900,0] 900)
 
-syntax (input)   (* FIXME (xsymbols) *)
+syntax (xsymbols)
   "_record_type"        :: "field_types => type"                        ("(3\<lparr>_\<rparr>)")
   "_record_type_scheme" :: "[field_types, type] => type"        ("(3\<lparr>_,/ (2\<dots> ::/ _)\<rparr>)")
   "_record"             :: "fields => 'a"                               ("(3\<lparr>_\<rparr>)")
--- a/src/HOL/Transitive_Closure.thy	Wed Oct 25 18:31:21 2000 +0200
+++ b/src/HOL/Transitive_Closure.thy	Wed Oct 25 18:32:02 2000 +0200
@@ -9,23 +9,27 @@
 trancl  is transitive closure
 reflcl  is reflexive closure
 
-These postfix operators have MAXIMUM PRIORITY, forcing their operands to be
-      atomic.
+These postfix operators have MAXIMUM PRIORITY, forcing their operands
+to be atomic.
 *)
 
 Transitive_Closure = Lfp + Relation + 
 
 constdefs
-  rtrancl :: "('a * 'a)set => ('a * 'a)set"   ("(_^*)" [1000] 999)
-  "r^*  ==  lfp(%s. Id Un (r O s))"
+  rtrancl :: "('a * 'a) set => ('a * 'a) set"    ("(_^*)" [1000] 999)
+  "r^* == lfp (%s. Id Un (r O s))"
 
-  trancl  :: "('a * 'a)set => ('a * 'a)set"   ("(_^+)" [1000] 999)
-  "r^+  ==  r O rtrancl(r)"
+  trancl :: "('a * 'a) set => ('a * 'a) set"    ("(_^+)" [1000] 999)
+  "r^+ ==  r O rtrancl r"
 
 syntax
-  "_reflcl"  :: "('a*'a)set => ('a*'a)set"       ("(_^=)" [1000] 999)
-
+  "_reflcl" :: "('a * 'a) set => ('a * 'a) set"    ("(_^=)" [1000] 999)
 translations
   "r^=" == "r Un Id"
 
+syntax (xsymbols)
+  rtrancl :: "('a * 'a) set => ('a * 'a) set"    ("(_\\<^sup>*)" [1000] 999)
+  trancl :: "('a * 'a) set => ('a * 'a) set"    ("(_\\<^sup>+)" [1000] 999)
+  "_reflcl" :: "('a * 'a) set => ('a * 'a) set"    ("(_\\<^sup>=)" [1000] 999)
+
 end