etc/isar-keywords-ZF.el
author wenzelm
Wed, 28 Jul 2010 00:13:26 +0200
changeset 38276 aac4eb1fa1d8
parent 38272 d104dedacd9e
child 38475 521f10c13e61
permissions -rw-r--r--
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + FOL + ZF.
     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     "attribute_setup"
    33     "axiomatization"
    34     "axioms"
    35     "back"
    36     "by"
    37     "cannot_undo"
    38     "case"
    39     "cd"
    40     "chapter"
    41     "class"
    42     "class_deps"
    43     "classes"
    44     "classrel"
    45     "codatatype"
    46     "code_datatype"
    47     "code_library"
    48     "code_module"
    49     "coinductive"
    50     "commit"
    51     "constdefs"
    52     "consts"
    53     "consts_code"
    54     "context"
    55     "corollary"
    56     "datatype"
    57     "declaration"
    58     "declare"
    59     "def"
    60     "default_sort"
    61     "defer"
    62     "definition"
    63     "defs"
    64     "disable_pr"
    65     "display_drafts"
    66     "done"
    67     "enable_pr"
    68     "end"
    69     "example_proof"
    70     "exit"
    71     "extract"
    72     "extract_type"
    73     "finalconsts"
    74     "finally"
    75     "find_consts"
    76     "find_theorems"
    77     "fix"
    78     "from"
    79     "full_prf"
    80     "global"
    81     "guess"
    82     "have"
    83     "header"
    84     "help"
    85     "hence"
    86     "hide_class"
    87     "hide_const"
    88     "hide_fact"
    89     "hide_type"
    90     "inductive"
    91     "inductive_cases"
    92     "init_toplevel"
    93     "instance"
    94     "instantiation"
    95     "interpret"
    96     "interpretation"
    97     "judgment"
    98     "kill"
    99     "kill_thy"
   100     "lemma"
   101     "lemmas"
   102     "let"
   103     "linear_undo"
   104     "local"
   105     "local_setup"
   106     "locale"
   107     "method_setup"
   108     "moreover"
   109     "next"
   110     "no_notation"
   111     "no_syntax"
   112     "no_translations"
   113     "no_type_notation"
   114     "nonterminals"
   115     "notation"
   116     "note"
   117     "obtain"
   118     "oops"
   119     "oracle"
   120     "overloading"
   121     "parse_ast_translation"
   122     "parse_translation"
   123     "pr"
   124     "prefer"
   125     "presume"
   126     "pretty_setmargin"
   127     "prf"
   128     "primrec"
   129     "print_abbrevs"
   130     "print_antiquotations"
   131     "print_ast_translation"
   132     "print_attributes"
   133     "print_binds"
   134     "print_cases"
   135     "print_claset"
   136     "print_classes"
   137     "print_codesetup"
   138     "print_commands"
   139     "print_configs"
   140     "print_context"
   141     "print_drafts"
   142     "print_facts"
   143     "print_induct_rules"
   144     "print_interps"
   145     "print_locale"
   146     "print_locales"
   147     "print_methods"
   148     "print_rules"
   149     "print_simpset"
   150     "print_statement"
   151     "print_syntax"
   152     "print_tcset"
   153     "print_theorems"
   154     "print_theory"
   155     "print_trans_rules"
   156     "print_translation"
   157     "proof"
   158     "prop"
   159     "pwd"
   160     "qed"
   161     "quit"
   162     "realizability"
   163     "realizers"
   164     "remove_thy"
   165     "rep_datatype"
   166     "schematic_corollary"
   167     "schematic_lemma"
   168     "schematic_theorem"
   169     "sect"
   170     "section"
   171     "setup"
   172     "show"
   173     "simproc_setup"
   174     "sorry"
   175     "subclass"
   176     "sublocale"
   177     "subsect"
   178     "subsection"
   179     "subsubsect"
   180     "subsubsection"
   181     "syntax"
   182     "term"
   183     "text"
   184     "text_raw"
   185     "then"
   186     "theorem"
   187     "theorems"
   188     "theory"
   189     "thm"
   190     "thm_deps"
   191     "thus"
   192     "thy_deps"
   193     "translations"
   194     "txt"
   195     "txt_raw"
   196     "typ"
   197     "type_notation"
   198     "typed_print_translation"
   199     "typedecl"
   200     "types"
   201     "types_code"
   202     "ultimately"
   203     "undo"
   204     "undos_proof"
   205     "unfolding"
   206     "unused_thms"
   207     "use"
   208     "use_thy"
   209     "using"
   210     "welcome"
   211     "with"
   212     "write"
   213     "{"
   214     "}"))
   215 
   216 (defconst isar-keywords-minor
   217   '("advanced"
   218     "and"
   219     "assumes"
   220     "attach"
   221     "begin"
   222     "binder"
   223     "case_eqns"
   224     "con_defs"
   225     "constrains"
   226     "contains"
   227     "defines"
   228     "domains"
   229     "elimination"
   230     "file"
   231     "fixes"
   232     "for"
   233     "identifier"
   234     "if"
   235     "imports"
   236     "in"
   237     "induction"
   238     "infix"
   239     "infixl"
   240     "infixr"
   241     "intros"
   242     "is"
   243     "monos"
   244     "notes"
   245     "obtains"
   246     "open"
   247     "output"
   248     "overloaded"
   249     "pervasive"
   250     "recursor_eqns"
   251     "shows"
   252     "structure"
   253     "type_elims"
   254     "type_intros"
   255     "unchecked"
   256     "uses"
   257     "where"))
   258 
   259 (defconst isar-keywords-control
   260   '("Isabelle\\.command"
   261     "Isar\\.begin_document"
   262     "Isar\\.define_command"
   263     "Isar\\.edit_document"
   264     "Isar\\.end_document"
   265     "ProofGeneral\\.inform_file_processed"
   266     "ProofGeneral\\.inform_file_retracted"
   267     "ProofGeneral\\.kill_proof"
   268     "ProofGeneral\\.process_pgip"
   269     "ProofGeneral\\.restart"
   270     "ProofGeneral\\.undo"
   271     "cannot_undo"
   272     "disable_pr"
   273     "enable_pr"
   274     "exit"
   275     "init_toplevel"
   276     "kill"
   277     "kill_thy"
   278     "linear_undo"
   279     "quit"
   280     "remove_thy"
   281     "undo"
   282     "undos_proof"
   283     "use_thy"))
   284 
   285 (defconst isar-keywords-diag
   286   '("ML_command"
   287     "ML_val"
   288     "ProofGeneral\\.pr"
   289     "cd"
   290     "class_deps"
   291     "commit"
   292     "display_drafts"
   293     "find_consts"
   294     "find_theorems"
   295     "full_prf"
   296     "header"
   297     "help"
   298     "pr"
   299     "pretty_setmargin"
   300     "prf"
   301     "print_abbrevs"
   302     "print_antiquotations"
   303     "print_attributes"
   304     "print_binds"
   305     "print_cases"
   306     "print_claset"
   307     "print_classes"
   308     "print_codesetup"
   309     "print_commands"
   310     "print_configs"
   311     "print_context"
   312     "print_drafts"
   313     "print_facts"
   314     "print_induct_rules"
   315     "print_interps"
   316     "print_locale"
   317     "print_locales"
   318     "print_methods"
   319     "print_rules"
   320     "print_simpset"
   321     "print_statement"
   322     "print_syntax"
   323     "print_tcset"
   324     "print_theorems"
   325     "print_theory"
   326     "print_trans_rules"
   327     "prop"
   328     "pwd"
   329     "term"
   330     "thm"
   331     "thm_deps"
   332     "thy_deps"
   333     "typ"
   334     "unused_thms"
   335     "welcome"))
   336 
   337 (defconst isar-keywords-theory-begin
   338   '("theory"))
   339 
   340 (defconst isar-keywords-theory-switch
   341   '())
   342 
   343 (defconst isar-keywords-theory-end
   344   '("end"))
   345 
   346 (defconst isar-keywords-theory-heading
   347   '("chapter"
   348     "section"
   349     "subsection"
   350     "subsubsection"))
   351 
   352 (defconst isar-keywords-theory-decl
   353   '("ML"
   354     "abbreviation"
   355     "arities"
   356     "attribute_setup"
   357     "axiomatization"
   358     "axioms"
   359     "class"
   360     "classes"
   361     "classrel"
   362     "codatatype"
   363     "code_datatype"
   364     "code_library"
   365     "code_module"
   366     "coinductive"
   367     "constdefs"
   368     "consts"
   369     "consts_code"
   370     "context"
   371     "datatype"
   372     "declaration"
   373     "declare"
   374     "default_sort"
   375     "definition"
   376     "defs"
   377     "extract"
   378     "extract_type"
   379     "finalconsts"
   380     "global"
   381     "hide_class"
   382     "hide_const"
   383     "hide_fact"
   384     "hide_type"
   385     "inductive"
   386     "instantiation"
   387     "judgment"
   388     "lemmas"
   389     "local"
   390     "local_setup"
   391     "locale"
   392     "method_setup"
   393     "no_notation"
   394     "no_syntax"
   395     "no_translations"
   396     "no_type_notation"
   397     "nonterminals"
   398     "notation"
   399     "oracle"
   400     "overloading"
   401     "parse_ast_translation"
   402     "parse_translation"
   403     "primrec"
   404     "print_ast_translation"
   405     "print_translation"
   406     "realizability"
   407     "realizers"
   408     "rep_datatype"
   409     "setup"
   410     "simproc_setup"
   411     "syntax"
   412     "text"
   413     "text_raw"
   414     "theorems"
   415     "translations"
   416     "type_notation"
   417     "typed_print_translation"
   418     "typedecl"
   419     "types"
   420     "types_code"
   421     "use"))
   422 
   423 (defconst isar-keywords-theory-script
   424   '("inductive_cases"))
   425 
   426 (defconst isar-keywords-theory-goal
   427   '("corollary"
   428     "example_proof"
   429     "instance"
   430     "interpretation"
   431     "lemma"
   432     "schematic_corollary"
   433     "schematic_lemma"
   434     "schematic_theorem"
   435     "subclass"
   436     "sublocale"
   437     "theorem"))
   438 
   439 (defconst isar-keywords-qed
   440   '("\\."
   441     "\\.\\."
   442     "by"
   443     "done"
   444     "sorry"))
   445 
   446 (defconst isar-keywords-qed-block
   447   '("qed"))
   448 
   449 (defconst isar-keywords-qed-global
   450   '("oops"))
   451 
   452 (defconst isar-keywords-proof-heading
   453   '("sect"
   454     "subsect"
   455     "subsubsect"))
   456 
   457 (defconst isar-keywords-proof-goal
   458   '("have"
   459     "hence"
   460     "interpret"))
   461 
   462 (defconst isar-keywords-proof-block
   463   '("next"
   464     "proof"))
   465 
   466 (defconst isar-keywords-proof-open
   467   '("{"))
   468 
   469 (defconst isar-keywords-proof-close
   470   '("}"))
   471 
   472 (defconst isar-keywords-proof-chain
   473   '("finally"
   474     "from"
   475     "then"
   476     "ultimately"
   477     "with"))
   478 
   479 (defconst isar-keywords-proof-decl
   480   '("ML_prf"
   481     "also"
   482     "let"
   483     "moreover"
   484     "note"
   485     "txt"
   486     "txt_raw"
   487     "unfolding"
   488     "using"
   489     "write"))
   490 
   491 (defconst isar-keywords-proof-asm
   492   '("assume"
   493     "case"
   494     "def"
   495     "fix"
   496     "presume"))
   497 
   498 (defconst isar-keywords-proof-asm-goal
   499   '("guess"
   500     "obtain"
   501     "show"
   502     "thus"))
   503 
   504 (defconst isar-keywords-proof-script
   505   '("apply"
   506     "apply_end"
   507     "back"
   508     "defer"
   509     "prefer"))
   510 
   511 (provide 'isar-keywords)