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