src/Pure/Isar/isar_syn.ML
changeset 16074 9e569163ba8c
parent 16038 b645ff0c697c
child 16102 c5f6726d9bb1
equal deleted inserted replaced
16073:794b37d08a2e 16074:9e569163ba8c
   636 val criterion =
   636 val criterion =
   637   P.reserved "name" |-- P.!!! (P.$$$ ":" |-- P.xname) >> FindTheorems.Name ||
   637   P.reserved "name" |-- P.!!! (P.$$$ ":" |-- P.xname) >> FindTheorems.Name ||
   638   P.reserved "intro" >> K FindTheorems.Intro ||
   638   P.reserved "intro" >> K FindTheorems.Intro ||
   639   P.reserved "elim" >> K FindTheorems.Elim ||
   639   P.reserved "elim" >> K FindTheorems.Elim ||
   640   P.reserved "dest" >> K FindTheorems.Dest ||
   640   P.reserved "dest" >> K FindTheorems.Dest ||
   641   P.reserved "rewrite" |-- P.!!! (P.$$$ ":" |-- P.term) >> FindTheorems.Rewrite ||
   641   P.reserved "simp" |-- P.!!! (P.$$$ ":" |-- P.term) >> FindTheorems.Simp ||
   642   P.term >> FindTheorems.Pattern;
   642   P.term >> FindTheorems.Pattern;
   643 
   643 
   644 val find_theoremsP =
   644 val find_theoremsP =
   645   OuterSyntax.improper_command "thms_containing"
   645   OuterSyntax.improper_command "thms_containing"
   646     "print theorems meeting specified criteria" K.diag
   646     "print theorems meeting specified criteria" K.diag