etc/isar-keywords.el
author wenzelm
Sat, 19 Nov 2005 14:21:06 +0100
changeset 18209 6bcd9b2ca49b
parent 18165 cbed396ecb1c
child 18219 6c84210902db
permissions -rw-r--r--
added CONJUNCTS: treat conjunction as separate sub-goals;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     1
;;
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     2
;; Keyword classification tables for Isabelle/Isar.
17552
744924bec974 Added new "value" command.
berghofe
parents: 17473
diff changeset
     3
;; This file was generated by Isabelle/HOLCF/IOA -- DO NOT EDIT!
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     4
;;
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     5
;; $Id$
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     6
;;
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     7
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     8
(defconst isar-keywords-major
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
     9
  '("\\."
15762
13d1ec61bc89 updated;
wenzelm
parents: 15703
diff changeset
    10
    "\\.\\."
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    11
    "ML"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    12
    "ML_command"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    13
    "ML_setup"
17091
13593aa6a546 new command to invoke ATPs
paulson
parents: 16771
diff changeset
    14
    "ProofGeneral\\.call_atp"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    15
    "ProofGeneral\\.context_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    16
    "ProofGeneral\\.inform_file_processed"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    17
    "ProofGeneral\\.inform_file_retracted"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    18
    "ProofGeneral\\.kill_proof"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
    19
    "ProofGeneral\\.process_pgip"
15762
13d1ec61bc89 updated;
wenzelm
parents: 15703
diff changeset
    20
    "ProofGeneral\\.redo"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    21
    "ProofGeneral\\.restart"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    22
    "ProofGeneral\\.try_context_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    23
    "ProofGeneral\\.undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    24
    "also"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    25
    "apply"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    26
    "apply_end"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    27
    "arities"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    28
    "assume"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
    29
    "automaton"
14223
0ee05eef881b Added support for making constants final, that is, ensuring that no
skalberg
parents: 14115
diff changeset
    30
    "ax_specification"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    31
    "axclass"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    32
    "axioms"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    33
    "back"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    34
    "by"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    35
    "cannot_undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    36
    "case"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    37
    "cd"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    38
    "chapter"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    39
    "classes"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    40
    "classrel"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    41
    "clear_undos"
17147
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
    42
    "code_library"
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
    43
    "code_module"
18165
cbed396ecb1c new syntax for class_package
haftmann
parents: 17850
diff changeset
    44
    "codegen_class"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    45
    "coinductive"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    46
    "commit"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    47
    "constdefs"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    48
    "consts"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    49
    "consts_code"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    50
    "context"
11746
9bf11f1de9d6 updated;
wenzelm
parents: 11661
diff changeset
    51
    "corollary"
16701
abd0abd66387 add keywords cpodef, pcpodef (for HOLCF)
huffman
parents: 16419
diff changeset
    52
    "cpodef"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    53
    "datatype"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    54
    "declare"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    55
    "def"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    56
    "defaultsort"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    57
    "defer"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    58
    "defer_recdef"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    59
    "defs"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    60
    "disable_pr"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
    61
    "display_drafts"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
    62
    "domain"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    63
    "done"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    64
    "enable_pr"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    65
    "end"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    66
    "exit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    67
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    68
    "extract_type"
14223
0ee05eef881b Added support for making constants final, that is, ensuring that no
skalberg
parents: 14115
diff changeset
    69
    "finalconsts"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    70
    "finally"
17220
b41d8e290bf8 updated;
wenzelm
parents: 17147
diff changeset
    71
    "find_theorems"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    72
    "fix"
16419
0c3db621bbbd updated;
wenzelm
parents: 16231
diff changeset
    73
    "fixpat"
16231
91c0a3e253b1 add keywords fixrec and fixpat for HOLCF fixrec package
huffman
parents: 16168
diff changeset
    74
    "fixrec"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    75
    "from"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    76
    "full_prf"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    77
    "global"
17850
6803625e71c4 updated;
wenzelm
parents: 17552
diff changeset
    78
    "guess"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    79
    "have"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    80
    "header"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    81
    "hence"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    82
    "hide"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    83
    "inductive"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    84
    "inductive_cases"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    85
    "init_toplevel"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    86
    "instance"
15624
484178635bd8 Further work on interpretation commands. New command `interpret' for
ballarin
parents: 15598
diff changeset
    87
    "interpret"
15598
4ab52355bb53 Registrations of global locale interpretations: improved, better naming.
ballarin
parents: 15596
diff changeset
    88
    "interpretation"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    89
    "judgment"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    90
    "kill"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    91
    "kill_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    92
    "lemma"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    93
    "lemmas"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    94
    "let"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    95
    "local"
12059
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
    96
    "locale"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    97
    "method_setup"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    98
    "moreover"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
    99
    "next"
15703
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15624
diff changeset
   100
    "no_syntax"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   101
    "nonterminals"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   102
    "note"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   103
    "obtain"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   104
    "oops"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   105
    "oracle"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   106
    "parse_ast_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   107
    "parse_translation"
16701
abd0abd66387 add keywords cpodef, pcpodef (for HOLCF)
huffman
parents: 16419
diff changeset
   108
    "pcpodef"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   109
    "pr"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   110
    "prefer"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   111
    "presume"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   112
    "pretty_setmargin"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   113
    "prf"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   114
    "primrec"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   115
    "print_antiquotations"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   116
    "print_ast_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   117
    "print_attributes"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   118
    "print_binds"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   119
    "print_cases"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   120
    "print_claset"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   121
    "print_commands"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   122
    "print_context"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
   123
    "print_drafts"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   124
    "print_facts"
11661
37cfa9aad9c0 updated;
wenzelm
parents: 11618
diff changeset
   125
    "print_induct_rules"
15598
4ab52355bb53 Registrations of global locale interpretations: improved, better naming.
ballarin
parents: 15596
diff changeset
   126
    "print_interps"
12059
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
   127
    "print_locale"
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
   128
    "print_locales"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   129
    "print_methods"
12365
a90156701dad updated;
wenzelm
parents: 12342
diff changeset
   130
    "print_rules"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   131
    "print_simpset"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   132
    "print_syntax"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   133
    "print_theorems"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   134
    "print_theory"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   135
    "print_trans_rules"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   136
    "print_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   137
    "proof"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   138
    "prop"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   139
    "pwd"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   140
    "qed"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   141
    "quickcheck"
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   142
    "quickcheck_params"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   143
    "quit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   144
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   145
    "realizers"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   146
    "recdef"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   147
    "recdef_tc"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   148
    "record"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   149
    "redo"
14349
8d92e426eb38 'refute', 'refute_params'.
webertj
parents: 14223
diff changeset
   150
    "refute"
8d92e426eb38 'refute', 'refute_params'.
webertj
parents: 14223
diff changeset
   151
    "refute_params"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   152
    "remove_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   153
    "rep_datatype"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   154
    "sect"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   155
    "section"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   156
    "setup"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   157
    "show"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   158
    "sorry"
14115
65ec3f73d00b Added package for definition by specification.
skalberg
parents: 14109
diff changeset
   159
    "specification"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   160
    "subsect"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   161
    "subsection"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   162
    "subsubsect"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   163
    "subsubsection"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   164
    "syntax"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   165
    "term"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   166
    "text"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   167
    "text_raw"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   168
    "then"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   169
    "theorem"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   170
    "theorems"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   171
    "theory"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   172
    "thm"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   173
    "thm_deps"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   174
    "thus"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   175
    "token_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   176
    "touch_all_thys"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   177
    "touch_child_thys"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   178
    "touch_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   179
    "translations"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   180
    "txt"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   181
    "txt_raw"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   182
    "typ"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   183
    "typed_print_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   184
    "typedecl"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   185
    "typedef"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   186
    "types"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   187
    "types_code"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   188
    "ultimately"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   189
    "undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   190
    "undos_proof"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   191
    "update_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   192
    "update_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   193
    "use"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   194
    "use_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   195
    "use_thy_only"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   196
    "using"
17552
744924bec974 Added new "value" command.
berghofe
parents: 17473
diff changeset
   197
    "value"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   198
    "welcome"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   199
    "with"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   200
    "{"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   201
    "}"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   202
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   203
(defconst isar-keywords-minor
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   204
  '("actions"
14660
934e03881ad6 updated -- too late for Isabelle2004!
wenzelm
parents: 14508
diff changeset
   205
    "advanced"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   206
    "and"
12042
1e5c01d5fe04 updated;
wenzelm
parents: 12040
diff changeset
   207
    "assumes"
16771
2b534c5b5625 Added "attach" keyword for code generator setup.
berghofe
parents: 16701
diff changeset
   208
    "attach"
15135
f00857c7539b Added "import" and "begin"
nipkow
parents: 14938
diff changeset
   209
    "begin"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   210
    "binder"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   211
    "compose"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   212
    "concl"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   213
    "congs"
16168
adb83939177f Locales: new element constrains, parameter renaming with syntax,
ballarin
parents: 16034
diff changeset
   214
    "constrains"
17147
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
   215
    "contains"
12042
1e5c01d5fe04 updated;
wenzelm
parents: 12040
diff changeset
   216
    "defines"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   217
    "distinct"
17147
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
   218
    "file"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   219
    "files"
12042
1e5c01d5fe04 updated;
wenzelm
parents: 12040
diff changeset
   220
    "fixes"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   221
    "hide_action"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   222
    "hints"
15141
a95c2ff210ba import -> imports
nipkow
parents: 15135
diff changeset
   223
    "imports"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   224
    "in"
12954
850609c057e2 updated;
wenzelm
parents: 12935
diff changeset
   225
    "includes"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   226
    "induction"
11661
37cfa9aad9c0 updated;
wenzelm
parents: 11618
diff changeset
   227
    "infix"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   228
    "infixl"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   229
    "infixr"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   230
    "initially"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   231
    "inject"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   232
    "inputs"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   233
    "internals"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   234
    "intros"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   235
    "is"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   236
    "lazy"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   237
    "monos"
11746
9bf11f1de9d6 updated;
wenzelm
parents: 11661
diff changeset
   238
    "morphisms"
12042
1e5c01d5fe04 updated;
wenzelm
parents: 12040
diff changeset
   239
    "notes"
13364
d3c7d05d8839 updated;
wenzelm
parents: 12954
diff changeset
   240
    "open"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   241
    "output"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   242
    "outputs"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   243
    "overloaded"
11618
7067101463c0 updated;
wenzelm
parents: 11538
diff changeset
   244
    "permissive"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   245
    "post"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   246
    "pre"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   247
    "rename"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   248
    "restrict"
12935
d697091d1591 updated;
wenzelm
parents: 12926
diff changeset
   249
    "shows"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   250
    "signature"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   251
    "states"
12042
1e5c01d5fe04 updated;
wenzelm
parents: 12040
diff changeset
   252
    "structure"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   253
    "to"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   254
    "transitions"
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   255
    "transrel"
16419
0c3db621bbbd updated;
wenzelm
parents: 16231
diff changeset
   256
    "uses"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   257
    "where"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   258
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   259
(defconst isar-keywords-control
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   260
  '("ProofGeneral\\.context_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   261
    "ProofGeneral\\.inform_file_processed"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   262
    "ProofGeneral\\.inform_file_retracted"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   263
    "ProofGeneral\\.kill_proof"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
   264
    "ProofGeneral\\.process_pgip"
15762
13d1ec61bc89 updated;
wenzelm
parents: 15703
diff changeset
   265
    "ProofGeneral\\.redo"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   266
    "ProofGeneral\\.restart"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   267
    "ProofGeneral\\.try_context_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   268
    "ProofGeneral\\.undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   269
    "cannot_undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   270
    "clear_undos"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   271
    "exit"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   272
    "init_toplevel"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   273
    "kill"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   274
    "quit"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   275
    "redo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   276
    "undo"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   277
    "undos_proof"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   278
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   279
(defconst isar-keywords-diag
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   280
  '("ML"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   281
    "ML_command"
17091
13593aa6a546 new command to invoke ATPs
paulson
parents: 16771
diff changeset
   282
    "ProofGeneral\\.call_atp"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   283
    "cd"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   284
    "commit"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   285
    "disable_pr"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
   286
    "display_drafts"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   287
    "enable_pr"
17220
b41d8e290bf8 updated;
wenzelm
parents: 17147
diff changeset
   288
    "find_theorems"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   289
    "full_prf"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   290
    "header"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   291
    "kill_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   292
    "pr"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   293
    "pretty_setmargin"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   294
    "prf"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   295
    "print_antiquotations"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   296
    "print_attributes"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   297
    "print_binds"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   298
    "print_cases"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   299
    "print_claset"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   300
    "print_commands"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   301
    "print_context"
14938
393b75c92c07 updated;
wenzelm
parents: 14660
diff changeset
   302
    "print_drafts"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   303
    "print_facts"
11661
37cfa9aad9c0 updated;
wenzelm
parents: 11618
diff changeset
   304
    "print_induct_rules"
15598
4ab52355bb53 Registrations of global locale interpretations: improved, better naming.
ballarin
parents: 15596
diff changeset
   305
    "print_interps"
12059
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
   306
    "print_locale"
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
   307
    "print_locales"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   308
    "print_methods"
12365
a90156701dad updated;
wenzelm
parents: 12342
diff changeset
   309
    "print_rules"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   310
    "print_simpset"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   311
    "print_syntax"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   312
    "print_theorems"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   313
    "print_theory"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   314
    "print_trans_rules"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   315
    "prop"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   316
    "pwd"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   317
    "quickcheck"
14349
8d92e426eb38 'refute', 'refute_params'.
webertj
parents: 14223
diff changeset
   318
    "refute"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   319
    "remove_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   320
    "term"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   321
    "thm"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   322
    "thm_deps"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   323
    "touch_all_thys"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   324
    "touch_child_thys"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   325
    "touch_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   326
    "typ"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   327
    "update_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   328
    "update_thy_only"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   329
    "use"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   330
    "use_thy"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   331
    "use_thy_only"
17552
744924bec974 Added new "value" command.
berghofe
parents: 17473
diff changeset
   332
    "value"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   333
    "welcome"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   334
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   335
(defconst isar-keywords-theory-begin
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   336
  '("theory"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   337
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   338
(defconst isar-keywords-theory-switch
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   339
  '("context"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   340
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   341
(defconst isar-keywords-theory-end
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   342
  '("end"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   343
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   344
(defconst isar-keywords-theory-heading
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   345
  '("chapter"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   346
    "section"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   347
    "subsection"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   348
    "subsubsection"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   349
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   350
(defconst isar-keywords-theory-decl
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   351
  '("ML_setup"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   352
    "arities"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   353
    "automaton"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   354
    "axclass"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   355
    "axioms"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   356
    "classes"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   357
    "classrel"
17147
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
   358
    "code_library"
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 17091
diff changeset
   359
    "code_module"
18165
cbed396ecb1c new syntax for class_package
haftmann
parents: 17850
diff changeset
   360
    "codegen_class"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   361
    "coinductive"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   362
    "constdefs"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   363
    "consts"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   364
    "consts_code"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   365
    "datatype"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   366
    "defaultsort"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   367
    "defer_recdef"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   368
    "defs"
12040
61e99f0f5c01 updated;
wenzelm
parents: 11746
diff changeset
   369
    "domain"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   370
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   371
    "extract_type"
14223
0ee05eef881b Added support for making constants final, that is, ensuring that no
skalberg
parents: 14115
diff changeset
   372
    "finalconsts"
16419
0c3db621bbbd updated;
wenzelm
parents: 16231
diff changeset
   373
    "fixpat"
16231
91c0a3e253b1 add keywords fixrec and fixpat for HOLCF fixrec package
huffman
parents: 16168
diff changeset
   374
    "fixrec"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   375
    "global"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   376
    "hide"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   377
    "inductive"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   378
    "judgment"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   379
    "lemmas"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   380
    "local"
12059
c224c941769f added "locale", "print_locale", "print_locales";
wenzelm
parents: 12042
diff changeset
   381
    "locale"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   382
    "method_setup"
15703
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15624
diff changeset
   383
    "no_syntax"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   384
    "nonterminals"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   385
    "oracle"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   386
    "parse_ast_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   387
    "parse_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   388
    "primrec"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   389
    "print_ast_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   390
    "print_translation"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   391
    "quickcheck_params"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   392
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   393
    "realizers"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   394
    "recdef"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   395
    "record"
14349
8d92e426eb38 'refute', 'refute_params'.
webertj
parents: 14223
diff changeset
   396
    "refute_params"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   397
    "rep_datatype"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   398
    "setup"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   399
    "syntax"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   400
    "text"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   401
    "text_raw"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   402
    "theorems"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   403
    "token_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   404
    "translations"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   405
    "typed_print_translation"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   406
    "typedecl"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   407
    "types"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   408
    "types_code"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   409
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   410
(defconst isar-keywords-theory-script
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   411
  '("declare"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   412
    "inductive_cases"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   413
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   414
(defconst isar-keywords-theory-goal
14223
0ee05eef881b Added support for making constants final, that is, ensuring that no
skalberg
parents: 14115
diff changeset
   415
  '("ax_specification"
0ee05eef881b Added support for making constants final, that is, ensuring that no
skalberg
parents: 14115
diff changeset
   416
    "corollary"
16701
abd0abd66387 add keywords cpodef, pcpodef (for HOLCF)
huffman
parents: 16419
diff changeset
   417
    "cpodef"
11746
9bf11f1de9d6 updated;
wenzelm
parents: 11661
diff changeset
   418
    "instance"
15598
4ab52355bb53 Registrations of global locale interpretations: improved, better naming.
ballarin
parents: 15596
diff changeset
   419
    "interpretation"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   420
    "lemma"
16701
abd0abd66387 add keywords cpodef, pcpodef (for HOLCF)
huffman
parents: 16419
diff changeset
   421
    "pcpodef"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   422
    "recdef_tc"
14115
65ec3f73d00b Added package for definition by specification.
skalberg
parents: 14109
diff changeset
   423
    "specification"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   424
    "theorem"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   425
    "typedef"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   426
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   427
(defconst isar-keywords-qed
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   428
  '("\\."
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   429
    "\\.\\."
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   430
    "by"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   431
    "done"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   432
    "sorry"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   433
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   434
(defconst isar-keywords-qed-block
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   435
  '("qed"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   436
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   437
(defconst isar-keywords-qed-global
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   438
  '("oops"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   439
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   440
(defconst isar-keywords-proof-heading
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   441
  '("sect"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   442
    "subsect"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   443
    "subsubsect"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   444
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   445
(defconst isar-keywords-proof-goal
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   446
  '("have"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   447
    "hence"
15624
484178635bd8 Further work on interpretation commands. New command `interpret' for
ballarin
parents: 15598
diff changeset
   448
    "interpret"
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   449
    "show"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   450
    "thus"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   451
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   452
(defconst isar-keywords-proof-block
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   453
  '("next"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   454
    "proof"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   455
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   456
(defconst isar-keywords-proof-open
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   457
  '("{"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   458
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   459
(defconst isar-keywords-proof-close
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   460
  '("}"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   461
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   462
(defconst isar-keywords-proof-chain
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   463
  '("finally"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   464
    "from"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   465
    "then"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   466
    "ultimately"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   467
    "with"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   468
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   469
(defconst isar-keywords-proof-decl
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   470
  '("also"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   471
    "let"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   472
    "moreover"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   473
    "note"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   474
    "txt"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   475
    "txt_raw"
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   476
    "using"))
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   477
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   478
(defconst isar-keywords-proof-asm
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   479
  '("assume"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   480
    "case"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   481
    "def"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   482
    "fix"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   483
    "presume"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   484
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   485
(defconst isar-keywords-proof-asm-goal
17850
6803625e71c4 updated;
wenzelm
parents: 17552
diff changeset
   486
  '("guess"
6803625e71c4 updated;
wenzelm
parents: 17552
diff changeset
   487
    "obtain"))
11538
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   488
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   489
(defconst isar-keywords-proof-script
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   490
  '("apply"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   491
    "apply_end"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   492
    "back"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   493
    "defer"
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   494
    "prefer"))
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   495
f8588786cc9c keyword classification tables for Isabelle/Isar Proof General
wenzelm
parents:
diff changeset
   496
(provide 'isar-keywords)