# HG changeset patch # User paulson # Date 1720387534 -3600 # Node ID 532156e8f15f335991a61d62cdf39800e61251a1 # Parent 35442f748ec8603e4f45c4208b063ffb1f34b4b7 last-minute correction: no simprule for ln_minus diff -r 35442f748ec8 -r 532156e8f15f src/HOL/Transcendental.thy --- a/src/HOL/Transcendental.thy Sat Jul 06 12:51:43 2024 +0100 +++ b/src/HOL/Transcendental.thy Sun Jul 07 22:25:34 2024 +0100 @@ -1594,7 +1594,7 @@ lemma ln_0 [simp]: "ln (0::real) = 0" by (simp add: ln_real_def) -lemma ln_minus [simp]: "ln (-x) = ln x" +lemma ln_minus: "ln (-x) = ln x" for x :: real by (simp add: ln_real_def) @@ -1726,17 +1726,13 @@ for x :: real by simp -lemma ln_neg: "ln (-x) = ln x" - for x :: real - by simp - lemma powr_eq_one_iff [simp]: "a powr x = 1 \ x = 0" if "a > 1" for a x :: real using that by (auto simp: powr_def split: if_splits) text \A consequence of our "totalising" of ln\ lemma uminus_powr_eq: "(-a) powr x = a powr x" for x::real - by (simp add: powr_def) + by (simp add: powr_def ln_minus) lemma isCont_ln_pos: fixes x :: real @@ -1754,7 +1750,7 @@ using isCont_minus [OF continuous_ident] assms continuous_at_compose isCont_ln_pos by force then show ?thesis - using isCont_cong by force + by (simp add: comp_def ln_minus) qed (simp add: isCont_ln_pos) lemma tendsto_ln [tendsto_intros]: "(f \ a) F \ a \ 0 \ ((\x. ln (f x)) \ ln a) F"