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