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