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