added symbols syntax;
authorwenzelm
Wed, 21 Jan 1998 15:50:25 +0100
changeset 4584 3588b8f9613f
parent 4583 6d9be46ea566
child 4585 9e7a32dfc1f2
added symbols syntax;
src/Cube/Base.thy
--- a/src/Cube/Base.thy	Tue Jan 20 18:26:26 1998 +0100
+++ b/src/Cube/Base.thy	Wed Jan 21 15:50:25 1998 +0100
@@ -38,6 +38,14 @@
   "Pi x:A. B"   => "Prod(A, %x. B)"
   "A -> B"      => "Prod(A, _K(B))"
 
+syntax (symbols)
+  Trueprop      :: "[context, typing] => prop"          ("(_/ \\<turnstile> _)")
+  box           :: "term"                               ("\\<box>")
+  Lam           :: "[idt, term, term] => term"          ("(3\\<Lambda>_:_./ _)" [0, 0, 0] 10)
+  Pi            :: "[idt, term, term] => term"          ("(3\\<Pi>_:_./ _)" [0, 0] 10)
+  "op ->"       :: "[term, term] => term"               (infixr "\\<rightarrow>" 10)
+
+
 rules
   s_b           "*: []"