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