etc/isar-keywords-ZF.el
author Walther Neuper <neuper@ist.tugraz.at>
Fri, 10 Sep 2010 12:15:18 +0200
branchisac-update-Isa09-2
changeset 38003 0c3e2329eb5f
parent 36521 79c1d2bbe5a9
child 38272 d104dedacd9e
permissions -rw-r--r--
----- update of isac SYNTAX Isabelle2002 --> Isabelle2009-2 finished.

Semantic check is to be done. Known problems (see #974b):
# hierarchy of theory elements for IsacKnowledge seems empty
(no ouput befor *** insert: not found ... IS OK)
# copynamed ___ --> ''' in Interpreter
# Subproblem (Thy', ... instead of Thy_ in Interpreter
# theory' handled inconsistently: "Thy" | "Thy.thy"
# thm' handled inconsistently: "refl" | "Test.refl" | "Test.class.refl"
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + FOL + ZF.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 
     7 (defconst isar-keywords-major
     8   '("\\."
     9     "\\.\\."
    10     "Isabelle\\.command"
    11     "Isar\\.begin_document"
    12     "Isar\\.define_command"
    13     "Isar\\.edit_document"
    14     "Isar\\.end_document"
    15     "ML"
    16     "ML_command"
    17     "ML_prf"
    18     "ML_val"
    19     "ProofGeneral\\.inform_file_processed"
    20     "ProofGeneral\\.inform_file_retracted"
    21     "ProofGeneral\\.kill_proof"
    22     "ProofGeneral\\.pr"
    23     "ProofGeneral\\.process_pgip"
    24     "ProofGeneral\\.restart"
    25     "ProofGeneral\\.undo"
    26     "abbreviation"
    27     "also"
    28     "apply"
    29     "apply_end"
    30     "arities"
    31     "assume"
    32     "attribute_setup"
    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     "codatatype"
    46     "code_datatype"
    47     "code_library"
    48     "code_module"
    49     "coinductive"
    50     "commit"
    51     "constdefs"
    52     "consts"
    53     "consts_code"
    54     "context"
    55     "corollary"
    56     "datatype"
    57     "declaration"
    58     "declare"
    59     "def"
    60     "default_sort"
    61     "defer"
    62     "definition"
    63     "defs"
    64     "disable_pr"
    65     "display_drafts"
    66     "done"
    67     "enable_pr"
    68     "end"
    69     "example_proof"
    70     "exit"
    71     "extract"
    72     "extract_type"
    73     "finalconsts"
    74     "finally"
    75     "find_consts"
    76     "find_theorems"
    77     "fix"
    78     "from"
    79     "full_prf"
    80     "global"
    81     "guess"
    82     "have"
    83     "header"
    84     "help"
    85     "hence"
    86     "hide_class"
    87     "hide_const"
    88     "hide_fact"
    89     "hide_type"
    90     "inductive"
    91     "inductive_cases"
    92     "init_toplevel"
    93     "instance"
    94     "instantiation"
    95     "interpret"
    96     "interpretation"
    97     "judgment"
    98     "kill"
    99     "kill_thy"
   100     "lemma"
   101     "lemmas"
   102     "let"
   103     "linear_undo"
   104     "local"
   105     "local_setup"
   106     "locale"
   107     "method_setup"
   108     "moreover"
   109     "next"
   110     "no_notation"
   111     "no_syntax"
   112     "no_translations"
   113     "no_type_notation"
   114     "nonterminals"
   115     "notation"
   116     "note"
   117     "obtain"
   118     "oops"
   119     "oracle"
   120     "overloading"
   121     "parse_ast_translation"
   122     "parse_translation"
   123     "pr"
   124     "prefer"
   125     "presume"
   126     "pretty_setmargin"
   127     "prf"
   128     "primrec"
   129     "print_abbrevs"
   130     "print_antiquotations"
   131     "print_ast_translation"
   132     "print_attributes"
   133     "print_binds"
   134     "print_cases"
   135     "print_claset"
   136     "print_classes"
   137     "print_codesetup"
   138     "print_commands"
   139     "print_configs"
   140     "print_context"
   141     "print_drafts"
   142     "print_facts"
   143     "print_induct_rules"
   144     "print_interps"
   145     "print_locale"
   146     "print_locales"
   147     "print_methods"
   148     "print_rules"
   149     "print_simpset"
   150     "print_statement"
   151     "print_syntax"
   152     "print_tcset"
   153     "print_theorems"
   154     "print_theory"
   155     "print_trans_rules"
   156     "print_translation"
   157     "proof"
   158     "prop"
   159     "pwd"
   160     "qed"
   161     "quit"
   162     "realizability"
   163     "realizers"
   164     "remove_thy"
   165     "rep_datatype"
   166     "schematic_corollary"
   167     "schematic_lemma"
   168     "schematic_theorem"
   169     "sect"
   170     "section"
   171     "setup"
   172     "show"
   173     "simproc_setup"
   174     "sorry"
   175     "subclass"
   176     "sublocale"
   177     "subsect"
   178     "subsection"
   179     "subsubsect"
   180     "subsubsection"
   181     "syntax"
   182     "term"
   183     "text"
   184     "text_raw"
   185     "then"
   186     "theorem"
   187     "theorems"
   188     "theory"
   189     "thm"
   190     "thm_deps"
   191     "thus"
   192     "thy_deps"
   193     "touch_thy"
   194     "translations"
   195     "txt"
   196     "txt_raw"
   197     "typ"
   198     "type_notation"
   199     "typed_print_translation"
   200     "typedecl"
   201     "types"
   202     "types_code"
   203     "ultimately"
   204     "undo"
   205     "undos_proof"
   206     "unfolding"
   207     "unused_thms"
   208     "use"
   209     "use_thy"
   210     "using"
   211     "welcome"
   212     "with"
   213     "write"
   214     "{"
   215     "}"))
   216 
   217 (defconst isar-keywords-minor
   218   '("advanced"
   219     "and"
   220     "assumes"
   221     "attach"
   222     "begin"
   223     "binder"
   224     "case_eqns"
   225     "con_defs"
   226     "constrains"
   227     "contains"
   228     "defines"
   229     "domains"
   230     "elimination"
   231     "file"
   232     "fixes"
   233     "for"
   234     "identifier"
   235     "if"
   236     "imports"
   237     "in"
   238     "induction"
   239     "infix"
   240     "infixl"
   241     "infixr"
   242     "intros"
   243     "is"
   244     "monos"
   245     "notes"
   246     "obtains"
   247     "open"
   248     "output"
   249     "overloaded"
   250     "pervasive"
   251     "recursor_eqns"
   252     "shows"
   253     "structure"
   254     "type_elims"
   255     "type_intros"
   256     "unchecked"
   257     "uses"
   258     "where"))
   259 
   260 (defconst isar-keywords-control
   261   '("Isabelle\\.command"
   262     "Isar\\.begin_document"
   263     "Isar\\.define_command"
   264     "Isar\\.edit_document"
   265     "Isar\\.end_document"
   266     "ProofGeneral\\.inform_file_processed"
   267     "ProofGeneral\\.inform_file_retracted"
   268     "ProofGeneral\\.kill_proof"
   269     "ProofGeneral\\.process_pgip"
   270     "ProofGeneral\\.restart"
   271     "ProofGeneral\\.undo"
   272     "cannot_undo"
   273     "exit"
   274     "init_toplevel"
   275     "kill"
   276     "linear_undo"
   277     "quit"
   278     "undo"
   279     "undos_proof"))
   280 
   281 (defconst isar-keywords-diag
   282   '("ML_command"
   283     "ML_val"
   284     "ProofGeneral\\.pr"
   285     "cd"
   286     "class_deps"
   287     "commit"
   288     "disable_pr"
   289     "display_drafts"
   290     "enable_pr"
   291     "find_consts"
   292     "find_theorems"
   293     "full_prf"
   294     "header"
   295     "help"
   296     "kill_thy"
   297     "pr"
   298     "pretty_setmargin"
   299     "prf"
   300     "print_abbrevs"
   301     "print_antiquotations"
   302     "print_attributes"
   303     "print_binds"
   304     "print_cases"
   305     "print_claset"
   306     "print_classes"
   307     "print_codesetup"
   308     "print_commands"
   309     "print_configs"
   310     "print_context"
   311     "print_drafts"
   312     "print_facts"
   313     "print_induct_rules"
   314     "print_interps"
   315     "print_locale"
   316     "print_locales"
   317     "print_methods"
   318     "print_rules"
   319     "print_simpset"
   320     "print_statement"
   321     "print_syntax"
   322     "print_tcset"
   323     "print_theorems"
   324     "print_theory"
   325     "print_trans_rules"
   326     "prop"
   327     "pwd"
   328     "remove_thy"
   329     "term"
   330     "thm"
   331     "thm_deps"
   332     "thy_deps"
   333     "touch_thy"
   334     "typ"
   335     "unused_thms"
   336     "use_thy"
   337     "welcome"))
   338 
   339 (defconst isar-keywords-theory-begin
   340   '("theory"))
   341 
   342 (defconst isar-keywords-theory-switch
   343   '())
   344 
   345 (defconst isar-keywords-theory-end
   346   '("end"))
   347 
   348 (defconst isar-keywords-theory-heading
   349   '("chapter"
   350     "section"
   351     "subsection"
   352     "subsubsection"))
   353 
   354 (defconst isar-keywords-theory-decl
   355   '("ML"
   356     "abbreviation"
   357     "arities"
   358     "attribute_setup"
   359     "axiomatization"
   360     "axioms"
   361     "class"
   362     "classes"
   363     "classrel"
   364     "codatatype"
   365     "code_datatype"
   366     "code_library"
   367     "code_module"
   368     "coinductive"
   369     "constdefs"
   370     "consts"
   371     "consts_code"
   372     "context"
   373     "datatype"
   374     "declaration"
   375     "declare"
   376     "default_sort"
   377     "definition"
   378     "defs"
   379     "extract"
   380     "extract_type"
   381     "finalconsts"
   382     "global"
   383     "hide_class"
   384     "hide_const"
   385     "hide_fact"
   386     "hide_type"
   387     "inductive"
   388     "instantiation"
   389     "judgment"
   390     "lemmas"
   391     "local"
   392     "local_setup"
   393     "locale"
   394     "method_setup"
   395     "no_notation"
   396     "no_syntax"
   397     "no_translations"
   398     "no_type_notation"
   399     "nonterminals"
   400     "notation"
   401     "oracle"
   402     "overloading"
   403     "parse_ast_translation"
   404     "parse_translation"
   405     "primrec"
   406     "print_ast_translation"
   407     "print_translation"
   408     "realizability"
   409     "realizers"
   410     "rep_datatype"
   411     "setup"
   412     "simproc_setup"
   413     "syntax"
   414     "text"
   415     "text_raw"
   416     "theorems"
   417     "translations"
   418     "type_notation"
   419     "typed_print_translation"
   420     "typedecl"
   421     "types"
   422     "types_code"
   423     "use"))
   424 
   425 (defconst isar-keywords-theory-script
   426   '("inductive_cases"))
   427 
   428 (defconst isar-keywords-theory-goal
   429   '("corollary"
   430     "example_proof"
   431     "instance"
   432     "interpretation"
   433     "lemma"
   434     "schematic_corollary"
   435     "schematic_lemma"
   436     "schematic_theorem"
   437     "subclass"
   438     "sublocale"
   439     "theorem"))
   440 
   441 (defconst isar-keywords-qed
   442   '("\\."
   443     "\\.\\."
   444     "by"
   445     "done"
   446     "sorry"))
   447 
   448 (defconst isar-keywords-qed-block
   449   '("qed"))
   450 
   451 (defconst isar-keywords-qed-global
   452   '("oops"))
   453 
   454 (defconst isar-keywords-proof-heading
   455   '("sect"
   456     "subsect"
   457     "subsubsect"))
   458 
   459 (defconst isar-keywords-proof-goal
   460   '("have"
   461     "hence"
   462     "interpret"))
   463 
   464 (defconst isar-keywords-proof-block
   465   '("next"
   466     "proof"))
   467 
   468 (defconst isar-keywords-proof-open
   469   '("{"))
   470 
   471 (defconst isar-keywords-proof-close
   472   '("}"))
   473 
   474 (defconst isar-keywords-proof-chain
   475   '("finally"
   476     "from"
   477     "then"
   478     "ultimately"
   479     "with"))
   480 
   481 (defconst isar-keywords-proof-decl
   482   '("ML_prf"
   483     "also"
   484     "let"
   485     "moreover"
   486     "note"
   487     "txt"
   488     "txt_raw"
   489     "unfolding"
   490     "using"
   491     "write"))
   492 
   493 (defconst isar-keywords-proof-asm
   494   '("assume"
   495     "case"
   496     "def"
   497     "fix"
   498     "presume"))
   499 
   500 (defconst isar-keywords-proof-asm-goal
   501   '("guess"
   502     "obtain"
   503     "show"
   504     "thus"))
   505 
   506 (defconst isar-keywords-proof-script
   507   '("apply"
   508     "apply_end"
   509     "back"
   510     "defer"
   511     "prefer"))
   512 
   513 (provide 'isar-keywords)