module
stringlengths
16
90
startPos
dict
endPos
dict
goals
listlengths
0
96
ppTac
stringlengths
1
14.5k
elaborator
stringclasses
366 values
kind
stringclasses
370 values
Mathlib.NumberTheory.ClassNumber.Finite
{ "line": 248, "column": 2 }
{ "line": 251, "column": 23 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝⁸ : EuclideanDomain R\ninst✝⁷ : CommRing S\ninst✝⁶ : IsDomain S\ninst✝⁵ : Algebra R S\nabv : AbsoluteValue R ℤ\nι : Type u_5\ninst✝⁴ : DecidableEq ι\ninst✝³ : Fintype ι\nbS : Basis ι R S\nadm : abv.IsAdmissible\ninst✝² : Infinite R\ninst✝¹ : DecidableEq R\ninst✝ : Algeb...
refine lt_of_le_of_lt (le_of_eq ?_) (mul_lt_mul hqr le_rfl (abv.pos ((Algebra.norm_ne_zero_iff_of_basis bS).mpr hb)) (abv.nonneg _))
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 132, "column": 2 }
{ "line": 132, "column": 13 }
[ { "pp": "p : ℕ\nhp_prime : Fact (Nat.Prime p)\nn : ℕ\nx : ℤ_[p]\na b : ℕ\nha : x - ↑a ∈ Ideal.span {↑p ^ n}\nhb : x - ↑b ∈ Ideal.span {↑p ^ n}\n⊢ ↑a = ↑b", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 142, "column": 2 }
{ "line": 142, "column": 37 }
[ { "pp": "p : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nm n : ℕ\nhm : x - ↑m ∈ Ideal.span {↑p}\nhn : x - ↑n ∈ Ideal.span {↑p}\nthis : ↑↑m = ↑↑n\n⊢ ↑m = ↑n", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 164, "column": 2 }
{ "line": 164, "column": 13 }
[ { "pp": "case h.right\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nr : ℚ\nhr : ‖↑x - ↑r‖ < 1\nH : ‖↑r‖ ≤ 1\nn : ℕ\nhnp : ↑n < ↑p\nhn : ‖↑r - ↑↑↑n‖ < 1\n⊢ ‖↑r - ↑n‖ < 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 323, "column": 2 }
{ "line": 323, "column": 29 }
[ { "pp": "case h.e'_5.h.e'_6.h\np' : ℕ\nhp_prime : Fact (Nat.Prime (0 + p' + 1))\nx : ℤ_[0 + p' + 1]\n⊢ x.zmodRepr < (0 + p').succ", "usedConstants": [ "Eq.mpr", "PadicInt.zmodRepr", "congrArg", "AddMonoid.toAddZeroClass", "Nat.instAddMonoid", "id", "instOfNatNat", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 330, "column": 4 }
{ "line": 330, "column": 50 }
[ { "pp": "case h.mp\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nh : toZMod x = 0\n⊢ x ∈ maximalIdeal ℤ_[p]", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 341, "column": 45 }
{ "line": 341, "column": 56 }
[ { "pp": "p : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\n⊢ x - ↑(toZMod x).val ∈ maximalIdeal ℤ_[p]", "usedConstants": [ "NormedCommRing.toNormedRing", "Eq.mpr", "Nat.instMulZeroClass", "mem_nonunits_iff._simp_1", "Semiring.toModule", "NormedRing.toRing", "LinearOr...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.FunctionField
{ "line": 121, "column": 2 }
{ "line": 122, "column": 39 }
[ { "pp": "F : Type u_1\nK : Type u_2\ninst✝⁴ : Field F\ninst✝³ : Field K\ninst✝² : Algebra F[X] K\ninst✝¹ : Algebra F⟮X⟯ K\ninst✝ : IsScalarTower F[X] F⟮X⟯ K\n⊢ ¬IsField ↥(ringOfIntegers F K)", "usedConstants": [ "Subalgebra.instSetLike", "Eq.mpr", "IsIntegralClosure.isIntegral_algebra", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 454, "column": 8 }
{ "line": 454, "column": 19 }
[ { "pp": "case ha\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nr : ℚ\nx✝ : ℤ_[p]\nn : ℕ\nx : ℤ_[p]\na b : ℕ\nha : x - ↑a ∈ Ideal.span {↑(p ^ n)}\nhb : x - ↑b ∈ Ideal.span {↑(p ^ n)}\n⊢ x - ↑a ∈ Ideal.span {↑p ^ n}", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 455, "column": 8 }
{ "line": 455, "column": 19 }
[ { "pp": "case hb\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nr : ℚ\nx✝ : ℤ_[p]\nn : ℕ\nx : ℤ_[p]\na b : ℕ\nha : x - ↑a ∈ Ideal.span {↑(p ^ n)}\nhb : x - ↑b ∈ Ideal.span {↑(p ^ n)}\n⊢ x - ↑b ∈ Ideal.span {↑p ^ n}", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 484, "column": 6 }
{ "line": 484, "column": 42 }
[ { "pp": "case h.h\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nm n : ℕ\nh : m ≤ n\nx : ℤ_[p]\n⊢ (↑(x.appr n)).cast = 0 ↔ ↑(x.appr m) = 0", "usedConstants": [ "Eq.mpr", "ZMod.cast", "ZMod.commRing", "congrArg", "CommSemiring.toSemiring", "Nat.instMonoid", "AddGroupWithOne....
ZMod.cast_natCast (pow_dvd_pow p h),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 477, "column": 98 }
{ "line": 491, "column": 71 }
[ { "pp": "p : ℕ\nhp_prime : Fact (Nat.Prime p)\nm n : ℕ\nh : m ≤ n\n⊢ (ZMod.castHom ⋯ (ZMod (p ^ m))).comp (toZModPow n) = toZModPow m", "usedConstants": [ "PadicInt.toZModHom._proof_2", "NormedCommRing.toNormedRing", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "RingHom...
by apply ZMod.ringHom_eq_of_ker_eq ext x rw [RingHom.mem_ker, RingHom.mem_ker] simp only [Function.comp_apply, ZMod.castHom_apply, RingHom.coe_comp] simp only [toZModPow, toZModHom, RingHom.coe_mk] dsimp rw [ZMod.cast_natCast (pow_dvd_pow p h), zmod_congr_of_sub_mem_span m (x.appr n) (x.appr n) (x.app...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.Cyclotomic.CyclotomicCharacter
{ "line": 88, "column": 2 }
{ "line": 88, "column": 13 }
[ { "pp": "L : Type u\ninst✝² : CommRing L\ninst✝¹ : IsDomain L\nn : ℕ\ninst✝ : NeZero n\ng : L ≃+* L\n⊢ ∃ m, ∀ t ∈ rootsOfUnity n L, g ↑t = ↑(t ^ m)", "usedConstants": [ "Units.val", "Eq.mpr", "congrArg", "CommSemiring.toSemiring", "RingEquiv.instEquivLike", "DivInvMonoid....
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.CyclotomicCharacter
{ "line": 248, "column": 2 }
{ "line": 252, "column": 9 }
[ { "pp": "case huv.a\nL : Type u\ninst✝⁴ : CommRing L\ninst✝³ : IsDomain L\nn : ℕ\ninst✝² : NeZero n\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Algebra R L\nμ : L\nhμ : IsPrimitiveRoot μ n\ng : L ≃ₐ[R] L\n⊢ μ ^ (↑((autToPow R hμ) g)).val = μ ^ (↑((modularCyclotomicCharacter L ⋯) g.toRingEquiv)).val", "usedC...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 741, "column": 4 }
{ "line": 741, "column": 15 }
[ { "pp": "case succ\nf : ℕ → ℤ\np : ℕ\ninst✝ : Fact (Nat.Prime p)\nhi : ∀ (i : ℕ), ↑p ^ i ∣ f (i + 1) - f i\nε : ℚ\nhε : ε > 0\nk : ℕ\nhk : ↑p ^ (-↑k) < ε\nn : ℕ\nIH : ↑(p ^ k) ∣ f (k + n) - f k\nthis : ↑(p ^ k) ∣ ↑p ^ (k + n)\n⊢ ↑(p ^ k) ∣ f (k + (n + 1)) - f k", "usedConstants": [ "Eq.mpr", "No...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Padics.RingHoms
{ "line": 762, "column": 6 }
{ "line": 762, "column": 17 }
[ { "pp": "f : ℕ → ℤ\np : ℕ\ninst✝ : Fact (Nat.Prime p)\nhi : ∀ (i : ℕ), ↑p ^ i ∣ f (i + 1) - f i\nn : ℕ\nx : ℤ_[p] := ofIntSeq f ⋯\ns : PadicSeq p := ⟨fun x ↦ ↑(f x), ⋯⟩\nhs : ↑x = mk s\ne : ℤ_[p]\nhe : x = ↑p ^ n * e + ↑(x.appr n)\nN : ℕ\nhN : ‖↑p ^ n * ↑e + ↑(↑(x.appr n) - f (N + n))‖ < ↑p ^ (-↑n)\nH : ↑p ^ (-...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 217, "column": 4 }
{ "line": 217, "column": 15 }
[ { "pp": "a : ℕ\na1 : 1 < a\nn : ℕ\no : IsPell { re := ↑a, im := 1 } := isPell_one a1\n⊢ IsPell (pellZd a1 (n + 1))", "usedConstants": [ "Zsqrtd.instMul", "Eq.mpr", "HMul.hMul", "congrArg", "Pell.pellZd_succ", "id", "_private.Mathlib.NumberTheory.PellMatiyasevic.0.Pe...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 302, "column": 26 }
{ "line": 302, "column": 61 }
[ { "pp": "d a : ℤ\nb c : ℤ√d\nha : a ≠ 0\nh : (↑a * b).re = (↑a * c).re ∧ (↑a * b).im = (↑a * c).im\n⊢ (↑a * b).re = (↑a * c).re → b.re = c.re", "usedConstants": [ "Zsqrtd.instMul", "Int.cast", "Eq.mpr", "Zsqrtd.re", "HMul.hMul", "congrArg", "id", "Zsqrtd.re_sm...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 302, "column": 26 }
{ "line": 302, "column": 61 }
[ { "pp": "d a : ℤ\nb c : ℤ√d\nha : a ≠ 0\nh : (↑a * b).re = (↑a * c).re ∧ (↑a * b).im = (↑a * c).im\n⊢ (↑a * b).im = (↑a * c).im → b.im = c.im", "usedConstants": [ "Zsqrtd.instMul", "Int.cast", "Eq.mpr", "HMul.hMul", "congrArg", "Zsqrtd.im_smul", "id", "Int", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 351, "column": 4 }
{ "line": 351, "column": 41 }
[ { "pp": "c d x y z w : ℕ\nxy : SqLe x c y d\nzw : SqLe z c w d\n⊢ c * (x * z) * (c * (x * z)) ≤ d * (y * w) * (d * (y * w))", "usedConstants": [ "Eq.mpr", "HMul.hMul", "CommSemiring.toNonUnitalCommSemiring", "congrArg", "id", "CommMagma.toMul", "instMulNat", "...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 371, "column": 2 }
{ "line": 371, "column": 46 }
[ { "pp": "c d x y n : ℕ\nxy : SqLe x c y d\n⊢ SqLe (n * x) c (n * y) d", "usedConstants": [ "Eq.mpr", "Semigroup.toMul", "HMul.hMul", "congrArg", "mul_assoc", "id", "CommMagma.toMul", "instMulNat", "Nat.instSemigroup", "LE.le", "mul_left_comm"...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Dioph
{ "line": 229, "column": 17 }
{ "line": 229, "column": 28 }
[ { "pp": "α✝ : Type u_1\nβ✝ : Type u_2\nα : Type ?u.19614\nβ : Type ?u.19617\nf : α → β\ng : Poly α\ni : α\n⊢ (fun g ↦ IsPoly fun v ↦ g (v ∘ f)) (proj i)", "usedConstants": [ "Poly", "IsPoly", "Function.comp", "Poly.instFunLike", "id", "Poly.proj", "Int", "Nat"...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Dioph
{ "line": 229, "column": 57 }
{ "line": 229, "column": 68 }
[ { "pp": "α✝ : Type u_1\nβ✝ : Type u_2\nα : Type ?u.19614\nβ : Type ?u.19617\nf : α → β\ng : Poly α\nn : ℤ\n⊢ (fun g ↦ IsPoly fun v ↦ g (v ∘ f)) (const n)", "usedConstants": [ "Poly", "IsPoly", "Function.comp", "Poly.instFunLike", "id", "Int", "Poly.const", "Na...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Dioph
{ "line": 230, "column": 25 }
{ "line": 230, "column": 36 }
[ { "pp": "α✝ : Type u_1\nβ✝ : Type u_2\nα : Type ?u.19614\nβ : Type ?u.19617\nf✝ : α → β\ng✝ f g : Poly α\npf : (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) f\npg : (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) g\n⊢ (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) (f - g)", "usedConstants": [ "Poly", "IsPoly", "HSub.hSub"...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Dioph
{ "line": 231, "column": 25 }
{ "line": 231, "column": 36 }
[ { "pp": "α✝ : Type u_1\nβ✝ : Type u_2\nα : Type ?u.19614\nβ : Type ?u.19617\nf✝ : α → β\ng✝ f g : Poly α\npf : (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) f\npg : (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) g\n⊢ (fun g ↦ IsPoly fun v ↦ g (v ∘ f✝)) (f * g)", "usedConstants": [ "Poly.instMul", "HMul.hMul", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 450, "column": 68 }
{ "line": 451, "column": 53 }
[ { "pp": "d : ℤ\nn : ℤ√d\n⊢ ↑n.norm = n * star n", "usedConstants": [ "Int.instAddCommGroup", "AddGroup.toSubtractionMonoid", "Zsqrtd.instMul", "NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring", "Int.cast_neg", "Int.cast", "NegZeroClass.toNeg", "NonUn...
by ext <;> simp [norm, star, mul_comm, sub_eq_add_neg]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 448, "column": 53 }
{ "line": 448, "column": 60 }
[ { "pp": "a : ℕ\na1 : 1 < a\nn k : ℕ\nhx : xn a1 (n * k) ≡ xn a1 n ^ k [MOD yn a1 n ^ 2]\nhy : yn a1 (n * k) ≡ k * xn a1 n ^ (k - 1) * yn a1 n [MOD yn a1 n ^ 3]\nL : xn a1 (n * k) * xn a1 n + d a1 * yn a1 (n * k) * yn a1 n ≡ xn a1 n ^ k * xn a1 n + 0 [MOD yn a1 n ^ 2]\nR :\n xn a1 (n * k) * yn a1 n + yn a1 (n *...
yn_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Cyclotomic.Discriminant
{ "line": 125, "column": 2 }
{ "line": 125, "column": 53 }
[ { "pp": "p k : ℕ\nK : Type u\nL : Type v\nζ : L\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsCyclotomicExtension {p ^ (k + 1)} K L\nhp : Fact (Nat.Prime p)\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nhk : p ^ (k + 1) ≠ 2\n⊢ discr K ⇑(IsPrimitiv...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Discriminant
{ "line": 140, "column": 29 }
{ "line": 140, "column": 40 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\nζ : L\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nhp : Fact (Nat.Prime p)\nhcycl : IsCyclotomicExtension {p ^ 0} K L\nhζ : IsPrimitiveRoot ζ (p ^ 0)\nhirr : Irreducible (cyclotomic (p ^ 0) K)\n⊢ ζ = 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 567, "column": 47 }
{ "line": 567, "column": 68 }
[ { "pp": "d x y z w : ℕ\nxy✝ : { re := ↑x, im := -↑y }.Nonneg\nzw✝ : { re := -↑z, im := ↑w }.Nonneg\nj k m n : ℕ\nxy : SqLe (n + m + 1) d k 1\nzw : SqLe (k + j + 1) 1 n d\nt : 1 * (k + j + 1) * (k + j + 1) ≤ 1 * k * k := Nat.le_trans zw (sqLe_of_le (Nat.le_add_right n (m + 1)) le_rfl xy)\n⊢ (k + j + 1) * (k + j ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Dioph
{ "line": 295, "column": 6 }
{ "line": 295, "column": 17 }
[ { "pp": "α : Type u\nS : Set (α → ℕ)\nl : List (Set (α → ℕ))\nIH :\n List.Forall Dioph l →\n ∃ β pl, ∀ (v : α → ℕ), List.Forall (fun S ↦ v ∈ S) l ↔ ∃ t, List.Forall (fun p ↦ p (v ⊗ t) = 0) pl\nd : List.Forall Dioph (S :: l)\ndl : List.Forall Dioph l\nβ : Type u\np : Poly (α ⊕ β)\npe : ∀ (v : α → ℕ), v ∈ S ↔...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 545, "column": 6 }
{ "line": 545, "column": 13 }
[ { "pp": "a : ℕ\na1 : 1 < a\nn j : ℕ\n⊢ d a1 * yn a1 n * yn a1 (n + j) + xn a1 j ≡ 0 [MOD xn a1 n]", "usedConstants": [ "Eq.mpr", "HMul.hMul", "Pell.yn_add", "Pell.xn", "congrArg", "id", "_private.Mathlib.NumberTheory.PellMatiyasevic.0.Pell.d", "instMulNat", ...
yn_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 562, "column": 39 }
{ "line": 562, "column": 59 }
[ { "pp": "a : ℕ\na1 : 1 < a\nn j : ℕ\nh : j ≤ n\nh1 : xz a1 n ∣ ↑(d a1) * yz a1 n * yz a1 (n - j) + xz a1 j\n⊢ ↑(xn a1 n) ∣ ↑(d a1 * yn a1 n * yn a1 (n - j) + xn a1 j)", "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Dvd.dvd", "HMul.hMul", "AddMonoid.to...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Discriminant
{ "line": 200, "column": 51 }
{ "line": 200, "column": 62 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\nζ : L\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsCyclotomicExtension {p} K L\nhp : Fact (Nat.Prime p)\nhζ : IsPrimitiveRoot ζ p\nhirr : Irreducible (cyclotomic p K)\nhodd : p ≠ 2\nthis : IsCyclotomicExtension {p ^ (0 + 1)} K L\n⊢ IsPrimitiveRoot ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 630, "column": 31 }
{ "line": 630, "column": 64 }
[ { "pp": "d : ℕ\na b c : ℤ√↑d\nhab : a ≤ b\nhbc : b ≤ c\n⊢ a ≤ c", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 652, "column": 4 }
{ "line": 652, "column": 47 }
[ { "pp": "d : ℕ\na : ℤ√↑d\nx y✝ : ℕ\nh : a ≤ { re := ↑x, im := ↑(y✝ + 1) }\ny : ℕ\n⊢ SqLe y d (d * y) 1", "usedConstants": [ "Eq.mpr", "HMul.hMul", "CommSemiring.toNonUnitalCommSemiring", "congrArg", "Nat.instMulOneClass", "id", "CommMagma.toMul", "instMulNat",...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 668, "column": 21 }
{ "line": 668, "column": 32 }
[ { "pp": "d : ℕ\na : ℤ√↑d\nn : ℕ\nha✝ : a.Nonneg\nx y : ℕ\nha : { re := ↑x, im := -↑y }.Nonneg\n⊢ { re := ↑n * ↑x, im := ↑n * -↑y }.Nonneg", "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "congrArg", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 670, "column": 21 }
{ "line": 670, "column": 32 }
[ { "pp": "d : ℕ\na : ℤ√↑d\nn : ℕ\nha✝ : a.Nonneg\nx y : ℕ\nha : { re := -↑x, im := ↑y }.Nonneg\n⊢ { re := ↑n * -↑x, im := ↑n * ↑y }.Nonneg", "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "congrArg", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 114, "column": 4 }
{ "line": 114, "column": 48 }
[ { "pp": "case pos\nξ : ℝ\nn : ℕ\nn_pos : 0 < n\nf : ℤ → ℤ := fun m ↦ ⌊fract (ξ * ↑m) * (↑n + 1)⌋\nhn : 0 < ↑n + 1\nhfu : ∀ (m : ℤ), fract (ξ * ↑m) * (↑n + 1) < ↑n + 1\nD : Finset ℤ := Icc 0 ↑n\nm : ℤ\nhm : m ∈ D\nhf : f m = ↑n\nhf' : ↑↑n ≤ fract (ξ * ↑m) * (↑n + 1)\nhm₀ : 0 < m\n⊢ -1 + (↑n + 1) ≤ (ξ * ↑m - ↑⌊ξ ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 678, "column": 4 }
{ "line": 678, "column": 47 }
[ { "pp": "d : ℕ\na : ℤ√↑d\nha✝ : a.Nonneg\nx y : ℕ\nha : { re := ↑x, im := -↑y }.Nonneg\n⊢ SqLe (d * y) 1 x d", "usedConstants": [ "Eq.mpr", "HMul.hMul", "CommSemiring.toNonUnitalCommSemiring", "congrArg", "Nat.instMulOneClass", "id", "CommMagma.toMul", "instMu...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 682, "column": 4 }
{ "line": 682, "column": 47 }
[ { "pp": "d : ℕ\na : ℤ√↑d\nha✝ : a.Nonneg\nx y : ℕ\nha : { re := -↑x, im := ↑y }.Nonneg\n⊢ SqLe x d (d * y) 1", "usedConstants": [ "Eq.mpr", "HMul.hMul", "CommSemiring.toNonUnitalCommSemiring", "congrArg", "Nat.instMulOneClass", "id", "CommMagma.toMul", "instMu...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 750, "column": 8 }
{ "line": 750, "column": 56 }
[ { "pp": "d : ℕ\ndnsq : Nonsquare d\nx y : ℕ\ng : ℕ := x.gcd y\ngpos : g > 0\nm n : ℕ\nh : m * g * (m * g) = d * (n * g) * (n * g)\nco : m.Coprime n\nhx : x = m * g\nhy : y = n * g\n⊢ g * g * (m * m) = g * g * (d * (n * n))", "usedConstants": [ "Eq.mpr", "Nat.instMulZeroClass", "Semigroup.t...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 649, "column": 25 }
{ "line": 654, "column": 62 }
[ { "pp": "a : ℕ\na1 : 1 < a\ni n : ℕ\nnpos : 0 < n\nlem2 : ∀ k > n, k ≤ 2 * n → ↑(xn a1 k % xn a1 n) = ↑(xn a1 n) - ↑(xn a1 (2 * n - k))\nij : i < n + 1\nj2n : n + 1 ≤ 2 * n\njnn : n + 1 ≠ n\nntriv : ¬(a = 2 ∧ n = 1 ∧ i = 0 ∧ n + 1 = 2)\no : n = n ∨ n < n\nlin : i < n\nll : xn a1 (n - 1) + xn a1 (n - 1) ≤ xn a1 ...
by let ⟨a2, s1⟩ := @eq_of_xn_modEq_lem2 _ a1 (n - 1) (by rwa [tsub_add_cancel_of_le (succ_le_of_lt npos)]) have n1 : n = 1 := le_antisymm (tsub_eq_zero_iff_le.mp s1) npos rw [ile, a2, n1]; exact ⟨rfl, rfl, rfl, rfl⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.Zsqrtd.Basic
{ "line": 870, "column": 6 }
{ "line": 871, "column": 65 }
[ { "pp": "d : ℤ\nh_nonsquare : ∀ (n : ℤ), d ≠ n * n\na : ℤ√d\nha : 0 * 0 = d * a.im * a.im\nh : d < 0\nthis : a.re * a.re = 0\n⊢ 0 = re 0 ∧ a.im = im 0", "usedConstants": [ "Eq.mpr", "Zsqrtd.re", "Zsqrtd.instZero", "congrArg", "id", "Int", "And", "Zsqrtd.im", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.MulChar.Duality
{ "line": 47, "column": 4 }
{ "line": 47, "column": 78 }
[ { "pp": "case refine_2\nM : Type u_1\nR : Type u_2\ninst✝¹ : CommMonoid M\ninst✝ : CommRing R\na : Mˣ\nx✝ : ∃ φ, φ a ≠ 1\nφ : Mˣ →* Rˣ\nhφ : (ofUnitHom φ) ↑a = 1\n⊢ φ a = 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.MulChar.Duality
{ "line": 62, "column": 17 }
{ "line": 62, "column": 52 }
[ { "pp": "M : Type u_1\nR : Type u_2\ninst✝⁴ : CommMonoid M\ninst✝³ : CommRing R\ninst✝² : Finite M\ninst✝¹ : HasEnoughRootsOfUnity R (Monoid.exponent Mˣ)\ninst✝ : Nontrivial R\na : M\nha : a ≠ 1\nhu : ¬IsUnit a\n⊢ 1 a ≠ 1", "usedConstants": [ "Eq.mpr", "MulChar.hasOne", "congrArg", "...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 395, "column": 37 }
{ "line": 395, "column": 47 }
[ { "pp": "ξ : ℝ\nu v : ℤ\nhv : 2 ≤ v\nhv₀ hv₁ : 0 < ↑v\nhv₂ : 0 < 2 * ↑v - 1\nhcop : IsCoprime u v\nleft✝ : v = 1 → -(1 / 2) < ξ - ↑u\nh : |↑⌊ξ⌋ - ↑u / ↑v| < (↑v * (2 * ↑v - 1))⁻¹\nhf : ξ = ↑⌊ξ⌋\nh' : ↑⌊ξ⌋ - ↑u / ↑v = (↑⌊ξ⌋ * ↑v - ↑u) / ↑v\n⊢ (↑v)⁻¹ ≤ |↑⌊ξ⌋ * ↑v - ↑u| / ↑v", "usedConstants": [ "Int.cas...
← one_div,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 408, "column": 6 }
{ "line": 408, "column": 16 }
[ { "pp": "ξ : ℝ\nu v : ℤ\nhv : 2 ≤ v\nhcop : IsCoprime u v\nleft✝ : v = 1 → -(1 / 2) < ξ - ↑u\nh : |ξ - ↑u / ↑v| < (↑v * (2 * ↑v - 1))⁻¹\nhv₀ : 0 < ↑v\nhv₀' : 0 < 2 * ↑v - 1\nhv₁ : 0 < 2 * v - 1\n⊢ 0 < u - ⌊ξ⌋ * v ∧ u - ⌊ξ⌋ * v < v", "usedConstants": [ "Int.cast", "MulOne.toOne", "Real", ...
← one_div,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.PellMatiyasevic
{ "line": 793, "column": 27 }
{ "line": 793, "column": 38 }
[ { "pp": "a k x✝¹ y✝ : ℕ\nx✝ : ∃ (a1 : 1 < a), xn a1 k = x✝¹ ∧ yn a1 k = y✝\na1 : 1 < a\nhx : xn a1 k = x✝¹\nhy : yn a1 k = y✝\nkpos : k > 0\nx : ℕ := xn a1 k\ny : ℕ := yn a1 k\nm : ℕ := 2 * (k * y)\nu : ℕ := xn a1 m\nv : ℕ := yn a1 m\nky : k ≤ y\nyv : y * y ∣ v\nuco : u.Coprime (4 * y)\nb : ℕ\nba : b ≡ a [MOD u...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.Orthogonality
{ "line": 72, "column": 4 }
{ "line": 74, "column": 11 }
[ { "pp": "case pos\nR : Type u_1\ninst✝³ : CommRing R\nn : ℕ\ninst✝² : NeZero n\ninst✝¹ : HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)\ninst✝ : IsDomain R\na : ZMod n\nha : a = 1\n⊢ ∑ χ, χ a = ↑n.totient", "usedConstants": [ "DirichletCharacter.fintype", "Eq.mpr", "NonAssocSemiring.t...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 506, "column": 6 }
{ "line": 522, "column": 55 }
[ { "pp": "case h.inr.inl.inr\nξ : ℝ\nu : ℤ\nih : ∀ m < 1, ∀ {ξ : ℝ} {u : ℤ}, ContfracLegendre.Ass ξ u ↑m → ∃ n, ↑u / ↑m = ξ.convergent n\nleft✝ : IsCoprime u ↑1\nh₁ : ↑1 = 1 → -(1 / 2) < ξ - ↑u\nh₂ : |ξ - ↑u / ↑↑1| < (↑↑1 * (2 * ↑↑1 - 1))⁻¹\nht : ξ < ↑u\n⊢ ∃ n, ↑u = ξ.convergent n", "usedConstants": [ ...
replace h₁ := lt_sub_iff_add_lt'.mp (h₁ rfl) have hξ₁ : ⌊ξ⌋ = u - 1 := by rw [floor_eq_iff, cast_sub, cast_one, sub_add_cancel] exact ⟨(((sub_lt_sub_iff_left _).mpr one_half_lt_one).trans h₁).le, ht⟩ rcases eq_or_ne ξ ⌊ξ⌋ with Hξ | Hξ · rw [Hξ, hξ₁, cast_sub, cast_one, ← sub_eq_add_neg...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 506, "column": 6 }
{ "line": 522, "column": 55 }
[ { "pp": "case h.inr.inl.inr\nξ : ℝ\nu : ℤ\nih : ∀ m < 1, ∀ {ξ : ℝ} {u : ℤ}, ContfracLegendre.Ass ξ u ↑m → ∃ n, ↑u / ↑m = ξ.convergent n\nleft✝ : IsCoprime u ↑1\nh₁ : ↑1 = 1 → -(1 / 2) < ξ - ↑u\nh₂ : |ξ - ↑u / ↑↑1| < (↑↑1 * (2 * ↑↑1 - 1))⁻¹\nht : ξ < ↑u\n⊢ ∃ n, ↑u = ξ.convergent n", "usedConstants": [ ...
replace h₁ := lt_sub_iff_add_lt'.mp (h₁ rfl) have hξ₁ : ⌊ξ⌋ = u - 1 := by rw [floor_eq_iff, cast_sub, cast_one, sub_add_cancel] exact ⟨(((sub_lt_sub_iff_left _).mpr one_half_lt_one).trans h₁).le, ht⟩ rcases eq_or_ne ξ ⌊ξ⌋ with Hξ | Hξ · rw [Hξ, hξ₁, cast_sub, cast_one, ← sub_eq_add_neg...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.EulerProduct.ExpLog
{ "line": 33, "column": 4 }
{ "line": 33, "column": 40 }
[ { "pp": "α : Type u_1\nf : α → ℂ\nhsum : Summable f\nhg : DifferentiableAt ℂ (fun z ↦ log (1 - z)) 0\n⊢ (fun z ↦ log (1 - z)) =O[𝓝 0] id", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 541, "column": 4 }
{ "line": 541, "column": 74 }
[ { "pp": "case refine_1\nξ : ℝ\nq : ℚ\nh : |ξ - ↑q| < 1 / (2 * ↑q.den ^ 2)\n⊢ IsCoprime q.num ↑q.den", "usedConstants": [ "Iff.mpr", "Nat.Coprime", "Rat.reduced", "Rat.num", "Int.isCoprime_iff_nat_coprime", "Rat.den", "Eq.rec", "Int", "Nat.cast", "N...
exact isCoprime_iff_nat_coprime.mpr (natAbs_natCast q.den ▸ q.reduced)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 541, "column": 4 }
{ "line": 541, "column": 74 }
[ { "pp": "case refine_1\nξ : ℝ\nq : ℚ\nh : |ξ - ↑q| < 1 / (2 * ↑q.den ^ 2)\n⊢ IsCoprime q.num ↑q.den", "usedConstants": [ "Iff.mpr", "Nat.Coprime", "Rat.reduced", "Rat.num", "Int.isCoprime_iff_nat_coprime", "Rat.den", "Eq.rec", "Int", "Nat.cast", "N...
exact isCoprime_iff_nat_coprime.mpr (natAbs_natCast q.den ▸ q.reduced)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 541, "column": 4 }
{ "line": 541, "column": 74 }
[ { "pp": "case refine_1\nξ : ℝ\nq : ℚ\nh : |ξ - ↑q| < 1 / (2 * ↑q.den ^ 2)\n⊢ IsCoprime q.num ↑q.den", "usedConstants": [ "Iff.mpr", "Nat.Coprime", "Rat.reduced", "Rat.num", "Int.isCoprime_iff_nat_coprime", "Rat.den", "Eq.rec", "Int", "Nat.cast", "N...
exact isCoprime_iff_nat_coprime.mpr (natAbs_natCast q.den ▸ q.reduced)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 543, "column": 4 }
{ "line": 543, "column": 70 }
[ { "pp": "case refine_2\nξ : ℝ\nq : ℚ\nh : |ξ - ↑↑q.num| < 1 / (2 * ↑(↑q.num).den ^ 2)\nhd : ↑q.den = 1\n⊢ -(1 / 2) < ξ - ↑q.num", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DiophantineApproximation.Basic
{ "line": 549, "column": 26 }
{ "line": 549, "column": 36 }
[ { "pp": "ξ : ℝ\nq : ℚ\nh : |ξ - ↑q| < 1 / (2 * ↑q.den ^ 2)\nhq₀ : 0 < ↑q.den\nhq₁ : 0 < ↑q.den * (2 * ↑q.den - 1)\nhq₂ : 0 < 2 * (↑q.den * ↑q.den)\n⊢ 1 / (2 * ↑q.den ^ 2) < (↑q.den * (2 * ↑q.den - 1))⁻¹", "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Real", "DivInvMonoid.toInv", ...
← one_div,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.SmoothNumbers
{ "line": 134, "column": 2 }
{ "line": 134, "column": 38 }
[ { "pp": "s : Finset ℕ\nn : ℕ\nh₀ : (List.filter (fun x ↦ decide (x ∈ s)) n.primeFactorsList).prod ≠ 0\np : ℕ\nhp : p ∈ (List.filter (fun x ↦ decide (x ∈ s)) n.primeFactorsList).prod.primeFactorsList\nH₁ : Prime p\nH₂ : p ∣ (List.filter (fun x ↦ decide (x ∈ s)) n.primeFactorsList).prod\n⊢ p ∈ s", "usedConsta...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 49, "column": 4 }
{ "line": 49, "column": 48 }
[ { "pp": "f : ℕ → ℂ\ns : ℂ\nhs : abscissaOfAbsConv f < ↑s.re\n⊢ ∃ a, LSeriesSummable f ↑a ∧ a < s.re", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 56, "column": 15 }
{ "line": 56, "column": 26 }
[ { "pp": "f : ℕ → ℂ\ns : ℂ\nhs : abscissaOfAbsConv f < ↑s.re\nx : ℝ\nhx₁ : abscissaOfAbsConv f < ↑x\nhx₂ : ↑x < ↑s.re\n⊢ x < s.re", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 60, "column": 16 }
{ "line": 60, "column": 27 }
[ { "pp": "f : ℕ → ℂ\ns : ℂ\nh : LSeriesSummable f s\n⊢ ↑s.re ∈ Real.toEReal '' {x | LSeriesSummable f ↑x}", "usedConstants": [ "Eq.mpr", "Real", "congrArg", "Set.mem_image._simp_1", "setOf", "EReal", "Membership.mem", "Exists", "id", "Complex.ofReal...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 66, "column": 60 }
{ "line": 66, "column": 89 }
[ { "pp": "f : ℕ → ℂ\nx : ℝ\nh : ∀ (y : ℝ), x < y → LSeriesSummable f ↑y\ny : EReal\nhy : y ∈ lowerBounds (Real.toEReal '' {x | LSeriesSummable f ↑x})\na : EReal\n⊢ ∀ (a : ℝ), LSeriesSummable f ↑a → y ≤ ↑a", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 110, "column": 2 }
{ "line": 110, "column": 13 }
[ { "pp": "f : ℕ → ℂ\nh : ∃ C, ∀ (n : ℕ), n ≠ 0 → ‖f n‖ ≤ C\n⊢ abscissaOfAbsConv f ≤ 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 110, "column": 69 }
{ "line": 110, "column": 80 }
[ { "pp": "f : ℕ → ℂ\nh : ∃ C, ∀ (n : ℕ), n ≠ 0 → ‖f n‖ ≤ C\n⊢ ∃ C, ∀ (n : ℕ), n ≠ 0 → ‖f n‖ ≤ C * ↑n ^ 0", "usedConstants": [ "Norm.norm", "Eq.mpr", "Real.instPow", "Real.instLE", "Real", "HMul.hMul", "Real.instZero", "congrArg", "Real.rpow_zero", "...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 116, "column": 2 }
{ "line": 116, "column": 13 }
[ { "pp": "f : ℕ → ℂ\nh : f =O[atTop] fun x ↦ 1\n⊢ abscissaOfAbsConv f ≤ 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 116, "column": 63 }
{ "line": 116, "column": 74 }
[ { "pp": "f : ℕ → ℂ\nh : f =O[atTop] fun x ↦ 1\n⊢ f =O[atTop] fun n ↦ ↑n ^ 0", "usedConstants": [ "Norm.norm", "Eq.mpr", "Real.instPow", "Real.instLE", "Real", "Real.instZero", "congrArg", "Asymptotics.IsBigO", "Real.rpow_zero", "Asymptotics.isBigO_...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convergence
{ "line": 130, "column": 21 }
{ "line": 130, "column": 32 }
[ { "pp": "f : ℕ → ℝ\nx : ℝ\nh : (abscissaOfAbsConv fun x ↦ ↑(f x)) < ↑x\naux : term (fun x ↦ ↑(f x)) ↑x = fun n ↦ ↑(if n = 0 then 0 else f n / ↑n ^ x)\nthis : Summable fun x_1 ↦ if x_1 = 0 then 0 else f x_1 / ↑x_1 ^ x\nn : ℕ\nhn : n ∈ {0}ᶜ\n⊢ ¬n = 0", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.SmoothNumbers
{ "line": 344, "column": 2 }
{ "line": 345, "column": 9 }
[ { "pp": "N : ℕ\n⊢ N.smoothNumbersᶜ \\ {0} ⊆ {n | N ≤ n}", "usedConstants": [ "Eq.mpr", "congrArg", "Compl.compl", "setOf", "Set.instSingletonSet", "id", "HasSubset.Subset", "instOfNatNat", "LE.le", "instLENat", "Set.instCompl", "Finset....
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.EulerProduct.Basic
{ "line": 212, "column": 2 }
{ "line": 212, "column": 48 }
[ { "pp": "R : Type u_1\ninst✝¹ : NormedCommRing R\nf : ℕ → R\ninst✝ : CompleteSpace R\nhf₁ : f 1 = 1\nhmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n\nhsum : Summable fun x ↦ ‖f x‖\nhf₀ : f 0 = 0\nthis :\n Tendsto (fun n ↦ ∏ i ∈ range n, {p | Nat.Prime p}.mulIndicator (fun p ↦ ∑' (e : ℕ), f (p ^ e)) i) ...
let F : ℕ → R := fun p ↦ ∑' (e : ℕ), f (p ^ e)
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1
Lean.Parser.Tactic.tacticLet__
Mathlib.NumberTheory.EulerProduct.Basic
{ "line": 290, "column": 2 }
{ "line": 291, "column": 9 }
[ { "pp": "F : Type u_1\ninst✝¹ : NormedField F\ninst✝ : CompleteSpace F\nf : ℕ →*₀ F\np : ℕ\nhp : Nat.Prime p\nhsum : Summable fun x ↦ ‖f x‖\n⊢ Summable fun a ↦ ‖f p ^ a‖", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.EulerProduct.Basic
{ "line": 312, "column": 2 }
{ "line": 312, "column": 91 }
[ { "pp": "F : Type u_1\ninst✝¹ : NormedField F\ninst✝ : CompleteSpace F\nf : ℕ →* F\nh : ∀ {p : ℕ}, Nat.Prime p → ‖f p‖ < 1\ns : Finset ℕ\nhmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n\nH₁ : ∏ p ∈ s with Nat.Prime p, ∑' (n : ℕ), f (p ^ n) = ∏ p ∈ s with Nat.Prime p, (1 - f p)⁻¹\nH₂ : ∀ {p : ℕ}, Nat.Pri...
exact H₁ ▸ summable_and_hasSum_factoredNumbers_prod_filter_prime_tsum f.map_one hmul H₂ s
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.NumberTheory.EulerProduct.Basic
{ "line": 349, "column": 2 }
{ "line": 350, "column": 9 }
[ { "pp": "F : Type u_1\ninst✝¹ : NormedField F\ninst✝ : CompleteSpace F\nf : ℕ →*₀ F\nhsum : Summable fun x ↦ ‖f x‖\nH : (fun p ↦ (1 - f ↑p)⁻¹) = fun p ↦ ∑' (e : ℕ), f (↑p ^ e)\n⊢ HasProd (fun p ↦ (1 - f ↑p)⁻¹) (∑' (n : ℕ), f n)", "usedConstants": [ "NormedCommRing.toNormedRing", "Eq.mpr", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.EulerProduct.Basic
{ "line": 377, "column": 2 }
{ "line": 377, "column": 28 }
[ { "pp": "F : Type u_1\ninst✝¹ : NormedField F\ninst✝ : CompleteSpace F\nf : ℕ →*₀ F\nhsum : Summable fun x ↦ ‖f x‖\nhmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n\nthis :\n Tendsto (fun n ↦ ∏ i ∈ range n, {p | Nat.Prime p}.mulIndicator (fun p ↦ ∑' (e : ℕ), f (p ^ e)) i) atTop\n (𝓝 (∑' (n : ℕ), f n...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convolution
{ "line": 57, "column": 2 }
{ "line": 57, "column": 41 }
[ { "pp": "case h\nR : Type u_1\ninst✝ : Zero R\nf : ArithmeticFunction R\nn : ℕ\n⊢ (toArithmeticFunction ⇑f) n = f n", "usedConstants": [ "ite_eq_right_iff._simp_1", "ArithmeticFunction.instFunLikeNat", "congrArg", "instOfNatNat", "ArithmeticFunction.map_zero", "Nat", ...
simp +contextual [toArithmeticFunction]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.NumberTheory.LSeries.Convolution
{ "line": 84, "column": 2 }
{ "line": 84, "column": 49 }
[ { "pp": "case h\nR : Type u_1\ninst✝ : Semiring R\nf g : ℕ → R\nn : ℕ\n⊢ (f ⍟ g) n = ∑ p ∈ n.divisorsAntidiagonal, f p.1 * g p.2", "usedConstants": [ "Eq.mpr", "Nat.instMulZeroClass", "HMul.hMul", "Nat.divisorsAntidiagonal", "ArithmeticFunction.instFunLikeNat", "toArithme...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Convolution
{ "line": 144, "column": 2 }
{ "line": 144, "column": 53 }
[ { "pp": "f g : ℕ → ℂ\ns a b : ℂ\nhf : LSeriesHasSum f s a\nhg : LSeriesHasSum g s b\nhsum : Summable fun x ↦ term f s x.1 * term g s x.2\n⊢ LSeriesHasSum (f ⍟ g) s (a * b)", "usedConstants": [ "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "LSeries.term_convolution'", "NonUnitalCom...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Positivity
{ "line": 51, "column": 14 }
{ "line": 51, "column": 61 }
[ { "pp": "case isFalse.zero\na : ℕ → ℂ\nhn : 0 ≤ a\nx : ℝ\nh : abscissaOfAbsConv a < ↑x\nk : ℕ\nh✝ : ¬k = 0\n⊢ 0 ≤ logMul^[0] a k", "usedConstants": [ "PartialOrder.toPreorder", "Preorder.toLE", "id", "instOfNatNat", "LE.le", "Nat.iterate", "LSeries.logMul", "N...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Positivity
{ "line": 63, "column": 57 }
{ "line": 63, "column": 85 }
[ { "pp": "a : ℕ → ℂ\nha₀ : 0 ≤ a\nha₁ : 0 < a 1\nx : ℝ\nhx : abscissaOfAbsConv a < ↑x\n⊢ abscissaOfAbsConv a < ↑(↑x).re", "usedConstants": [ "Preorder.toLT", "PartialOrder.toPreorder", "EReal", "id", "Complex.ofReal", "Complex.re", "LT.lt", "instPartialOrderERe...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Positivity
{ "line": 77, "column": 4 }
{ "line": 77, "column": 54 }
[ { "pp": "a : ℕ → ℂ\nha₀ : 0 ≤ a\nha₁ : 0 < a 1\nf : ℂ → ℂ\nhf : Differentiable ℂ f\nx : ℝ\nhx : abscissaOfAbsConv a ≤ ↑x\nhf' : Set.EqOn f (LSeries a) {s | x < s.re}\ny : ℝ\nhxy : x < max x y + 1\nhxy' : abscissaOfAbsConv a < ↑(max x y) + 1\nhys : ↑(max x y) + 1 ∈ {s | x < s.re}\n⊢ 0 < f (↑(max x y) + 1)", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Positivity
{ "line": 80, "column": 4 }
{ "line": 80, "column": 83 }
[ { "pp": "case refine_1\na : ℕ → ℂ\nha₀ : 0 ≤ a\nha₁ : 0 < a 1\nf : ℂ → ℂ\nhf : Differentiable ℂ f\nx : ℝ\nhx : abscissaOfAbsConv a ≤ ↑x\nhf' : Set.EqOn f (LSeries a) {s | x < s.re}\ny : ℝ\nhxy : x < max x y + 1\nhxy' : abscissaOfAbsConv a < ↑(max x y) + 1\nhys : ↑(max x y) + 1 ∈ {s | x < s.re}\nhfx : 0 < f (↑(m...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Deriv
{ "line": 51, "column": 39 }
{ "line": 52, "column": 9 }
[ { "pp": "f : ℕ → ℂ\nn : ℕ\ns : ℂ\nhn : n ≠ 0\n⊢ HasDerivAt (fun z ↦ ↑n ^ (-z)) (-log ↑n * ↑n ^ (-s)) s", "usedConstants": [ "NormedCommRing.toNormedRing", "NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring", "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "Complex.log"...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Deriv
{ "line": 70, "column": 35 }
{ "line": 70, "column": 46 }
[ { "pp": "f : ℕ → ℂ\ns : ℂ\nh : abscissaOfAbsConv f < ↑s.re\nx : ℝ\nhxs : x < s.re\nhf : LSeriesSummable f ↑x\ny : ℝ\nhxy : x < y\nhys : y < s.re\nS : Set ℂ := {z | y < z.re}\nh₀ : Summable fun n ↦ ‖term f (↑x) n‖\nh₁ : ∀ (n : ℕ), DifferentiableOn ℂ (fun x ↦ term f x n) S\nh₂ : IsOpen S\nn : ℕ\nz : ℂ\nhz : z ∈ S...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Deriv
{ "line": 74, "column": 2 }
{ "line": 74, "column": 37 }
[ { "pp": "f : ℕ → ℂ\ns : ℂ\nh : abscissaOfAbsConv f < ↑s.re\nx : ℝ\nhxs : x < s.re\nhf : LSeriesSummable f ↑x\ny : ℝ\nhxy : x < y\nhys : y < s.re\nS : Set ℂ := {z | y < z.re}\nh₀ : Summable fun n ↦ ‖term f (↑x) n‖\nh₁ : ∀ (n : ℕ), DifferentiableOn ℂ (fun x ↦ term f x n) S\nh₂ : IsOpen S\nh₃ : ∀ (n : ℕ), ∀ z ∈ S,...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.Deriv
{ "line": 115, "column": 4 }
{ "line": 115, "column": 15 }
[ { "pp": "case h\nf : ℕ → ℂ\ns : ℝ\nhs : abscissaOfAbsConv (logMul f) < ↑s\nn : ℕ\nhn : max 1 ⌈Real.exp 1⌉₊ ≤ n\n⊢ 1 ≤ Real.log ↑n", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 56, "column": 2 }
{ "line": 56, "column": 57 }
[ { "pp": "t : ℝ\nht : 0 < t\n⊢ rexp (-π * t) < 1", "usedConstants": [ "AddGroup.toSubtractionMonoid", "Eq.mpr", "Real.partialOrder", "Real", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "Real.pi", "HMul.hMul", "Real.instZero", "congrArg", "instI...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 61, "column": 2 }
{ "line": 62, "column": 9 }
[ { "pp": "⊢ Tendsto (fun x ↦ rexp (-π * x)) atTop (𝓝 0)", "usedConstants": [ "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "Real.partialOrder", "Real", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "Real.pi", "HMul.hMul", "Real.instZero", "congrArg...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 121, "column": 6 }
{ "line": 121, "column": 25 }
[ { "pp": "case h.e'_5.h\na : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\nn : ℕ\n⊢ (↑n + a) ^ 0 * rexp (-π * (↑n + a ^ 2) * t) = rexp (-π * a ^ 2 * t) * rexp (-π * t) ^ n", "usedConstants": [ "Eq.mpr", "Real", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "Real.pi", "HMul.hMul", "...
← Real.exp_nat_mul,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.AbstractFuncEq
{ "line": 156, "column": 32 }
{ "line": 156, "column": 42 }
[ { "pp": "case h\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : WeakFEPair E\nr C : ℝ\nhC :\n ∀ᶠ (x : ℝ) in 𝓝 0,\n x ∈ Ioi 0 → ‖((fun x ↦ P.g x - P.g₀) ∘ fun x ↦ x⁻¹) x‖ ≤ C * ‖((fun x ↦ x ^ (-(r + P.k))) ∘ fun x ↦ x⁻¹) x‖\nx : ℝ\nhx : 0 < x\nh_nv2 : ↑(x ^ P.k) ≠ 0\nh_nv : P.ε⁻¹ ...
← one_div,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.NumberTheory.LSeries.AbstractFuncEq
{ "line": 189, "column": 2 }
{ "line": 189, "column": 21 }
[ { "pp": "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : StrongFEPair E\nr : ℝ\n⊢ P.f =O[atTop] fun x ↦ x ^ r", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.AbstractFuncEq
{ "line": 193, "column": 2 }
{ "line": 193, "column": 13 }
[ { "pp": "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : StrongFEPair E\nr : ℝ\n⊢ P.f =O[𝓝[>] 0] fun x ↦ x ^ r", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 141, "column": 4 }
{ "line": 141, "column": 15 }
[ { "pp": "case pos\na : ℝ\nha : 0 ≤ a\nh : a = 0\nthis : (fun t ↦ F_nat 0 0 t - 1) =O[atTop] fun t ↦ rexp (-π * t) / (1 - rexp (-π * t))\n⊢ (fun t ↦ rexp (-π * t) / (1 - rexp (-π * t))) =O[atTop] fun t ↦ rexp (-π * t)", "usedConstants": [ "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "Re...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LSeries.AbstractFuncEq
{ "line": 242, "column": 39 }
{ "line": 242, "column": 72 }
[ { "pp": "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : StrongFEPair E\ns : ℂ\nstep1 : mellin (fun t ↦ P.g (1 / t)) (-s) = mellin P.g s\nstep2 : mellin (fun t ↦ ↑t ^ (-↑P.k) • P.g (1 / t)) (↑P.k - s) = mellin P.g s\nstep3 : mellin (fun t ↦ P.ε • ↑t ^ (-↑P.k) • P.g (1 / t)) (↑P.k - s) ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 148, "column": 4 }
{ "line": 148, "column": 49 }
[ { "pp": "case neg\na : ℝ\nha : 0 ≤ a\nh : ¬a = 0\nthis : (fun t ↦ F_nat 0 a t) =O[atTop] fun t ↦ rexp (-π * a ^ 2 * t) / (1 - rexp (-π * t))\n⊢ (fun t ↦ rexp (-π * a ^ 2 * t) / (1 - rexp (-π * t))) =O[atTop] fun t ↦ rexp (-(π * a ^ 2) * t)", "usedConstants": [ "Eq.mpr", "NormedCommRing.toSeminor...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 168, "column": 6 }
{ "line": 168, "column": 45 }
[ { "pp": "a : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\n⊢ ‖rexp (-π * t)‖ < 1", "usedConstants": [ "Norm.norm", "Eq.mpr", "Real", "Real.pi", "HMul.hMul", "congrArg", "Real.instLT", "id", "Real.exp", "Real.instOne", "Real.instMul", "LT.lt", ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 171, "column": 28 }
{ "line": 171, "column": 47 }
[ { "pp": "case h.e'_5.h\na : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\nh0' : ‖rexp (-π * t)‖ < 1\nn : ℕ\n⊢ ↑n * rexp (-π * (↑n + a ^ 2) * t) = ↑n * rexp (-π * t) ^ n * rexp (-π * a ^ 2 * t)", "usedConstants": [ "NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring", "Eq.mpr", "Real", "No...
← Real.exp_nat_mul,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 176, "column": 8 }
{ "line": 176, "column": 27 }
[ { "pp": "case h.e'_5.h\na : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\nn : ℕ\n⊢ a * rexp (-π * (↑n + a ^ 2) * t) = a * rexp (-π * a ^ 2 * t) * rexp (-π * t) ^ n", "usedConstants": [ "Eq.mpr", "Real", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "Real.pi", "HMul.hMul", "congrAr...
← Real.exp_nat_mul,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable
{ "line": 128, "column": 4 }
{ "line": 128, "column": 40 }
[ { "pp": "case refine_1\nz τ : ℂ\nhτ : 0 < τ.im\n⊢ ∀ (i : ℤ), ‖jacobiTheta₂_term i z τ‖ ≤ ↑|i| ^ 0 * rexp (-π * (τ.im * ↑i ^ 2 - 2 * |z.im| * ↑|i|))", "usedConstants": [ "Norm.norm", "Int.cast", "Eq.mpr", "NormedCommRing.toSeminormedCommRing", "MulOne.toOne", "Real.instLE"...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 188, "column": 4 }
{ "line": 188, "column": 39 }
[ { "pp": "a : ℝ\nha : 0 ≤ a\n⊢ (fun t ↦ ((1 - rexp (-π * t)) ^ 2)⁻¹) =O[atTop] fun x ↦ 1", "usedConstants": [] } ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds
{ "line": 190, "column": 25 }
{ "line": 191, "column": 21 }
[ { "pp": "aux' : (fun t ↦ ((1 - rexp (-π * t)) ^ 2)⁻¹) =O[atTop] fun x ↦ 1\nha : 0 ≤ 0\n⊢ (fun t ↦\n rexp (-π * (0 ^ 2 + 1) * t) / (1 - rexp (-π * t)) ^ 2 + 0 * rexp (-π * 0 ^ 2 * t) / (1 - rexp (-π * t))) =O[atTop]\n fun t ↦ rexp (-π * t)", "usedConstants": [ "Eq.mpr", "GroupWithZero.toM...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null