math / data /lean /OAI /Probability /InvariantIsing /Haar /DerivativeComparison.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
933 Bytes
import Mathlib
namespace OAI
/-! A derivative comparison obtained from pointwise increments. -/
noncomputable section
open Filter
open scoped Topology
namespace InvariantIsing
theorem norm_derivative_le_of_increment_bound
{E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[NormedAddCommGroup F] [NormedSpace ℝ F]
{f : ℝ β†’ E} {g : ℝ β†’ F} {f' : E} {g' : F} {x L : ℝ}
(hf : HasDerivAt f f' x) (hg : HasDerivAt g g' x)
(h : βˆ€ t, β€–f t-f xβ€– ≀ L*β€–g t-g xβ€–) : β€–f'β€– ≀ L*β€–g'β€– := by
apply le_of_tendsto_of_tendsto hf.tendsto_slope.norm (hg.tendsto_slope.norm.const_mul L)
apply Eventually.of_forall
intro t
simp only [slope_def_module,norm_smul]
calc
β€–(t-x)⁻¹‖*β€–f t-f xβ€– ≀ β€–(t-x)⁻¹‖*(L*β€–g t-g xβ€–) :=
mul_le_mul_of_nonneg_left (h t) (norm_nonneg _)
_ = L*(β€–(t-x)⁻¹‖*β€–g t-g xβ€–) := by ring
end InvariantIsing
end
end OAI