aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/isar
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-06-16 16:05:22 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-06-16 16:05:22 +0000
commitc7b48379944d4aca3f86160495b23cb8b2940d91 (patch)
treef879a7e9c307b129b469b4c67563e875dc3f748e /etc/isar
parent88fcac71288ef05964511af28a0f0807dfac45d7 (diff)
New files.
Diffstat (limited to 'etc/isar')
-rw-r--r--etc/isar/NamesInStrings.thy33
1 files changed, 33 insertions, 0 deletions
diff --git a/etc/isar/NamesInStrings.thy b/etc/isar/NamesInStrings.thy
new file mode 100644
index 00000000..b8afc467
--- /dev/null
+++ b/etc/isar/NamesInStrings.thy
@@ -0,0 +1,33 @@
+theory "a b" = Main:
+
+lemma foo: "B --> B" by auto
+
+lemma "foo bar": "B --> B" by auto
+
+lemma "foo-wiggle-bar": "B --> B" by auto
+
+theorem "x b": "B --> B" by auto
+
+(* NB: various other regexps and settings based on them are sensitive
+ to grouping in isar-name-regexp. *)
+
+end
+
+
+(*
+
+I noticed the following minor problem with Isabelle and
+ProofGeneral:
+
+
+>> theory "a" = Main:
+>> Proof General -> Use -> Retract:
+>> *** Outer syntax error: end of input expected,
+>> *** but identifier "a" was found
+
+Regards,
+Tjark
+
+*)
+
+