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