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