etc/isar-keywords.el
author berghofe
Sat, 15 Jan 2011 12:42:19 +0100
changeset 41812 1cbf33a4406a
parent 41778 c7e14c8088a6
child 43227 e8777e3ea6ef
permissions -rw-r--r--
Include HOL-SPARK keywords
     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_vc"
   231     "specification"
   232     "statespace"
   233     "subclass"
   234     "sublocale"
   235     "subsect"
   236     "subsection"
   237     "subsubsect"
   238     "subsubsection"
   239     "syntax"
   240     "syntax_declaration"
   241     "term"
   242     "termination"
   243     "text"
   244     "text_raw"
   245     "then"
   246     "theorem"
   247     "theorems"
   248     "theory"
   249     "thm"
   250     "thm_deps"
   251     "thus"
   252     "thy_deps"
   253     "translations"
   254     "try"
   255     "txt"
   256     "txt_raw"
   257     "typ"
   258     "type_notation"
   259     "type_synonym"
   260     "typed_print_translation"
   261     "typedecl"
   262     "typedef"
   263     "types"
   264     "types_code"
   265     "ultimately"
   266     "undo"
   267     "undos_proof"
   268     "unfolding"
   269     "unused_thms"
   270     "use"
   271     "use_thy"
   272     "using"
   273     "value"
   274     "values"
   275     "welcome"
   276     "with"
   277     "write"
   278     "{"
   279     "}"))
   280 
   281 (defconst isar-keywords-minor
   282   '("advanced"
   283     "and"
   284     "assumes"
   285     "attach"
   286     "avoids"
   287     "begin"
   288     "binder"
   289     "checking"
   290     "congs"
   291     "constrains"
   292     "contains"
   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     "full_prf"
   363     "header"
   364     "help"
   365     "nitpick"
   366     "pr"
   367     "pretty_setmargin"
   368     "prf"
   369     "print_abbrevs"
   370     "print_antiquotations"
   371     "print_attributes"
   372     "print_binds"
   373     "print_cases"
   374     "print_claset"
   375     "print_classes"
   376     "print_codeproc"
   377     "print_codesetup"
   378     "print_commands"
   379     "print_configs"
   380     "print_context"
   381     "print_dependencies"
   382     "print_drafts"
   383     "print_facts"
   384     "print_induct_rules"
   385     "print_interps"
   386     "print_locale"
   387     "print_locales"
   388     "print_methods"
   389     "print_orders"
   390     "print_quotconsts"
   391     "print_quotients"
   392     "print_quotmaps"
   393     "print_rules"
   394     "print_simpset"
   395     "print_statement"
   396     "print_syntax"
   397     "print_theorems"
   398     "print_theory"
   399     "print_trans_rules"
   400     "prop"
   401     "pwd"
   402     "quickcheck"
   403     "refute"
   404     "sledgehammer"
   405     "smt_status"
   406     "solve_direct"
   407     "spark_status"
   408     "term"
   409     "thm"
   410     "thm_deps"
   411     "thy_deps"
   412     "try"
   413     "typ"
   414     "unused_thms"
   415     "value"
   416     "values"
   417     "welcome"))
   418 
   419 (defconst isar-keywords-theory-begin
   420   '("theory"))
   421 
   422 (defconst isar-keywords-theory-switch
   423   '())
   424 
   425 (defconst isar-keywords-theory-end
   426   '("end"))
   427 
   428 (defconst isar-keywords-theory-heading
   429   '("chapter"
   430     "section"
   431     "subsection"
   432     "subsubsection"))
   433 
   434 (defconst isar-keywords-theory-decl
   435   '("ML"
   436     "abbreviation"
   437     "arities"
   438     "atom_decl"
   439     "attribute_setup"
   440     "axiomatization"
   441     "axioms"
   442     "boogie_end"
   443     "boogie_open"
   444     "class"
   445     "classes"
   446     "classrel"
   447     "code_abort"
   448     "code_class"
   449     "code_const"
   450     "code_datatype"
   451     "code_include"
   452     "code_instance"
   453     "code_library"
   454     "code_module"
   455     "code_modulename"
   456     "code_monad"
   457     "code_reflect"
   458     "code_reserved"
   459     "code_type"
   460     "coinductive"
   461     "coinductive_set"
   462     "consts"
   463     "consts_code"
   464     "context"
   465     "datatype"
   466     "declaration"
   467     "declare"
   468     "default_sort"
   469     "defer_recdef"
   470     "definition"
   471     "defs"
   472     "domain"
   473     "domain_isomorphism"
   474     "domaindef"
   475     "equivariance"
   476     "extract"
   477     "extract_type"
   478     "finalconsts"
   479     "fixrec"
   480     "fun"
   481     "hide_class"
   482     "hide_const"
   483     "hide_fact"
   484     "hide_type"
   485     "inductive"
   486     "inductive_set"
   487     "instantiation"
   488     "judgment"
   489     "lemmas"
   490     "local_setup"
   491     "locale"
   492     "method_setup"
   493     "nitpick_params"
   494     "no_notation"
   495     "no_syntax"
   496     "no_translations"
   497     "no_type_notation"
   498     "nominal_datatype"
   499     "nonterminal"
   500     "notation"
   501     "notepad"
   502     "oracle"
   503     "overloading"
   504     "parse_ast_translation"
   505     "parse_translation"
   506     "partial_function"
   507     "primrec"
   508     "print_ast_translation"
   509     "print_translation"
   510     "quickcheck_params"
   511     "quotient_definition"
   512     "realizability"
   513     "realizers"
   514     "recdef"
   515     "record"
   516     "refute_params"
   517     "setup"
   518     "simproc_setup"
   519     "sledgehammer_params"
   520     "spark_end"
   521     "spark_open"
   522     "spark_proof_functions"
   523     "statespace"
   524     "syntax"
   525     "syntax_declaration"
   526     "text"
   527     "text_raw"
   528     "theorems"
   529     "translations"
   530     "type_notation"
   531     "type_synonym"
   532     "typed_print_translation"
   533     "typedecl"
   534     "types"
   535     "types_code"
   536     "use"))
   537 
   538 (defconst isar-keywords-theory-script
   539   '("inductive_cases"
   540     "inductive_simps"))
   541 
   542 (defconst isar-keywords-theory-goal
   543   '("ax_specification"
   544     "boogie_vc"
   545     "code_pred"
   546     "corollary"
   547     "cpodef"
   548     "enriched_type"
   549     "function"
   550     "instance"
   551     "interpretation"
   552     "lemma"
   553     "nominal_inductive"
   554     "nominal_inductive2"
   555     "nominal_primrec"
   556     "pcpodef"
   557     "quotient_type"
   558     "recdef_tc"
   559     "rep_datatype"
   560     "schematic_corollary"
   561     "schematic_lemma"
   562     "schematic_theorem"
   563     "spark_vc"
   564     "specification"
   565     "subclass"
   566     "sublocale"
   567     "termination"
   568     "theorem"
   569     "typedef"))
   570 
   571 (defconst isar-keywords-qed
   572   '("\\."
   573     "\\.\\."
   574     "by"
   575     "done"
   576     "sorry"))
   577 
   578 (defconst isar-keywords-qed-block
   579   '("qed"))
   580 
   581 (defconst isar-keywords-qed-global
   582   '("oops"))
   583 
   584 (defconst isar-keywords-proof-heading
   585   '("sect"
   586     "subsect"
   587     "subsubsect"))
   588 
   589 (defconst isar-keywords-proof-goal
   590   '("have"
   591     "hence"
   592     "interpret"))
   593 
   594 (defconst isar-keywords-proof-block
   595   '("next"
   596     "proof"))
   597 
   598 (defconst isar-keywords-proof-open
   599   '("{"))
   600 
   601 (defconst isar-keywords-proof-close
   602   '("}"))
   603 
   604 (defconst isar-keywords-proof-chain
   605   '("finally"
   606     "from"
   607     "then"
   608     "ultimately"
   609     "with"))
   610 
   611 (defconst isar-keywords-proof-decl
   612   '("ML_prf"
   613     "also"
   614     "let"
   615     "moreover"
   616     "note"
   617     "txt"
   618     "txt_raw"
   619     "unfolding"
   620     "using"
   621     "write"))
   622 
   623 (defconst isar-keywords-proof-asm
   624   '("assume"
   625     "case"
   626     "def"
   627     "fix"
   628     "presume"))
   629 
   630 (defconst isar-keywords-proof-asm-goal
   631   '("guess"
   632     "obtain"
   633     "show"
   634     "thus"))
   635 
   636 (defconst isar-keywords-proof-script
   637   '("apply"
   638     "apply_end"
   639     "back"
   640     "defer"
   641     "prefer"))
   642 
   643 (provide 'isar-keywords)