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