etc/isar-keywords.el
author wenzelm
Mon Oct 25 11:01:00 2010 +0200 (2010-10-25)
changeset 40109 ebe2253e5c0e
parent 39571 3a3d9de2ad6e
child 40119 06191c5f3686
permissions -rw-r--r--
updated keywords;
     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     "done"
    85     "enable_pr"
    86     "end"
    87     "equivariance"
    88     "example_proof"
    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     "new_domain"
   133     "next"
   134     "nitpick"
   135     "nitpick_params"
   136     "no_notation"
   137     "no_syntax"
   138     "no_translations"
   139     "no_type_notation"
   140     "nominal_datatype"
   141     "nominal_inductive"
   142     "nominal_inductive2"
   143     "nominal_primrec"
   144     "nonterminals"
   145     "notation"
   146     "note"
   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     "repdef"
   212     "schematic_corollary"
   213     "schematic_lemma"
   214     "schematic_theorem"
   215     "sect"
   216     "section"
   217     "setup"
   218     "show"
   219     "simproc_setup"
   220     "sledgehammer"
   221     "sledgehammer_params"
   222     "smt_status"
   223     "sorry"
   224     "specification"
   225     "statespace"
   226     "subclass"
   227     "sublocale"
   228     "subsect"
   229     "subsection"
   230     "subsubsect"
   231     "subsubsection"
   232     "syntax"
   233     "term"
   234     "termination"
   235     "text"
   236     "text_raw"
   237     "then"
   238     "theorem"
   239     "theorems"
   240     "theory"
   241     "thm"
   242     "thm_deps"
   243     "thus"
   244     "thy_deps"
   245     "translations"
   246     "try"
   247     "txt"
   248     "txt_raw"
   249     "typ"
   250     "type_notation"
   251     "typed_print_translation"
   252     "typedecl"
   253     "typedef"
   254     "types"
   255     "types_code"
   256     "ultimately"
   257     "undo"
   258     "undos_proof"
   259     "unfolding"
   260     "unused_thms"
   261     "use"
   262     "use_thy"
   263     "using"
   264     "value"
   265     "values"
   266     "welcome"
   267     "with"
   268     "write"
   269     "{"
   270     "}"))
   271 
   272 (defconst isar-keywords-minor
   273   '("advanced"
   274     "and"
   275     "assumes"
   276     "attach"
   277     "avoids"
   278     "begin"
   279     "binder"
   280     "checking"
   281     "congs"
   282     "constrains"
   283     "contains"
   284     "datatypes"
   285     "defines"
   286     "file"
   287     "fixes"
   288     "for"
   289     "functions"
   290     "hints"
   291     "identifier"
   292     "if"
   293     "imports"
   294     "in"
   295     "infix"
   296     "infixl"
   297     "infixr"
   298     "is"
   299     "lazy"
   300     "module_name"
   301     "monos"
   302     "morphisms"
   303     "notes"
   304     "obtains"
   305     "open"
   306     "output"
   307     "overloaded"
   308     "permissive"
   309     "pervasive"
   310     "shows"
   311     "structure"
   312     "unchecked"
   313     "uses"
   314     "where"))
   315 
   316 (defconst isar-keywords-control
   317   '("Isabelle\\.command"
   318     "ProofGeneral\\.inform_file_processed"
   319     "ProofGeneral\\.inform_file_retracted"
   320     "ProofGeneral\\.kill_proof"
   321     "ProofGeneral\\.process_pgip"
   322     "ProofGeneral\\.restart"
   323     "ProofGeneral\\.undo"
   324     "cannot_undo"
   325     "disable_pr"
   326     "enable_pr"
   327     "exit"
   328     "init_toplevel"
   329     "kill"
   330     "kill_thy"
   331     "linear_undo"
   332     "quit"
   333     "remove_thy"
   334     "undo"
   335     "undos_proof"
   336     "use_thy"))
   337 
   338 (defconst isar-keywords-diag
   339   '("ML_command"
   340     "ML_val"
   341     "ProofGeneral\\.pr"
   342     "boogie_status"
   343     "cd"
   344     "class_deps"
   345     "code_deps"
   346     "code_thms"
   347     "commit"
   348     "display_drafts"
   349     "export_code"
   350     "find_consts"
   351     "find_theorems"
   352     "full_prf"
   353     "header"
   354     "help"
   355     "nitpick"
   356     "pr"
   357     "pretty_setmargin"
   358     "prf"
   359     "print_abbrevs"
   360     "print_antiquotations"
   361     "print_attributes"
   362     "print_binds"
   363     "print_cases"
   364     "print_claset"
   365     "print_classes"
   366     "print_codeproc"
   367     "print_codesetup"
   368     "print_commands"
   369     "print_configs"
   370     "print_context"
   371     "print_drafts"
   372     "print_facts"
   373     "print_induct_rules"
   374     "print_interps"
   375     "print_locale"
   376     "print_locales"
   377     "print_methods"
   378     "print_orders"
   379     "print_quotconsts"
   380     "print_quotients"
   381     "print_quotmaps"
   382     "print_rules"
   383     "print_simpset"
   384     "print_statement"
   385     "print_syntax"
   386     "print_theorems"
   387     "print_theory"
   388     "print_trans_rules"
   389     "prop"
   390     "pwd"
   391     "quickcheck"
   392     "refute"
   393     "sledgehammer"
   394     "smt_status"
   395     "term"
   396     "thm"
   397     "thm_deps"
   398     "thy_deps"
   399     "try"
   400     "typ"
   401     "unused_thms"
   402     "value"
   403     "values"
   404     "welcome"))
   405 
   406 (defconst isar-keywords-theory-begin
   407   '("theory"))
   408 
   409 (defconst isar-keywords-theory-switch
   410   '())
   411 
   412 (defconst isar-keywords-theory-end
   413   '("end"))
   414 
   415 (defconst isar-keywords-theory-heading
   416   '("chapter"
   417     "section"
   418     "subsection"
   419     "subsubsection"))
   420 
   421 (defconst isar-keywords-theory-decl
   422   '("ML"
   423     "abbreviation"
   424     "arities"
   425     "atom_decl"
   426     "attribute_setup"
   427     "axiomatization"
   428     "axioms"
   429     "boogie_end"
   430     "boogie_open"
   431     "class"
   432     "classes"
   433     "classrel"
   434     "code_abort"
   435     "code_class"
   436     "code_const"
   437     "code_datatype"
   438     "code_include"
   439     "code_instance"
   440     "code_library"
   441     "code_module"
   442     "code_modulename"
   443     "code_monad"
   444     "code_reflect"
   445     "code_reserved"
   446     "code_type"
   447     "coinductive"
   448     "coinductive_set"
   449     "consts"
   450     "consts_code"
   451     "context"
   452     "datatype"
   453     "declaration"
   454     "declare"
   455     "default_sort"
   456     "defer_recdef"
   457     "definition"
   458     "defs"
   459     "domain"
   460     "domain_isomorphism"
   461     "equivariance"
   462     "extract"
   463     "extract_type"
   464     "finalconsts"
   465     "fixrec"
   466     "fun"
   467     "hide_class"
   468     "hide_const"
   469     "hide_fact"
   470     "hide_type"
   471     "inductive"
   472     "inductive_set"
   473     "instantiation"
   474     "judgment"
   475     "lemmas"
   476     "local_setup"
   477     "locale"
   478     "method_setup"
   479     "new_domain"
   480     "nitpick_params"
   481     "no_notation"
   482     "no_syntax"
   483     "no_translations"
   484     "no_type_notation"
   485     "nominal_datatype"
   486     "nonterminals"
   487     "notation"
   488     "oracle"
   489     "overloading"
   490     "parse_ast_translation"
   491     "parse_translation"
   492     "primrec"
   493     "print_ast_translation"
   494     "print_translation"
   495     "quickcheck_params"
   496     "quotient_definition"
   497     "realizability"
   498     "realizers"
   499     "recdef"
   500     "record"
   501     "refute_params"
   502     "repdef"
   503     "setup"
   504     "simproc_setup"
   505     "sledgehammer_params"
   506     "statespace"
   507     "syntax"
   508     "text"
   509     "text_raw"
   510     "theorems"
   511     "translations"
   512     "type_notation"
   513     "typed_print_translation"
   514     "typedecl"
   515     "types"
   516     "types_code"
   517     "use"))
   518 
   519 (defconst isar-keywords-theory-script
   520   '("inductive_cases"
   521     "inductive_simps"))
   522 
   523 (defconst isar-keywords-theory-goal
   524   '("ax_specification"
   525     "boogie_vc"
   526     "code_pred"
   527     "corollary"
   528     "cpodef"
   529     "example_proof"
   530     "function"
   531     "instance"
   532     "interpretation"
   533     "lemma"
   534     "nominal_inductive"
   535     "nominal_inductive2"
   536     "nominal_primrec"
   537     "partial_function"
   538     "pcpodef"
   539     "quotient_type"
   540     "recdef_tc"
   541     "rep_datatype"
   542     "schematic_corollary"
   543     "schematic_lemma"
   544     "schematic_theorem"
   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     "write"))
   603 
   604 (defconst isar-keywords-proof-asm
   605   '("assume"
   606     "case"
   607     "def"
   608     "fix"
   609     "presume"))
   610 
   611 (defconst isar-keywords-proof-asm-goal
   612   '("guess"
   613     "obtain"
   614     "show"
   615     "thus"))
   616 
   617 (defconst isar-keywords-proof-script
   618   '("apply"
   619     "apply_end"
   620     "back"
   621     "defer"
   622     "prefer"))
   623 
   624 (provide 'isar-keywords)