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