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