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