clarified syntax diagram: 'obtains' does not allow prop_pat (although it could and should at some point);
authorwenzelm
Sat, 18 Apr 2015 20:44:55 +0200
changeset 60130 8044de95819b
parent 60128 3d696ccb7fa6
child 60131 2506f17d2739
clarified syntax diagram: 'obtains' does not allow prop_pat (although it could and should at some point);
src/Doc/Isar_Ref/Proof.thy
--- a/src/Doc/Isar_Ref/Proof.thy	Fri Apr 17 19:49:40 2015 +0200
+++ b/src/Doc/Isar_Ref/Proof.thy	Sat Apr 18 20:44:55 2015 +0200
@@ -444,9 +444,9 @@
     statement: @{syntax thmdecl}? (@{syntax_ref "includes"}?) (@{syntax context_elem} *) \<newline>
       conclusion
     ;
-    conclusion: @'shows' goal | @'obtains' (@{syntax parname}? case + '|')
+    conclusion: @'shows' goal | @'obtains' (@{syntax parname}? obtain_case + '|')
     ;
-    case: (@{syntax vars} + @'and') @'where' (@{syntax props} + @'and')
+    obtain_case: (@{syntax vars} + @'and') @'where' (@{syntax thmdecl}? (@{syntax prop}+) + @'and')
   \<close>}
 
   \begin{description}