src/HOL/Tools/rewrite_hol_proof.ML
changeset 32010 cb1a1c94b4cd
parent 30850 5e20f9c20086
child 33388 d64545e6cba5
     1.1 --- a/src/HOL/Tools/rewrite_hol_proof.ML	Wed Jul 15 23:11:57 2009 +0200
     1.2 +++ b/src/HOL/Tools/rewrite_hol_proof.ML	Wed Jul 15 23:48:21 2009 +0200
     1.3 @@ -15,8 +15,8 @@
     1.4  
     1.5  open Proofterm;
     1.6  
     1.7 -val rews = map (pairself (ProofSyntax.proof_of_term (the_context ()) true) o
     1.8 -    Logic.dest_equals o Logic.varify o ProofSyntax.read_term (the_context ()) propT)
     1.9 +val rews = map (pairself (ProofSyntax.proof_of_term @{theory} true) o
    1.10 +    Logic.dest_equals o Logic.varify o ProofSyntax.read_term @{theory} propT)
    1.11  
    1.12    (** eliminate meta-equality rules **)
    1.13