etc/isar-keywords.el
author haftmann
Mon, 08 Oct 2007 22:06:32 +0200
changeset 24919 ad3a8569759c
parent 24912 52bc004950c4
child 24945 2c27817065bc
permissions -rw-r--r--
updated keywords
     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     "subclass"
   202     "subsect"
   203     "subsection"
   204     "subsubsect"
   205     "subsubsection"
   206     "syntax"
   207     "term"
   208     "termination"
   209     "text"
   210     "text_raw"
   211     "then"
   212     "theorem"
   213     "theorems"
   214     "theory"
   215     "thm"
   216     "thm_deps"
   217     "thus"
   218     "thy_deps"
   219     "token_translation"
   220     "touch_child_thys"
   221     "touch_thy"
   222     "translations"
   223     "txt"
   224     "txt_raw"
   225     "typ"
   226     "typed_print_translation"
   227     "typedecl"
   228     "typedef"
   229     "types"
   230     "types_code"
   231     "ultimately"
   232     "undo"
   233     "undos_proof"
   234     "unfolding"
   235     "use"
   236     "use_thy"
   237     "using"
   238     "value"
   239     "welcome"
   240     "with"
   241     "{"
   242     "}"))
   243 
   244 (defconst isar-keywords-minor
   245   '("actions"
   246     "advanced"
   247     "and"
   248     "assumes"
   249     "attach"
   250     "avoids"
   251     "begin"
   252     "binder"
   253     "compose"
   254     "concl"
   255     "congs"
   256     "constrains"
   257     "contains"
   258     "defines"
   259     "distinct"
   260     "file"
   261     "fixes"
   262     "for"
   263     "hide_action"
   264     "hints"
   265     "identifier"
   266     "if"
   267     "imports"
   268     "in"
   269     "includes"
   270     "induction"
   271     "infix"
   272     "infixl"
   273     "infixr"
   274     "initially"
   275     "inject"
   276     "inputs"
   277     "internals"
   278     "is"
   279     "lazy"
   280     "local_syntax"
   281     "module_name"
   282     "monos"
   283     "morphisms"
   284     "notes"
   285     "obtains"
   286     "open"
   287     "otherwise"
   288     "output"
   289     "outputs"
   290     "overloaded"
   291     "permissive"
   292     "post"
   293     "pre"
   294     "rename"
   295     "restrict"
   296     "sequential"
   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_instance"
   423     "code_library"
   424     "code_module"
   425     "code_modulename"
   426     "code_moduleprolog"
   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_syntax"
   463     "no_translations"
   464     "nominal_datatype"
   465     "nonterminals"
   466     "notation"
   467     "oracle"
   468     "parse_ast_translation"
   469     "parse_translation"
   470     "primrec"
   471     "print_ast_translation"
   472     "print_translation"
   473     "quickcheck_params"
   474     "realizability"
   475     "realizers"
   476     "recdef"
   477     "record"
   478     "refute_params"
   479     "rep_datatype"
   480     "setup"
   481     "simproc_setup"
   482     "syntax"
   483     "text"
   484     "text_raw"
   485     "theorems"
   486     "token_translation"
   487     "translations"
   488     "typed_print_translation"
   489     "typedecl"
   490     "types"
   491     "types_code"))
   492 
   493 (defconst isar-keywords-theory-script
   494   '("inductive_cases"))
   495 
   496 (defconst isar-keywords-theory-goal
   497   '("ax_specification"
   498     "corollary"
   499     "cpodef"
   500     "function"
   501     "instance"
   502     "instance_proof"
   503     "interpretation"
   504     "lemma"
   505     "nominal_inductive"
   506     "nominal_primrec"
   507     "pcpodef"
   508     "recdef_tc"
   509     "specification"
   510     "subclass"
   511     "termination"
   512     "theorem"
   513     "typedef"))
   514 
   515 (defconst isar-keywords-qed
   516   '("\\."
   517     "\\.\\."
   518     "by"
   519     "done"
   520     "sorry"))
   521 
   522 (defconst isar-keywords-qed-block
   523   '("qed"))
   524 
   525 (defconst isar-keywords-qed-global
   526   '("oops"))
   527 
   528 (defconst isar-keywords-proof-heading
   529   '("sect"
   530     "subsect"
   531     "subsubsect"))
   532 
   533 (defconst isar-keywords-proof-goal
   534   '("have"
   535     "hence"
   536     "interpret"
   537     "invoke"))
   538 
   539 (defconst isar-keywords-proof-block
   540   '("next"
   541     "proof"))
   542 
   543 (defconst isar-keywords-proof-open
   544   '("{"))
   545 
   546 (defconst isar-keywords-proof-close
   547   '("}"))
   548 
   549 (defconst isar-keywords-proof-chain
   550   '("finally"
   551     "from"
   552     "then"
   553     "ultimately"
   554     "with"))
   555 
   556 (defconst isar-keywords-proof-decl
   557   '("also"
   558     "let"
   559     "moreover"
   560     "note"
   561     "txt"
   562     "txt_raw"
   563     "unfolding"
   564     "using"))
   565 
   566 (defconst isar-keywords-proof-asm
   567   '("assume"
   568     "case"
   569     "def"
   570     "fix"
   571     "presume"))
   572 
   573 (defconst isar-keywords-proof-asm-goal
   574   '("guess"
   575     "obtain"
   576     "show"
   577     "thus"))
   578 
   579 (defconst isar-keywords-proof-script
   580   '("apply"
   581     "apply_end"
   582     "back"
   583     "defer"
   584     "prefer"))
   585 
   586 (provide 'isar-keywords)