etc/isar-keywords.el
author wenzelm
Wed, 28 Apr 2010 12:23:14 +0200
changeset 36455 30f96b4b108b
parent 36366 5ab0f8859f9f
child 36468 3e677ca1e564
permissions -rw-r--r--
updated keywords;
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Boogie + HOL-Nominal + HOL-SMT + HOL-Statespace.
     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     "atom_decl"
    33     "attribute_setup"
    34     "automaton"
    35     "ax_specification"
    36     "axiomatization"
    37     "axioms"
    38     "back"
    39     "boogie_end"
    40     "boogie_open"
    41     "boogie_status"
    42     "boogie_vc"
    43     "by"
    44     "cannot_undo"
    45     "case"
    46     "cd"
    47     "chapter"
    48     "class"
    49     "class_deps"
    50     "classes"
    51     "classrel"
    52     "code_abort"
    53     "code_class"
    54     "code_const"
    55     "code_datatype"
    56     "code_deps"
    57     "code_include"
    58     "code_instance"
    59     "code_library"
    60     "code_module"
    61     "code_modulename"
    62     "code_monad"
    63     "code_pred"
    64     "code_reserved"
    65     "code_thms"
    66     "code_type"
    67     "coinductive"
    68     "coinductive_set"
    69     "commit"
    70     "constdefs"
    71     "consts"
    72     "consts_code"
    73     "context"
    74     "corollary"
    75     "cpodef"
    76     "datatype"
    77     "declaration"
    78     "declare"
    79     "def"
    80     "default_sort"
    81     "defer"
    82     "defer_recdef"
    83     "definition"
    84     "defs"
    85     "disable_pr"
    86     "display_drafts"
    87     "domain"
    88     "domain_isomorphism"
    89     "done"
    90     "enable_pr"
    91     "end"
    92     "equivariance"
    93     "example_proof"
    94     "exit"
    95     "export_code"
    96     "extract"
    97     "extract_type"
    98     "finalconsts"
    99     "finally"
   100     "find_consts"
   101     "find_theorems"
   102     "fix"
   103     "fixpat"
   104     "fixrec"
   105     "from"
   106     "full_prf"
   107     "fun"
   108     "function"
   109     "global"
   110     "guess"
   111     "have"
   112     "header"
   113     "help"
   114     "hence"
   115     "hide_class"
   116     "hide_const"
   117     "hide_fact"
   118     "hide_type"
   119     "inductive"
   120     "inductive_cases"
   121     "inductive_set"
   122     "init_toplevel"
   123     "instance"
   124     "instantiation"
   125     "interpret"
   126     "interpretation"
   127     "judgment"
   128     "kill"
   129     "kill_thy"
   130     "lemma"
   131     "lemmas"
   132     "let"
   133     "linear_undo"
   134     "local"
   135     "local_setup"
   136     "locale"
   137     "method_setup"
   138     "moreover"
   139     "new_domain"
   140     "next"
   141     "nitpick"
   142     "nitpick_params"
   143     "no_notation"
   144     "no_syntax"
   145     "no_translations"
   146     "no_type_notation"
   147     "nominal_datatype"
   148     "nominal_inductive"
   149     "nominal_inductive2"
   150     "nominal_primrec"
   151     "nonterminals"
   152     "normal_form"
   153     "notation"
   154     "note"
   155     "obtain"
   156     "oops"
   157     "oracle"
   158     "overloading"
   159     "parse_ast_translation"
   160     "parse_translation"
   161     "pcpodef"
   162     "pr"
   163     "prefer"
   164     "presume"
   165     "pretty_setmargin"
   166     "prf"
   167     "primrec"
   168     "print_abbrevs"
   169     "print_antiquotations"
   170     "print_ast_translation"
   171     "print_attributes"
   172     "print_binds"
   173     "print_cases"
   174     "print_claset"
   175     "print_classes"
   176     "print_codeproc"
   177     "print_codesetup"
   178     "print_commands"
   179     "print_configs"
   180     "print_context"
   181     "print_drafts"
   182     "print_facts"
   183     "print_induct_rules"
   184     "print_interps"
   185     "print_locale"
   186     "print_locales"
   187     "print_methods"
   188     "print_orders"
   189     "print_quotconsts"
   190     "print_quotients"
   191     "print_quotmaps"
   192     "print_rules"
   193     "print_simpset"
   194     "print_statement"
   195     "print_syntax"
   196     "print_theorems"
   197     "print_theory"
   198     "print_trans_rules"
   199     "print_translation"
   200     "proof"
   201     "prop"
   202     "pwd"
   203     "qed"
   204     "quickcheck"
   205     "quickcheck_params"
   206     "quit"
   207     "quotient_definition"
   208     "quotient_type"
   209     "realizability"
   210     "realizers"
   211     "recdef"
   212     "recdef_tc"
   213     "record"
   214     "refute"
   215     "refute_params"
   216     "remove_thy"
   217     "rep_datatype"
   218     "repdef"
   219     "schematic_corollary"
   220     "schematic_lemma"
   221     "schematic_theorem"
   222     "sect"
   223     "section"
   224     "setup"
   225     "show"
   226     "simproc_setup"
   227     "sledgehammer"
   228     "sledgehammer_params"
   229     "smt_status"
   230     "sorry"
   231     "specification"
   232     "statespace"
   233     "subclass"
   234     "sublocale"
   235     "subsect"
   236     "subsection"
   237     "subsubsect"
   238     "subsubsection"
   239     "syntax"
   240     "term"
   241     "termination"
   242     "text"
   243     "text_raw"
   244     "then"
   245     "theorem"
   246     "theorems"
   247     "theory"
   248     "thm"
   249     "thm_deps"
   250     "thus"
   251     "thy_deps"
   252     "touch_thy"
   253     "translations"
   254     "txt"
   255     "txt_raw"
   256     "typ"
   257     "type_notation"
   258     "typed_print_translation"
   259     "typedecl"
   260     "typedef"
   261     "types"
   262     "types_code"
   263     "ultimately"
   264     "undo"
   265     "undos_proof"
   266     "unfolding"
   267     "unused_thms"
   268     "use"
   269     "use_thy"
   270     "using"
   271     "value"
   272     "values"
   273     "welcome"
   274     "with"
   275     "{"
   276     "}"))
   277 
   278 (defconst isar-keywords-minor
   279   '("actions"
   280     "advanced"
   281     "and"
   282     "assumes"
   283     "attach"
   284     "avoids"
   285     "begin"
   286     "binder"
   287     "compose"
   288     "congs"
   289     "constrains"
   290     "contains"
   291     "defines"
   292     "file"
   293     "fixes"
   294     "for"
   295     "hide_action"
   296     "hints"
   297     "identifier"
   298     "if"
   299     "imports"
   300     "in"
   301     "infix"
   302     "infixl"
   303     "infixr"
   304     "initially"
   305     "inputs"
   306     "internals"
   307     "is"
   308     "lazy"
   309     "module_name"
   310     "monos"
   311     "morphisms"
   312     "notes"
   313     "obtains"
   314     "open"
   315     "output"
   316     "outputs"
   317     "overloaded"
   318     "permissive"
   319     "pervasive"
   320     "post"
   321     "pre"
   322     "rename"
   323     "restrict"
   324     "shows"
   325     "signature"
   326     "states"
   327     "structure"
   328     "to"
   329     "transitions"
   330     "transrel"
   331     "unchecked"
   332     "uses"
   333     "where"))
   334 
   335 (defconst isar-keywords-control
   336   '("Isabelle\\.command"
   337     "Isar\\.begin_document"
   338     "Isar\\.define_command"
   339     "Isar\\.edit_document"
   340     "Isar\\.end_document"
   341     "ProofGeneral\\.inform_file_processed"
   342     "ProofGeneral\\.inform_file_retracted"
   343     "ProofGeneral\\.kill_proof"
   344     "ProofGeneral\\.process_pgip"
   345     "ProofGeneral\\.restart"
   346     "ProofGeneral\\.undo"
   347     "cannot_undo"
   348     "exit"
   349     "init_toplevel"
   350     "kill"
   351     "linear_undo"
   352     "quit"
   353     "undo"
   354     "undos_proof"))
   355 
   356 (defconst isar-keywords-diag
   357   '("ML_command"
   358     "ML_val"
   359     "ProofGeneral\\.pr"
   360     "boogie_status"
   361     "cd"
   362     "class_deps"
   363     "code_deps"
   364     "code_thms"
   365     "commit"
   366     "disable_pr"
   367     "display_drafts"
   368     "enable_pr"
   369     "export_code"
   370     "find_consts"
   371     "find_theorems"
   372     "full_prf"
   373     "header"
   374     "help"
   375     "kill_thy"
   376     "nitpick"
   377     "normal_form"
   378     "pr"
   379     "pretty_setmargin"
   380     "prf"
   381     "print_abbrevs"
   382     "print_antiquotations"
   383     "print_attributes"
   384     "print_binds"
   385     "print_cases"
   386     "print_claset"
   387     "print_classes"
   388     "print_codeproc"
   389     "print_codesetup"
   390     "print_commands"
   391     "print_configs"
   392     "print_context"
   393     "print_drafts"
   394     "print_facts"
   395     "print_induct_rules"
   396     "print_interps"
   397     "print_locale"
   398     "print_locales"
   399     "print_methods"
   400     "print_orders"
   401     "print_quotconsts"
   402     "print_quotients"
   403     "print_quotmaps"
   404     "print_rules"
   405     "print_simpset"
   406     "print_statement"
   407     "print_syntax"
   408     "print_theorems"
   409     "print_theory"
   410     "print_trans_rules"
   411     "prop"
   412     "pwd"
   413     "quickcheck"
   414     "refute"
   415     "remove_thy"
   416     "sledgehammer"
   417     "smt_status"
   418     "term"
   419     "thm"
   420     "thm_deps"
   421     "thy_deps"
   422     "touch_thy"
   423     "typ"
   424     "unused_thms"
   425     "use_thy"
   426     "value"
   427     "values"
   428     "welcome"))
   429 
   430 (defconst isar-keywords-theory-begin
   431   '("theory"))
   432 
   433 (defconst isar-keywords-theory-switch
   434   '())
   435 
   436 (defconst isar-keywords-theory-end
   437   '("end"))
   438 
   439 (defconst isar-keywords-theory-heading
   440   '("chapter"
   441     "section"
   442     "subsection"
   443     "subsubsection"))
   444 
   445 (defconst isar-keywords-theory-decl
   446   '("ML"
   447     "abbreviation"
   448     "arities"
   449     "atom_decl"
   450     "attribute_setup"
   451     "automaton"
   452     "axiomatization"
   453     "axioms"
   454     "boogie_end"
   455     "boogie_open"
   456     "class"
   457     "classes"
   458     "classrel"
   459     "code_abort"
   460     "code_class"
   461     "code_const"
   462     "code_datatype"
   463     "code_include"
   464     "code_instance"
   465     "code_library"
   466     "code_module"
   467     "code_modulename"
   468     "code_monad"
   469     "code_reserved"
   470     "code_type"
   471     "coinductive"
   472     "coinductive_set"
   473     "constdefs"
   474     "consts"
   475     "consts_code"
   476     "context"
   477     "datatype"
   478     "declaration"
   479     "declare"
   480     "default_sort"
   481     "defer_recdef"
   482     "definition"
   483     "defs"
   484     "domain"
   485     "domain_isomorphism"
   486     "equivariance"
   487     "extract"
   488     "extract_type"
   489     "finalconsts"
   490     "fixpat"
   491     "fixrec"
   492     "fun"
   493     "global"
   494     "hide_class"
   495     "hide_const"
   496     "hide_fact"
   497     "hide_type"
   498     "inductive"
   499     "inductive_set"
   500     "instantiation"
   501     "judgment"
   502     "lemmas"
   503     "local"
   504     "local_setup"
   505     "locale"
   506     "method_setup"
   507     "new_domain"
   508     "nitpick_params"
   509     "no_notation"
   510     "no_syntax"
   511     "no_translations"
   512     "no_type_notation"
   513     "nominal_datatype"
   514     "nonterminals"
   515     "notation"
   516     "oracle"
   517     "overloading"
   518     "parse_ast_translation"
   519     "parse_translation"
   520     "primrec"
   521     "print_ast_translation"
   522     "print_translation"
   523     "quickcheck_params"
   524     "quotient_definition"
   525     "realizability"
   526     "realizers"
   527     "recdef"
   528     "record"
   529     "refute_params"
   530     "repdef"
   531     "setup"
   532     "simproc_setup"
   533     "sledgehammer_params"
   534     "statespace"
   535     "syntax"
   536     "text"
   537     "text_raw"
   538     "theorems"
   539     "translations"
   540     "type_notation"
   541     "typed_print_translation"
   542     "typedecl"
   543     "types"
   544     "types_code"
   545     "use"))
   546 
   547 (defconst isar-keywords-theory-script
   548   '("inductive_cases"))
   549 
   550 (defconst isar-keywords-theory-goal
   551   '("ax_specification"
   552     "boogie_vc"
   553     "code_pred"
   554     "corollary"
   555     "cpodef"
   556     "example_proof"
   557     "function"
   558     "instance"
   559     "interpretation"
   560     "lemma"
   561     "nominal_inductive"
   562     "nominal_inductive2"
   563     "nominal_primrec"
   564     "pcpodef"
   565     "quotient_type"
   566     "recdef_tc"
   567     "rep_datatype"
   568     "schematic_corollary"
   569     "schematic_lemma"
   570     "schematic_theorem"
   571     "specification"
   572     "subclass"
   573     "sublocale"
   574     "termination"
   575     "theorem"
   576     "typedef"))
   577 
   578 (defconst isar-keywords-qed
   579   '("\\."
   580     "\\.\\."
   581     "by"
   582     "done"
   583     "sorry"))
   584 
   585 (defconst isar-keywords-qed-block
   586   '("qed"))
   587 
   588 (defconst isar-keywords-qed-global
   589   '("oops"))
   590 
   591 (defconst isar-keywords-proof-heading
   592   '("sect"
   593     "subsect"
   594     "subsubsect"))
   595 
   596 (defconst isar-keywords-proof-goal
   597   '("have"
   598     "hence"
   599     "interpret"))
   600 
   601 (defconst isar-keywords-proof-block
   602   '("next"
   603     "proof"))
   604 
   605 (defconst isar-keywords-proof-open
   606   '("{"))
   607 
   608 (defconst isar-keywords-proof-close
   609   '("}"))
   610 
   611 (defconst isar-keywords-proof-chain
   612   '("finally"
   613     "from"
   614     "then"
   615     "ultimately"
   616     "with"))
   617 
   618 (defconst isar-keywords-proof-decl
   619   '("ML_prf"
   620     "also"
   621     "let"
   622     "moreover"
   623     "note"
   624     "txt"
   625     "txt_raw"
   626     "unfolding"
   627     "using"))
   628 
   629 (defconst isar-keywords-proof-asm
   630   '("assume"
   631     "case"
   632     "def"
   633     "fix"
   634     "presume"))
   635 
   636 (defconst isar-keywords-proof-asm-goal
   637   '("guess"
   638     "obtain"
   639     "show"
   640     "thus"))
   641 
   642 (defconst isar-keywords-proof-script
   643   '("apply"
   644     "apply_end"
   645     "back"
   646     "defer"
   647     "prefer"))
   648 
   649 (provide 'isar-keywords)