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