etc/isar-keywords.el
author wenzelm
Wed, 17 Sep 2008 23:04:27 +0200
changeset 28280 fd0485db7d5a
parent 27621 d96bd54d7446
child 28482 36b12b1be770
permissions -rw-r--r--
updated generated file;
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL-Plain + HOL + HOLCF + IOA + HOL-Nominal + HOL-Statespace.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 ;; $Id$
     7 ;;
     8 
     9 (defconst isar-keywords-major
    10   '("\\."
    11     "\\.\\."
    12     "Isabelle\\.command"
    13     "Isar\\.command"
    14     "Isar\\.insert"
    15     "Isar\\.remove"
    16     "ML"
    17     "ML_command"
    18     "ML_prf"
    19     "ML_val"
    20     "ProofGeneral\\.inform_file_processed"
    21     "ProofGeneral\\.inform_file_retracted"
    22     "ProofGeneral\\.kill_proof"
    23     "ProofGeneral\\.process_pgip"
    24     "ProofGeneral\\.restart"
    25     "ProofGeneral\\.undo"
    26     "abbreviation"
    27     "also"
    28     "apply"
    29     "apply_end"
    30     "arities"
    31     "assume"
    32     "atom_decl"
    33     "automaton"
    34     "ax_specification"
    35     "axclass"
    36     "axiomatization"
    37     "axioms"
    38     "back"
    39     "by"
    40     "cannot_undo"
    41     "case"
    42     "cd"
    43     "chapter"
    44     "class"
    45     "class_deps"
    46     "classes"
    47     "classrel"
    48     "code_abort"
    49     "code_class"
    50     "code_const"
    51     "code_datatype"
    52     "code_deps"
    53     "code_include"
    54     "code_instance"
    55     "code_library"
    56     "code_module"
    57     "code_modulename"
    58     "code_monad"
    59     "code_reserved"
    60     "code_thms"
    61     "code_type"
    62     "coinductive"
    63     "coinductive_set"
    64     "commit"
    65     "constdefs"
    66     "consts"
    67     "consts_code"
    68     "context"
    69     "corollary"
    70     "cpodef"
    71     "datatype"
    72     "declaration"
    73     "declare"
    74     "def"
    75     "defaultsort"
    76     "defer"
    77     "defer_recdef"
    78     "definition"
    79     "defs"
    80     "disable_pr"
    81     "display_drafts"
    82     "domain"
    83     "done"
    84     "enable_pr"
    85     "end"
    86     "equivariance"
    87     "exit"
    88     "export_code"
    89     "extract"
    90     "extract_type"
    91     "finalconsts"
    92     "finally"
    93     "find_theorems"
    94     "fix"
    95     "fixpat"
    96     "fixrec"
    97     "from"
    98     "full_prf"
    99     "fun"
   100     "function"
   101     "global"
   102     "guess"
   103     "have"
   104     "header"
   105     "help"
   106     "hence"
   107     "hide"
   108     "inductive"
   109     "inductive_cases"
   110     "inductive_set"
   111     "init_toplevel"
   112     "instance"
   113     "instantiation"
   114     "interpret"
   115     "interpretation"
   116     "invoke"
   117     "judgment"
   118     "kill"
   119     "kill_thy"
   120     "lemma"
   121     "lemmas"
   122     "let"
   123     "linear_undo"
   124     "local"
   125     "locale"
   126     "method_setup"
   127     "moreover"
   128     "next"
   129     "no_notation"
   130     "no_syntax"
   131     "no_translations"
   132     "nominal_datatype"
   133     "nominal_inductive"
   134     "nominal_primrec"
   135     "nonterminals"
   136     "normal_form"
   137     "notation"
   138     "note"
   139     "obtain"
   140     "oops"
   141     "oracle"
   142     "overloading"
   143     "parse_ast_translation"
   144     "parse_translation"
   145     "pcpodef"
   146     "pr"
   147     "prefer"
   148     "presume"
   149     "pretty_setmargin"
   150     "prf"
   151     "primrec"
   152     "print_abbrevs"
   153     "print_antiquotations"
   154     "print_ast_translation"
   155     "print_attributes"
   156     "print_binds"
   157     "print_cases"
   158     "print_claset"
   159     "print_classes"
   160     "print_codesetup"
   161     "print_commands"
   162     "print_configs"
   163     "print_context"
   164     "print_drafts"
   165     "print_facts"
   166     "print_induct_rules"
   167     "print_interps"
   168     "print_locale"
   169     "print_locales"
   170     "print_methods"
   171     "print_orders"
   172     "print_rules"
   173     "print_simpset"
   174     "print_statement"
   175     "print_syntax"
   176     "print_theorems"
   177     "print_theory"
   178     "print_trans_rules"
   179     "print_translation"
   180     "proof"
   181     "prop"
   182     "pwd"
   183     "qed"
   184     "quickcheck"
   185     "quickcheck_params"
   186     "quit"
   187     "realizability"
   188     "realizers"
   189     "recdef"
   190     "recdef_tc"
   191     "record"
   192     "refute"
   193     "refute_params"
   194     "remove_thy"
   195     "rep_datatype"
   196     "sect"
   197     "section"
   198     "setup"
   199     "show"
   200     "simproc_setup"
   201     "sledgehammer"
   202     "sorry"
   203     "specification"
   204     "statespace"
   205     "subclass"
   206     "subsect"
   207     "subsection"
   208     "subsubsect"
   209     "subsubsection"
   210     "syntax"
   211     "term"
   212     "termination"
   213     "text"
   214     "text_raw"
   215     "then"
   216     "theorem"
   217     "theorems"
   218     "theory"
   219     "thm"
   220     "thm_deps"
   221     "thus"
   222     "thy_deps"
   223     "touch_thy"
   224     "translations"
   225     "txt"
   226     "txt_raw"
   227     "typ"
   228     "typed_print_translation"
   229     "typedecl"
   230     "typedef"
   231     "types"
   232     "types_code"
   233     "ultimately"
   234     "undo"
   235     "undos_proof"
   236     "unfolding"
   237     "unused_thms"
   238     "use"
   239     "use_thy"
   240     "using"
   241     "value"
   242     "welcome"
   243     "with"
   244     "{"
   245     "}"))
   246 
   247 (defconst isar-keywords-minor
   248   '("actions"
   249     "advanced"
   250     "and"
   251     "assumes"
   252     "attach"
   253     "avoids"
   254     "begin"
   255     "binder"
   256     "compose"
   257     "congs"
   258     "constrains"
   259     "contains"
   260     "defines"
   261     "file"
   262     "fixes"
   263     "for"
   264     "hide_action"
   265     "hints"
   266     "identifier"
   267     "if"
   268     "imports"
   269     "in"
   270     "includes"
   271     "infix"
   272     "infixl"
   273     "infixr"
   274     "initially"
   275     "inputs"
   276     "internals"
   277     "is"
   278     "lazy"
   279     "module_name"
   280     "monos"
   281     "morphisms"
   282     "notes"
   283     "obtains"
   284     "open"
   285     "otherwise"
   286     "output"
   287     "outputs"
   288     "overloaded"
   289     "permissive"
   290     "post"
   291     "pre"
   292     "rename"
   293     "restrict"
   294     "shows"
   295     "signature"
   296     "states"
   297     "structure"
   298     "to"
   299     "transitions"
   300     "transrel"
   301     "unchecked"
   302     "uses"
   303     "where"))
   304 
   305 (defconst isar-keywords-control
   306   '("Isabelle\\.command"
   307     "Isar\\.command"
   308     "Isar\\.insert"
   309     "Isar\\.remove"
   310     "ProofGeneral\\.inform_file_processed"
   311     "ProofGeneral\\.inform_file_retracted"
   312     "ProofGeneral\\.kill_proof"
   313     "ProofGeneral\\.process_pgip"
   314     "ProofGeneral\\.restart"
   315     "ProofGeneral\\.undo"
   316     "cannot_undo"
   317     "exit"
   318     "init_toplevel"
   319     "kill"
   320     "linear_undo"
   321     "quit"
   322     "undo"
   323     "undos_proof"))
   324 
   325 (defconst isar-keywords-diag
   326   '("ML_command"
   327     "ML_val"
   328     "cd"
   329     "class_deps"
   330     "code_deps"
   331     "code_thms"
   332     "commit"
   333     "disable_pr"
   334     "display_drafts"
   335     "enable_pr"
   336     "export_code"
   337     "find_theorems"
   338     "full_prf"
   339     "header"
   340     "help"
   341     "kill_thy"
   342     "normal_form"
   343     "pr"
   344     "pretty_setmargin"
   345     "prf"
   346     "print_abbrevs"
   347     "print_antiquotations"
   348     "print_attributes"
   349     "print_binds"
   350     "print_cases"
   351     "print_claset"
   352     "print_classes"
   353     "print_codesetup"
   354     "print_commands"
   355     "print_configs"
   356     "print_context"
   357     "print_drafts"
   358     "print_facts"
   359     "print_induct_rules"
   360     "print_interps"
   361     "print_locale"
   362     "print_locales"
   363     "print_methods"
   364     "print_orders"
   365     "print_rules"
   366     "print_simpset"
   367     "print_statement"
   368     "print_syntax"
   369     "print_theorems"
   370     "print_theory"
   371     "print_trans_rules"
   372     "prop"
   373     "pwd"
   374     "quickcheck"
   375     "refute"
   376     "remove_thy"
   377     "sledgehammer"
   378     "term"
   379     "thm"
   380     "thm_deps"
   381     "thy_deps"
   382     "touch_thy"
   383     "typ"
   384     "unused_thms"
   385     "use_thy"
   386     "value"
   387     "welcome"))
   388 
   389 (defconst isar-keywords-theory-begin
   390   '("theory"))
   391 
   392 (defconst isar-keywords-theory-switch
   393   '())
   394 
   395 (defconst isar-keywords-theory-end
   396   '("end"))
   397 
   398 (defconst isar-keywords-theory-heading
   399   '("chapter"
   400     "section"
   401     "subsection"
   402     "subsubsection"))
   403 
   404 (defconst isar-keywords-theory-decl
   405   '("ML"
   406     "abbreviation"
   407     "arities"
   408     "atom_decl"
   409     "automaton"
   410     "axclass"
   411     "axiomatization"
   412     "axioms"
   413     "class"
   414     "classes"
   415     "classrel"
   416     "code_abort"
   417     "code_class"
   418     "code_const"
   419     "code_datatype"
   420     "code_include"
   421     "code_instance"
   422     "code_library"
   423     "code_module"
   424     "code_modulename"
   425     "code_monad"
   426     "code_reserved"
   427     "code_type"
   428     "coinductive"
   429     "coinductive_set"
   430     "constdefs"
   431     "consts"
   432     "consts_code"
   433     "context"
   434     "datatype"
   435     "declaration"
   436     "declare"
   437     "defaultsort"
   438     "defer_recdef"
   439     "definition"
   440     "defs"
   441     "domain"
   442     "equivariance"
   443     "extract"
   444     "extract_type"
   445     "finalconsts"
   446     "fixpat"
   447     "fixrec"
   448     "fun"
   449     "global"
   450     "hide"
   451     "inductive"
   452     "inductive_set"
   453     "instantiation"
   454     "judgment"
   455     "lemmas"
   456     "local"
   457     "locale"
   458     "method_setup"
   459     "no_notation"
   460     "no_syntax"
   461     "no_translations"
   462     "nominal_datatype"
   463     "nonterminals"
   464     "notation"
   465     "oracle"
   466     "overloading"
   467     "parse_ast_translation"
   468     "parse_translation"
   469     "primrec"
   470     "print_ast_translation"
   471     "print_translation"
   472     "quickcheck_params"
   473     "realizability"
   474     "realizers"
   475     "recdef"
   476     "record"
   477     "refute_params"
   478     "setup"
   479     "simproc_setup"
   480     "statespace"
   481     "syntax"
   482     "text"
   483     "text_raw"
   484     "theorems"
   485     "translations"
   486     "typed_print_translation"
   487     "typedecl"
   488     "types"
   489     "types_code"
   490     "use"))
   491 
   492 (defconst isar-keywords-theory-script
   493   '("inductive_cases"))
   494 
   495 (defconst isar-keywords-theory-goal
   496   '("ax_specification"
   497     "corollary"
   498     "cpodef"
   499     "function"
   500     "instance"
   501     "interpretation"
   502     "lemma"
   503     "nominal_inductive"
   504     "nominal_primrec"
   505     "pcpodef"
   506     "recdef_tc"
   507     "rep_datatype"
   508     "specification"
   509     "subclass"
   510     "termination"
   511     "theorem"
   512     "typedef"))
   513 
   514 (defconst isar-keywords-qed
   515   '("\\."
   516     "\\.\\."
   517     "by"
   518     "done"
   519     "sorry"))
   520 
   521 (defconst isar-keywords-qed-block
   522   '("qed"))
   523 
   524 (defconst isar-keywords-qed-global
   525   '("oops"))
   526 
   527 (defconst isar-keywords-proof-heading
   528   '("sect"
   529     "subsect"
   530     "subsubsect"))
   531 
   532 (defconst isar-keywords-proof-goal
   533   '("have"
   534     "hence"
   535     "interpret"
   536     "invoke"))
   537 
   538 (defconst isar-keywords-proof-block
   539   '("next"
   540     "proof"))
   541 
   542 (defconst isar-keywords-proof-open
   543   '("{"))
   544 
   545 (defconst isar-keywords-proof-close
   546   '("}"))
   547 
   548 (defconst isar-keywords-proof-chain
   549   '("finally"
   550     "from"
   551     "then"
   552     "ultimately"
   553     "with"))
   554 
   555 (defconst isar-keywords-proof-decl
   556   '("ML_prf"
   557     "also"
   558     "let"
   559     "moreover"
   560     "note"
   561     "txt"
   562     "txt_raw"
   563     "unfolding"
   564     "using"))
   565 
   566 (defconst isar-keywords-proof-asm
   567   '("assume"
   568     "case"
   569     "def"
   570     "fix"
   571     "presume"))
   572 
   573 (defconst isar-keywords-proof-asm-goal
   574   '("guess"
   575     "obtain"
   576     "show"
   577     "thus"))
   578 
   579 (defconst isar-keywords-proof-script
   580   '("apply"
   581     "apply_end"
   582     "back"
   583     "defer"
   584     "prefer"))
   585 
   586 (provide 'isar-keywords)