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