Context stringlengths 57 6.04k | file_name stringlengths 21 79 | start int64 14 1.49k | end int64 18 1.5k | theorem stringlengths 25 1.55k | proof stringlengths 5 7.36k | num_lines int64 1 150 | complexity_score float64 2.72 139,370,958,066,637,970,000,000,000,000,000,000,000,000,000,000,000,000,000B | diff_level int64 0 2 | file_diff_level float64 0 2 | theorem_same_file int64 1 32 | rank_file int64 0 2.51k |
|---|---|---|---|---|---|---|---|---|---|---|---|
import Mathlib.Algebra.BigOperators.Associated
import Mathlib.Algebra.Order.Ring.Abs
import Mathlib.Data.Nat.Choose.Sum
import Mathlib.Data.Nat.Choose.Dvd
import Mathlib.Data.Nat.Prime
#align_import number_theory.primorial from "leanprover-community/mathlib"@"0a0ec35061ed9960bf0e7ffb0335f44447b58977"
open Finset
... | Mathlib/NumberTheory/Primorial.lean | 45 | 48 | theorem primorial_succ {n : β} (hn1 : n β 1) (hn : Odd n) : (n + 1)# = n# := by |
refine prod_congr ?_ fun _ _ β¦ rfl
rw [range_succ, filter_insert, if_neg fun h β¦ odd_iff_not_even.mp hn _]
exact fun h β¦ h.even_sub_one <| mt succ.inj hn1
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,394 |
import Mathlib.Algebra.BigOperators.Associated
import Mathlib.Algebra.Order.Ring.Abs
import Mathlib.Data.Nat.Choose.Sum
import Mathlib.Data.Nat.Choose.Dvd
import Mathlib.Data.Nat.Prime
#align_import number_theory.primorial from "leanprover-community/mathlib"@"0a0ec35061ed9960bf0e7ffb0335f44447b58977"
open Finset
... | Mathlib/NumberTheory/Primorial.lean | 51 | 55 | theorem primorial_add (m n : β) :
(m + n)# = m# * β p β filter Nat.Prime (Ico (m + 1) (m + n + 1)), p := by |
rw [primorial, primorial, β Ico_zero_eq_range, β prod_union, β filter_union, Ico_union_Ico_eq_Ico]
exacts [Nat.zero_le _, add_le_add_right (Nat.le_add_right _ _) _,
disjoint_filter_filter <| Ico_disjoint_Ico_consecutive _ _ _]
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,394 |
import Mathlib.Algebra.BigOperators.Associated
import Mathlib.Algebra.Order.Ring.Abs
import Mathlib.Data.Nat.Choose.Sum
import Mathlib.Data.Nat.Choose.Dvd
import Mathlib.Data.Nat.Prime
#align_import number_theory.primorial from "leanprover-community/mathlib"@"0a0ec35061ed9960bf0e7ffb0335f44447b58977"
open Finset
... | Mathlib/NumberTheory/Primorial.lean | 73 | 91 | theorem primorial_le_4_pow (n : β) : n# β€ 4 ^ n := by |
induction' n using Nat.strong_induction_on with n ihn
cases' n with n; Β· rfl
rcases n.even_or_odd with (β¨m, rflβ© | ho)
Β· rcases m.eq_zero_or_pos with (rfl | hm)
Β· decide
calc
(m + m + 1)# = (m + 1 + m)# := by rw [add_right_comm]
_ β€ (m + 1)# * choose (m + 1 + m) (m + 1) := primorial_add_le ... | 18 | 65,659,969.137331 | 2 | 1.333333 | 3 | 1,394 |
import Mathlib.Analysis.Analytic.Composition
import Mathlib.Analysis.Analytic.Constructions
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv
open Complex Set
open scoped Topology
variable {E : Type} [NormedAddCommGroup E] [NormedSpace β E]
variable {f g : E β... | Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean | 24 | 25 | theorem analyticOn_cexp : AnalyticOn β exp univ := by |
rw [analyticOn_univ_iff_differentiable]; exact differentiable_exp
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,395 |
import Mathlib.Analysis.Analytic.Composition
import Mathlib.Analysis.Analytic.Constructions
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv
open Complex Set
open scoped Topology
variable {E : Type} [NormedAddCommGroup E] [NormedSpace β E]
variable {f g : E β... | Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean | 40 | 44 | theorem analyticAt_clog (m : z β slitPlane) : AnalyticAt β log z := by |
rw [analyticAt_iff_eventually_differentiableAt]
filter_upwards [isOpen_slitPlane.eventually_mem m]
intro z m
exact differentiableAt_id.clog m
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,395 |
import Mathlib.Analysis.Analytic.Composition
import Mathlib.Analysis.Analytic.Constructions
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.Analysis.SpecialFunctions.Complex.LogDeriv
open Complex Set
open scoped Topology
variable {E : Type} [NormedAddCommGroup E] [NormedSpace β E]
variable {f g : E β... | Mathlib/Analysis/SpecialFunctions/Complex/Analytic.lean | 57 | 64 | theorem AnalyticAt.cpow (fa : AnalyticAt β f x) (ga : AnalyticAt β g x)
(m : f x β slitPlane) : AnalyticAt β (fun z β¦ f z ^ g z) x := by |
have e : (fun z β¦ f z ^ g z) =αΆ [π x] fun z β¦ exp (log (f z) * g z) := by
filter_upwards [(fa.continuousAt.eventually_ne (slitPlane_ne_zero m))]
intro z fz
simp only [fz, cpow_def, if_false]
rw [analyticAt_congr e]
exact ((fa.clog m).mul ga).cexp
| 6 | 403.428793 | 2 | 1.333333 | 3 | 1,395 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 50 | 62 | theorem le_sum_schlomilch' (hf : β β¦m nβ¦, 0 < m β m β€ n β f n β€ f m) (h_pos : β n, 0 < u n)
(hu : Monotone u) (n : β) :
(β k β Ico (u 0) (u n), f k) β€ β k β range n, (u (k + 1) - u k) β’ f (u k) := by |
induction' n with n ihn
Β· simp
suffices (β k β Ico (u n) (u (n + 1)), f k) β€ (u (n + 1) - u n) β’ f (u n) by
rw [sum_range_succ, β sum_Ico_consecutive]
Β· exact add_le_add ihn this
exacts [hu n.zero_le, hu n.le_succ]
have : β k β Ico (u n) (u (n + 1)), f k β€ f (u n) := fun k hk =>
hf (Nat.succ_le... | 10 | 22,026.465795 | 2 | 1.333333 | 6 | 1,396 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 64 | 68 | theorem le_sum_condensed' (hf : β β¦m nβ¦, 0 < m β m β€ n β f n β€ f m) (n : β) :
(β k β Ico 1 (2 ^ n), f k) β€ β k β range n, 2 ^ k β’ f (2 ^ k) := by |
convert le_sum_schlomilch' hf (fun n => pow_pos zero_lt_two n)
(fun m n hm => pow_le_pow_right one_le_two hm) n using 2
simp [pow_succ, mul_two, two_mul]
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,396 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 71 | 76 | theorem le_sum_schlomilch (hf : β β¦m nβ¦, 0 < m β m β€ n β f n β€ f m) (h_pos : β n, 0 < u n)
(hu : Monotone u) (n : β) :
(β k β range (u n), f k) β€
β k β range (u 0), f k + β k β range n, (u (k + 1) - u k) β’ f (u k) := by |
convert add_le_add_left (le_sum_schlomilch' hf h_pos hu n) (β k β range (u 0), f k)
rw [β sum_range_add_sum_Ico _ (hu n.zero_le)]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,396 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 78 | 81 | theorem le_sum_condensed (hf : β β¦m nβ¦, 0 < m β m β€ n β f n β€ f m) (n : β) :
(β k β range (2 ^ n), f k) β€ f 0 + β k β range n, 2 ^ k β’ f (2 ^ k) := by |
convert add_le_add_left (le_sum_condensed' hf n) (f 0)
rw [β sum_range_add_sum_Ico _ n.one_le_two_pow, sum_range_succ, sum_range_zero, zero_add]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,396 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 84 | 98 | theorem sum_schlomilch_le' (hf : β β¦m nβ¦, 1 < m β m β€ n β f n β€ f m) (h_pos : β n, 0 < u n)
(hu : Monotone u) (n : β) :
(β k β range n, (u (k + 1) - u k) β’ f (u (k + 1))) β€ β k β Ico (u 0 + 1) (u n + 1), f k := by |
induction' n with n ihn
Β· simp
suffices (u (n + 1) - u n) β’ f (u (n + 1)) β€ β k β Ico (u n + 1) (u (n + 1) + 1), f k by
rw [sum_range_succ, β sum_Ico_consecutive]
exacts [add_le_add ihn this,
(add_le_add_right (hu n.zero_le) _ : u 0 + 1 β€ u n + 1),
add_le_add_right (hu n.le_succ) _]
have : ... | 12 | 162,754.791419 | 2 | 1.333333 | 6 | 1,396 |
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Analysis.SumOverResidueClass
#align_import analysis.p_series from "leanprover-community/mathlib"@"0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8"
def SuccDiffBounded (C : β) (u : β β β) : Prop :=... | Mathlib/Analysis/PSeries.lean | 100 | 104 | theorem sum_condensed_le' (hf : β β¦m nβ¦, 1 < m β m β€ n β f n β€ f m) (n : β) :
(β k β range n, 2 ^ k β’ f (2 ^ (k + 1))) β€ β k β Ico 2 (2 ^ n + 1), f k := by |
convert sum_schlomilch_le' hf (fun n => pow_pos zero_lt_two n)
(fun m n hm => pow_le_pow_right one_le_two hm) n using 2
simp [pow_succ, mul_two, two_mul]
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,396 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 68 | 76 | theorem liftAlternating_ΞΉ (f : β i, M [β^Fin i]ββ[R] N) (m : M) :
liftAlternating (R := R) (M := M) (N := N) f (ΞΉ R m) = f 1 ![m] := by |
dsimp [liftAlternating]
rw [foldl_ΞΉ, LinearMap.mkβ_apply, AlternatingMap.curryLeft_apply_apply]
congr
-- Porting note: In Lean 3, `congr` could use the `[Subsingleton (Fin 0 β M)]` instance to finish
-- the proof. Here, the instance can be synthesized but `congr` does not use it so the following
-- line is... | 7 | 1,096.633158 | 2 | 1.333333 | 6 | 1,397 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 79 | 85 | theorem liftAlternating_ΞΉ_mul (f : β i, M [β^Fin i]ββ[R] N) (m : M)
(x : ExteriorAlgebra R M) :
liftAlternating (R := R) (M := M) (N := N) f (ΞΉ R m * x) =
liftAlternating (R := R) (M := M) (N := N) (fun i => (f i.succ).curryLeft m) x := by |
dsimp [liftAlternating]
rw [foldl_mul, foldl_ΞΉ]
rfl
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,397 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 89 | 92 | theorem liftAlternating_one (f : β i, M [β^Fin i]ββ[R] N) :
liftAlternating (R := R) (M := M) (N := N) f (1 : ExteriorAlgebra R M) = f 0 0 := by |
dsimp [liftAlternating]
rw [foldl_one]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,397 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 96 | 99 | theorem liftAlternating_algebraMap (f : β i, M [β^Fin i]ββ[R] N) (r : R) :
liftAlternating (R := R) (M := M) (N := N) f (algebraMap _ (ExteriorAlgebra R M) r) =
r β’ f 0 0 := by |
rw [Algebra.algebraMap_eq_smul_one, map_smul, liftAlternating_one]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,397 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 103 | 115 | theorem liftAlternating_apply_ΞΉMulti {n : β} (f : β i, M [β^Fin i]ββ[R] N)
(v : Fin n β M) : liftAlternating (R := R) (M := M) (N := N) f (ΞΉMulti R n v) = f n v := by |
rw [ΞΉMulti_apply]
-- Porting note: `v` is generalized automatically so it was removed from the next line
induction' n with n ih generalizing f
Β· -- Porting note: Lean does not automatically synthesize the instance
-- `[Subsingleton (Fin 0 β M)]` which is needed for `Subsingleton.elim 0 v` on line 114.
... | 11 | 59,874.141715 | 2 | 1.333333 | 6 | 1,397 |
import Mathlib.LinearAlgebra.CliffordAlgebra.Fold
import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic
#align_import linear_algebra.exterior_algebra.of_alternating from "leanprover-community/mathlib"@"ce11c3c2a285bbe6937e26d9792fda4e51f3fe1a"
variable {R M N N' : Type*}
variable [CommRing R] [AddCommGroup M] [AddCo... | Mathlib/LinearAlgebra/ExteriorAlgebra/OfAlternating.lean | 125 | 135 | theorem liftAlternating_comp (g : N ββ[R] N') (f : β i, M [β^Fin i]ββ[R] N) :
(liftAlternating (R := R) (M := M) (N := N') fun i => g.compAlternatingMap (f i)) =
g ββ liftAlternating (R := R) (M := M) (N := N) f := by |
ext v
rw [LinearMap.comp_apply]
induction' v using CliffordAlgebra.left_induction with r x y hx hy x m hx generalizing f
Β· rw [liftAlternating_algebraMap, liftAlternating_algebraMap, map_smul,
LinearMap.compAlternatingMap_apply]
Β· rw [map_add, map_add, map_add, hx, hy]
Β· rw [liftAlternating_ΞΉ_mul, li... | 8 | 2,980.957987 | 2 | 1.333333 | 6 | 1,397 |
import Mathlib.Analysis.InnerProductSpace.Projection
import Mathlib.Analysis.NormedSpace.lpSpace
import Mathlib.Analysis.InnerProductSpace.PiL2
#align_import analysis.inner_product_space.l2_space from "leanprover-community/mathlib"@"46b633fd842bef9469441c0209906f6dddd2b4f5"
open RCLike Submodule Filter
open scop... | Mathlib/Analysis/InnerProductSpace/l2Space.lean | 106 | 112 | theorem summable_inner (f g : lp G 2) : Summable fun i => βͺf i, g iβ« := by |
-- Apply the Direct Comparison Test, comparing with β' i, βf iβ * βg iβ (summable by HΓΆlder)
refine .of_norm_bounded (fun i => βf iβ * βg iβ) (lp.summable_mul ?_ f g) ?_
Β· rw [Real.isConjExponent_iff]; norm_num
intro i
-- Then apply Cauchy-Schwarz pointwise
exact norm_inner_le_norm (π := π) _ _
| 6 | 403.428793 | 2 | 1.333333 | 3 | 1,398 |
import Mathlib.Analysis.InnerProductSpace.Projection
import Mathlib.Analysis.NormedSpace.lpSpace
import Mathlib.Analysis.InnerProductSpace.PiL2
#align_import analysis.inner_product_space.l2_space from "leanprover-community/mathlib"@"46b633fd842bef9469441c0209906f6dddd2b4f5"
open RCLike Submodule Filter
open scop... | Mathlib/Analysis/InnerProductSpace/l2Space.lean | 164 | 171 | theorem inner_single_left (i : ΞΉ) (a : G i) (f : lp G 2) : βͺlp.single 2 i a, fβ« = βͺa, f iβ« := by |
refine (hasSum_inner (lp.single 2 i a) f).unique ?_
convert hasSum_ite_eq i βͺa, f iβ« using 1
ext j
rw [lp.single_apply]
split_ifs with h
Β· subst h; rfl
Β· simp
| 7 | 1,096.633158 | 2 | 1.333333 | 3 | 1,398 |
import Mathlib.Analysis.InnerProductSpace.Projection
import Mathlib.Analysis.NormedSpace.lpSpace
import Mathlib.Analysis.InnerProductSpace.PiL2
#align_import analysis.inner_product_space.l2_space from "leanprover-community/mathlib"@"46b633fd842bef9469441c0209906f6dddd2b4f5"
open RCLike Submodule Filter
open scop... | Mathlib/Analysis/InnerProductSpace/l2Space.lean | 174 | 175 | theorem inner_single_right (i : ΞΉ) (a : G i) (f : lp G 2) : βͺf, lp.single 2 i aβ« = βͺf i, aβ« := by |
simpa [inner_conj_symm] using congr_arg conj (@inner_single_left _ π _ _ _ _ i a f)
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,398 |
import Mathlib.Data.Int.AbsoluteValue
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
#align_import linear_algebra.matrix.absolute_value from "leanprover-community/mathlib"@"ab0a2959c83b06280ef576bc830d4aa5fe8c8e61"
open Matrix
namespace Matrix
open Equiv Finset
variable {R S : Type*} [CommRing R] [Nontr... | Mathlib/LinearAlgebra/Matrix/AbsoluteValue.lean | 37 | 49 | theorem det_le {A : Matrix n n R} {abv : AbsoluteValue R S} {x : S} (hx : β i j, abv (A i j) β€ x) :
abv A.det β€ Nat.factorial (Fintype.card n) β’ x ^ Fintype.card n :=
calc
abv A.det = abv (β Ο : Perm n, Perm.sign Ο β’ β i, A (Ο i) i) := congr_arg abv (det_apply _)
_ β€ β Ο : Perm n, abv (Perm.sign Ο β’ β i, ... |
rw [sum_const, Finset.card_univ, Fintype.card_perm]
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,399 |
import Mathlib.Data.Int.AbsoluteValue
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
#align_import linear_algebra.matrix.absolute_value from "leanprover-community/mathlib"@"ab0a2959c83b06280ef576bc830d4aa5fe8c8e61"
open Matrix
namespace Matrix
open Equiv Finset
variable {R S : Type*} [CommRing R] [Nontr... | Mathlib/LinearAlgebra/Matrix/AbsoluteValue.lean | 52 | 61 | theorem det_sum_le {ΞΉ : Type*} (s : Finset ΞΉ) {A : ΞΉ β Matrix n n R} {abv : AbsoluteValue R S}
{x : S} (hx : β k i j, abv (A k i j) β€ x) :
abv (det (β k β s, A k)) β€
Nat.factorial (Fintype.card n) β’ (Finset.card s β’ x) ^ Fintype.card n :=
det_le fun i j =>
calc
abv ((β k β s, A k) i j) = abv (... | simp only [sum_apply]
_ β€ β k β s, abv (A k i j) := abv.sum_le _ _
_ β€ β _k β s, x := sum_le_sum fun k _ => hx k i j
_ = s.card β’ x := sum_const _
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,399 |
import Mathlib.Data.Int.AbsoluteValue
import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
#align_import linear_algebra.matrix.absolute_value from "leanprover-community/mathlib"@"ab0a2959c83b06280ef576bc830d4aa5fe8c8e61"
open Matrix
namespace Matrix
open Equiv Finset
variable {R S : Type*} [CommRing R] [Nontr... | Mathlib/LinearAlgebra/Matrix/AbsoluteValue.lean | 64 | 73 | theorem det_sum_smul_le {ΞΉ : Type*} (s : Finset ΞΉ) {c : ΞΉ β R} {A : ΞΉ β Matrix n n R}
{abv : AbsoluteValue R S} {x : S} (hx : β k i j, abv (A k i j) β€ x) {y : S}
(hy : β k, abv (c k) β€ y) :
abv (det (β k β s, c k β’ A k)) β€
Nat.factorial (Fintype.card n) β’ (Finset.card s β’ y * x) ^ Fintype.card n := by |
simpa only [smul_mul_assoc] using
det_sum_le s fun k i j =>
calc
abv (c k * A k i j) = abv (c k) * abv (A k i j) := abv.map_mul _ _
_ β€ y * x := mul_le_mul (hy k) (hx k i j) (abv.nonneg _) ((abv.nonneg _).trans (hy k))
| 5 | 148.413159 | 2 | 1.333333 | 3 | 1,399 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 63 | 65 | theorem map_toCotangent_ker : I.toCotangent.ker.map I.subtype = I ^ 2 := by |
rw [Ideal.toCotangent, Submodule.ker_mkQ, pow_two, Submodule.map_smul'' I β€ (Submodule.subtype I),
Algebra.id.smul_eq_mul, Submodule.map_subtype_top]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,400 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 69 | 71 | theorem mem_toCotangent_ker {x : I} : x β LinearMap.ker I.toCotangent β (x : R) β I ^ 2 := by |
rw [β I.map_toCotangent_ker]
simp
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,400 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 74 | 76 | theorem toCotangent_eq {x y : I} : I.toCotangent x = I.toCotangent y β (x - y : R) β I ^ 2 := by |
rw [β sub_eq_zero]
exact I.mem_toCotangent_ker
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,400 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 88 | 96 | theorem cotangent_subsingleton_iff : Subsingleton I.Cotangent β IsIdempotentElem I := by |
constructor
Β· intro H
refine (pow_two I).symm.trans (le_antisymm (Ideal.pow_le_self two_ne_zero) ?_)
exact fun x hx => (I.toCotangent_eq_zero β¨x, hxβ©).mp (Subsingleton.elim _ _)
Β· exact fun e =>
β¨fun x y =>
Quotient.inductionOnβ' x y fun x y =>
I.toCotangent_eq.mpr <| ((pow_two I)... | 8 | 2,980.957987 | 2 | 1.333333 | 6 | 1,400 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 122 | 128 | theorem cotangentIdeal_square (I : Ideal R) : I.cotangentIdeal ^ 2 = β₯ := by |
rw [eq_bot_iff, pow_two I.cotangentIdeal, β smul_eq_mul]
intro x hx
refine Submodule.smul_induction_on hx ?_ ?_
Β· rintro _ β¨x, hx, rflβ© _ β¨y, hy, rflβ©; apply (Submodule.Quotient.eq _).mpr _
rw [sub_zero, pow_two]; exact Ideal.mul_mem_mul hx hy
Β· intro x y hx hy; exact add_mem hx hy
| 6 | 403.428793 | 2 | 1.333333 | 6 | 1,400 |
import Mathlib.RingTheory.Ideal.Operations
import Mathlib.Algebra.Module.Torsion
import Mathlib.Algebra.Ring.Idempotents
import Mathlib.LinearAlgebra.FiniteDimensional
import Mathlib.RingTheory.Ideal.LocalRing
import Mathlib.RingTheory.Filtration
import Mathlib.RingTheory.Nakayama
#align_import ring_theory.ideal.cota... | Mathlib/RingTheory/Ideal/Cotangent.lean | 132 | 136 | theorem to_quotient_square_range :
LinearMap.range I.cotangentToQuotientSquare = I.cotangentIdeal.restrictScalars R := by |
trans LinearMap.range (I.cotangentToQuotientSquare.comp I.toCotangent)
Β· rw [LinearMap.range_comp, I.toCotangent_range, Submodule.map_top]
Β· rw [to_quotient_square_comp_toCotangent, LinearMap.range_comp, I.range_subtype]; ext; rfl
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,400 |
import Mathlib.Data.Stream.Init
import Mathlib.Tactic.Common
#align_import data.seq.computation from "leanprover-community/mathlib"@"1f0096e6caa61e9c849ec2adbd227e960e9dff58"
open Function
universe u v w
def Computation (Ξ± : Type u) : Type u :=
{ f : Stream' (Option Ξ±) // β β¦n aβ¦, f n = some a β f (n + 1) = ... | Mathlib/Data/Seq/Computation.lean | 114 | 123 | theorem destruct_eq_pure {s : Computation Ξ±} {a : Ξ±} : destruct s = Sum.inl a β s = pure a := by |
dsimp [destruct]
induction' f0 : s.1 0 with _ <;> intro h
Β· contradiction
Β· apply Subtype.eq
funext n
induction' n with n IH
Β· injection h with h'
rwa [h'] at f0
Β· exact s.2 IH
| 9 | 8,103.083928 | 2 | 1.333333 | 3 | 1,401 |
import Mathlib.Data.Stream.Init
import Mathlib.Tactic.Common
#align_import data.seq.computation from "leanprover-community/mathlib"@"1f0096e6caa61e9c849ec2adbd227e960e9dff58"
open Function
universe u v w
def Computation (Ξ± : Type u) : Type u :=
{ f : Stream' (Option Ξ±) // β β¦n aβ¦, f n = some a β f (n + 1) = ... | Mathlib/Data/Seq/Computation.lean | 126 | 136 | theorem destruct_eq_think {s : Computation Ξ±} {s'} : destruct s = Sum.inr s' β s = think s' := by |
dsimp [destruct]
induction' f0 : s.1 0 with a' <;> intro h
Β· injection h with h'
rw [β h']
cases' s with f al
apply Subtype.eq
dsimp [think, tail]
rw [β f0]
exact (Stream'.eta f).symm
Β· contradiction
| 10 | 22,026.465795 | 2 | 1.333333 | 3 | 1,401 |
import Mathlib.Data.Stream.Init
import Mathlib.Tactic.Common
#align_import data.seq.computation from "leanprover-community/mathlib"@"1f0096e6caa61e9c849ec2adbd227e960e9dff58"
open Function
universe u v w
def Computation (Ξ± : Type u) : Type u :=
{ f : Stream' (Option Ξ±) // β β¦n aβ¦, f n = some a β f (n + 1) = ... | Mathlib/Data/Seq/Computation.lean | 175 | 176 | theorem tail_think (s : Computation Ξ±) : tail (think s) = s := by |
cases' s with f al; apply Subtype.eq; dsimp [tail, think]
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,401 |
import Mathlib.Combinatorics.SimpleGraph.Coloring
#align_import combinatorics.simple_graph.partition from "leanprover-community/mathlib"@"2303b3e299f1c75b07bceaaac130ce23044d1386"
universe u v
namespace SimpleGraph
variable {V : Type u} (G : SimpleGraph V)
structure Partition where
parts : Set (Set V)
... | Mathlib/Combinatorics/SimpleGraph/Partition.lean | 88 | 90 | theorem partOfVertex_mem (v : V) : P.partOfVertex v β P.parts := by |
obtain β¨h, -β© := (P.isPartition.2 v).choose_spec.1
exact h
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,402 |
import Mathlib.Combinatorics.SimpleGraph.Coloring
#align_import combinatorics.simple_graph.partition from "leanprover-community/mathlib"@"2303b3e299f1c75b07bceaaac130ce23044d1386"
universe u v
namespace SimpleGraph
variable {V : Type u} (G : SimpleGraph V)
structure Partition where
parts : Set (Set V)
... | Mathlib/Combinatorics/SimpleGraph/Partition.lean | 93 | 95 | theorem mem_partOfVertex (v : V) : v β P.partOfVertex v := by |
obtain β¨β¨_, hβ©, _β© := (P.isPartition.2 v).choose_spec
exact h
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,402 |
import Mathlib.Combinatorics.SimpleGraph.Coloring
#align_import combinatorics.simple_graph.partition from "leanprover-community/mathlib"@"2303b3e299f1c75b07bceaaac130ce23044d1386"
universe u v
namespace SimpleGraph
variable {V : Type u} (G : SimpleGraph V)
structure Partition where
parts : Set (Set V)
... | Mathlib/Combinatorics/SimpleGraph/Partition.lean | 98 | 102 | theorem partOfVertex_ne_of_adj {v w : V} (h : G.Adj v w) : P.partOfVertex v β P.partOfVertex w := by |
intro hn
have hw := P.mem_partOfVertex w
rw [β hn] at hw
exact P.independent _ (P.partOfVertex_mem v) (P.mem_partOfVertex v) hw (G.ne_of_adj h) h
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,402 |
import Mathlib.Topology.UniformSpace.UniformEmbedding
import Mathlib.Topology.UniformSpace.Equiv
#align_import topology.uniform_space.abstract_completion from "leanprover-community/mathlib"@"dc6c365e751e34d100e80fe6e314c3c3e0fd2988"
noncomputable section
attribute [local instance] Classical.propDecidable
open F... | Mathlib/Topology/UniformSpace/AbstractCompletion.lean | 136 | 138 | theorem extend_coe [T2Space Ξ²] (hf : UniformContinuous f) (a : Ξ±) : (pkg.extend f) (ΞΉ a) = f a := by |
rw [pkg.extend_def hf]
exact pkg.denseInducing.extend_eq hf.continuous a
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,403 |
import Mathlib.Topology.UniformSpace.UniformEmbedding
import Mathlib.Topology.UniformSpace.Equiv
#align_import topology.uniform_space.abstract_completion from "leanprover-community/mathlib"@"dc6c365e751e34d100e80fe6e314c3c3e0fd2988"
noncomputable section
attribute [local instance] Classical.propDecidable
open F... | Mathlib/Topology/UniformSpace/AbstractCompletion.lean | 143 | 149 | theorem uniformContinuous_extend : UniformContinuous (pkg.extend f) := by |
by_cases hf : UniformContinuous f
Β· rw [pkg.extend_def hf]
exact uniformContinuous_uniformly_extend pkg.uniformInducing pkg.dense hf
Β· change UniformContinuous (ite _ _ _)
rw [if_neg hf]
exact uniformContinuous_of_const fun a b => by congr 1
| 6 | 403.428793 | 2 | 1.333333 | 3 | 1,403 |
import Mathlib.Topology.UniformSpace.UniformEmbedding
import Mathlib.Topology.UniformSpace.Equiv
#align_import topology.uniform_space.abstract_completion from "leanprover-community/mathlib"@"dc6c365e751e34d100e80fe6e314c3c3e0fd2988"
noncomputable section
attribute [local instance] Classical.propDecidable
open F... | Mathlib/Topology/UniformSpace/AbstractCompletion.lean | 158 | 161 | theorem extend_unique (hf : UniformContinuous f) {g : hatΞ± β Ξ²} (hg : UniformContinuous g)
(h : β a : Ξ±, f a = g (ΞΉ a)) : pkg.extend f = g := by |
apply pkg.funext pkg.continuous_extend hg.continuous
simpa only [pkg.extend_coe hf] using h
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,403 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 50 | 56 | theorem mk_eq_fun_of_mem_aeSeqSet (hf : β i, AEMeasurable (f i) ΞΌ) {x : Ξ±} (hx : x β aeSeqSet hf p)
(i : ΞΉ) : (hf i).mk (f i) x = f i x :=
haveI h_ss : aeSeqSet hf p β { x | β i, f i x = (hf i).mk (f i) x } := by |
rw [aeSeqSet, β compl_compl { x | β i, f i x = (hf i).mk (f i) x }, Set.compl_subset_compl]
refine Set.Subset.trans (Set.compl_subset_compl.mpr fun x h => ?_) (subset_toMeasurable _ _)
exact h.1
(h_ss hx i).symm
| 4 | 54.59815 | 2 | 1.333333 | 6 | 1,404 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 59 | 61 | theorem aeSeq_eq_mk_of_mem_aeSeqSet (hf : β i, AEMeasurable (f i) ΞΌ) {x : Ξ±}
(hx : x β aeSeqSet hf p) (i : ΞΉ) : aeSeq hf p i x = (hf i).mk (f i) x := by |
simp only [aeSeq, hx, if_true]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,404 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 64 | 66 | theorem aeSeq_eq_fun_of_mem_aeSeqSet (hf : β i, AEMeasurable (f i) ΞΌ) {x : Ξ±}
(hx : x β aeSeqSet hf p) (i : ΞΉ) : aeSeq hf p i x = f i x := by |
simp only [aeSeq_eq_mk_of_mem_aeSeqSet hf hx i, mk_eq_fun_of_mem_aeSeqSet hf hx i]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,404 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 69 | 78 | theorem prop_of_mem_aeSeqSet (hf : β i, AEMeasurable (f i) ΞΌ) {x : Ξ±} (hx : x β aeSeqSet hf p) :
p x fun n => aeSeq hf p n x := by |
simp only [aeSeq, hx, if_true]
rw [funext fun n => mk_eq_fun_of_mem_aeSeqSet hf hx n]
have h_ss : aeSeqSet hf p β { x | p x fun n => f n x } := by
rw [β compl_compl { x | p x fun n => f n x }, aeSeqSet, Set.compl_subset_compl]
refine Set.Subset.trans (Set.compl_subset_compl.mpr ?_) (subset_toMeasurable _... | 8 | 2,980.957987 | 2 | 1.333333 | 6 | 1,404 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 81 | 86 | theorem fun_prop_of_mem_aeSeqSet (hf : β i, AEMeasurable (f i) ΞΌ) {x : Ξ±} (hx : x β aeSeqSet hf p) :
p x fun n => f n x := by |
have h_eq : (fun n => f n x) = fun n => aeSeq hf p n x :=
funext fun n => (aeSeq_eq_fun_of_mem_aeSeqSet hf hx n).symm
rw [h_eq]
exact prop_of_mem_aeSeqSet hf hx
| 4 | 54.59815 | 2 | 1.333333 | 6 | 1,404 |
import Mathlib.MeasureTheory.MeasurableSpace.Basic
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
#align_import measure_theory.function.ae_measurable_sequence from "leanprover-community/mathlib"@"d003c55042c3cd08aefd1ae9a42ef89441cdaaf3"
open MeasureTheory
open scoped Classical
variable {ΞΉ : Sort*} {Ξ± Ξ² Ξ³... | Mathlib/MeasureTheory/Function/AEMeasurableSequence.lean | 100 | 105 | theorem measure_compl_aeSeqSet_eq_zero [Countable ΞΉ] (hf : β i, AEMeasurable (f i) ΞΌ)
(hp : βα΅ x βΞΌ, p x fun n => f n x) : ΞΌ (aeSeqSet hf p)αΆ = 0 := by |
rw [aeSeqSet, compl_compl, measure_toMeasurable]
have hf_eq := fun i => (hf i).ae_eq_mk
simp_rw [Filter.EventuallyEq, β ae_all_iff] at hf_eq
exact Filter.Eventually.and hf_eq hp
| 4 | 54.59815 | 2 | 1.333333 | 6 | 1,404 |
import Mathlib.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adjunction.Evaluation
import Mathlib.Tactic.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adhesive
import Mathlib.CategoryTheory.Sites.ConcreteSheafification
#align_import category_theory.sites.subsheaf from "leanprover-community/mathl... | Mathlib/CategoryTheory/Sites/Subsheaf.lean | 110 | 113 | theorem Subpresheaf.homOfLe_ΞΉ {G G' : Subpresheaf F} (h : G β€ G') :
Subpresheaf.homOfLe h β« G'.ΞΉ = G.ΞΉ := by |
ext
rfl
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,405 |
import Mathlib.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adjunction.Evaluation
import Mathlib.Tactic.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adhesive
import Mathlib.CategoryTheory.Sites.ConcreteSheafification
#align_import category_theory.sites.subsheaf from "leanprover-community/mathl... | Mathlib/CategoryTheory/Sites/Subsheaf.lean | 122 | 130 | theorem Subpresheaf.eq_top_iff_isIso : G = β€ β IsIso G.ΞΉ := by |
constructor
Β· rintro rfl
infer_instance
Β· intro H
ext U x
apply iff_true_iff.mpr
rw [β IsIso.inv_hom_id_apply (G.ΞΉ.app U) x]
exact ((inv (G.ΞΉ.app U)) x).2
| 8 | 2,980.957987 | 2 | 1.333333 | 3 | 1,405 |
import Mathlib.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adjunction.Evaluation
import Mathlib.Tactic.CategoryTheory.Elementwise
import Mathlib.CategoryTheory.Adhesive
import Mathlib.CategoryTheory.Sites.ConcreteSheafification
#align_import category_theory.sites.subsheaf from "leanprover-community/mathl... | Mathlib/CategoryTheory/Sites/Subsheaf.lean | 146 | 149 | theorem Subpresheaf.lift_ΞΉ (f : F' βΆ F) (hf : β U x, f.app U x β G.obj U) :
G.lift f hf β« G.ΞΉ = f := by |
ext
rfl
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,405 |
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
#align_import analysis.special_functions.trigonometric.complex_deriv from "leanprover-community/mathlib"@"2c1d8ca2812b64f88992a5294ea3dba144755cd1"
noncomputable section
namespace Complex
open Set Filter
open scoped Real
| Mathlib/Analysis/SpecialFunctions/Trigonometric/ComplexDeriv.lean | 25 | 28 | theorem hasStrictDerivAt_tan {x : β} (h : cos x β 0) : HasStrictDerivAt tan (1 / cos x ^ 2) x := by |
convert (hasStrictDerivAt_sin x).div (hasStrictDerivAt_cos x) h using 1
rw_mod_cast [β sin_sq_add_cos_sq x]
ring
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,406 |
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
#align_import analysis.special_functions.trigonometric.complex_deriv from "leanprover-community/mathlib"@"2c1d8ca2812b64f88992a5294ea3dba144755cd1"
noncomputable section
namespace Complex
open Set Filter
open scoped Real
theorem hasStrictDerivAt_t... | Mathlib/Analysis/SpecialFunctions/Trigonometric/ComplexDeriv.lean | 37 | 44 | theorem tendsto_abs_tan_of_cos_eq_zero {x : β} (hx : cos x = 0) :
Tendsto (fun x => abs (tan x)) (π[β ] x) atTop := by |
simp only [tan_eq_sin_div_cos, β norm_eq_abs, norm_div]
have A : sin x β 0 := fun h => by simpa [*, sq] using sin_sq_add_cos_sq x
have B : Tendsto cos (π[β ] x) (π[β ] 0) :=
hx βΈ (hasDerivAt_cos x).tendsto_punctured_nhds (neg_ne_zero.2 A)
exact continuous_sin.continuousWithinAt.norm.mul_atTop (norm_pos_iff... | 6 | 403.428793 | 2 | 1.333333 | 3 | 1,406 |
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
#align_import analysis.special_functions.trigonometric.complex_deriv from "leanprover-community/mathlib"@"2c1d8ca2812b64f88992a5294ea3dba144755cd1"
noncomputable section
namespace Complex
open Set Filter
open scoped Real
theorem hasStrictDerivAt_t... | Mathlib/Analysis/SpecialFunctions/Trigonometric/ComplexDeriv.lean | 53 | 56 | theorem continuousAt_tan {x : β} : ContinuousAt tan x β cos x β 0 := by |
refine β¨fun hc hβ => ?_, fun h => (hasDerivAt_tan h).continuousAtβ©
exact not_tendsto_nhds_of_tendsto_atTop (tendsto_abs_tan_of_cos_eq_zero hβ) _
(hc.norm.tendsto.mono_left inf_le_left)
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,406 |
import Mathlib.NumberTheory.Padics.PadicNumbers
import Mathlib.RingTheory.DiscreteValuationRing.Basic
#align_import number_theory.padics.padic_integers from "leanprover-community/mathlib"@"f0c8bf9245297a541f468be517f1bde6195105e9"
open Padic Metric LocalRing
noncomputable section
open scoped Classical
def Pad... | Mathlib/NumberTheory/Padics/PadicIntegers.lean | 145 | 145 | theorem coe_eq_zero (z : β€_[p]) : (z : β_[p]) = 0 β z = 0 := by | rw [β coe_zero, Subtype.coe_inj]
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,407 |
import Mathlib.NumberTheory.Padics.PadicNumbers
import Mathlib.RingTheory.DiscreteValuationRing.Basic
#align_import number_theory.padics.padic_integers from "leanprover-community/mathlib"@"f0c8bf9245297a541f468be517f1bde6195105e9"
open Padic Metric LocalRing
noncomputable section
open scoped Classical
def Pad... | Mathlib/NumberTheory/Padics/PadicIntegers.lean | 343 | 353 | theorem exists_pow_neg_lt {Ξ΅ : β} (hΞ΅ : 0 < Ξ΅) : β k : β, (p : β) ^ (-(k : β€)) < Ξ΅ := by |
obtain β¨k, hkβ© := exists_nat_gt Ξ΅β»ΒΉ
use k
rw [β inv_lt_inv hΞ΅ (_root_.zpow_pos_of_pos _ _)]
Β· rw [zpow_neg, inv_inv, zpow_natCast]
apply lt_of_lt_of_le hk
norm_cast
apply le_of_lt
convert Nat.lt_pow_self _ _ using 1
exact hp.1.one_lt
Β· exact mod_cast hp.1.pos
| 10 | 22,026.465795 | 2 | 1.333333 | 3 | 1,407 |
import Mathlib.NumberTheory.Padics.PadicNumbers
import Mathlib.RingTheory.DiscreteValuationRing.Basic
#align_import number_theory.padics.padic_integers from "leanprover-community/mathlib"@"f0c8bf9245297a541f468be517f1bde6195105e9"
open Padic Metric LocalRing
noncomputable section
open scoped Classical
def Pad... | Mathlib/NumberTheory/Padics/PadicIntegers.lean | 356 | 360 | theorem exists_pow_neg_lt_rat {Ξ΅ : β} (hΞ΅ : 0 < Ξ΅) : β k : β, (p : β) ^ (-(k : β€)) < Ξ΅ := by |
obtain β¨k, hkβ© := @exists_pow_neg_lt p _ Ξ΅ (mod_cast hΞ΅)
use k
rw [show (p : β) = (p : β) by simp] at hk
exact mod_cast hk
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,407 |
import Mathlib.Algebra.MonoidAlgebra.Ideal
import Mathlib.Algebra.MvPolynomial.Division
#align_import ring_theory.mv_polynomial.ideal from "leanprover-community/mathlib"@"72c366d0475675f1309d3027d3d7d47ee4423951"
variable {Ο R : Type*}
namespace MvPolynomial
variable [CommSemiring R]
| Mathlib/RingTheory/MvPolynomial/Ideal.lean | 32 | 36 | theorem mem_ideal_span_monomial_image {x : MvPolynomial Ο R} {s : Set (Ο ββ β)} :
x β Ideal.span ((fun s => monomial s (1 : R)) '' s) β β xi β x.support, β si β s, si β€ xi := by |
refine AddMonoidAlgebra.mem_ideal_span_of'_image.trans ?_
simp_rw [le_iff_exists_add, add_comm]
rfl
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,408 |
import Mathlib.Algebra.MonoidAlgebra.Ideal
import Mathlib.Algebra.MvPolynomial.Division
#align_import ring_theory.mv_polynomial.ideal from "leanprover-community/mathlib"@"72c366d0475675f1309d3027d3d7d47ee4423951"
variable {Ο R : Type*}
namespace MvPolynomial
variable [CommSemiring R]
theorem mem_ideal_span_mo... | Mathlib/RingTheory/MvPolynomial/Ideal.lean | 39 | 43 | theorem mem_ideal_span_monomial_image_iff_dvd {x : MvPolynomial Ο R} {s : Set (Ο ββ β)} :
x β Ideal.span ((fun s => monomial s (1 : R)) '' s) β
β xi β x.support, β si β s, monomial si 1 β£ monomial xi (x.coeff xi) := by |
refine mem_ideal_span_monomial_image.trans (forallβ_congr fun xi hxi => ?_)
simp_rw [monomial_dvd_monomial, one_dvd, and_true_iff, mem_support_iff.mp hxi, false_or_iff]
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,408 |
import Mathlib.Algebra.MonoidAlgebra.Ideal
import Mathlib.Algebra.MvPolynomial.Division
#align_import ring_theory.mv_polynomial.ideal from "leanprover-community/mathlib"@"72c366d0475675f1309d3027d3d7d47ee4423951"
variable {Ο R : Type*}
namespace MvPolynomial
variable [CommSemiring R]
theorem mem_ideal_span_mo... | Mathlib/RingTheory/MvPolynomial/Ideal.lean | 48 | 54 | theorem mem_ideal_span_X_image {x : MvPolynomial Ο R} {s : Set Ο} :
x β Ideal.span (MvPolynomial.X '' s : Set (MvPolynomial Ο R)) β
β m β x.support, β i β s, (m : Ο ββ β) i β 0 := by |
have := @mem_ideal_span_monomial_image Ο R _ x ((fun i => Finsupp.single i 1) '' s)
rw [Set.image_image] at this
refine this.trans ?_
simp [Nat.one_le_iff_ne_zero]
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,408 |
import Mathlib.Algebra.Field.Subfield
import Mathlib.Algebra.GroupWithZero.Divisibility
import Mathlib.Topology.Algebra.GroupWithZero
import Mathlib.Topology.Algebra.Ring.Basic
import Mathlib.Topology.Order.LocalExtr
#align_import topology.algebra.field from "leanprover-community/mathlib"@"c10e724be91096453ee3db13862... | Mathlib/Topology/Algebra/Field.lean | 112 | 114 | theorem IsLocalMin.inv {f : Ξ± β Ξ²} {a : Ξ±} (h1 : IsLocalMin f a) (h2 : βαΆ z in π a, 0 < f z) :
IsLocalMax fβ»ΒΉ a := by |
filter_upwards [h1, h2] with z h3 h4 using(inv_le_inv h4 h2.self_of_nhds).mpr h3
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,409 |
import Mathlib.Algebra.Field.Subfield
import Mathlib.Algebra.GroupWithZero.Divisibility
import Mathlib.Topology.Algebra.GroupWithZero
import Mathlib.Topology.Algebra.Ring.Basic
import Mathlib.Topology.Order.LocalExtr
#align_import topology.algebra.field from "leanprover-community/mathlib"@"c10e724be91096453ee3db13862... | Mathlib/Topology/Algebra/Field.lean | 130 | 136 | theorem IsPreconnected.eq_one_or_eq_neg_one_of_sq_eq [Ring π] [NoZeroDivisors π]
(hS : IsPreconnected S) (hf : ContinuousOn f S) (hsq : EqOn (f ^ 2) 1 S) :
EqOn f 1 S β¨ EqOn f (-1) S := by |
have : DiscreteTopology ({1, -1} : Set π) := discrete_of_t1_of_finite
have hmaps : MapsTo f S {1, -1} := by
simpa only [EqOn, Pi.one_apply, Pi.pow_apply, sq_eq_one_iff] using hsq
simpa using hS.eqOn_const_of_mapsTo hf hmaps
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,409 |
import Mathlib.Algebra.Field.Subfield
import Mathlib.Algebra.GroupWithZero.Divisibility
import Mathlib.Topology.Algebra.GroupWithZero
import Mathlib.Topology.Algebra.Ring.Basic
import Mathlib.Topology.Order.LocalExtr
#align_import topology.algebra.field from "leanprover-community/mathlib"@"c10e724be91096453ee3db13862... | Mathlib/Topology/Algebra/Field.lean | 142 | 149 | theorem IsPreconnected.eq_or_eq_neg_of_sq_eq [Field π] [HasContinuousInvβ π] [ContinuousMul π]
(hS : IsPreconnected S) (hf : ContinuousOn f S) (hg : ContinuousOn g S)
(hsq : EqOn (f ^ 2) (g ^ 2) S) (hg_ne : β {x : Ξ±}, x β S β g x β 0) :
EqOn f g S β¨ EqOn f (-g) S := by |
have hsq : EqOn ((f / g) ^ 2) 1 S := fun x hx => by
simpa [div_eq_one_iff_eq (pow_ne_zero _ (hg_ne hx))] using hsq hx
simpa (config := { contextual := true }) [EqOn, div_eq_iff (hg_ne _)]
using hS.eq_one_or_eq_neg_one_of_sq_eq (hf.div hg fun z => hg_ne) hsq
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,409 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 174 | 176 | theorem card [NeZero n] : Fintype.card (QuaternionGroup n) = 4 * n := by |
rw [β Fintype.card_eq.mpr β¨fintypeHelperβ©, Fintype.card_sum, ZMod.card, two_mul]
ring
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,410 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 180 | 185 | theorem a_one_pow (k : β) : (a 1 : QuaternionGroup n) ^ k = a k := by |
induction' k with k IH
Β· rw [Nat.cast_zero]; rfl
Β· rw [pow_succ, IH, a_mul_a]
congr 1
norm_cast
| 5 | 148.413159 | 2 | 1.333333 | 6 | 1,410 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 189 | 192 | theorem a_one_pow_n : (a 1 : QuaternionGroup n) ^ (2 * n) = 1 := by |
rw [a_one_pow, one_def]
congr 1
exact ZMod.natCast_self _
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,410 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 196 | 196 | theorem xa_sq (i : ZMod (2 * n)) : xa i ^ 2 = a n := by | simp [sq]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,410 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 200 | 205 | theorem xa_pow_four (i : ZMod (2 * n)) : xa i ^ 4 = 1 := by |
rw [pow_succ, pow_succ, sq, xa_mul_xa, a_mul_xa, xa_mul_xa,
add_sub_cancel_right, add_sub_assoc, sub_sub_cancel]
norm_cast
rw [β two_mul]
simp [one_def]
| 5 | 148.413159 | 2 | 1.333333 | 6 | 1,410 |
import Mathlib.Data.ZMod.Basic
import Mathlib.Algebra.Group.Nat
import Mathlib.Tactic.IntervalCases
import Mathlib.GroupTheory.SpecificGroups.Dihedral
import Mathlib.GroupTheory.SpecificGroups.Cyclic
#align_import group_theory.specific_groups.quaternion from "leanprover-community/mathlib"@"879155bff5af618b9062cbb2915... | Mathlib/GroupTheory/SpecificGroups/Quaternion.lean | 211 | 222 | theorem orderOf_xa [NeZero n] (i : ZMod (2 * n)) : orderOf (xa i) = 4 := by |
change _ = 2 ^ 2
haveI : Fact (Nat.Prime 2) := Fact.mk Nat.prime_two
apply orderOf_eq_prime_pow
Β· intro h
simp only [pow_one, xa_sq] at h
injection h with h'
apply_fun ZMod.val at h'
apply_fun (Β· / n) at h'
simp only [ZMod.val_natCast, ZMod.val_zero, Nat.zero_div, Nat.mod_mul_left_div_self,... | 11 | 59,874.141715 | 2 | 1.333333 | 6 | 1,410 |
import Mathlib.Algebra.Group.Defs
import Mathlib.Logic.Relation
#align_import algebra.homology.complex_shape from "leanprover-community/mathlib"@"c4658a649d216f57e99621708b09dcb3dcccbd23"
noncomputable section
open scoped Classical
@[ext]
structure ComplexShape (ΞΉ : Type*) where
Rel : ΞΉ β ΞΉ β Prop
nex... | Mathlib/Algebra/Homology/ComplexShape.lean | 100 | 102 | theorem symm_symm (c : ComplexShape ΞΉ) : c.symm.symm = c := by |
ext
simp
| 2 | 7.389056 | 1 | 1.333333 | 3 | 1,411 |
import Mathlib.Algebra.Group.Defs
import Mathlib.Logic.Relation
#align_import algebra.homology.complex_shape from "leanprover-community/mathlib"@"c4658a649d216f57e99621708b09dcb3dcccbd23"
noncomputable section
open scoped Classical
@[ext]
structure ComplexShape (ΞΉ : Type*) where
Rel : ΞΉ β ΞΉ β Prop
nex... | Mathlib/Algebra/Homology/ComplexShape.lean | 154 | 158 | theorem next_eq' (c : ComplexShape ΞΉ) {i j : ΞΉ} (h : c.Rel i j) : c.next i = j := by |
apply c.next_eq _ h
rw [next]
rw [dif_pos]
exact Exists.choose_spec β¨j, hβ©
| 4 | 54.59815 | 2 | 1.333333 | 3 | 1,411 |
import Mathlib.Algebra.Group.Defs
import Mathlib.Logic.Relation
#align_import algebra.homology.complex_shape from "leanprover-community/mathlib"@"c4658a649d216f57e99621708b09dcb3dcccbd23"
noncomputable section
open scoped Classical
@[ext]
structure ComplexShape (ΞΉ : Type*) where
Rel : ΞΉ β ΞΉ β Prop
nex... | Mathlib/Algebra/Homology/ComplexShape.lean | 161 | 164 | theorem prev_eq' (c : ComplexShape ΞΉ) {i j : ΞΉ} (h : c.Rel i j) : c.prev j = i := by |
apply c.prev_eq _ h
rw [prev, dif_pos]
exact Exists.choose_spec (β¨i, hβ© : β k, c.Rel k j)
| 3 | 20.085537 | 1 | 1.333333 | 3 | 1,411 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 54 | 58 | theorem IicSnd_apply (r : β) {s : Set Ξ±} (hs : MeasurableSet s) :
Ο.IicSnd r s = Ο (s ΓΛ’ Iic r) := by |
rw [IicSnd, fst_apply hs,
restrict_apply' (MeasurableSet.univ.prod (measurableSet_Iic : MeasurableSet (Iic r))), β
prod_univ, prod_inter_prod, inter_univ, univ_inter]
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,412 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 65 | 69 | theorem IicSnd_mono {r r' : β} (h_le : r β€ r') : Ο.IicSnd r β€ Ο.IicSnd r' := by |
refine Measure.le_iff.2 fun s hs β¦ ?_
simp_rw [IicSnd_apply Ο _ hs]
refine measure_mono (prod_subset_prod_iff.mpr (Or.inl β¨subset_rfl, Iic_subset_Iic.mpr ?_β©))
exact mod_cast h_le
| 4 | 54.59815 | 2 | 1.333333 | 6 | 1,412 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 72 | 75 | theorem IicSnd_le_fst (r : β) : Ο.IicSnd r β€ Ο.fst := by |
refine Measure.le_iff.2 fun s hs β¦ ?_
simp_rw [fst_apply hs, IicSnd_apply Ο r hs]
exact measure_mono (prod_subset_preimage_fst _ _)
| 3 | 20.085537 | 1 | 1.333333 | 6 | 1,412 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 87 | 89 | theorem iInf_IicSnd_gt (t : β) {s : Set Ξ±} (hs : MeasurableSet s) [IsFiniteMeasure Ο] :
β¨
r : { r' : β // t < r' }, Ο.IicSnd r s = Ο.IicSnd t s := by |
simp_rw [Ο.IicSnd_apply _ hs, Measure.iInf_rat_gt_prod_Iic hs]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,412 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 92 | 99 | theorem tendsto_IicSnd_atTop {s : Set Ξ±} (hs : MeasurableSet s) :
Tendsto (fun r : β β¦ Ο.IicSnd r s) atTop (π (Ο.fst s)) := by |
simp_rw [Ο.IicSnd_apply _ hs, fst_apply hs, β prod_univ]
rw [β Real.iUnion_Iic_rat, prod_iUnion]
refine tendsto_measure_iUnion fun r q hr_le_q x β¦ ?_
simp only [mem_prod, mem_Iic, and_imp]
refine fun hxs hxr β¦ β¨hxs, hxr.trans ?_β©
exact mod_cast hr_le_q
| 6 | 403.428793 | 2 | 1.333333 | 6 | 1,412 |
import Mathlib.MeasureTheory.Decomposition.RadonNikodym
import Mathlib.Probability.Kernel.Disintegration.CdfToKernel
#align_import probability.kernel.cond_cdf from "leanprover-community/mathlib"@"3b88f4005dc2e28d42f974cc1ce838f0dafb39b8"
open MeasureTheory Set Filter TopologicalSpace
open scoped NNReal ENNReal Me... | Mathlib/Probability/Kernel/Disintegration/CondCdf.lean | 102 | 124 | theorem tendsto_IicSnd_atBot [IsFiniteMeasure Ο] {s : Set Ξ±} (hs : MeasurableSet s) :
Tendsto (fun r : β β¦ Ο.IicSnd r s) atBot (π 0) := by |
simp_rw [Ο.IicSnd_apply _ hs]
have h_empty : Ο (s ΓΛ’ β
) = 0 := by simp only [prod_empty, measure_empty]
rw [β h_empty, β Real.iInter_Iic_rat, prod_iInter]
suffices h_neg :
Tendsto (fun r : β β¦ Ο (s ΓΛ’ Iic β(-r))) atTop (π (Ο (β r : β, s ΓΛ’ Iic β(-r)))) by
have h_inter_eq : β r : β, s ΓΛ’ Iic β(-r) = ... | 21 | 1,318,815,734.483215 | 2 | 1.333333 | 6 | 1,412 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 86 | 89 | theorem toFinsupp_nil [DecidablePred fun i => getD ([] : List M) i 0 β 0] :
toFinsupp ([] : List M) = 0 := by |
ext
simp
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,413 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 92 | 94 | theorem toFinsupp_singleton (x : M) [DecidablePred (getD [x] Β· 0 β 0)] :
toFinsupp [x] = Finsupp.single 0 x := by |
ext β¨_ | iβ© <;> simp [Finsupp.single_apply, (Nat.zero_lt_succ _).ne]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,413 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 111 | 126 | theorem toFinsupp_append {R : Type*} [AddZeroClass R] (lβ lβ : List R)
[DecidablePred (getD (lβ ++ lβ) Β· 0 β 0)] [DecidablePred (getD lβ Β· 0 β 0)]
[DecidablePred (getD lβ Β· 0 β 0)] :
toFinsupp (lβ ++ lβ) =
toFinsupp lβ + (toFinsupp lβ).embDomain (addLeftEmbedding lβ.length) := by |
ext n
simp only [toFinsupp_apply, Finsupp.add_apply]
cases lt_or_le n lβ.length with
| inl h =>
rw [getD_append _ _ _ _ h, Finsupp.embDomain_notin_range, add_zero]
rintro β¨k, rfl : length lβ + k = nβ©
omega
| inr h =>
rcases Nat.exists_eq_add_of_le h with β¨k, rflβ©
rw [getD_append_right _ _... | 11 | 59,874.141715 | 2 | 1.333333 | 6 | 1,413 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 128 | 136 | theorem toFinsupp_cons_eq_single_add_embDomain {R : Type*} [AddZeroClass R] (x : R) (xs : List R)
[DecidablePred (getD (x::xs) Β· 0 β 0)] [DecidablePred (getD xs Β· 0 β 0)] :
toFinsupp (x::xs) =
Finsupp.single 0 x + (toFinsupp xs).embDomain β¨Nat.succ, Nat.succ_injectiveβ© := by |
classical
convert toFinsupp_append [x] xs using 3
Β· exact (toFinsupp_singleton x).symm
Β· ext n
exact add_comm n 1
| 5 | 148.413159 | 2 | 1.333333 | 6 | 1,413 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 139 | 143 | theorem toFinsupp_concat_eq_toFinsupp_add_single {R : Type*} [AddZeroClass R] (x : R) (xs : List R)
[DecidablePred fun i => getD (xs ++ [x]) i 0 β 0] [DecidablePred fun i => getD xs i 0 β 0] :
toFinsupp (xs ++ [x]) = toFinsupp xs + Finsupp.single xs.length x := by |
classical rw [toFinsupp_append, toFinsupp_singleton, Finsupp.embDomain_single,
addLeftEmbedding_apply, add_zero]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,413 |
import Mathlib.Data.Finsupp.Defs
#align_import data.list.to_finsupp from "leanprover-community/mathlib"@"06a655b5fcfbda03502f9158bbf6c0f1400886f9"
namespace List
variable {M : Type*} [Zero M] (l : List M) [DecidablePred (getD l Β· 0 β 0)] (n : β)
def toFinsupp : β ββ M where
toFun i := getD l i 0
support := ... | Mathlib/Data/List/ToFinsupp.lean | 147 | 156 | theorem toFinsupp_eq_sum_map_enum_single {R : Type*} [AddMonoid R] (l : List R)
[DecidablePred (getD l Β· 0 β 0)] :
toFinsupp l = (l.enum.map fun nr : β Γ R => Finsupp.single nr.1 nr.2).sum := by |
/- Porting note (#11215): TODO: `induction` fails to substitute `l = []` in
`[DecidablePred (getD l Β· 0 β 0)]`, so we manually do some `revert`/`intro` as a workaround -/
revert l; intro l
induction l using List.reverseRecOn with
| nil => exact toFinsupp_nil
| append_singleton x xs ih =>
classical simp... | 7 | 1,096.633158 | 2 | 1.333333 | 6 | 1,413 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 55 | 69 | theorem traceAux_eq : traceAux R b = traceAux R c :=
LinearMap.ext fun f =>
calc
Matrix.trace (LinearMap.toMatrix b b f) =
Matrix.trace (LinearMap.toMatrix b b ((LinearMap.id.comp f).comp LinearMap.id)) := by |
rw [LinearMap.id_comp, LinearMap.comp_id]
_ = Matrix.trace (LinearMap.toMatrix c b LinearMap.id * LinearMap.toMatrix c c f *
LinearMap.toMatrix b c LinearMap.id) := by
rw [LinearMap.toMatrix_comp _ c, LinearMap.toMatrix_comp _ c]
_ = Matrix.trace (LinearMap.toMatrix c c f * Linear... | 10 | 22,026.465795 | 2 | 1.333333 | 6 | 1,414 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 84 | 89 | theorem trace_eq_matrix_trace_of_finset {s : Finset M} (b : Basis s R M) (f : M ββ[R] M) :
trace R M f = Matrix.trace (LinearMap.toMatrix b b f) := by |
have : β s : Finset M, Nonempty (Basis s R M) := β¨s, β¨bβ©β©
rw [trace, dif_pos this, β traceAux_def]
congr 1
apply traceAux_eq
| 4 | 54.59815 | 2 | 1.333333 | 6 | 1,414 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 92 | 95 | theorem trace_eq_matrix_trace (f : M ββ[R] M) :
trace R M f = Matrix.trace (LinearMap.toMatrix b b f) := by |
rw [trace_eq_matrix_trace_of_finset R b.reindexFinsetRange, β traceAux_def, β traceAux_def,
traceAux_eq R b b.reindexFinsetRange]
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,414 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 116 | 119 | theorem trace_conj (g : M ββ[R] M) (f : (M ββ[R] M)Λ£) :
trace R M (βf * g * βfβ»ΒΉ) = trace R M g := by |
rw [trace_mul_comm]
simp
| 2 | 7.389056 | 1 | 1.333333 | 6 | 1,414 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 138 | 150 | theorem trace_eq_contract_of_basis [Finite ΞΉ] (b : Basis ΞΉ R M) :
LinearMap.trace R M ββ dualTensorHom R M M = contractLeft R M := by |
classical
cases nonempty_fintype ΞΉ
apply Basis.ext (Basis.tensorProduct (Basis.dualBasis b) b)
rintro β¨i, jβ©
simp only [Function.comp_apply, Basis.tensorProduct_apply, Basis.coe_dualBasis, coe_comp]
rw [trace_eq_matrix_trace R b, toMatrix_dualTensorHom]
by_cases hij : i = j
Β· rw [hij]
... | 11 | 59,874.141715 | 2 | 1.333333 | 6 | 1,414 |
import Mathlib.LinearAlgebra.Contraction
import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
#align_import linear_algebra.trace from "leanprover-community/mathlib"@"4cf7ca0e69e048b006674cf4499e5c7d296a89e0"
noncomputable section
universe u v w
namespace LinearMap
open Matrix
open FiniteDimensional
open Tensor... | Mathlib/LinearAlgebra/Trace.lean | 155 | 157 | theorem trace_eq_contract_of_basis' [Fintype ΞΉ] [DecidableEq ΞΉ] (b : Basis ΞΉ R M) :
LinearMap.trace R M = contractLeft R M ββ (dualTensorHomEquivOfBasis b).symm.toLinearMap := by |
simp [LinearEquiv.eq_comp_toLinearMap_symm, trace_eq_contract_of_basis b]
| 1 | 2.718282 | 0 | 1.333333 | 6 | 1,414 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 47 | 50 | theorem MellinConvergent.const_smul {f : β β E} {s : β} (hf : MellinConvergent f s) {π : Type*}
[NontriviallyNormedField π] [NormedSpace π E] [SMulCommClass β π E] (c : π) :
MellinConvergent (fun t => c β’ f t) s := by |
simpa only [MellinConvergent, smul_comm] using hf.smul c
| 1 | 2.718282 | 0 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 53 | 56 | theorem MellinConvergent.cpow_smul {f : β β E} {s a : β} :
MellinConvergent (fun t => (t : β) ^ a β’ f t) s β MellinConvergent f (s + a) := by |
refine integrableOn_congr_fun (fun t ht => ?_) measurableSet_Ioi
simp_rw [β sub_add_eq_add_sub, cpow_add _ _ (ofReal_ne_zero.2 <| ne_of_gt ht), mul_smul]
| 2 | 7.389056 | 1 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 64 | 75 | theorem MellinConvergent.comp_mul_left {f : β β E} {s : β} {a : β} (ha : 0 < a) :
MellinConvergent (fun t => f (a * t)) s β MellinConvergent f s := by |
have := integrableOn_Ioi_comp_mul_left_iff (fun t : β => (t : β) ^ (s - 1) β’ f t) 0 ha
rw [mul_zero] at this
have h1 : EqOn (fun t : β => (β(a * t) : β) ^ (s - 1) β’ f (a * t))
((a : β) ^ (s - 1) β’ fun t : β => (t : β) ^ (s - 1) β’ f (a * t)) (Ioi 0) := fun t ht β¦ by
simp only [ofReal_mul, mul_cpow_ofRea... | 10 | 22,026.465795 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 78 | 87 | theorem MellinConvergent.comp_rpow {f : β β E} {s : β} {a : β} (ha : a β 0) :
MellinConvergent (fun t => f (t ^ a)) s β MellinConvergent f (s / a) := by |
refine Iff.trans ?_ (integrableOn_Ioi_comp_rpow_iff' _ ha)
rw [MellinConvergent]
refine integrableOn_congr_fun (fun t ht => ?_) measurableSet_Ioi
dsimp only [Pi.smul_apply]
rw [β Complex.coe_smul (t ^ (a - 1)), β mul_smul, β cpow_mul_ofReal_nonneg (le_of_lt ht),
ofReal_cpow (le_of_lt ht), β cpow_add _ _ ... | 8 | 2,980.957987 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 106 | 109 | theorem mellin_cpow_smul (f : β β E) (s a : β) :
mellin (fun t => (t : β) ^ a β’ f t) s = mellin f (s + a) := by |
refine setIntegral_congr measurableSet_Ioi fun t ht => ?_
simp_rw [β sub_add_eq_add_sub, cpow_add _ _ (ofReal_ne_zero.2 <| ne_of_gt ht), mul_smul]
| 2 | 7.389056 | 1 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 112 | 114 | theorem mellin_const_smul (f : β β E) (s : β) {π : Type*} [NontriviallyNormedField π]
[NormedSpace π E] [SMulCommClass β π E] (c : π) :
mellin (fun t => c β’ f t) s = c β’ mellin f s := by | simp only [mellin, smul_comm, integral_smul]
| 1 | 2.718282 | 0 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 117 | 118 | theorem mellin_div_const (f : β β β) (s a : β) : mellin (fun t => f t / a) s = mellin f s / a := by |
simp_rw [mellin, smul_eq_mul, β mul_div_assoc, integral_div]
| 1 | 2.718282 | 0 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 196 | 205 | theorem mellin_convergent_iff_norm [NormedSpace β E] {f : β β E} {T : Set β} (hT : T β Ioi 0)
(hT' : MeasurableSet T) (hfc : AEStronglyMeasurable f <| volume.restrict <| Ioi 0) {s : β} :
IntegrableOn (fun t : β => (t : β) ^ (s - 1) β’ f t) T β
IntegrableOn (fun t : β => t ^ (s.re - 1) * βf tβ) T := by |
have : AEStronglyMeasurable (fun t : β => (t : β) ^ (s - 1) β’ f t) (volume.restrict T) := by
refine ((ContinuousAt.continuousOn ?_).aestronglyMeasurable hT').smul (hfc.mono_set hT)
exact fun t ht => continuousAt_ofReal_cpow_const _ _ (Or.inr <| ne_of_gt (hT ht))
rw [IntegrableOn, β integrable_norm_iff this... | 6 | 403.428793 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 210 | 231 | theorem mellin_convergent_top_of_isBigO {f : β β β}
(hfc : AEStronglyMeasurable f <| volume.restrict (Ioi 0)) {a s : β}
(hf : f =O[atTop] (Β· ^ (-a))) (hs : s < a) :
β c : β, 0 < c β§ IntegrableOn (fun t : β => t ^ (s - 1) * f t) (Ioi c) := by |
obtain β¨d, hd'β© := hf.isBigOWith
simp_rw [IsBigOWith, eventually_atTop] at hd'
obtain β¨e, heβ© := hd'
have he' : 0 < max e 1 := zero_lt_one.trans_le (le_max_right _ _)
refine β¨max e 1, he', ?_, ?_β©
Β· refine AEStronglyMeasurable.mul ?_ (hfc.mono_set (Ioi_subset_Ioi he'.le))
refine (ContinuousAt.continuou... | 18 | 65,659,969.137331 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 237 | 264 | theorem mellin_convergent_zero_of_isBigO {b : β} {f : β β β}
(hfc : AEStronglyMeasurable f <| volume.restrict (Ioi 0))
(hf : f =O[π[>] 0] (Β· ^ (-b))) {s : β} (hs : b < s) :
β c : β, 0 < c β§ IntegrableOn (fun t : β => t ^ (s - 1) * f t) (Ioc 0 c) := by |
obtain β¨d, _, hd'β© := hf.exists_pos
simp_rw [IsBigOWith, eventually_nhdsWithin_iff, Metric.eventually_nhds_iff, gt_iff_lt] at hd'
obtain β¨Ξ΅, hΞ΅, hΞ΅'β© := hd'
refine β¨Ξ΅, hΞ΅, integrableOn_Ioc_iff_integrableOn_Ioo.mpr β¨?_, ?_β©β©
Β· refine AEStronglyMeasurable.mul ?_ (hfc.mono_set Ioo_subset_Ioi_self)
refine (C... | 24 | 26,489,122,129.84347 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 304 | 312 | theorem isBigO_rpow_top_log_smul [NormedSpace β E] {a b : β} {f : β β E} (hab : b < a)
(hf : f =O[atTop] (Β· ^ (-a))) :
(fun t : β => log t β’ f t) =O[atTop] (Β· ^ (-b)) := by |
refine
((isLittleO_log_rpow_atTop (sub_pos.mpr hab)).isBigO.smul hf).congr'
(eventually_of_forall fun t => by rfl)
((eventually_gt_atTop 0).mp (eventually_of_forall fun t ht => ?_))
simp only
rw [smul_eq_mul, β rpow_add ht, β sub_eq_add_neg, sub_eq_add_neg a, add_sub_cancel_left]
| 6 | 403.428793 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.Calculus.ParametricIntegral
import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
#align_import analysis.mellin_transform from "leanprover-community/mathlib"@"917c3c072e487b3cccdbfeff17e75b40e45f66cb"
open MeasureTheory Set Filter A... | Mathlib/Analysis/MellinTransform.lean | 317 | 332 | theorem isBigO_rpow_zero_log_smul [NormedSpace β E] {a b : β} {f : β β E} (hab : a < b)
(hf : f =O[π[>] 0] (Β· ^ (-a))) :
(fun t : β => log t β’ f t) =O[π[>] 0] (Β· ^ (-b)) := by |
have : log =o[π[>] 0] fun t : β => t ^ (a - b) := by
refine ((isLittleO_log_rpow_atTop (sub_pos.mpr hab)).neg_left.comp_tendsto
tendsto_inv_zero_atTop).congr'
(eventually_nhdsWithin_iff.mpr <| eventually_of_forall fun t ht => ?_)
(eventually_nhdsWithin_iff.mpr <| eventually_of_forall fun t... | 13 | 442,413.392009 | 2 | 1.333333 | 12 | 1,415 |
import Mathlib.NumberTheory.Liouville.Basic
#align_import number_theory.liouville.liouville_number from "leanprover-community/mathlib"@"04e80bb7e8510958cd9aacd32fe2dc147af0b9f1"
noncomputable section
open scoped Nat
open Real Finset
def liouvilleNumber (m : β) : β :=
β' i : β, 1 / m ^ i !
#align liouville_n... | Mathlib/NumberTheory/Liouville/LiouvilleNumber.lean | 84 | 86 | theorem remainder_summable {m : β} (hm : 1 < m) (k : β) :
Summable fun i : β => 1 / m ^ (i + (k + 1))! := by |
convert (summable_nat_add_iff (k + 1)).2 (LiouvilleNumber.summable hm)
| 1 | 2.718282 | 0 | 1.333333 | 3 | 1,416 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.