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