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