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