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