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