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