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