isar-keywords-quot.el
changeset 764 a603aa6c9d01
child 766 df053507edba
equal deleted inserted replaced
763:e343a6e4e1cd 764:a603aa6c9d01
       
     1 ;;
       
     2 ;; Keyword classification tables for Isabelle/Isar.
       
     3 ;; Generated from HOL-Nominal-Quot + HOL-Nominal + HOL + Pure-ProofGeneral + Pure.
       
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
       
     5 ;;
       
     6 
       
     7 (defconst isar-keywords-major
       
     8   '("\\."
       
     9     "\\.\\."
       
    10     "Isabelle\\.command"
       
    11     "Isar\\.begin_document"
       
    12     "Isar\\.define_command"
       
    13     "Isar\\.edit_document"
       
    14     "Isar\\.end_document"
       
    15     "ML"
       
    16     "ML_command"
       
    17     "ML_prf"
       
    18     "ML_val"
       
    19     "ProofGeneral\\.inform_file_processed"
       
    20     "ProofGeneral\\.inform_file_retracted"
       
    21     "ProofGeneral\\.kill_proof"
       
    22     "ProofGeneral\\.pr"
       
    23     "ProofGeneral\\.process_pgip"
       
    24     "ProofGeneral\\.restart"
       
    25     "ProofGeneral\\.undo"
       
    26     "abbreviation"
       
    27     "also"
       
    28     "apply"
       
    29     "apply_end"
       
    30     "arities"
       
    31     "assume"
       
    32     "atom_decl"
       
    33     "atp_info"
       
    34     "atp_kill"
       
    35     "atp_messages"
       
    36     "atp_minimize"
       
    37     "attribute_setup"
       
    38     "ax_specification"
       
    39     "axclass"
       
    40     "axiomatization"
       
    41     "axioms"
       
    42     "back"
       
    43     "by"
       
    44     "cannot_undo"
       
    45     "case"
       
    46     "cd"
       
    47     "chapter"
       
    48     "class"
       
    49     "class_deps"
       
    50     "classes"
       
    51     "classrel"
       
    52     "code_abort"
       
    53     "code_class"
       
    54     "code_const"
       
    55     "code_datatype"
       
    56     "code_deps"
       
    57     "code_include"
       
    58     "code_instance"
       
    59     "code_library"
       
    60     "code_module"
       
    61     "code_modulename"
       
    62     "code_monad"
       
    63     "code_pred"
       
    64     "code_reserved"
       
    65     "code_thms"
       
    66     "code_type"
       
    67     "coinductive"
       
    68     "coinductive_set"
       
    69     "commit"
       
    70     "constdefs"
       
    71     "consts"
       
    72     "consts_code"
       
    73     "context"
       
    74     "corollary"
       
    75     "datatype"
       
    76     "declaration"
       
    77     "declare"
       
    78     "def"
       
    79     "defaultsort"
       
    80     "defer"
       
    81     "defer_recdef"
       
    82     "definition"
       
    83     "defs"
       
    84     "disable_pr"
       
    85     "display_drafts"
       
    86     "done"
       
    87     "enable_pr"
       
    88     "end"
       
    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     "from"
       
   100     "full_prf"
       
   101     "fun"
       
   102     "function"
       
   103     "global"
       
   104     "guess"
       
   105     "have"
       
   106     "header"
       
   107     "help"
       
   108     "hence"
       
   109     "hide"
       
   110     "inductive"
       
   111     "inductive_cases"
       
   112     "inductive_set"
       
   113     "init_toplevel"
       
   114     "instance"
       
   115     "instantiation"
       
   116     "interpret"
       
   117     "interpretation"
       
   118     "judgment"
       
   119     "kill"
       
   120     "kill_thy"
       
   121     "lemma"
       
   122     "lemmas"
       
   123     "let"
       
   124     "linear_undo"
       
   125     "local"
       
   126     "local_setup"
       
   127     "locale"
       
   128     "method_setup"
       
   129     "moreover"
       
   130     "next"
       
   131     "nitpick"
       
   132     "nitpick_params"
       
   133     "no_notation"
       
   134     "no_syntax"
       
   135     "no_translations"
       
   136     "nominal_datatype"
       
   137     "nominal_inductive"
       
   138     "nominal_inductive2"
       
   139     "nominal_primrec"
       
   140     "nonterminals"
       
   141     "normal_form"
       
   142     "notation"
       
   143     "note"
       
   144     "obtain"
       
   145     "oops"
       
   146     "oracle"
       
   147     "overloading"
       
   148     "parse_ast_translation"
       
   149     "parse_translation"
       
   150     "pr"
       
   151     "prefer"
       
   152     "presume"
       
   153     "pretty_setmargin"
       
   154     "prf"
       
   155     "primrec"
       
   156     "print_abbrevs"
       
   157     "print_antiquotations"
       
   158     "print_ast_translation"
       
   159     "print_atps"
       
   160     "print_attributes"
       
   161     "print_binds"
       
   162     "print_cases"
       
   163     "print_claset"
       
   164     "print_classes"
       
   165     "print_codeproc"
       
   166     "print_codesetup"
       
   167     "print_commands"
       
   168     "print_configs"
       
   169     "print_context"
       
   170     "print_drafts"
       
   171     "print_facts"
       
   172     "print_induct_rules"
       
   173     "print_interps"
       
   174     "print_locale"
       
   175     "print_locales"
       
   176     "print_methods"
       
   177     "print_orders"
       
   178     "print_quotconsts"
       
   179     "print_quotients"
       
   180     "print_rules"
       
   181     "print_simpset"
       
   182     "print_statement"
       
   183     "print_syntax"
       
   184     "print_theorems"
       
   185     "print_theory"
       
   186     "print_trans_rules"
       
   187     "print_translation"
       
   188     "proof"
       
   189     "prop"
       
   190     "prove"
       
   191     "pwd"
       
   192     "qed"
       
   193     "quickcheck"
       
   194     "quickcheck_params"
       
   195     "quit"
       
   196     "quotient"
       
   197     "quotient_def"
       
   198     "realizability"
       
   199     "realizers"
       
   200     "recdef"
       
   201     "recdef_tc"
       
   202     "record"
       
   203     "refute"
       
   204     "refute_params"
       
   205     "remove_thy"
       
   206     "rep_datatype"
       
   207     "sect"
       
   208     "section"
       
   209     "setup"
       
   210     "show"
       
   211     "simproc_setup"
       
   212     "sledgehammer"
       
   213     "sorry"
       
   214     "specification"
       
   215     "subclass"
       
   216     "sublocale"
       
   217     "subsect"
       
   218     "subsection"
       
   219     "subsubsect"
       
   220     "subsubsection"
       
   221     "syntax"
       
   222     "term"
       
   223     "termination"
       
   224     "text"
       
   225     "text_raw"
       
   226     "then"
       
   227     "theorem"
       
   228     "theorems"
       
   229     "theory"
       
   230     "thm"
       
   231     "thm_deps"
       
   232     "thus"
       
   233     "thy_deps"
       
   234     "touch_thy"
       
   235     "translations"
       
   236     "txt"
       
   237     "txt_raw"
       
   238     "typ"
       
   239     "typed_print_translation"
       
   240     "typedecl"
       
   241     "typedef"
       
   242     "types"
       
   243     "types_code"
       
   244     "ultimately"
       
   245     "undo"
       
   246     "undos_proof"
       
   247     "unfolding"
       
   248     "unused_thms"
       
   249     "use"
       
   250     "use_thy"
       
   251     "using"
       
   252     "value"
       
   253     "values"
       
   254     "welcome"
       
   255     "with"
       
   256     "{"
       
   257     "}"))
       
   258 
       
   259 (defconst isar-keywords-minor
       
   260   '("advanced"
       
   261     "and"
       
   262     "as"
       
   263     "assumes"
       
   264     "attach"
       
   265     "avoids"
       
   266     "begin"
       
   267     "binder"
       
   268     "congs"
       
   269     "constrains"
       
   270     "contains"
       
   271     "defines"
       
   272     "file"
       
   273     "fixes"
       
   274     "for"
       
   275     "hints"
       
   276     "identifier"
       
   277     "if"
       
   278     "imports"
       
   279     "in"
       
   280     "infix"
       
   281     "infixl"
       
   282     "infixr"
       
   283     "is"
       
   284     "module_name"
       
   285     "monos"
       
   286     "morphisms"
       
   287     "notes"
       
   288     "obtains"
       
   289     "open"
       
   290     "output"
       
   291     "overloaded"
       
   292     "permissive"
       
   293     "pervasive"
       
   294     "shows"
       
   295     "structure"
       
   296     "unchecked"
       
   297     "uses"
       
   298     "where"))
       
   299 
       
   300 (defconst isar-keywords-control
       
   301   '("Isabelle\\.command"
       
   302     "Isar\\.begin_document"
       
   303     "Isar\\.define_command"
       
   304     "Isar\\.edit_document"
       
   305     "Isar\\.end_document"
       
   306     "ProofGeneral\\.inform_file_processed"
       
   307     "ProofGeneral\\.inform_file_retracted"
       
   308     "ProofGeneral\\.kill_proof"
       
   309     "ProofGeneral\\.process_pgip"
       
   310     "ProofGeneral\\.restart"
       
   311     "ProofGeneral\\.undo"
       
   312     "cannot_undo"
       
   313     "exit"
       
   314     "init_toplevel"
       
   315     "kill"
       
   316     "linear_undo"
       
   317     "quit"
       
   318     "undo"
       
   319     "undos_proof"))
       
   320 
       
   321 (defconst isar-keywords-diag
       
   322   '("ML_command"
       
   323     "ML_val"
       
   324     "ProofGeneral\\.pr"
       
   325     "atp_info"
       
   326     "atp_kill"
       
   327     "atp_messages"
       
   328     "atp_minimize"
       
   329     "cd"
       
   330     "class_deps"
       
   331     "code_deps"
       
   332     "code_thms"
       
   333     "commit"
       
   334     "disable_pr"
       
   335     "display_drafts"
       
   336     "enable_pr"
       
   337     "export_code"
       
   338     "find_consts"
       
   339     "find_theorems"
       
   340     "full_prf"
       
   341     "header"
       
   342     "help"
       
   343     "kill_thy"
       
   344     "nitpick"
       
   345     "normal_form"
       
   346     "pr"
       
   347     "pretty_setmargin"
       
   348     "prf"
       
   349     "print_abbrevs"
       
   350     "print_antiquotations"
       
   351     "print_atps"
       
   352     "print_attributes"
       
   353     "print_binds"
       
   354     "print_cases"
       
   355     "print_claset"
       
   356     "print_classes"
       
   357     "print_codeproc"
       
   358     "print_codesetup"
       
   359     "print_commands"
       
   360     "print_configs"
       
   361     "print_context"
       
   362     "print_drafts"
       
   363     "print_facts"
       
   364     "print_induct_rules"
       
   365     "print_interps"
       
   366     "print_locale"
       
   367     "print_locales"
       
   368     "print_methods"
       
   369     "print_orders"
       
   370     "print_quotconsts"
       
   371     "print_quotients"
       
   372     "print_rules"
       
   373     "print_simpset"
       
   374     "print_statement"
       
   375     "print_syntax"
       
   376     "print_theorems"
       
   377     "print_theory"
       
   378     "print_trans_rules"
       
   379     "prop"
       
   380     "pwd"
       
   381     "quickcheck"
       
   382     "refute"
       
   383     "remove_thy"
       
   384     "sledgehammer"
       
   385     "term"
       
   386     "thm"
       
   387     "thm_deps"
       
   388     "thy_deps"
       
   389     "touch_thy"
       
   390     "typ"
       
   391     "unused_thms"
       
   392     "use_thy"
       
   393     "value"
       
   394     "values"
       
   395     "welcome"))
       
   396 
       
   397 (defconst isar-keywords-theory-begin
       
   398   '("theory"))
       
   399 
       
   400 (defconst isar-keywords-theory-switch
       
   401   '())
       
   402 
       
   403 (defconst isar-keywords-theory-end
       
   404   '("end"))
       
   405 
       
   406 (defconst isar-keywords-theory-heading
       
   407   '("chapter"
       
   408     "section"
       
   409     "subsection"
       
   410     "subsubsection"))
       
   411 
       
   412 (defconst isar-keywords-theory-decl
       
   413   '("ML"
       
   414     "abbreviation"
       
   415     "arities"
       
   416     "atom_decl"
       
   417     "attribute_setup"
       
   418     "axclass"
       
   419     "axiomatization"
       
   420     "axioms"
       
   421     "class"
       
   422     "classes"
       
   423     "classrel"
       
   424     "code_abort"
       
   425     "code_class"
       
   426     "code_const"
       
   427     "code_datatype"
       
   428     "code_include"
       
   429     "code_instance"
       
   430     "code_library"
       
   431     "code_module"
       
   432     "code_modulename"
       
   433     "code_monad"
       
   434     "code_reserved"
       
   435     "code_type"
       
   436     "coinductive"
       
   437     "coinductive_set"
       
   438     "constdefs"
       
   439     "consts"
       
   440     "consts_code"
       
   441     "context"
       
   442     "datatype"
       
   443     "declaration"
       
   444     "declare"
       
   445     "defaultsort"
       
   446     "defer_recdef"
       
   447     "definition"
       
   448     "defs"
       
   449     "equivariance"
       
   450     "extract"
       
   451     "extract_type"
       
   452     "finalconsts"
       
   453     "fun"
       
   454     "global"
       
   455     "hide"
       
   456     "inductive"
       
   457     "inductive_set"
       
   458     "instantiation"
       
   459     "judgment"
       
   460     "lemmas"
       
   461     "local"
       
   462     "local_setup"
       
   463     "locale"
       
   464     "method_setup"
       
   465     "nitpick_params"
       
   466     "no_notation"
       
   467     "no_syntax"
       
   468     "no_translations"
       
   469     "nominal_datatype"
       
   470     "nonterminals"
       
   471     "notation"
       
   472     "oracle"
       
   473     "overloading"
       
   474     "parse_ast_translation"
       
   475     "parse_translation"
       
   476     "primrec"
       
   477     "print_ast_translation"
       
   478     "print_translation"
       
   479     "quickcheck_params"
       
   480     "quotient_def"
       
   481     "realizability"
       
   482     "realizers"
       
   483     "recdef"
       
   484     "record"
       
   485     "refute_params"
       
   486     "setup"
       
   487     "simproc_setup"
       
   488     "syntax"
       
   489     "text"
       
   490     "text_raw"
       
   491     "theorems"
       
   492     "translations"
       
   493     "typed_print_translation"
       
   494     "typedecl"
       
   495     "types"
       
   496     "types_code"
       
   497     "use"))
       
   498 
       
   499 (defconst isar-keywords-theory-script
       
   500   '("inductive_cases"))
       
   501 
       
   502 (defconst isar-keywords-theory-goal
       
   503   '("ax_specification"
       
   504     "code_pred"
       
   505     "corollary"
       
   506     "function"
       
   507     "instance"
       
   508     "interpretation"
       
   509     "lemma"
       
   510     "nominal_inductive"
       
   511     "nominal_inductive2"
       
   512     "nominal_primrec"
       
   513     "prove"
       
   514     "quotient"
       
   515     "recdef_tc"
       
   516     "rep_datatype"
       
   517     "specification"
       
   518     "subclass"
       
   519     "sublocale"
       
   520     "termination"
       
   521     "theorem"
       
   522     "typedef"))
       
   523 
       
   524 (defconst isar-keywords-qed
       
   525   '("\\."
       
   526     "\\.\\."
       
   527     "by"
       
   528     "done"
       
   529     "sorry"))
       
   530 
       
   531 (defconst isar-keywords-qed-block
       
   532   '("qed"))
       
   533 
       
   534 (defconst isar-keywords-qed-global
       
   535   '("oops"))
       
   536 
       
   537 (defconst isar-keywords-proof-heading
       
   538   '("sect"
       
   539     "subsect"
       
   540     "subsubsect"))
       
   541 
       
   542 (defconst isar-keywords-proof-goal
       
   543   '("have"
       
   544     "hence"
       
   545     "interpret"))
       
   546 
       
   547 (defconst isar-keywords-proof-block
       
   548   '("next"
       
   549     "proof"))
       
   550 
       
   551 (defconst isar-keywords-proof-open
       
   552   '("{"))
       
   553 
       
   554 (defconst isar-keywords-proof-close
       
   555   '("}"))
       
   556 
       
   557 (defconst isar-keywords-proof-chain
       
   558   '("finally"
       
   559     "from"
       
   560     "then"
       
   561     "ultimately"
       
   562     "with"))
       
   563 
       
   564 (defconst isar-keywords-proof-decl
       
   565   '("ML_prf"
       
   566     "also"
       
   567     "let"
       
   568     "moreover"
       
   569     "note"
       
   570     "txt"
       
   571     "txt_raw"
       
   572     "unfolding"
       
   573     "using"))
       
   574 
       
   575 (defconst isar-keywords-proof-asm
       
   576   '("assume"
       
   577     "case"
       
   578     "def"
       
   579     "fix"
       
   580     "presume"))
       
   581 
       
   582 (defconst isar-keywords-proof-asm-goal
       
   583   '("guess"
       
   584     "obtain"
       
   585     "show"
       
   586     "thus"))
       
   587 
       
   588 (defconst isar-keywords-proof-script
       
   589   '("apply"
       
   590     "apply_end"
       
   591     "back"
       
   592     "defer"
       
   593     "prefer"))
       
   594 
       
   595 (provide 'isar-keywords)