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