tuned default tip
authornipkow
Tue, 11 Nov 2025 09:19:46 +0100
changeset 83547 db80ee4abed1
parent 83546 777c39896f31
tuned
src/HOL/HOLCF/Cpo.thy
--- a/src/HOL/HOLCF/Cpo.thy	Tue Nov 11 09:10:36 2025 +0100
+++ b/src/HOL/HOLCF/Cpo.thy	Tue Nov 11 09:19:46 2025 +0100
@@ -1109,7 +1109,7 @@
     (case Thm.term_of lhs of
       \<^Const_>\<open>cont _ _ for \<open>Abs (_, _, expr)\<close>\<close> =>
         if case strip_comb expr of (f, args) =>
-              f = Bound 0 andalso not (exists (fn t => loose_bvar1 (t,0)) args)
+              f = Bound 0 andalso not (exists Term.is_dependent args)
         (* since \<open>\<lambda>f. E f\<close> is too permissive, we ensure here that the term
            is of the form \<open>\<lambda>f. f \<dots>\<close>, with \<open>f\<close> no longer appearing in \<open>\<dots>\<close> *)
         then