Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 37cf166

Browse files
committed
feat(data/complex/exponential): added @[mono] tag to exp_le_exp and exp_lt_exp (#3318)
added @[mono] tag to exp_le_exp and exp_lt_exp.
1 parent e3e0aa0 commit 37cf166

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data/complex/exponential.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,8 @@ lemma exp_strict_mono : strict_mono exp :=
927927
exact (lt_mul_iff_one_lt_left (exp_pos _)).2
928928
(lt_of_lt_of_le (by linarith) (add_one_le_exp_of_nonneg (by linarith)))
929929

930+
@[mono] lemma exp_monotone : ∀ {x y : ℝ}, x ≤ y → exp x ≤ exp y := exp_strict_mono.monotone
931+
930932
lemma exp_lt_exp {x y : ℝ} : exp x < exp y ↔ x < y := exp_strict_mono.lt_iff_lt
931933

932934
lemma exp_le_exp {x y : ℝ} : exp x ≤ exp y ↔ x ≤ y := exp_strict_mono.le_iff_le

0 commit comments

Comments
 (0)