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