etc/isar-keywords.el
author haftmann
Thu Dec 29 15:31:27 2005 +0100 (2005-12-29)
changeset 18519 b963eb11b3b4
parent 18380 9668764224a7
child 18520 428c79932b53
permissions -rw-r--r--
changes in code generator keywords
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; This file was generated by Isabelle/HOLCF/IOA -- DO NOT EDIT!
     4 ;;
     5 ;; $Id$
     6 ;;
     7 
     8 (defconst isar-keywords-major
     9   '("\\."
    10     "\\.\\."
    11     "ML"
    12     "ML_command"
    13     "ML_setup"
    14     "ProofGeneral\\.call_atp"
    15     "ProofGeneral\\.context_thy_only"
    16     "ProofGeneral\\.inform_file_processed"
    17     "ProofGeneral\\.inform_file_retracted"
    18     "ProofGeneral\\.kill_proof"
    19     "ProofGeneral\\.process_pgip"
    20     "ProofGeneral\\.redo"
    21     "ProofGeneral\\.restart"
    22     "ProofGeneral\\.try_context_thy_only"
    23     "ProofGeneral\\.undo"
    24     "also"
    25     "apply"
    26     "apply_end"
    27     "arities"
    28     "assume"
    29     "automaton"
    30     "ax_specification"
    31     "axclass"
    32     "axioms"
    33     "back"
    34     "by"
    35     "cannot_undo"
    36     "case"
    37     "cd"
    38     "chapter"
    39     "class_class"
    40     "classes"
    41     "classrel"
    42     "clear_undos"
    43     "code_alias"
    44     "code_class"
    45     "code_generate"
    46     "code_library"
    47     "code_module"
    48     "code_primclass"
    49     "code_primconst"
    50     "code_primtyco"
    51     "code_serialize"
    52     "code_syntax_const"
    53     "code_syntax_tyco"
    54     "coinductive"
    55     "commit"
    56     "constdefs"
    57     "consts"
    58     "consts_code"
    59     "context"
    60     "corollary"
    61     "cpodef"
    62     "datatype"
    63     "declare"
    64     "def"
    65     "defaultsort"
    66     "defer"
    67     "defer_recdef"
    68     "defs"
    69     "disable_pr"
    70     "display_drafts"
    71     "domain"
    72     "done"
    73     "enable_pr"
    74     "end"
    75     "exit"
    76     "extract"
    77     "extract_type"
    78     "finalconsts"
    79     "finally"
    80     "find_theorems"
    81     "fix"
    82     "fixpat"
    83     "fixrec"
    84     "from"
    85     "full_prf"
    86     "global"
    87     "guess"
    88     "have"
    89     "header"
    90     "hence"
    91     "hide"
    92     "inductive"
    93     "inductive_cases"
    94     "init_toplevel"
    95     "instance"
    96     "interpret"
    97     "interpretation"
    98     "judgment"
    99     "kill"
   100     "kill_thy"
   101     "lemma"
   102     "lemmas"
   103     "let"
   104     "local"
   105     "locale"
   106     "method_setup"
   107     "moreover"
   108     "next"
   109     "no_syntax"
   110     "nonterminals"
   111     "note"
   112     "obtain"
   113     "oops"
   114     "oracle"
   115     "parse_ast_translation"
   116     "parse_translation"
   117     "pcpodef"
   118     "pr"
   119     "prefer"
   120     "presume"
   121     "pretty_setmargin"
   122     "prf"
   123     "primrec"
   124     "print_antiquotations"
   125     "print_ast_translation"
   126     "print_attributes"
   127     "print_binds"
   128     "print_cases"
   129     "print_claset"
   130     "print_commands"
   131     "print_context"
   132     "print_drafts"
   133     "print_facts"
   134     "print_induct_rules"
   135     "print_interps"
   136     "print_locale"
   137     "print_locales"
   138     "print_methods"
   139     "print_rules"
   140     "print_simpset"
   141     "print_syntax"
   142     "print_theorems"
   143     "print_theory"
   144     "print_trans_rules"
   145     "print_translation"
   146     "proof"
   147     "prop"
   148     "pwd"
   149     "qed"
   150     "quickcheck"
   151     "quickcheck_params"
   152     "quit"
   153     "realizability"
   154     "realizers"
   155     "recdef"
   156     "recdef_tc"
   157     "record"
   158     "redo"
   159     "refute"
   160     "refute_params"
   161     "remove_thy"
   162     "rep_datatype"
   163     "sect"
   164     "section"
   165     "setup"
   166     "show"
   167     "sorry"
   168     "specification"
   169     "subsect"
   170     "subsection"
   171     "subsubsect"
   172     "subsubsection"
   173     "syntax"
   174     "term"
   175     "text"
   176     "text_raw"
   177     "then"
   178     "theorem"
   179     "theorems"
   180     "theory"
   181     "thm"
   182     "thm_deps"
   183     "thus"
   184     "token_translation"
   185     "touch_all_thys"
   186     "touch_child_thys"
   187     "touch_thy"
   188     "translations"
   189     "txt"
   190     "txt_raw"
   191     "typ"
   192     "typed_print_translation"
   193     "typedecl"
   194     "typedef"
   195     "types"
   196     "types_code"
   197     "ultimately"
   198     "undo"
   199     "undos_proof"
   200     "update_thy"
   201     "update_thy_only"
   202     "use"
   203     "use_thy"
   204     "use_thy_only"
   205     "using"
   206     "value"
   207     "welcome"
   208     "with"
   209     "{"
   210     "}"))
   211 
   212 (defconst isar-keywords-minor
   213   '("actions"
   214     "advanced"
   215     "and"
   216     "assumes"
   217     "attach"
   218     "begin"
   219     "binder"
   220     "compose"
   221     "concl"
   222     "congs"
   223     "constants"
   224     "constrains"
   225     "contains"
   226     "defines"
   227     "depending_on"
   228     "distinct"
   229     "file"
   230     "files"
   231     "fixes"
   232     "hide_action"
   233     "hints"
   234     "imports"
   235     "in"
   236     "includes"
   237     "induction"
   238     "infix"
   239     "infixl"
   240     "infixr"
   241     "initially"
   242     "inject"
   243     "inputs"
   244     "internals"
   245     "intros"
   246     "is"
   247     "lazy"
   248     "monos"
   249     "morphisms"
   250     "notes"
   251     "open"
   252     "output"
   253     "outputs"
   254     "overloaded"
   255     "permissive"
   256     "post"
   257     "pre"
   258     "rename"
   259     "restrict"
   260     "shows"
   261     "signature"
   262     "states"
   263     "structure"
   264     "to"
   265     "transitions"
   266     "transrel"
   267     "uses"
   268     "where"))
   269 
   270 (defconst isar-keywords-control
   271   '("ProofGeneral\\.context_thy_only"
   272     "ProofGeneral\\.inform_file_processed"
   273     "ProofGeneral\\.inform_file_retracted"
   274     "ProofGeneral\\.kill_proof"
   275     "ProofGeneral\\.process_pgip"
   276     "ProofGeneral\\.redo"
   277     "ProofGeneral\\.restart"
   278     "ProofGeneral\\.try_context_thy_only"
   279     "ProofGeneral\\.undo"
   280     "cannot_undo"
   281     "clear_undos"
   282     "exit"
   283     "init_toplevel"
   284     "kill"
   285     "quit"
   286     "redo"
   287     "undo"
   288     "undos_proof"))
   289 
   290 (defconst isar-keywords-diag
   291   '("ML"
   292     "ML_command"
   293     "ProofGeneral\\.call_atp"
   294     "cd"
   295     "commit"
   296     "disable_pr"
   297     "display_drafts"
   298     "enable_pr"
   299     "find_theorems"
   300     "full_prf"
   301     "header"
   302     "kill_thy"
   303     "pr"
   304     "pretty_setmargin"
   305     "prf"
   306     "print_antiquotations"
   307     "print_attributes"
   308     "print_binds"
   309     "print_cases"
   310     "print_claset"
   311     "print_commands"
   312     "print_context"
   313     "print_drafts"
   314     "print_facts"
   315     "print_induct_rules"
   316     "print_interps"
   317     "print_locale"
   318     "print_locales"
   319     "print_methods"
   320     "print_rules"
   321     "print_simpset"
   322     "print_syntax"
   323     "print_theorems"
   324     "print_theory"
   325     "print_trans_rules"
   326     "prop"
   327     "pwd"
   328     "quickcheck"
   329     "refute"
   330     "remove_thy"
   331     "term"
   332     "thm"
   333     "thm_deps"
   334     "touch_all_thys"
   335     "touch_child_thys"
   336     "touch_thy"
   337     "typ"
   338     "update_thy"
   339     "update_thy_only"
   340     "use"
   341     "use_thy"
   342     "use_thy_only"
   343     "value"
   344     "welcome"))
   345 
   346 (defconst isar-keywords-theory-begin
   347   '("theory"))
   348 
   349 (defconst isar-keywords-theory-switch
   350   '("context"))
   351 
   352 (defconst isar-keywords-theory-end
   353   '("end"))
   354 
   355 (defconst isar-keywords-theory-heading
   356   '("chapter"
   357     "section"
   358     "subsection"
   359     "subsubsection"))
   360 
   361 (defconst isar-keywords-theory-decl
   362   '("ML_setup"
   363     "arities"
   364     "automaton"
   365     "axclass"
   366     "axioms"
   367     "class_class"
   368     "classes"
   369     "classrel"
   370     "code_alias"
   371     "code_class"
   372     "code_generate"
   373     "code_library"
   374     "code_module"
   375     "code_primclass"
   376     "code_primconst"
   377     "code_primtyco"
   378     "code_serialize"
   379     "code_syntax_const"
   380     "code_syntax_tyco"
   381     "coinductive"
   382     "constdefs"
   383     "consts"
   384     "consts_code"
   385     "datatype"
   386     "defaultsort"
   387     "defer_recdef"
   388     "defs"
   389     "domain"
   390     "extract"
   391     "extract_type"
   392     "finalconsts"
   393     "fixpat"
   394     "fixrec"
   395     "global"
   396     "hide"
   397     "inductive"
   398     "judgment"
   399     "lemmas"
   400     "local"
   401     "locale"
   402     "method_setup"
   403     "no_syntax"
   404     "nonterminals"
   405     "oracle"
   406     "parse_ast_translation"
   407     "parse_translation"
   408     "primrec"
   409     "print_ast_translation"
   410     "print_translation"
   411     "quickcheck_params"
   412     "realizability"
   413     "realizers"
   414     "recdef"
   415     "record"
   416     "refute_params"
   417     "rep_datatype"
   418     "setup"
   419     "syntax"
   420     "text"
   421     "text_raw"
   422     "theorems"
   423     "token_translation"
   424     "translations"
   425     "typed_print_translation"
   426     "typedecl"
   427     "types"
   428     "types_code"))
   429 
   430 (defconst isar-keywords-theory-script
   431   '("declare"
   432     "inductive_cases"))
   433 
   434 (defconst isar-keywords-theory-goal
   435   '("ax_specification"
   436     "corollary"
   437     "cpodef"
   438     "instance"
   439     "interpretation"
   440     "lemma"
   441     "pcpodef"
   442     "recdef_tc"
   443     "specification"
   444     "theorem"
   445     "typedef"))
   446 
   447 (defconst isar-keywords-qed
   448   '("\\."
   449     "\\.\\."
   450     "by"
   451     "done"
   452     "sorry"))
   453 
   454 (defconst isar-keywords-qed-block
   455   '("qed"))
   456 
   457 (defconst isar-keywords-qed-global
   458   '("oops"))
   459 
   460 (defconst isar-keywords-proof-heading
   461   '("sect"
   462     "subsect"
   463     "subsubsect"))
   464 
   465 (defconst isar-keywords-proof-goal
   466   '("have"
   467     "hence"
   468     "interpret"
   469     "show"
   470     "thus"))
   471 
   472 (defconst isar-keywords-proof-block
   473   '("next"
   474     "proof"))
   475 
   476 (defconst isar-keywords-proof-open
   477   '("{"))
   478 
   479 (defconst isar-keywords-proof-close
   480   '("}"))
   481 
   482 (defconst isar-keywords-proof-chain
   483   '("finally"
   484     "from"
   485     "then"
   486     "ultimately"
   487     "with"))
   488 
   489 (defconst isar-keywords-proof-decl
   490   '("also"
   491     "let"
   492     "moreover"
   493     "note"
   494     "txt"
   495     "txt_raw"
   496     "using"))
   497 
   498 (defconst isar-keywords-proof-asm
   499   '("assume"
   500     "case"
   501     "def"
   502     "fix"
   503     "presume"))
   504 
   505 (defconst isar-keywords-proof-asm-goal
   506   '("guess"
   507     "obtain"))
   508 
   509 (defconst isar-keywords-proof-script
   510   '("apply"
   511     "apply_end"
   512     "back"
   513     "defer"
   514     "prefer"))
   515 
   516 (provide 'isar-keywords)