etc/isar-keywords.el
author ballarin
Tue Sep 29 22:15:54 2009 +0200 (2009-09-29)
changeset 32804 ca430e6aee1c
parent 31130 94cb206f8f6a
child 33198 bfb9a790d1e7
permissions -rw-r--r--
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Nominal + HOL-Statespace.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 
     7 (defconst isar-keywords-major
     8   '("\\."
     9     "\\.\\."
    10     "Isabelle\\.command"
    11     "Isar\\.begin_document"
    12     "Isar\\.command"
    13     "Isar\\.define_command"
    14     "Isar\\.edit_document"
    15     "Isar\\.end_document"
    16     "Isar\\.insert"
    17     "Isar\\.remove"
    18     "ML"
    19     "ML_command"
    20     "ML_prf"
    21     "ML_val"
    22     "ProofGeneral\\.inform_file_processed"
    23     "ProofGeneral\\.inform_file_retracted"
    24     "ProofGeneral\\.kill_proof"
    25     "ProofGeneral\\.process_pgip"
    26     "ProofGeneral\\.restart"
    27     "ProofGeneral\\.undo"
    28     "abbreviation"
    29     "also"
    30     "apply"
    31     "apply_end"
    32     "arities"
    33     "assume"
    34     "atom_decl"
    35     "atp_info"
    36     "atp_kill"
    37     "atp_messages"
    38     "atp_minimize"
    39     "attribute_setup"
    40     "automaton"
    41     "ax_specification"
    42     "axclass"
    43     "axiomatization"
    44     "axioms"
    45     "back"
    46     "by"
    47     "cannot_undo"
    48     "case"
    49     "cd"
    50     "chapter"
    51     "class"
    52     "class_deps"
    53     "classes"
    54     "classrel"
    55     "code_abort"
    56     "code_class"
    57     "code_const"
    58     "code_datatype"
    59     "code_deps"
    60     "code_include"
    61     "code_instance"
    62     "code_library"
    63     "code_module"
    64     "code_modulename"
    65     "code_monad"
    66     "code_pred"
    67     "code_reserved"
    68     "code_thms"
    69     "code_type"
    70     "coinductive"
    71     "coinductive_set"
    72     "commit"
    73     "constdefs"
    74     "consts"
    75     "consts_code"
    76     "context"
    77     "corollary"
    78     "cpodef"
    79     "datatype"
    80     "declaration"
    81     "declare"
    82     "def"
    83     "defaultsort"
    84     "defer"
    85     "defer_recdef"
    86     "definition"
    87     "defs"
    88     "disable_pr"
    89     "display_drafts"
    90     "domain"
    91     "done"
    92     "enable_pr"
    93     "end"
    94     "equivariance"
    95     "exit"
    96     "export_code"
    97     "extract"
    98     "extract_type"
    99     "finalconsts"
   100     "finally"
   101     "find_consts"
   102     "find_theorems"
   103     "fix"
   104     "fixpat"
   105     "fixrec"
   106     "from"
   107     "full_prf"
   108     "fun"
   109     "function"
   110     "global"
   111     "guess"
   112     "have"
   113     "header"
   114     "help"
   115     "hence"
   116     "hide"
   117     "inductive"
   118     "inductive_cases"
   119     "inductive_set"
   120     "init_toplevel"
   121     "instance"
   122     "instantiation"
   123     "interpret"
   124     "interpretation"
   125     "judgment"
   126     "kill"
   127     "kill_thy"
   128     "lemma"
   129     "lemmas"
   130     "let"
   131     "linear_undo"
   132     "local"
   133     "local_setup"
   134     "locale"
   135     "method_setup"
   136     "moreover"
   137     "next"
   138     "no_notation"
   139     "no_syntax"
   140     "no_translations"
   141     "nominal_datatype"
   142     "nominal_inductive"
   143     "nominal_inductive2"
   144     "nominal_primrec"
   145     "nonterminals"
   146     "normal_form"
   147     "notation"
   148     "note"
   149     "obtain"
   150     "oops"
   151     "oracle"
   152     "overloading"
   153     "parse_ast_translation"
   154     "parse_translation"
   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_atps"
   166     "print_attributes"
   167     "print_binds"
   168     "print_cases"
   169     "print_claset"
   170     "print_classes"
   171     "print_codeproc"
   172     "print_codesetup"
   173     "print_commands"
   174     "print_configs"
   175     "print_context"
   176     "print_drafts"
   177     "print_facts"
   178     "print_induct_rules"
   179     "print_interps"
   180     "print_locale"
   181     "print_locales"
   182     "print_methods"
   183     "print_orders"
   184     "print_rules"
   185     "print_simpset"
   186     "print_statement"
   187     "print_syntax"
   188     "print_theorems"
   189     "print_theory"
   190     "print_trans_rules"
   191     "print_translation"
   192     "proof"
   193     "prop"
   194     "pwd"
   195     "qed"
   196     "quickcheck"
   197     "quickcheck_params"
   198     "quit"
   199     "realizability"
   200     "realizers"
   201     "recdef"
   202     "recdef_tc"
   203     "record"
   204     "refute"
   205     "refute_params"
   206     "remove_thy"
   207     "rep_datatype"
   208     "sect"
   209     "section"
   210     "setup"
   211     "show"
   212     "simproc_setup"
   213     "sledgehammer"
   214     "sorry"
   215     "specification"
   216     "statespace"
   217     "subclass"
   218     "sublocale"
   219     "subsect"
   220     "subsection"
   221     "subsubsect"
   222     "subsubsection"
   223     "syntax"
   224     "term"
   225     "termination"
   226     "text"
   227     "text_raw"
   228     "then"
   229     "theorem"
   230     "theorems"
   231     "theory"
   232     "thm"
   233     "thm_deps"
   234     "thus"
   235     "thy_deps"
   236     "touch_thy"
   237     "translations"
   238     "txt"
   239     "txt_raw"
   240     "typ"
   241     "typed_print_translation"
   242     "typedecl"
   243     "typedef"
   244     "types"
   245     "types_code"
   246     "ultimately"
   247     "undo"
   248     "undos_proof"
   249     "unfolding"
   250     "unused_thms"
   251     "use"
   252     "use_thy"
   253     "using"
   254     "value"
   255     "values"
   256     "welcome"
   257     "with"
   258     "{"
   259     "}"))
   260 
   261 (defconst isar-keywords-minor
   262   '("actions"
   263     "advanced"
   264     "and"
   265     "assumes"
   266     "attach"
   267     "avoids"
   268     "begin"
   269     "binder"
   270     "compose"
   271     "congs"
   272     "constrains"
   273     "contains"
   274     "defines"
   275     "file"
   276     "fixes"
   277     "for"
   278     "hide_action"
   279     "hints"
   280     "identifier"
   281     "if"
   282     "imports"
   283     "in"
   284     "infix"
   285     "infixl"
   286     "infixr"
   287     "initially"
   288     "inputs"
   289     "internals"
   290     "is"
   291     "lazy"
   292     "module_name"
   293     "monos"
   294     "morphisms"
   295     "notes"
   296     "obtains"
   297     "open"
   298     "output"
   299     "outputs"
   300     "overloaded"
   301     "permissive"
   302     "post"
   303     "pre"
   304     "rename"
   305     "restrict"
   306     "shows"
   307     "signature"
   308     "states"
   309     "structure"
   310     "to"
   311     "transitions"
   312     "transrel"
   313     "unchecked"
   314     "uses"
   315     "where"))
   316 
   317 (defconst isar-keywords-control
   318   '("Isabelle\\.command"
   319     "Isar\\.begin_document"
   320     "Isar\\.command"
   321     "Isar\\.define_command"
   322     "Isar\\.edit_document"
   323     "Isar\\.end_document"
   324     "Isar\\.insert"
   325     "Isar\\.remove"
   326     "ProofGeneral\\.inform_file_processed"
   327     "ProofGeneral\\.inform_file_retracted"
   328     "ProofGeneral\\.kill_proof"
   329     "ProofGeneral\\.process_pgip"
   330     "ProofGeneral\\.restart"
   331     "ProofGeneral\\.undo"
   332     "cannot_undo"
   333     "exit"
   334     "init_toplevel"
   335     "kill"
   336     "linear_undo"
   337     "quit"
   338     "undo"
   339     "undos_proof"))
   340 
   341 (defconst isar-keywords-diag
   342   '("ML_command"
   343     "ML_val"
   344     "atp_info"
   345     "atp_kill"
   346     "atp_messages"
   347     "atp_minimize"
   348     "cd"
   349     "class_deps"
   350     "code_deps"
   351     "code_thms"
   352     "commit"
   353     "disable_pr"
   354     "display_drafts"
   355     "enable_pr"
   356     "export_code"
   357     "find_consts"
   358     "find_theorems"
   359     "full_prf"
   360     "header"
   361     "help"
   362     "kill_thy"
   363     "normal_form"
   364     "pr"
   365     "pretty_setmargin"
   366     "prf"
   367     "print_abbrevs"
   368     "print_antiquotations"
   369     "print_atps"
   370     "print_attributes"
   371     "print_binds"
   372     "print_cases"
   373     "print_claset"
   374     "print_classes"
   375     "print_codeproc"
   376     "print_codesetup"
   377     "print_commands"
   378     "print_configs"
   379     "print_context"
   380     "print_drafts"
   381     "print_facts"
   382     "print_induct_rules"
   383     "print_interps"
   384     "print_locale"
   385     "print_locales"
   386     "print_methods"
   387     "print_orders"
   388     "print_rules"
   389     "print_simpset"
   390     "print_statement"
   391     "print_syntax"
   392     "print_theorems"
   393     "print_theory"
   394     "print_trans_rules"
   395     "prop"
   396     "pwd"
   397     "quickcheck"
   398     "refute"
   399     "remove_thy"
   400     "sledgehammer"
   401     "term"
   402     "thm"
   403     "thm_deps"
   404     "thy_deps"
   405     "touch_thy"
   406     "typ"
   407     "unused_thms"
   408     "use_thy"
   409     "value"
   410     "values"
   411     "welcome"))
   412 
   413 (defconst isar-keywords-theory-begin
   414   '("theory"))
   415 
   416 (defconst isar-keywords-theory-switch
   417   '())
   418 
   419 (defconst isar-keywords-theory-end
   420   '("end"))
   421 
   422 (defconst isar-keywords-theory-heading
   423   '("chapter"
   424     "section"
   425     "subsection"
   426     "subsubsection"))
   427 
   428 (defconst isar-keywords-theory-decl
   429   '("ML"
   430     "abbreviation"
   431     "arities"
   432     "atom_decl"
   433     "attribute_setup"
   434     "automaton"
   435     "axclass"
   436     "axiomatization"
   437     "axioms"
   438     "class"
   439     "classes"
   440     "classrel"
   441     "code_abort"
   442     "code_class"
   443     "code_const"
   444     "code_datatype"
   445     "code_include"
   446     "code_instance"
   447     "code_library"
   448     "code_module"
   449     "code_modulename"
   450     "code_monad"
   451     "code_reserved"
   452     "code_type"
   453     "coinductive"
   454     "coinductive_set"
   455     "constdefs"
   456     "consts"
   457     "consts_code"
   458     "context"
   459     "datatype"
   460     "declaration"
   461     "declare"
   462     "defaultsort"
   463     "defer_recdef"
   464     "definition"
   465     "defs"
   466     "domain"
   467     "equivariance"
   468     "extract"
   469     "extract_type"
   470     "finalconsts"
   471     "fixpat"
   472     "fixrec"
   473     "fun"
   474     "global"
   475     "hide"
   476     "inductive"
   477     "inductive_set"
   478     "instantiation"
   479     "judgment"
   480     "lemmas"
   481     "local"
   482     "local_setup"
   483     "locale"
   484     "method_setup"
   485     "no_notation"
   486     "no_syntax"
   487     "no_translations"
   488     "nominal_datatype"
   489     "nonterminals"
   490     "notation"
   491     "oracle"
   492     "overloading"
   493     "parse_ast_translation"
   494     "parse_translation"
   495     "primrec"
   496     "print_ast_translation"
   497     "print_translation"
   498     "quickcheck_params"
   499     "realizability"
   500     "realizers"
   501     "recdef"
   502     "record"
   503     "refute_params"
   504     "setup"
   505     "simproc_setup"
   506     "statespace"
   507     "syntax"
   508     "text"
   509     "text_raw"
   510     "theorems"
   511     "translations"
   512     "typed_print_translation"
   513     "typedecl"
   514     "types"
   515     "types_code"
   516     "use"))
   517 
   518 (defconst isar-keywords-theory-script
   519   '("inductive_cases"))
   520 
   521 (defconst isar-keywords-theory-goal
   522   '("ax_specification"
   523     "code_pred"
   524     "corollary"
   525     "cpodef"
   526     "function"
   527     "instance"
   528     "interpretation"
   529     "lemma"
   530     "nominal_inductive"
   531     "nominal_inductive2"
   532     "nominal_primrec"
   533     "pcpodef"
   534     "recdef_tc"
   535     "rep_datatype"
   536     "specification"
   537     "subclass"
   538     "sublocale"
   539     "termination"
   540     "theorem"
   541     "typedef"))
   542 
   543 (defconst isar-keywords-qed
   544   '("\\."
   545     "\\.\\."
   546     "by"
   547     "done"
   548     "sorry"))
   549 
   550 (defconst isar-keywords-qed-block
   551   '("qed"))
   552 
   553 (defconst isar-keywords-qed-global
   554   '("oops"))
   555 
   556 (defconst isar-keywords-proof-heading
   557   '("sect"
   558     "subsect"
   559     "subsubsect"))
   560 
   561 (defconst isar-keywords-proof-goal
   562   '("have"
   563     "hence"
   564     "interpret"))
   565 
   566 (defconst isar-keywords-proof-block
   567   '("next"
   568     "proof"))
   569 
   570 (defconst isar-keywords-proof-open
   571   '("{"))
   572 
   573 (defconst isar-keywords-proof-close
   574   '("}"))
   575 
   576 (defconst isar-keywords-proof-chain
   577   '("finally"
   578     "from"
   579     "then"
   580     "ultimately"
   581     "with"))
   582 
   583 (defconst isar-keywords-proof-decl
   584   '("ML_prf"
   585     "also"
   586     "let"
   587     "moreover"
   588     "note"
   589     "txt"
   590     "txt_raw"
   591     "unfolding"
   592     "using"))
   593 
   594 (defconst isar-keywords-proof-asm
   595   '("assume"
   596     "case"
   597     "def"
   598     "fix"
   599     "presume"))
   600 
   601 (defconst isar-keywords-proof-asm-goal
   602   '("guess"
   603     "obtain"
   604     "show"
   605     "thus"))
   606 
   607 (defconst isar-keywords-proof-script
   608   '("apply"
   609     "apply_end"
   610     "back"
   611     "defer"
   612     "prefer"))
   613 
   614 (provide 'isar-keywords)