aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+
+*)
+
+