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