--- a/src/HOL/HOLCF/Tools/Domain/domain_take_proofs.ML Sun May 20 20:37:11 2018 +0200
+++ b/src/HOL/HOLCF/Tools/Domain/domain_take_proofs.ML Sun May 20 21:12:23 2018 +0200
@@ -518,7 +518,7 @@
fun prove_reach_lemma ((chain_take, lub_take), dbind) thy =
let
val thm =
- Drule.zero_var_indexes
+ Drule.export_without_context
(@{thm lub_ID_reach} OF [chain_take, lub_take])
in
add_qualified_thm "reach" (dbind, thm) thy
@@ -551,7 +551,7 @@
else
let
fun prove_take_induct (chain_take, lub_take) =
- Drule.zero_var_indexes
+ Drule.export_without_context
(@{thm lub_ID_take_induct} OF [chain_take, lub_take])
val take_inducts =
map prove_take_induct (chain_take_thms ~~ lub_take_thms)