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