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