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