etc/isar-keywords-ZF.el
author wenzelm
Mon, 20 Aug 2012 17:05:53 +0200
changeset 49882 e9beabf045ab
parent 49724 719f458cd89e
child 50586 7e6fc0254d23
permissions -rw-r--r--
some support for inlining file content into outer syntax token language;
     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     "method_setup"
   100     "moreover"
   101     "next"
   102     "no_notation"
   103     "no_syntax"
   104     "no_translations"
   105     "no_type_notation"
   106     "nonterminal"
   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_bundles"
   128     "print_cases"
   129     "print_claset"
   130     "print_classes"
   131     "print_codesetup"
   132     "print_commands"
   133     "print_configs"
   134     "print_context"
   135     "print_dependencies"
   136     "print_drafts"
   137     "print_facts"
   138     "print_induct_rules"
   139     "print_interps"
   140     "print_locale"
   141     "print_locales"
   142     "print_methods"
   143     "print_rules"
   144     "print_simpset"
   145     "print_statement"
   146     "print_syntax"
   147     "print_tcset"
   148     "print_theorems"
   149     "print_theory"
   150     "print_trans_rules"
   151     "print_translation"
   152     "proof"
   153     "prop"
   154     "pwd"
   155     "qed"
   156     "quit"
   157     "realizability"
   158     "realizers"
   159     "remove_thy"
   160     "rep_datatype"
   161     "schematic_corollary"
   162     "schematic_lemma"
   163     "schematic_theorem"
   164     "sect"
   165     "section"
   166     "setup"
   167     "show"
   168     "simproc_setup"
   169     "sorry"
   170     "subclass"
   171     "sublocale"
   172     "subsect"
   173     "subsection"
   174     "subsubsect"
   175     "subsubsection"
   176     "syntax"
   177     "syntax_declaration"
   178     "term"
   179     "text"
   180     "text_raw"
   181     "then"
   182     "theorem"
   183     "theorems"
   184     "theory"
   185     "thm"
   186     "thm_deps"
   187     "thus"
   188     "thy_deps"
   189     "translations"
   190     "txt"
   191     "txt_raw"
   192     "typ"
   193     "type_notation"
   194     "type_synonym"
   195     "typed_print_translation"
   196     "typedecl"
   197     "ultimately"
   198     "undo"
   199     "undos_proof"
   200     "unfolding"
   201     "unused_thms"
   202     "use"
   203     "use_thy"
   204     "using"
   205     "welcome"
   206     "with"
   207     "write"
   208     "{"
   209     "}"))
   210 
   211 (defconst isar-keywords-minor
   212   '("advanced"
   213     "and"
   214     "assumes"
   215     "attach"
   216     "begin"
   217     "binder"
   218     "case_eqns"
   219     "con_defs"
   220     "constrains"
   221     "defines"
   222     "domains"
   223     "elimination"
   224     "fixes"
   225     "for"
   226     "identifier"
   227     "if"
   228     "imports"
   229     "in"
   230     "includes"
   231     "induction"
   232     "infix"
   233     "infixl"
   234     "infixr"
   235     "intros"
   236     "is"
   237     "keywords"
   238     "monos"
   239     "notes"
   240     "obtains"
   241     "open"
   242     "output"
   243     "overloaded"
   244     "pervasive"
   245     "recursor_eqns"
   246     "shows"
   247     "structure"
   248     "type_elims"
   249     "type_intros"
   250     "unchecked"
   251     "uses"
   252     "where"))
   253 
   254 (defconst isar-keywords-control
   255   '("Isabelle\\.command"
   256     "ProofGeneral\\.inform_file_processed"
   257     "ProofGeneral\\.inform_file_retracted"
   258     "ProofGeneral\\.kill_proof"
   259     "ProofGeneral\\.process_pgip"
   260     "ProofGeneral\\.restart"
   261     "ProofGeneral\\.undo"
   262     "cannot_undo"
   263     "cd"
   264     "commit"
   265     "disable_pr"
   266     "enable_pr"
   267     "exit"
   268     "init_toplevel"
   269     "kill"
   270     "kill_thy"
   271     "linear_undo"
   272     "quit"
   273     "remove_thy"
   274     "undo"
   275     "undos_proof"
   276     "use_thy"))
   277 
   278 (defconst isar-keywords-diag
   279   '("ML_command"
   280     "ML_val"
   281     "ProofGeneral\\.pr"
   282     "class_deps"
   283     "display_drafts"
   284     "find_consts"
   285     "find_theorems"
   286     "full_prf"
   287     "header"
   288     "help"
   289     "pr"
   290     "pretty_setmargin"
   291     "prf"
   292     "print_abbrevs"
   293     "print_antiquotations"
   294     "print_attributes"
   295     "print_binds"
   296     "print_bundles"
   297     "print_cases"
   298     "print_claset"
   299     "print_classes"
   300     "print_codesetup"
   301     "print_commands"
   302     "print_configs"
   303     "print_context"
   304     "print_dependencies"
   305     "print_drafts"
   306     "print_facts"
   307     "print_induct_rules"
   308     "print_interps"
   309     "print_locale"
   310     "print_locales"
   311     "print_methods"
   312     "print_rules"
   313     "print_simpset"
   314     "print_statement"
   315     "print_syntax"
   316     "print_tcset"
   317     "print_theorems"
   318     "print_theory"
   319     "print_trans_rules"
   320     "prop"
   321     "pwd"
   322     "term"
   323     "thm"
   324     "thm_deps"
   325     "thy_deps"
   326     "typ"
   327     "unused_thms"
   328     "welcome"))
   329 
   330 (defconst isar-keywords-theory-begin
   331   '("theory"))
   332 
   333 (defconst isar-keywords-theory-switch
   334   '())
   335 
   336 (defconst isar-keywords-theory-end
   337   '("end"))
   338 
   339 (defconst isar-keywords-theory-heading
   340   '("chapter"
   341     "section"
   342     "subsection"
   343     "subsubsection"))
   344 
   345 (defconst isar-keywords-theory-decl
   346   '("ML"
   347     "ML_file"
   348     "abbreviation"
   349     "arities"
   350     "attribute_setup"
   351     "axiomatization"
   352     "axioms"
   353     "bundle"
   354     "class"
   355     "classes"
   356     "classrel"
   357     "codatatype"
   358     "code_datatype"
   359     "coinductive"
   360     "consts"
   361     "context"
   362     "datatype"
   363     "declaration"
   364     "declare"
   365     "default_sort"
   366     "definition"
   367     "defs"
   368     "extract"
   369     "extract_type"
   370     "hide_class"
   371     "hide_const"
   372     "hide_fact"
   373     "hide_type"
   374     "inductive"
   375     "instantiation"
   376     "judgment"
   377     "lemmas"
   378     "local_setup"
   379     "locale"
   380     "method_setup"
   381     "no_notation"
   382     "no_syntax"
   383     "no_translations"
   384     "no_type_notation"
   385     "nonterminal"
   386     "notation"
   387     "notepad"
   388     "oracle"
   389     "overloading"
   390     "parse_ast_translation"
   391     "parse_translation"
   392     "primrec"
   393     "print_ast_translation"
   394     "print_translation"
   395     "realizability"
   396     "realizers"
   397     "rep_datatype"
   398     "setup"
   399     "simproc_setup"
   400     "syntax"
   401     "syntax_declaration"
   402     "text"
   403     "text_raw"
   404     "theorems"
   405     "translations"
   406     "type_notation"
   407     "type_synonym"
   408     "typed_print_translation"
   409     "typedecl"
   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     "include"
   471     "including"
   472     "let"
   473     "moreover"
   474     "note"
   475     "txt"
   476     "txt_raw"
   477     "unfolding"
   478     "using"
   479     "write"))
   480 
   481 (defconst isar-keywords-proof-asm
   482   '("assume"
   483     "case"
   484     "def"
   485     "fix"
   486     "presume"))
   487 
   488 (defconst isar-keywords-proof-asm-goal
   489   '("guess"
   490     "obtain"
   491     "show"
   492     "thus"))
   493 
   494 (defconst isar-keywords-proof-script
   495   '("apply"
   496     "apply_end"
   497     "back"
   498     "defer"
   499     "prefer"))
   500 
   501 (provide 'isar-keywords)