src/Pure/theory.ML
changeset 20549 c643984eb94b
parent 20392 88cab786d024
child 21608 2ca27eeb2841
equal deleted inserted replaced
20548:8ef25fe585a8 20549:c643984eb94b
     5 Logical theory content: axioms, definitions, oracles.
     5 Logical theory content: axioms, definitions, oracles.
     6 *)
     6 *)
     7 
     7 
     8 signature BASIC_THEORY =
     8 signature BASIC_THEORY =
     9 sig
     9 sig
    10   type theory
       
    11   type theory_ref
       
    12   val sign_of: theory -> theory    (*obsolete*)
    10   val sign_of: theory -> theory    (*obsolete*)
    13   val rep_theory: theory ->
    11   val rep_theory: theory ->
    14    {axioms: term NameSpace.table,
    12    {axioms: term NameSpace.table,
    15     defs: Defs.T,
    13     defs: Defs.T,
    16     oracles: ((theory * Object.T -> term) * stamp) NameSpace.table}
    14     oracles: ((theory * Object.T -> term) * stamp) NameSpace.table}
    61 
    59 
    62 (** type theory **)
    60 (** type theory **)
    63 
    61 
    64 (* context operations *)
    62 (* context operations *)
    65 
    63 
    66 type theory = Context.theory;
       
    67 type theory_ref = Context.theory_ref;
       
    68 
       
    69 val eq_thy = Context.eq_thy;
    64 val eq_thy = Context.eq_thy;
    70 val subthy = Context.subthy;
    65 val subthy = Context.subthy;
    71 
    66 
    72 val parents_of = Context.parents_of;
    67 val parents_of = Context.parents_of;
    73 val ancestors_of = Context.ancestors_of;
    68 val ancestors_of = Context.ancestors_of;