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