--- a/src/HOL/Limits.thy Wed Aug 14 19:50:23 2019 +0200
+++ b/src/HOL/Limits.thy Thu Aug 15 16:11:56 2019 +0100
@@ -1981,7 +1981,7 @@
using Lim_transform Lim_transform2 by blast
lemma Lim_transform_eventually:
- "eventually (\<lambda>x. f x = g x) net \<Longrightarrow> (f \<longlongrightarrow> l) net \<Longrightarrow> (g \<longlongrightarrow> l) net"
+ "\<lbrakk>(f \<longlongrightarrow> l) F; eventually (\<lambda>x. f x = g x) F\<rbrakk> \<Longrightarrow> (g \<longlongrightarrow> l) F"
using eventually_elim2 by (fastforce simp add: tendsto_def)
lemma Lim_transform_within: