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