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