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