etc/isar-keywords.el
author berghofe
Fri Apr 15 15:33:57 2011 +0200 (2011-04-15)
changeset 42356 e8777e3ea6ef
parent 41564 1cbf33a4406a
child 43020 abb5d1f907e4
permissions -rw-r--r--
Added command for associating user-defined types with SPARK types.
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + HOL + HOLCF + HOL-Boogie + 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_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_params"
   201     "quit"
   202     "quotient_definition"
   203     "quotient_type"
   204     "realizability"
   205     "realizers"
   206     "recdef"
   207     "recdef_tc"
   208     "record"
   209     "refute"
   210     "refute_params"
   211     "remove_thy"
   212     "rep_datatype"
   213     "schematic_corollary"
   214     "schematic_lemma"
   215     "schematic_theorem"
   216     "sect"
   217     "section"
   218     "setup"
   219     "show"
   220     "simproc_setup"
   221     "sledgehammer"
   222     "sledgehammer_params"
   223     "smt_status"
   224     "solve_direct"
   225     "sorry"
   226     "spark_end"
   227     "spark_open"
   228     "spark_proof_functions"
   229     "spark_status"
   230     "spark_types"
   231     "spark_vc"
   232     "specification"
   233     "statespace"
   234     "subclass"
   235     "sublocale"
   236     "subsect"
   237     "subsection"
   238     "subsubsect"
   239     "subsubsection"
   240     "syntax"
   241     "syntax_declaration"
   242     "term"
   243     "termination"
   244     "text"
   245     "text_raw"
   246     "then"
   247     "theorem"
   248     "theorems"
   249     "theory"
   250     "thm"
   251     "thm_deps"
   252     "thus"
   253     "thy_deps"
   254     "translations"
   255     "try"
   256     "txt"
   257     "txt_raw"
   258     "typ"
   259     "type_notation"
   260     "type_synonym"
   261     "typed_print_translation"
   262     "typedecl"
   263     "typedef"
   264     "types"
   265     "types_code"
   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     "contains"
   294     "datatypes"
   295     "defines"
   296     "file"
   297     "fixes"
   298     "for"
   299     "functions"
   300     "hints"
   301     "identifier"
   302     "if"
   303     "imports"
   304     "in"
   305     "infix"
   306     "infixl"
   307     "infixr"
   308     "is"
   309     "lazy"
   310     "module_name"
   311     "monos"
   312     "morphisms"
   313     "notes"
   314     "obtains"
   315     "open"
   316     "output"
   317     "overloaded"
   318     "permissive"
   319     "pervasive"
   320     "shows"
   321     "structure"
   322     "unchecked"
   323     "unsafe"
   324     "uses"
   325     "where"))
   326 
   327 (defconst isar-keywords-control
   328   '("Isabelle\\.command"
   329     "ProofGeneral\\.inform_file_processed"
   330     "ProofGeneral\\.inform_file_retracted"
   331     "ProofGeneral\\.kill_proof"
   332     "ProofGeneral\\.process_pgip"
   333     "ProofGeneral\\.restart"
   334     "ProofGeneral\\.undo"
   335     "cannot_undo"
   336     "cd"
   337     "commit"
   338     "disable_pr"
   339     "enable_pr"
   340     "exit"
   341     "init_toplevel"
   342     "kill"
   343     "kill_thy"
   344     "linear_undo"
   345     "quit"
   346     "remove_thy"
   347     "undo"
   348     "undos_proof"
   349     "use_thy"))
   350 
   351 (defconst isar-keywords-diag
   352   '("ML_command"
   353     "ML_val"
   354     "ProofGeneral\\.pr"
   355     "boogie_status"
   356     "class_deps"
   357     "code_deps"
   358     "code_thms"
   359     "display_drafts"
   360     "export_code"
   361     "find_consts"
   362     "find_theorems"
   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_commands"
   380     "print_configs"
   381     "print_context"
   382     "print_dependencies"
   383     "print_drafts"
   384     "print_facts"
   385     "print_induct_rules"
   386     "print_interps"
   387     "print_locale"
   388     "print_locales"
   389     "print_methods"
   390     "print_orders"
   391     "print_quotconsts"
   392     "print_quotients"
   393     "print_quotmaps"
   394     "print_rules"
   395     "print_simpset"
   396     "print_statement"
   397     "print_syntax"
   398     "print_theorems"
   399     "print_theory"
   400     "print_trans_rules"
   401     "prop"
   402     "pwd"
   403     "quickcheck"
   404     "refute"
   405     "sledgehammer"
   406     "smt_status"
   407     "solve_direct"
   408     "spark_status"
   409     "term"
   410     "thm"
   411     "thm_deps"
   412     "thy_deps"
   413     "try"
   414     "typ"
   415     "unused_thms"
   416     "value"
   417     "values"
   418     "welcome"))
   419 
   420 (defconst isar-keywords-theory-begin
   421   '("theory"))
   422 
   423 (defconst isar-keywords-theory-switch
   424   '())
   425 
   426 (defconst isar-keywords-theory-end
   427   '("end"))
   428 
   429 (defconst isar-keywords-theory-heading
   430   '("chapter"
   431     "section"
   432     "subsection"
   433     "subsubsection"))
   434 
   435 (defconst isar-keywords-theory-decl
   436   '("ML"
   437     "abbreviation"
   438     "arities"
   439     "atom_decl"
   440     "attribute_setup"
   441     "axiomatization"
   442     "axioms"
   443     "boogie_end"
   444     "boogie_open"
   445     "class"
   446     "classes"
   447     "classrel"
   448     "code_abort"
   449     "code_class"
   450     "code_const"
   451     "code_datatype"
   452     "code_include"
   453     "code_instance"
   454     "code_library"
   455     "code_module"
   456     "code_modulename"
   457     "code_monad"
   458     "code_reflect"
   459     "code_reserved"
   460     "code_type"
   461     "coinductive"
   462     "coinductive_set"
   463     "consts"
   464     "consts_code"
   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_params"
   512     "quotient_definition"
   513     "realizability"
   514     "realizers"
   515     "recdef"
   516     "record"
   517     "refute_params"
   518     "setup"
   519     "simproc_setup"
   520     "sledgehammer_params"
   521     "spark_end"
   522     "spark_open"
   523     "spark_proof_functions"
   524     "spark_types"
   525     "statespace"
   526     "syntax"
   527     "syntax_declaration"
   528     "text"
   529     "text_raw"
   530     "theorems"
   531     "translations"
   532     "type_notation"
   533     "type_synonym"
   534     "typed_print_translation"
   535     "typedecl"
   536     "types"
   537     "types_code"
   538     "use"))
   539 
   540 (defconst isar-keywords-theory-script
   541   '("inductive_cases"
   542     "inductive_simps"))
   543 
   544 (defconst isar-keywords-theory-goal
   545   '("ax_specification"
   546     "boogie_vc"
   547     "code_pred"
   548     "corollary"
   549     "cpodef"
   550     "enriched_type"
   551     "function"
   552     "instance"
   553     "interpretation"
   554     "lemma"
   555     "nominal_inductive"
   556     "nominal_inductive2"
   557     "nominal_primrec"
   558     "pcpodef"
   559     "quotient_type"
   560     "recdef_tc"
   561     "rep_datatype"
   562     "schematic_corollary"
   563     "schematic_lemma"
   564     "schematic_theorem"
   565     "spark_vc"
   566     "specification"
   567     "subclass"
   568     "sublocale"
   569     "termination"
   570     "theorem"
   571     "typedef"))
   572 
   573 (defconst isar-keywords-qed
   574   '("\\."
   575     "\\.\\."
   576     "by"
   577     "done"
   578     "sorry"))
   579 
   580 (defconst isar-keywords-qed-block
   581   '("qed"))
   582 
   583 (defconst isar-keywords-qed-global
   584   '("oops"))
   585 
   586 (defconst isar-keywords-proof-heading
   587   '("sect"
   588     "subsect"
   589     "subsubsect"))
   590 
   591 (defconst isar-keywords-proof-goal
   592   '("have"
   593     "hence"
   594     "interpret"))
   595 
   596 (defconst isar-keywords-proof-block
   597   '("next"
   598     "proof"))
   599 
   600 (defconst isar-keywords-proof-open
   601   '("{"))
   602 
   603 (defconst isar-keywords-proof-close
   604   '("}"))
   605 
   606 (defconst isar-keywords-proof-chain
   607   '("finally"
   608     "from"
   609     "then"
   610     "ultimately"
   611     "with"))
   612 
   613 (defconst isar-keywords-proof-decl
   614   '("ML_prf"
   615     "also"
   616     "let"
   617     "moreover"
   618     "note"
   619     "txt"
   620     "txt_raw"
   621     "unfolding"
   622     "using"
   623     "write"))
   624 
   625 (defconst isar-keywords-proof-asm
   626   '("assume"
   627     "case"
   628     "def"
   629     "fix"
   630     "presume"))
   631 
   632 (defconst isar-keywords-proof-asm-goal
   633   '("guess"
   634     "obtain"
   635     "show"
   636     "thus"))
   637 
   638 (defconst isar-keywords-proof-script
   639   '("apply"
   640     "apply_end"
   641     "back"
   642     "defer"
   643     "prefer"))
   644 
   645 (provide 'isar-keywords)