src/Tools/Code/code_simp.ML
changeset 43232 23f352990944
parent 41594 6673f6fa94ca
child 44500 3803869014aa
     1.1 --- a/src/Tools/Code/code_simp.ML	Sat Apr 16 15:47:52 2011 +0200
     1.2 +++ b/src/Tools/Code/code_simp.ML	Sat Apr 16 16:15:37 2011 +0200
     1.3 @@ -59,9 +59,9 @@
     1.4  fun dynamic_value thy = snd o Logic.dest_equals o Thm.prop_of o dynamic_conv thy o Thm.cterm_of thy;
     1.5  
     1.6  val setup = Method.setup (Binding.name "code_simp")
     1.7 -  (Scan.succeed (SIMPLE_METHOD' o (CHANGED_PROP oo dynamic_tac o ProofContext.theory_of)))
     1.8 +  (Scan.succeed (SIMPLE_METHOD' o (CHANGED_PROP oo dynamic_tac o Proof_Context.theory_of)))
     1.9    "simplification with code equations"
    1.10 -  #> Value.add_evaluator ("simp", dynamic_value o ProofContext.theory_of);
    1.11 +  #> Value.add_evaluator ("simp", dynamic_value o Proof_Context.theory_of);
    1.12  
    1.13  
    1.14  (* evaluation with static code context *)