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