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