-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use
curlog
in almost periodicity
- Loading branch information
1 parent
7009b47
commit e4da86f
Showing
5 changed files
with
55 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Mathlib.Algebra.Order.Field.Defs | ||
|
||
variable {α : Type*} [LinearOrderedSemifield α] {a : α} | ||
|
||
lemma mul_inv_le_one : a * a⁻¹ ≤ 1 := by obtain rfl | ha := eq_or_ne a 0 <;> simp [*] | ||
lemma inv_mul_le_one : a⁻¹ * a ≤ 1 := by obtain rfl | ha := eq_or_ne a 0 <;> simp [*] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import LeanAPAP.Mathlib.Algebra.Order.Field.Defs | ||
import Mathlib.Analysis.SpecialFunctions.Pow.Real | ||
|
||
namespace Real | ||
variable {x : ℝ} | ||
|
||
lemma rpow_inv_log_le_exp_one : x ^ (log x)⁻¹ ≤ exp 1 := by | ||
refine (le_abs_self _).trans ?_ | ||
refine (Real.abs_rpow_le_abs_rpow _ _).trans ?_ | ||
rw [← log_abs] | ||
obtain hx | hx := (abs_nonneg x).eq_or_gt | ||
· simp [hx] | ||
· rw [rpow_def_of_pos hx] | ||
gcongr | ||
exact mul_inv_le_one | ||
|
||
end Real |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters