etc/isar-keywords.el
author traytel
Sun Sep 08 12:26:05 2013 +0200 (2013-09-08)
changeset 53469 3356a148b783
parent 53432 36ca6764027f
child 53553 d4191bf88529
permissions -rw-r--r--
don't register "sequential" as a keyword for now as this breaks the parser for function
     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     "defaults"
   323     "defines"
   324     "file"
   325     "fixes"
   326     "for"
   327     "functions"
   328     "hints"
   329     "identifier"
   330     "if"
   331     "imports"
   332     "in"
   333     "includes"
   334     "infix"
   335     "infixl"
   336     "infixr"
   337     "is"
   338     "keywords"
   339     "lazy"
   340     "module_name"
   341     "monos"
   342     "morphisms"
   343     "no_discs_sels"
   344     "notes"
   345     "obtains"
   346     "open"
   347     "output"
   348     "overloaded"
   349     "parametric"
   350     "permissive"
   351     "pervasive"
   352     "rep_compat"
   353     "shows"
   354     "structure"
   355     "type_class"
   356     "type_constructor"
   357     "unchecked"
   358     "unsafe"
   359     "where"))
   360 
   361 (defconst isar-keywords-control
   362   '("Isabelle\\.command"
   363     "ProofGeneral\\.inform_file_processed"
   364     "ProofGeneral\\.inform_file_retracted"
   365     "ProofGeneral\\.kill_proof"
   366     "ProofGeneral\\.pr"
   367     "ProofGeneral\\.process_pgip"
   368     "ProofGeneral\\.restart"
   369     "ProofGeneral\\.undo"
   370     "cannot_undo"
   371     "cd"
   372     "commit"
   373     "disable_pr"
   374     "enable_pr"
   375     "exit"
   376     "init_toplevel"
   377     "kill"
   378     "kill_thy"
   379     "linear_undo"
   380     "pretty_setmargin"
   381     "quit"
   382     "remove_thy"
   383     "undo"
   384     "undos_proof"
   385     "use_thy"))
   386 
   387 (defconst isar-keywords-diag
   388   '("ML_command"
   389     "ML_val"
   390     "class_deps"
   391     "code_deps"
   392     "code_thms"
   393     "display_drafts"
   394     "find_consts"
   395     "find_theorems"
   396     "find_unused_assms"
   397     "full_prf"
   398     "header"
   399     "help"
   400     "locale_deps"
   401     "nitpick"
   402     "pr"
   403     "prf"
   404     "print_abbrevs"
   405     "print_antiquotations"
   406     "print_attributes"
   407     "print_binds"
   408     "print_bnfs"
   409     "print_bundles"
   410     "print_case_translations"
   411     "print_cases"
   412     "print_claset"
   413     "print_classes"
   414     "print_codeproc"
   415     "print_codesetup"
   416     "print_coercions"
   417     "print_commands"
   418     "print_context"
   419     "print_defn_rules"
   420     "print_dependencies"
   421     "print_facts"
   422     "print_induct_rules"
   423     "print_inductives"
   424     "print_interps"
   425     "print_locale"
   426     "print_locales"
   427     "print_methods"
   428     "print_options"
   429     "print_orders"
   430     "print_quot_maps"
   431     "print_quotconsts"
   432     "print_quotients"
   433     "print_quotientsQ3"
   434     "print_quotmapsQ3"
   435     "print_rules"
   436     "print_simpset"
   437     "print_state"
   438     "print_statement"
   439     "print_syntax"
   440     "print_theorems"
   441     "print_theory"
   442     "print_trans_rules"
   443     "prop"
   444     "pwd"
   445     "quickcheck"
   446     "refute"
   447     "sledgehammer"
   448     "smt_status"
   449     "solve_direct"
   450     "spark_status"
   451     "term"
   452     "thm"
   453     "thm_deps"
   454     "thy_deps"
   455     "try"
   456     "try0"
   457     "typ"
   458     "unused_thms"
   459     "value"
   460     "values"
   461     "welcome"))
   462 
   463 (defconst isar-keywords-theory-begin
   464   '("theory"))
   465 
   466 (defconst isar-keywords-theory-switch
   467   '())
   468 
   469 (defconst isar-keywords-theory-end
   470   '("end"))
   471 
   472 (defconst isar-keywords-theory-heading
   473   '("chapter"
   474     "section"
   475     "subsection"
   476     "subsubsection"))
   477 
   478 (defconst isar-keywords-theory-decl
   479   '("ML"
   480     "ML_file"
   481     "abbreviation"
   482     "adhoc_overloading"
   483     "arities"
   484     "atom_decl"
   485     "attribute_setup"
   486     "axiomatization"
   487     "bundle"
   488     "case_of_simps"
   489     "class"
   490     "classes"
   491     "classrel"
   492     "codatatype"
   493     "code_abort"
   494     "code_class"
   495     "code_const"
   496     "code_datatype"
   497     "code_identifier"
   498     "code_include"
   499     "code_instance"
   500     "code_modulename"
   501     "code_monad"
   502     "code_printing"
   503     "code_reflect"
   504     "code_reserved"
   505     "code_type"
   506     "coinductive"
   507     "coinductive_set"
   508     "consts"
   509     "context"
   510     "datatype"
   511     "datatype_new"
   512     "datatype_new_compat"
   513     "declaration"
   514     "declare"
   515     "default_sort"
   516     "defer_recdef"
   517     "definition"
   518     "defs"
   519     "domain"
   520     "domain_isomorphism"
   521     "domaindef"
   522     "equivariance"
   523     "export_code"
   524     "extract"
   525     "extract_type"
   526     "fixrec"
   527     "fun"
   528     "hide_class"
   529     "hide_const"
   530     "hide_fact"
   531     "hide_type"
   532     "import_const_map"
   533     "import_file"
   534     "import_tptp"
   535     "import_type_map"
   536     "inductive"
   537     "inductive_set"
   538     "instantiation"
   539     "judgment"
   540     "lemmas"
   541     "local_setup"
   542     "locale"
   543     "method_setup"
   544     "nitpick_params"
   545     "no_adhoc_overloading"
   546     "no_notation"
   547     "no_syntax"
   548     "no_translations"
   549     "no_type_notation"
   550     "nominal_datatype"
   551     "nonterminal"
   552     "notation"
   553     "notepad"
   554     "oracle"
   555     "overloading"
   556     "parse_ast_translation"
   557     "parse_translation"
   558     "partial_function"
   559     "primrec"
   560     "primrec_new"
   561     "print_ast_translation"
   562     "print_translation"
   563     "quickcheck_generator"
   564     "quickcheck_params"
   565     "realizability"
   566     "realizers"
   567     "recdef"
   568     "record"
   569     "refute_params"
   570     "setup"
   571     "setup_lifting"
   572     "simproc_setup"
   573     "simps_of_case"
   574     "sledgehammer_params"
   575     "spark_end"
   576     "spark_open"
   577     "spark_open_siv"
   578     "spark_open_vcg"
   579     "spark_proof_functions"
   580     "spark_types"
   581     "statespace"
   582     "syntax"
   583     "syntax_declaration"
   584     "text"
   585     "text_raw"
   586     "theorems"
   587     "translations"
   588     "type_notation"
   589     "type_synonym"
   590     "typed_print_translation"
   591     "typedecl"))
   592 
   593 (defconst isar-keywords-theory-script
   594   '("inductive_cases"
   595     "inductive_simps"))
   596 
   597 (defconst isar-keywords-theory-goal
   598   '("ax_specification"
   599     "bnf"
   600     "code_pred"
   601     "corollary"
   602     "cpodef"
   603     "enriched_type"
   604     "function"
   605     "instance"
   606     "interpretation"
   607     "lemma"
   608     "lift_definition"
   609     "nominal_inductive"
   610     "nominal_inductive2"
   611     "nominal_primrec"
   612     "pcpodef"
   613     "primcorec"
   614     "quotient_definition"
   615     "quotient_type"
   616     "recdef_tc"
   617     "rep_datatype"
   618     "schematic_corollary"
   619     "schematic_lemma"
   620     "schematic_theorem"
   621     "spark_vc"
   622     "specification"
   623     "subclass"
   624     "sublocale"
   625     "termination"
   626     "theorem"
   627     "typedef"
   628     "wrap_free_constructors"))
   629 
   630 (defconst isar-keywords-qed
   631   '("\\."
   632     "\\.\\."
   633     "by"
   634     "done"
   635     "sorry"))
   636 
   637 (defconst isar-keywords-qed-block
   638   '("qed"))
   639 
   640 (defconst isar-keywords-qed-global
   641   '("oops"))
   642 
   643 (defconst isar-keywords-proof-heading
   644   '("sect"
   645     "subsect"
   646     "subsubsect"))
   647 
   648 (defconst isar-keywords-proof-goal
   649   '("have"
   650     "hence"
   651     "interpret"))
   652 
   653 (defconst isar-keywords-proof-block
   654   '("next"
   655     "proof"))
   656 
   657 (defconst isar-keywords-proof-open
   658   '("{"))
   659 
   660 (defconst isar-keywords-proof-close
   661   '("}"))
   662 
   663 (defconst isar-keywords-proof-chain
   664   '("finally"
   665     "from"
   666     "then"
   667     "ultimately"
   668     "with"))
   669 
   670 (defconst isar-keywords-proof-decl
   671   '("ML_prf"
   672     "also"
   673     "include"
   674     "including"
   675     "let"
   676     "moreover"
   677     "note"
   678     "txt"
   679     "txt_raw"
   680     "unfolding"
   681     "using"
   682     "write"))
   683 
   684 (defconst isar-keywords-proof-asm
   685   '("assume"
   686     "case"
   687     "def"
   688     "fix"
   689     "presume"))
   690 
   691 (defconst isar-keywords-proof-asm-goal
   692   '("guess"
   693     "obtain"
   694     "show"
   695     "thus"))
   696 
   697 (defconst isar-keywords-proof-script
   698   '("apply"
   699     "apply_end"
   700     "back"
   701     "defer"
   702     "prefer"))
   703 
   704 (provide 'isar-keywords)