etc/isar-keywords.el
author kuncar
Fri Mar 23 14:29:29 2012 +0100 (2012-03-23)
changeset 47098 bab1c32c201e
parent 47069 451fc10a81f3
child 47262 87ba9d3e1020
permissions -rw-r--r--
update etc/isar-keywords.el
     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     "setup_lifting"
   225     "show"
   226     "simproc_setup"
   227     "sledgehammer"
   228     "sledgehammer_params"
   229     "smt_status"
   230     "solve_direct"
   231     "sorry"
   232     "spark_end"
   233     "spark_open"
   234     "spark_proof_functions"
   235     "spark_status"
   236     "spark_types"
   237     "spark_vc"
   238     "specification"
   239     "statespace"
   240     "subclass"
   241     "sublocale"
   242     "subsect"
   243     "subsection"
   244     "subsubsect"
   245     "subsubsection"
   246     "syntax"
   247     "syntax_declaration"
   248     "term"
   249     "termination"
   250     "text"
   251     "text_raw"
   252     "then"
   253     "theorem"
   254     "theorems"
   255     "theory"
   256     "thm"
   257     "thm_deps"
   258     "thus"
   259     "thy_deps"
   260     "translations"
   261     "try"
   262     "try0"
   263     "txt"
   264     "txt_raw"
   265     "typ"
   266     "type_notation"
   267     "type_synonym"
   268     "typed_print_translation"
   269     "typedecl"
   270     "typedef"
   271     "ultimately"
   272     "undo"
   273     "undos_proof"
   274     "unfolding"
   275     "unused_thms"
   276     "use"
   277     "use_thy"
   278     "using"
   279     "value"
   280     "values"
   281     "welcome"
   282     "with"
   283     "write"
   284     "{"
   285     "}"))
   286 
   287 (defconst isar-keywords-minor
   288   '("advanced"
   289     "and"
   290     "assumes"
   291     "attach"
   292     "avoids"
   293     "begin"
   294     "binder"
   295     "checking"
   296     "congs"
   297     "constrains"
   298     "datatypes"
   299     "defines"
   300     "file"
   301     "fixes"
   302     "for"
   303     "functions"
   304     "hints"
   305     "identifier"
   306     "if"
   307     "imports"
   308     "in"
   309     "includes"
   310     "infix"
   311     "infixl"
   312     "infixr"
   313     "is"
   314     "keywords"
   315     "lazy"
   316     "module_name"
   317     "monos"
   318     "morphisms"
   319     "notes"
   320     "obtains"
   321     "open"
   322     "output"
   323     "overloaded"
   324     "permissive"
   325     "pervasive"
   326     "shows"
   327     "structure"
   328     "unchecked"
   329     "unsafe"
   330     "uses"
   331     "where"))
   332 
   333 (defconst isar-keywords-control
   334   '("Isabelle\\.command"
   335     "ProofGeneral\\.inform_file_processed"
   336     "ProofGeneral\\.inform_file_retracted"
   337     "ProofGeneral\\.kill_proof"
   338     "ProofGeneral\\.process_pgip"
   339     "ProofGeneral\\.restart"
   340     "ProofGeneral\\.undo"
   341     "cannot_undo"
   342     "cd"
   343     "commit"
   344     "disable_pr"
   345     "enable_pr"
   346     "exit"
   347     "init_toplevel"
   348     "kill"
   349     "kill_thy"
   350     "linear_undo"
   351     "quit"
   352     "remove_thy"
   353     "undo"
   354     "undos_proof"
   355     "use_thy"))
   356 
   357 (defconst isar-keywords-diag
   358   '("ML_command"
   359     "ML_val"
   360     "ProofGeneral\\.pr"
   361     "boogie_status"
   362     "class_deps"
   363     "code_deps"
   364     "code_thms"
   365     "display_drafts"
   366     "export_code"
   367     "find_consts"
   368     "find_theorems"
   369     "find_unused_assms"
   370     "full_prf"
   371     "header"
   372     "help"
   373     "nitpick"
   374     "pr"
   375     "pretty_setmargin"
   376     "prf"
   377     "print_abbrevs"
   378     "print_antiquotations"
   379     "print_attributes"
   380     "print_binds"
   381     "print_bundles"
   382     "print_cases"
   383     "print_claset"
   384     "print_classes"
   385     "print_codeproc"
   386     "print_codesetup"
   387     "print_coercion_maps"
   388     "print_coercions"
   389     "print_commands"
   390     "print_configs"
   391     "print_context"
   392     "print_dependencies"
   393     "print_drafts"
   394     "print_facts"
   395     "print_induct_rules"
   396     "print_interps"
   397     "print_locale"
   398     "print_locales"
   399     "print_methods"
   400     "print_orders"
   401     "print_quotconsts"
   402     "print_quotients"
   403     "print_quotmaps"
   404     "print_rules"
   405     "print_simpset"
   406     "print_statement"
   407     "print_syntax"
   408     "print_theorems"
   409     "print_theory"
   410     "print_trans_rules"
   411     "prop"
   412     "pwd"
   413     "quickcheck"
   414     "refute"
   415     "sledgehammer"
   416     "smt_status"
   417     "solve_direct"
   418     "spark_status"
   419     "term"
   420     "thm"
   421     "thm_deps"
   422     "thy_deps"
   423     "try"
   424     "try0"
   425     "typ"
   426     "unused_thms"
   427     "value"
   428     "values"
   429     "welcome"))
   430 
   431 (defconst isar-keywords-theory-begin
   432   '("theory"))
   433 
   434 (defconst isar-keywords-theory-switch
   435   '())
   436 
   437 (defconst isar-keywords-theory-end
   438   '("end"))
   439 
   440 (defconst isar-keywords-theory-heading
   441   '("chapter"
   442     "section"
   443     "subsection"
   444     "subsubsection"))
   445 
   446 (defconst isar-keywords-theory-decl
   447   '("ML"
   448     "abbreviation"
   449     "arities"
   450     "atom_decl"
   451     "attribute_setup"
   452     "axiomatization"
   453     "axioms"
   454     "boogie_end"
   455     "boogie_open"
   456     "bundle"
   457     "class"
   458     "classes"
   459     "classrel"
   460     "code_abort"
   461     "code_class"
   462     "code_const"
   463     "code_datatype"
   464     "code_include"
   465     "code_instance"
   466     "code_modulename"
   467     "code_monad"
   468     "code_reflect"
   469     "code_reserved"
   470     "code_type"
   471     "coinductive"
   472     "coinductive_set"
   473     "consts"
   474     "context"
   475     "datatype"
   476     "declaration"
   477     "declare"
   478     "default_sort"
   479     "defer_recdef"
   480     "definition"
   481     "defs"
   482     "domain"
   483     "domain_isomorphism"
   484     "domaindef"
   485     "equivariance"
   486     "extract"
   487     "extract_type"
   488     "fixrec"
   489     "fun"
   490     "hide_class"
   491     "hide_const"
   492     "hide_fact"
   493     "hide_type"
   494     "import_tptp"
   495     "inductive"
   496     "inductive_set"
   497     "instantiation"
   498     "judgment"
   499     "lemmas"
   500     "local_setup"
   501     "locale"
   502     "method_setup"
   503     "nitpick_params"
   504     "no_notation"
   505     "no_syntax"
   506     "no_translations"
   507     "no_type_notation"
   508     "nominal_datatype"
   509     "nonterminal"
   510     "notation"
   511     "notepad"
   512     "oracle"
   513     "overloading"
   514     "parse_ast_translation"
   515     "parse_translation"
   516     "partial_function"
   517     "primrec"
   518     "print_ast_translation"
   519     "print_translation"
   520     "quickcheck_generator"
   521     "quickcheck_params"
   522     "realizability"
   523     "realizers"
   524     "recdef"
   525     "record"
   526     "refute_params"
   527     "setup"
   528     "setup_lifting"
   529     "simproc_setup"
   530     "sledgehammer_params"
   531     "spark_end"
   532     "spark_open"
   533     "spark_proof_functions"
   534     "spark_types"
   535     "statespace"
   536     "syntax"
   537     "syntax_declaration"
   538     "text"
   539     "text_raw"
   540     "theorems"
   541     "translations"
   542     "type_notation"
   543     "type_synonym"
   544     "typed_print_translation"
   545     "typedecl"
   546     "use"))
   547 
   548 (defconst isar-keywords-theory-script
   549   '("inductive_cases"
   550     "inductive_simps"))
   551 
   552 (defconst isar-keywords-theory-goal
   553   '("ax_specification"
   554     "boogie_vc"
   555     "code_pred"
   556     "corollary"
   557     "cpodef"
   558     "enriched_type"
   559     "function"
   560     "instance"
   561     "interpretation"
   562     "lemma"
   563     "nominal_inductive"
   564     "nominal_inductive2"
   565     "nominal_primrec"
   566     "pcpodef"
   567     "quotient_definition"
   568     "quotient_type"
   569     "recdef_tc"
   570     "rep_datatype"
   571     "schematic_corollary"
   572     "schematic_lemma"
   573     "schematic_theorem"
   574     "spark_vc"
   575     "specification"
   576     "subclass"
   577     "sublocale"
   578     "termination"
   579     "theorem"
   580     "typedef"))
   581 
   582 (defconst isar-keywords-qed
   583   '("\\."
   584     "\\.\\."
   585     "by"
   586     "done"
   587     "sorry"))
   588 
   589 (defconst isar-keywords-qed-block
   590   '("qed"))
   591 
   592 (defconst isar-keywords-qed-global
   593   '("oops"))
   594 
   595 (defconst isar-keywords-proof-heading
   596   '("sect"
   597     "subsect"
   598     "subsubsect"))
   599 
   600 (defconst isar-keywords-proof-goal
   601   '("have"
   602     "hence"
   603     "interpret"))
   604 
   605 (defconst isar-keywords-proof-block
   606   '("next"
   607     "proof"))
   608 
   609 (defconst isar-keywords-proof-open
   610   '("{"))
   611 
   612 (defconst isar-keywords-proof-close
   613   '("}"))
   614 
   615 (defconst isar-keywords-proof-chain
   616   '("finally"
   617     "from"
   618     "then"
   619     "ultimately"
   620     "with"))
   621 
   622 (defconst isar-keywords-proof-decl
   623   '("ML_prf"
   624     "also"
   625     "include"
   626     "including"
   627     "let"
   628     "moreover"
   629     "note"
   630     "txt"
   631     "txt_raw"
   632     "unfolding"
   633     "using"
   634     "write"))
   635 
   636 (defconst isar-keywords-proof-asm
   637   '("assume"
   638     "case"
   639     "def"
   640     "fix"
   641     "presume"))
   642 
   643 (defconst isar-keywords-proof-asm-goal
   644   '("guess"
   645     "obtain"
   646     "show"
   647     "thus"))
   648 
   649 (defconst isar-keywords-proof-script
   650   '("apply"
   651     "apply_end"
   652     "back"
   653     "defer"
   654     "prefer"))
   655 
   656 (provide 'isar-keywords)