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