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