etc/isar-keywords.el
author haftmann
Fri, 12 Oct 2007 08:31:57 +0200
changeset 24997 730d74336b4d
parent 24945 2c27817065bc
child 25065 25696ce6dff1
permissions -rw-r--r--
updated
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Nominal.
     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     "instance_proof"
   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     "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     "subclass"
   203     "subsect"
   204     "subsection"
   205     "subsubsect"
   206     "subsubsection"
   207     "syntax"
   208     "term"
   209     "termination"
   210     "text"
   211     "text_raw"
   212     "then"
   213     "theorem"
   214     "theorems"
   215     "theory"
   216     "thm"
   217     "thm_deps"
   218     "thus"
   219     "thy_deps"
   220     "token_translation"
   221     "touch_child_thys"
   222     "touch_thy"
   223     "translations"
   224     "txt"
   225     "txt_raw"
   226     "typ"
   227     "typed_print_translation"
   228     "typedecl"
   229     "typedef"
   230     "types"
   231     "types_code"
   232     "ultimately"
   233     "undo"
   234     "undos_proof"
   235     "unfolding"
   236     "use"
   237     "use_thy"
   238     "using"
   239     "value"
   240     "welcome"
   241     "with"
   242     "{"
   243     "}"))
   244 
   245 (defconst isar-keywords-minor
   246   '("actions"
   247     "advanced"
   248     "and"
   249     "assumes"
   250     "attach"
   251     "avoids"
   252     "begin"
   253     "binder"
   254     "compose"
   255     "concl"
   256     "congs"
   257     "constrains"
   258     "contains"
   259     "defines"
   260     "distinct"
   261     "file"
   262     "fixes"
   263     "for"
   264     "hide_action"
   265     "hints"
   266     "identifier"
   267     "if"
   268     "imports"
   269     "in"
   270     "includes"
   271     "induction"
   272     "infix"
   273     "infixl"
   274     "infixr"
   275     "initially"
   276     "inject"
   277     "inputs"
   278     "internals"
   279     "is"
   280     "lazy"
   281     "local_syntax"
   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     "sequential"
   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   '("ProofGeneral\\.inform_file_processed"
   311     "ProofGeneral\\.inform_file_retracted"
   312     "ProofGeneral\\.kill_proof"
   313     "ProofGeneral\\.process_pgip"
   314     "ProofGeneral\\.restart"
   315     "ProofGeneral\\.undo"
   316     "cannot_undo"
   317     "exit"
   318     "init_toplevel"
   319     "kill"
   320     "quit"
   321     "redo"
   322     "undo"
   323     "undos_proof"))
   324 
   325 (defconst isar-keywords-diag
   326   '("ML"
   327     "ML_command"
   328     "cd"
   329     "class_deps"
   330     "code_deps"
   331     "code_thms"
   332     "commit"
   333     "disable_pr"
   334     "display_drafts"
   335     "enable_pr"
   336     "export_code"
   337     "find_theorems"
   338     "full_prf"
   339     "header"
   340     "help"
   341     "kill_thy"
   342     "normal_form"
   343     "pr"
   344     "pretty_setmargin"
   345     "prf"
   346     "print_abbrevs"
   347     "print_antiquotations"
   348     "print_atp_rules"
   349     "print_attributes"
   350     "print_binds"
   351     "print_cases"
   352     "print_claset"
   353     "print_classes"
   354     "print_codesetup"
   355     "print_commands"
   356     "print_configs"
   357     "print_context"
   358     "print_drafts"
   359     "print_facts"
   360     "print_induct_rules"
   361     "print_interps"
   362     "print_locale"
   363     "print_locales"
   364     "print_methods"
   365     "print_noatp_rules"
   366     "print_orders"
   367     "print_rules"
   368     "print_simpset"
   369     "print_statement"
   370     "print_syntax"
   371     "print_theorems"
   372     "print_theory"
   373     "print_trans_rules"
   374     "prop"
   375     "pwd"
   376     "quickcheck"
   377     "refute"
   378     "remove_thy"
   379     "sledgehammer"
   380     "term"
   381     "thm"
   382     "thm_deps"
   383     "thy_deps"
   384     "touch_child_thys"
   385     "touch_thy"
   386     "typ"
   387     "use"
   388     "use_thy"
   389     "value"
   390     "welcome"))
   391 
   392 (defconst isar-keywords-theory-begin
   393   '("theory"))
   394 
   395 (defconst isar-keywords-theory-switch
   396   '())
   397 
   398 (defconst isar-keywords-theory-end
   399   '("end"))
   400 
   401 (defconst isar-keywords-theory-heading
   402   '("chapter"
   403     "section"
   404     "subsection"
   405     "subsubsection"))
   406 
   407 (defconst isar-keywords-theory-decl
   408   '("ML_setup"
   409     "abbreviation"
   410     "arities"
   411     "atom_decl"
   412     "automaton"
   413     "axclass"
   414     "axiomatization"
   415     "axioms"
   416     "class"
   417     "classes"
   418     "classrel"
   419     "code_class"
   420     "code_const"
   421     "code_datatype"
   422     "code_exception"
   423     "code_include"
   424     "code_instance"
   425     "code_library"
   426     "code_module"
   427     "code_modulename"
   428     "code_monad"
   429     "code_props"
   430     "code_reserved"
   431     "code_type"
   432     "coinductive"
   433     "coinductive_set"
   434     "constdefs"
   435     "consts"
   436     "consts_code"
   437     "context"
   438     "datatype"
   439     "declaration"
   440     "declare"
   441     "defaultsort"
   442     "defer_recdef"
   443     "definition"
   444     "defs"
   445     "domain"
   446     "equivariance"
   447     "extract"
   448     "extract_type"
   449     "finalconsts"
   450     "fixpat"
   451     "fixrec"
   452     "fun"
   453     "global"
   454     "hide"
   455     "inductive"
   456     "inductive_set"
   457     "instantiation"
   458     "judgment"
   459     "lemmas"
   460     "local"
   461     "locale"
   462     "method_setup"
   463     "no_notation"
   464     "no_syntax"
   465     "no_translations"
   466     "nominal_datatype"
   467     "nonterminals"
   468     "notation"
   469     "oracle"
   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     "syntax"
   485     "text"
   486     "text_raw"
   487     "theorems"
   488     "token_translation"
   489     "translations"
   490     "typed_print_translation"
   491     "typedecl"
   492     "types"
   493     "types_code"))
   494 
   495 (defconst isar-keywords-theory-script
   496   '("inductive_cases"))
   497 
   498 (defconst isar-keywords-theory-goal
   499   '("ax_specification"
   500     "corollary"
   501     "cpodef"
   502     "function"
   503     "instance"
   504     "instance_proof"
   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)