module stringlengths 17 90 | startPos dict | endPos dict | nextStartPos dict | goals listlengths 0 96 | goalsAfter listlengths 0 96 | ppTac stringlengths 1 12.3k | elaborator stringclasses 379
values | kind stringclasses 383
values |
|---|---|---|---|---|---|---|---|---|
Mathlib.MeasureTheory.VectorMeasure.WithDensityVec | {
"line": 299,
"column": 6
} | {
"line": 304,
"column": 14
} | {
"line": 307,
"column": 2
} | [
{
"pp": "X : Type u_1\nE : Type u_2\nF : Type u_3\nG : Type u_4\nmX : MeasurableSpace X\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : NormedSpace ℝ E\ninst✝⁴ : NormedAddCommGroup F\ninst✝³ : NormedSpace ℝ F\ninst✝² : NormedAddCommGroup G\ninst✝¹ : NormedSpace ℝ G\nμ : VectorMeasure X F\nf : X → E\nB : E →L[ℝ] F →L[ℝ... | [] | gcongr
simp_rw [eNorm_sub_rev]
change ∫⁻ x, ‖(f - ⇑g) x‖ₑ ∂(μ.transpose B).variation ≤ ↑δ
rw [← eLpNorm_one_eq_lintegral_eNorm
(aestronglyMeasurable_of_eLpNorm_ne_top (ne_of_lt (hg.trans_lt ENNReal.coe_lt_top)))]
exact hg | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.MeasureTheory.VectorMeasure.WithDensityVec | {
"line": 299,
"column": 6
} | {
"line": 304,
"column": 14
} | {
"line": 307,
"column": 2
} | [
{
"pp": "X : Type u_1\nE : Type u_2\nF : Type u_3\nG : Type u_4\nmX : MeasurableSpace X\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : NormedSpace ℝ E\ninst✝⁴ : NormedAddCommGroup F\ninst✝³ : NormedSpace ℝ F\ninst✝² : NormedAddCommGroup G\ninst✝¹ : NormedSpace ℝ G\nμ : VectorMeasure X F\nf : X → E\nB : E →L[ℝ] F →L[ℝ... | [] | gcongr
simp_rw [eNorm_sub_rev]
change ∫⁻ x, ‖(f - ⇑g) x‖ₑ ∂(μ.transpose B).variation ≤ ↑δ
rw [← eLpNorm_one_eq_lintegral_eNorm
(aestronglyMeasurable_of_eLpNorm_ne_top (ne_of_lt (hg.trans_lt ENNReal.coe_lt_top)))]
exact hg | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.ModelTheory.Arithmetic.Presburger.Semilinear.Basic | {
"line": 208,
"column": 6
} | {
"line": 208,
"column": 45
} | {
"line": 208,
"column": 45
} | [
{
"pp": "ι : Type u_3\ns : Set (ι → ℕ)\n⊢ IsLinearSet s ↔ ∃ v n A, s = {x | ∃ x_1, v + A *ᵥ x_1 = x}",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.addCommMonoid",
"instVAddOfAdd",
"congrArg",
"Set.ofPred",
"Matrix",
"AddMonoid.toAdd... | [
"ι : Type u_3\ns : Set (ι → ℕ)\n⊢ (∃ a n f, s = a +ᵥ range ⇑f) ↔ ∃ v n A, s = {x | ∃ x_1, v + A *ᵥ x_1 = x}"
] | isLinearSet_iff_exists_fin_addMonoidHom | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.ModelTheory.Arithmetic.Presburger.Semilinear.Basic | {
"line": 215,
"column": 6
} | {
"line": 215,
"column": 45
} | {
"line": 215,
"column": 45
} | [
{
"pp": "M : Type u_1\nι : Type u_3\ninst✝³ : AddCommMonoid M\ninst✝² : Finite ι\nF : Type u_5\ninst✝¹ : FunLike F (ι → ℕ) M\ninst✝ : AddMonoidHomClass F (ι → ℕ) M\ns : Set M\nhs : IsLinearSet s\nf : F\n⊢ IsSemilinearSet (⇑f ⁻¹' s)",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"ins... | [
"M : Type u_1\nι : Type u_3\ninst✝³ : AddCommMonoid M\ninst✝² : Finite ι\nF : Type u_5\ninst✝¹ : FunLike F (ι → ℕ) M\ninst✝ : AddMonoidHomClass F (ι → ℕ) M\ns : Set M\nhs : ∃ a n f, s = a +ᵥ range ⇑f\nf : F\n⊢ IsSemilinearSet (⇑f ⁻¹' s)"
] | isLinearSet_iff_exists_fin_addMonoidHom | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.ModelTheory.Arithmetic.Presburger.Semilinear.Basic | {
"line": 492,
"column": 49
} | {
"line": 492,
"column": 67
} | {
"line": 492,
"column": 68
} | [
{
"pp": "ι : Type u_3\ns : Set (ι → ℕ)\nhs : IsProperLinearSet s\ninst✝ : Finite ι\nx y : ι → ℕ\ni : ↑hs.basisSet\nhy : y ∈ closure hs.basisSet\n⊢ (hs.basis.repr (toRatVec x - toRatVec hs.base)) i ≤\n (hs.basis.repr (toRatVec x - toRatVec hs.base) + hs.basis.repr (toRatVec y)) i",
"ppTerm": "?m.39",
... | [
"ι : Type u_3\ns : Set (ι → ℕ)\nhs : IsProperLinearSet s\ninst✝ : Finite ι\nx y : ι → ℕ\ni : ↑hs.basisSet\nhy : y ∈ closure hs.basisSet\n⊢ (hs.basis.repr (toRatVec x - toRatVec hs.base)) i ≤\n (hs.basis.repr (toRatVec x - toRatVec hs.base)) i + (hs.basis.repr (toRatVec y)) i"
] | Finsupp.add_apply, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.ModelTheory.FinitelyGenerated | {
"line": 173,
"column": 2
} | {
"line": 173,
"column": 74
} | {
"line": 174,
"column": 2
} | [
{
"pp": "L : Language\nM : Type u_1\ninst✝¹ : L.Structure M\nN : Type u_2\ninst✝ : L.Structure N\nf : M ↪[L] N\ns : L.Substructure M\nt : Set N\nh1 : t.Countable\nh2 : (closure L).toFun t = Substructure.map f.toHom s\nhf : Function.Injective ⇑f.toHom\n⊢ Substructure.map f.toHom ((closure L).toFun (⇑f ⁻¹' t)) = ... | [
"L : Language\nM : Type u_1\ninst✝¹ : L.Structure M\nN : Type u_2\ninst✝ : L.Structure N\nf : M ↪[L] N\ns : L.Substructure M\nt : Set N\nh1 : t.Countable\nh2 : (closure L).toFun t = Substructure.map f.toHom s\nhf : Function.Injective ⇑f.toHom\n⊢ t ⊆ range ⇑f"
] | rw [← h2, map_closure, Embedding.coe_toHom, image_preimage_eq_of_subset] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.ModelTheory.PartialEquiv | {
"line": 118,
"column": 2
} | {
"line": 118,
"column": 58
} | {
"line": 119,
"column": 2
} | [
{
"pp": "L : Language\nM : Type w\nN : Type w'\ninst✝¹ : L.Structure M\ninst✝ : L.Structure N\nf g : M ≃ₚ[L] N\nh : f ≤ g\n⊢ g.toEquiv.toEmbedding.comp (inclusion ⋯) = (inclusion ⋯).comp f.toEquiv.toEmbedding",
"ppTerm": "?m.66",
"assigned": true,
"usedConstants": [
"FirstOrder.Language.Partia... | [
"L : Language\nM : Type w\nN : Type w'\ninst✝¹ : L.Structure M\ninst✝ : L.Structure N\nf g : M ≃ₚ[L] N\nh : f ≤ g\n⊢ f.cod.subtype.comp f.toEquiv.toEmbedding = g.cod.subtype.comp ((inclusion ⋯).comp f.toEquiv.toEmbedding)"
] | rw [← (subtype _).comp_inj, subtype_toEquiv_inclusion h] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.ModelTheory.DirectLimit | {
"line": 252,
"column": 2
} | {
"line": 262,
"column": 16
} | {
"line": 264,
"column": 0
} | [
{
"pp": "L : Language\nι : Type v\ninst✝⁵ : Preorder ι\nG : ι → Type w\ninst✝⁴ : (i : ι) → L.Structure (G i)\nf : (i j : ι) → i ≤ j → G i ↪[L] G j\ninst✝³ : IsDirectedOrder ι\ninst✝² : DirectedSystem G fun i j h ↦ ⇑(f i j h)\ninst✝¹ : Nonempty ι\nα : Type u_1\ninst✝ : Finite α\nx : α → DirectLimit G f\n⊢ ∃ i y,... | [] | obtain ⟨i, hi⟩ := Finite.bddAbove_range fun a => (x a).out.1
refine ⟨i, unify f (Quotient.out ∘ x) i hi, ?_⟩
ext a
rw [Quotient.eq_mk_iff_out, unify]
generalize_proofs r
change _ ≈ Structure.Sigma.mk f i (f (Quotient.out (x a)).fst i r (Quotient.out (x a)).snd)
have : (.mk f i (f (Quotient.out (x a)).fst i ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.ModelTheory.DirectLimit | {
"line": 252,
"column": 2
} | {
"line": 262,
"column": 16
} | {
"line": 264,
"column": 0
} | [
{
"pp": "L : Language\nι : Type v\ninst✝⁵ : Preorder ι\nG : ι → Type w\ninst✝⁴ : (i : ι) → L.Structure (G i)\nf : (i j : ι) → i ≤ j → G i ↪[L] G j\ninst✝³ : IsDirectedOrder ι\ninst✝² : DirectedSystem G fun i j h ↦ ⇑(f i j h)\ninst✝¹ : Nonempty ι\nα : Type u_1\ninst✝ : Finite α\nx : α → DirectLimit G f\n⊢ ∃ i y,... | [] | obtain ⟨i, hi⟩ := Finite.bddAbove_range fun a => (x a).out.1
refine ⟨i, unify f (Quotient.out ∘ x) i hi, ?_⟩
ext a
rw [Quotient.eq_mk_iff_out, unify]
generalize_proofs r
change _ ≈ Structure.Sigma.mk f i (f (Quotient.out (x a)).fst i r (Quotient.out (x a)).snd)
have : (.mk f i (f (Quotient.out (x a)).fst i ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.ModelTheory.PartialEquiv | {
"line": 136,
"column": 18
} | {
"line": 136,
"column": 40
} | {
"line": 136,
"column": 40
} | [
{
"pp": "L : Language\nM : Type w\nN : Type w'\ninst✝¹ : L.Structure M\ninst✝ : L.Structure N\nf g : M ≃ₚ[L] N\nh : f ≤ g\nx : ↥f.dom\n⊢ (inclusion ⋯) (f.toEquiv x) = g.toEquiv ((inclusion ⋯) x)",
"ppTerm": "?m.85",
"assigned": true,
"usedConstants": [
"FirstOrder.Language.PartialEquiv.toEquiv... | [
"L : Language\nM : Type w\nN : Type w'\ninst✝¹ : L.Structure M\ninst✝ : L.Structure N\nf g : M ≃ₚ[L] N\nh : f ≤ g\nx : ↥f.dom\n⊢ g.cod.subtype.toFun ((inclusion ⋯) (f.toEquiv x)) = g.cod.subtype.toFun (g.toEquiv ((inclusion ⋯) x))"
] | apply (subtype _).inj' | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.ModelTheory.DirectLimit | {
"line": 420,
"column": 4
} | {
"line": 420,
"column": 20
} | {
"line": 421,
"column": 4
} | [
{
"pp": "case refine_2\nL : Language\nι : Type u_1\ninst✝⁵ : Countable ι\ninst✝⁴ : Preorder ι\ninst✝³ : IsDirectedOrder ι\ninst✝² : Nonempty ι\nG : ι → Type w\ninst✝¹ : (i : ι) → L.Structure (G i)\nf : (i j : ι) → i ≤ j → G i ↪[L] G j\nh : ∀ (i : ι), CG L (G i)\ninst✝ : DirectedSystem G fun i j h ↦ ⇑(f i j h)\n... | [
"case refine_2\nL : Language\nι : Type u_1\ninst✝⁵ : Countable ι\ninst✝⁴ : Preorder ι\ninst✝³ : IsDirectedOrder ι\ninst✝² : Nonempty ι\nG : ι → Type w\ninst✝¹ : (i : ι) → L.Structure (G i)\nf : (i j : ι) → i ≤ j → G i ↪[L] G j\nh : ∀ (i : ι), CG L (G i)\ninst✝ : DirectedSystem G fun i j h ↦ ⇑(f i j h)\n⊢ ∀ (b : L.S... | rw [le_iSup_iff] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.ModelTheory.Fraisse | {
"line": 319,
"column": 2
} | {
"line": 326,
"column": 7
} | {
"line": 328,
"column": 0
} | [
{
"pp": "case mpr\nL : Language\nM : Type w\ninst✝ : L.Structure M\nM_CG : Structure.CG L M\n⊢ L.IsExtensionPair M M → L.IsUltrahomogeneous M",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"FirstOrder.Language.PartialEquiv.toEquiv",
"Eq.mpr",
"FirstOrder.Language.Embeddin... | [] | · intro h S S_FG f
let ⟨g, ⟨dom_le_dom, eq⟩⟩ :=
equiv_between_cg M_CG M_CG ⟨⟨S, f.toHom.range, f.equivRange⟩, S_FG⟩ h h
use g
simp only [Embedding.subtype_equivRange] at eq
rw [← eq]
ext
rfl | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.ModelTheory.Order | {
"line": 97,
"column": 2
} | {
"line": 97,
"column": 92
} | {
"line": 98,
"column": 2
} | [
{
"pp": "L : Language\nα : Type w\nM : Type w'\nn : ℕ\n⊢ ∀ (a : Language.order.Symbols), a = default",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Inhabited.default",
"False",
"Sum.ctorIdx",
"congrArg",
"Sum.inr.injEq",
"False.elim",
... | [
"L : Language\nα : Type w\nM : Type w'\nn : ℕ\n⊢ ∀ (b : (l : ℕ) × Language.order.Relations l), b = default"
] | simp only [Symbols, Sum.forall, reduceCtorEq, Sum.inr.injEq, IsEmpty.forall_iff, true_and] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.ModelTheory.Types | {
"line": 160,
"column": 2
} | {
"line": 160,
"column": 69
} | {
"line": 161,
"column": 2
} | [
{
"pp": "L : Language\nT : L.Theory\nα : Type w\n⊢ Nonempty (T.CompleteType α) ↔ T.IsSatisfiable",
"ppTerm": "?m.3",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"FirstOrder.Language.Theory.IsSatisfiable",
"congrArg",
"id",
"FirstOrder.Language.withConstants",
"... | [
"L : Language\nT : L.Theory\nα : Type w\n⊢ Nonempty (T.CompleteType α) ↔ ((L.lhomWithConstants α).onTheory T).IsSatisfiable"
] | rw [← isSatisfiable_onTheory_iff (lhomWithConstants_injective L α)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Topology.Baire.LocallyCompactRegular | {
"line": 43,
"column": 6
} | {
"line": 43,
"column": 76
} | {
"line": 44,
"column": 4
} | [
{
"pp": "X : Type u_1\ninst✝² : TopologicalSpace X\ns : Set X\ninst✝¹ : R1Space X\ninst✝ : LocallyCompactSpace X\nf : ℕ → Set X\nho : ∀ (n : ℕ), IsOpen (f n)\nhd : ∀ (n : ℕ), Dense (f n)\nU : Set X\nU_open : IsOpen U\nU_nonempty : U.Nonempty\nK₀ : PositiveCompacts X\nhK₀ : closure ↑K₀ ⊆ U\nn : ℕ\nK : PositiveCo... | [] | exact (hd n).inter_open_nonempty _ isOpen_interior K.interior_nonempty | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Order.CountableDenseLinearOrder | {
"line": 250,
"column": 2
} | {
"line": 250,
"column": 28
} | {
"line": 251,
"column": 2
} | [
{
"pp": "case intro\nα : Type u_1\nβ : Type u_2\ninst✝¹¹ : LinearOrder α\ninst✝¹⁰ : LinearOrder β\ninst✝⁹ : Countable α\ninst✝⁸ : DenselyOrdered α\ninst✝⁷ : NoMinOrder α\ninst✝⁶ : NoMaxOrder α\ninst✝⁵ : Nonempty α\ninst✝⁴ : Countable β\ninst✝³ : DenselyOrdered β\ninst✝² : NoMinOrder β\ninst✝¹ : NoMaxOrder β\nin... | [
"case intro.intro\nα : Type u_1\nβ : Type u_2\ninst✝¹¹ : LinearOrder α\ninst✝¹⁰ : LinearOrder β\ninst✝⁹ : Countable α\ninst✝⁸ : DenselyOrdered α\ninst✝⁷ : NoMinOrder α\ninst✝⁶ : NoMaxOrder α\ninst✝⁵ : Nonempty α\ninst✝⁴ : Countable β\ninst✝³ : DenselyOrdered β\ninst✝² : NoMinOrder β\ninst✝¹ : NoMaxOrder β\ninst✝ : ... | cases nonempty_encodable β | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | Lean.Parser.Tactic.cases |
Mathlib.NumberTheory.ArithmeticFunction.Carmichael | {
"line": 166,
"column": 45
} | {
"line": 167,
"column": 71
} | {
"line": 169,
"column": 0
} | [
{
"pp": "⊢ λ 1 = 1",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.zero_le",
"MulOne.toOne",
"Nat.instMulZeroClass",
"ArithmeticFunction.instFunLikeNat",
"Monoid.toMulOneClass",
"congrArg",
"Nat.instMonoid",
"HSub.hSub",
... | [] | by
rw [← pow_zero 2, carmichael_two_pow_of_le_two (zero_le 2), pow_zero] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.ZMod.UnitsCyclic | {
"line": 108,
"column": 43
} | {
"line": 111,
"column": 22
} | {
"line": 111,
"column": 22
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nu v : R\np : ℕ\nhp : Nat.Prime p\nhvu : v ∣ u\nhpuv : ↑p * u * v ∣ u ^ p\nx : R\n⊢ p ∈ ((Finset.range (p + 1)).erase 0).erase 1",
"ppTerm": "?m.99",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.mem_range._simp_1",
"Preorder.t... | [] | by -- aesop works but is slow
simp only [Finset.mem_erase]
rw [← and_assoc, and_comm (a := ¬ _), ← Nat.two_le_iff]
simp [hp.two_le] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.ZMod.UnitsCyclic | {
"line": 181,
"column": 40
} | {
"line": 181,
"column": 48
} | {
"line": 181,
"column": 49
} | [
{
"pp": "case refine_2.hnot\np : ℕ\nhp : Nat.Prime p\nm : ℕ\nhpm : m + 2 ≤ p * m\na : ℤ\nha : ¬↑p ∣ a\nn✝ : ℕ\nhm0 : m ≠ 0\nn : ℕ\nthis✝ : Fact (Nat.Prime p)\nthis : ∀ (m_1 : ℕ), ∃ y, (1 + ↑p ^ m * ↑a) ^ p ^ m_1 = 1 + ↑p ^ m_1 * ↑p ^ m * (↑a + ↑p * y)\ny : ZMod (p ^ (n + 1 + m))\nhy : (1 + ↑p ^ m * ↑a) ^ p ^ n ... | [
"case refine_2.hnot\np : ℕ\nhp : Nat.Prime p\nm : ℕ\nhpm : m + 2 ≤ p * m\na : ℤ\nha : ¬↑p ∣ a\nn✝ : ℕ\nhm0 : m ≠ 0\nn : ℕ\nthis✝ : Fact (Nat.Prime p)\nthis : ∀ (m_1 : ℕ), ∃ y, (1 + ↑p ^ m * ↑a) ^ p ^ m_1 = 1 + ↑p ^ m_1 * ↑p ^ m * (↑a + ↑p * y)\ny : ZMod (p ^ (n + 1 + m))\nhy : (1 + ↑p ^ m * ↑a) ^ p ^ n = 1 + ↑p ^ n... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPowerSeries.Derivative | {
"line": 144,
"column": 2
} | {
"line": 146,
"column": 63
} | {
"line": 148,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝ : CommSemiring R\ni j : σ\nh : j ≠ i\n⊢ (pderiv i) (X j) = 0",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Derivation",
"Iff.mpr",
"Finsupp.instFunLike",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"... | [] | ext n
simpa only [coeff_pderiv, coeff_X, boole_mul, coeff_zero] using
ite_eq_right (ne_iff.mpr ⟨i, by grind [Finsupp.add_apply]⟩) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.MvPowerSeries.Derivative | {
"line": 144,
"column": 2
} | {
"line": 146,
"column": 63
} | {
"line": 148,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝ : CommSemiring R\ni j : σ\nh : j ≠ i\n⊢ (pderiv i) (X j) = 0",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Derivation",
"Iff.mpr",
"Finsupp.instFunLike",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"... | [] | ext n
simpa only [coeff_pderiv, coeff_X, boole_mul, coeff_zero] using
ite_eq_right (ne_iff.mpr ⟨i, by grind [Finsupp.add_apply]⟩) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.PowerSeries.Derivative | {
"line": 71,
"column": 4
} | {
"line": 73,
"column": 9
} | {
"line": 75,
"column": 0
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝ : CommSemiring R\nf : R⟦X⟧\nn : ℕ\nih : ∀ (k : ℕ), (coeff k) ((⇑d⁄dX)^[n] f) = ↑((k + 1).ascFactorial n) * (coeff (k + n)) f\nk : ℕ\n⊢ (coeff k) ((⇑d⁄dX)^[n + 1] f) = ↑((k + 1).ascFactorial (n + 1)) * (coeff (k + (n + 1))) f",
"ppTerm": "?succ",
"assigned": true,
... | [] | rw [Function.iterate_succ_apply', coeff_derivative, ih, Nat.ascFactorial_succ,
← Nat.succ_ascFactorial]
grind | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.PowerSeries.Derivative | {
"line": 71,
"column": 4
} | {
"line": 73,
"column": 9
} | {
"line": 75,
"column": 0
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝ : CommSemiring R\nf : R⟦X⟧\nn : ℕ\nih : ∀ (k : ℕ), (coeff k) ((⇑d⁄dX)^[n] f) = ↑((k + 1).ascFactorial n) * (coeff (k + n)) f\nk : ℕ\n⊢ (coeff k) ((⇑d⁄dX)^[n + 1] f) = ↑((k + 1).ascFactorial (n + 1)) * (coeff (k + (n + 1))) f",
"ppTerm": "?succ",
"assigned": true,
... | [] | rw [Function.iterate_succ_apply', coeff_derivative, ih, Nat.ascFactorial_succ,
← Nat.succ_ascFactorial]
grind | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.PowerSeries.Derivative | {
"line": 134,
"column": 57
} | {
"line": 137,
"column": 70
} | {
"line": 139,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nι : Type u_2\nk : ℕ\ns : Finset ι\nf : ι → R⟦X⟧\n⊢ (⇑d⁄dX)^[k] (∑ b ∈ s, f b) = ∑ b ∈ s, (⇑d⁄dX)^[k] (f b)",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Derivation",
"Function.iterate_succ_apply'",
"Nat.recAux",
"Sem... | [] | by
induction k with
| zero => simp
| succ k ih => simp only [Function.iterate_succ_apply', ih, map_sum] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.ZMod.UnitsCyclic | {
"line": 250,
"column": 4
} | {
"line": 250,
"column": 58
} | {
"line": 252,
"column": 0
} | [
{
"pp": "n✝ n : ℕ\nH : IsCyclic (ZMod (2 ^ (n + 3)))ˣ\nh : 2 ^ 3 ∣ 2 ^ (n + 3)\n⊢ IsCyclic (ZMod 8)ˣ",
"ppTerm": "?m.102",
"assigned": true,
"usedConstants": [
"isCyclic_of_surjective",
"ZMod.unitsMap_surjective",
"MonoidHom.instMonoidHomClass",
"ZMod.unitsMap",
"Monoid... | [] | exact isCyclic_of_surjective _ (unitsMap_surjective h) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.ZMod.UnitsCyclic | {
"line": 304,
"column": 2
} | {
"line": 304,
"column": 39
} | {
"line": 305,
"column": 2
} | [
{
"pp": "case inl\nn : ℕ\nhn : Odd n\nhn1 : n ≠ 1\nx✝¹ : NeZero n\nhm : Odd 2\nhm1 : 2 ≠ 1\nhmn : Nat.Coprime 2 n\nx✝ : NeZero 2\ne : (ZMod (2 * n))ˣ ≃* (ZMod 2)ˣ × (ZMod n)ˣ :=\n (Units.mapEquiv (chineseRemainder hmn).toMulEquiv).trans MulEquiv.prodUnits\n⊢ False",
"ppTerm": "?inl",
"assigned": true,
... | [
"case inr\nm : ℕ\nhm : Odd m\nhm1 : m ≠ 1\nx✝¹ : NeZero m\nhn : Odd 2\nhn1 : 2 ≠ 1\nhmn : m.Coprime 2\nx✝ : NeZero 2\ne : (ZMod (m * 2))ˣ ≃* (ZMod m)ˣ × (ZMod 2)ˣ :=\n (Units.mapEquiv (chineseRemainder hmn).toMulEquiv).trans MulEquiv.prodUnits\n⊢ False"
] | · simp [← Nat.not_even_iff_odd] at hm | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.PowerSeries.Derivative | {
"line": 201,
"column": 2
} | {
"line": 213,
"column": 98
} | {
"line": 215,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nf g : R⟦X⟧\nhg : HasSubst g\n⊢ d⁄dX (subst g f) = subst g (d⁄dX f) * d⁄dX g",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Derivation",
"Finsupp.instFunLike",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Po... | [] | ext n
obtain ⟨m, hm⟩ := (hg.eventually_coeff_pow_eq_zero (n + 1)).exists_forall_of_atTop
have : coeff (n + 1) (f.subst g) = coeff (n + 1) ((↑(trunc (m + 1) f) : R⟦X⟧).subst g) := by
rw [coeff_subst' hg, coeff_subst' hg]
refine finsum_congr fun d ↦ ?_
obtain hd | hd := lt_or_ge d m
· rw [coeff_coe_tr... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.PowerSeries.Derivative | {
"line": 201,
"column": 2
} | {
"line": 213,
"column": 98
} | {
"line": 215,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nf g : R⟦X⟧\nhg : HasSubst g\n⊢ d⁄dX (subst g f) = subst g (d⁄dX f) * d⁄dX g",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Derivation",
"Finsupp.instFunLike",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Po... | [] | ext n
obtain ⟨m, hm⟩ := (hg.eventually_coeff_pow_eq_zero (n + 1)).exists_forall_of_atTop
have : coeff (n + 1) (f.subst g) = coeff (n + 1) ((↑(trunc (m + 1) f) : R⟦X⟧).subst g) := by
rw [coeff_subst' hg, coeff_subst' hg]
refine finsum_congr fun d ↦ ?_
obtain hd | hd := lt_or_ge d m
· rw [coeff_coe_tr... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.ZMod.UnitsCyclic | {
"line": 367,
"column": 6
} | {
"line": 367,
"column": 26
} | {
"line": 368,
"column": 6
} | [
{
"pp": "case neg.inr.inl\nn : ℕ\nh0 : ¬2 * n = 0\nh1 : ¬2 * n = 1\nh2 : ¬2 * n = 2\nh4 : ¬2 * n = 4\nhn✝ : Even (2 * n)\nhn : Odd n\np m : ℕ\nodd : Odd p\neq : 2 * n = p ^ m\n⊢ False",
"ppTerm": "?neg.inr.inl✝",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toAddCommMonoidWithOne",
... | [
"case neg.inr.inl\nn : ℕ\nh0 : ¬2 * n = 0\nh1 : ¬2 * n = 1\nh2 : ¬2 * n = 2\nh4 : ¬2 * n = 4\nhn✝ : Even (2 * n)\nhn : Odd n\np m : ℕ\nodd : Odd p\neq : 2 * n = p ^ m\nthis : Odd (2 * n)\n⊢ False"
] | have := eq ▸ odd.pow | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.NumberTheory.AbelSummation | {
"line": 221,
"column": 35
} | {
"line": 221,
"column": 44
} | {
"line": 221,
"column": 45
} | [
{
"pp": "case inl\n𝕜 : Type u_1\ninst✝ : RCLike 𝕜\nc : ℕ → 𝕜\nf : ℝ → 𝕜\nhc : c 0 = 0\nb : ℝ\nhf_diff : ∀ t ∈ Set.Icc 1 b, DifferentiableAt ℝ f t\nhf_int : IntegrableOn (deriv f) (Set.Icc 1 b) volume\nhb : 1 ≤ b\nthis : 1 ≤ ⌊b⌋₊\n⊢ f ↑0 * 0 +\n (f 1 * c 1 +\n (f b * ∑ k ∈ Icc 0 ⌊b⌋₊, c k - f 1 *... | [
"case inl\n𝕜 : Type u_1\ninst✝ : RCLike 𝕜\nc : ℕ → 𝕜\nf : ℝ → 𝕜\nhc : c 0 = 0\nb : ℝ\nhf_diff : ∀ t ∈ Set.Icc 1 b, DifferentiableAt ℝ f t\nhf_int : IntegrableOn (deriv f) (Set.Icc 1 b) volume\nhb : 1 ≤ b\nthis : 1 ≤ ⌊b⌋₊\n⊢ 0 +\n (f 1 * c 1 +\n (f b * ∑ k ∈ Icc 0 ⌊b⌋₊, c k - f 1 * (0 + c 1) - ∫ (t :... | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.AbelSummation | {
"line": 223,
"column": 83
} | {
"line": 223,
"column": 92
} | {
"line": 224,
"column": 6
} | [
{
"pp": "case inr\n𝕜 : Type u_1\ninst✝ : RCLike 𝕜\nc : ℕ → 𝕜\nf : ℝ → 𝕜\nhc : c 0 = 0\nb : ℝ\nhf_diff : ∀ t ∈ Set.Icc 1 b, DifferentiableAt ℝ f t\nhf_int : IntegrableOn (deriv f) (Set.Icc 1 b) volume\nhb : b < 1\n⊢ f 0 * 0 = f b * 0 - ∫ (t : ℝ) in Set.Ioc 1 b, deriv f t * ∑ x ∈ Icc 0 ⌊t⌋₊, c x",
"ppTerm... | [
"case inr\n𝕜 : Type u_1\ninst✝ : RCLike 𝕜\nc : ℕ → 𝕜\nf : ℝ → 𝕜\nhc : c 0 = 0\nb : ℝ\nhf_diff : ∀ t ∈ Set.Icc 1 b, DifferentiableAt ℝ f t\nhf_int : IntegrableOn (deriv f) (Set.Icc 1 b) volume\nhb : b < 1\n⊢ 0 = 0 - ∫ (t : ℝ) in Set.Ioc 1 b, deriv f t * ∑ x ∈ Icc 0 ⌊t⌋₊, c x"
] | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.PrimeCounting | {
"line": 225,
"column": 2
} | {
"line": 226,
"column": 63
} | {
"line": 228,
"column": 0
} | [
{
"pp": "n : ℕ\n⊢ n.primesLE = filter Prime (Icc 2 n)",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Finset.mem_range._simp_1",
"Finset.mem_filter._simp_1",
"Nat.Prime",
"Nat.instOne",
"_private.Mathlib.NumberTheory.PrimeCounting.0.Nat.primesLE_eq_filter_Icc_... | [] | ext p
simp +contextual [primesLE_eq_filter_range, Nat.Prime.two_le] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.PrimeCounting | {
"line": 225,
"column": 2
} | {
"line": 226,
"column": 63
} | {
"line": 228,
"column": 0
} | [
{
"pp": "n : ℕ\n⊢ n.primesLE = filter Prime (Icc 2 n)",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Finset.mem_range._simp_1",
"Finset.mem_filter._simp_1",
"Nat.Prime",
"Nat.instOne",
"_private.Mathlib.NumberTheory.PrimeCounting.0.Nat.primesLE_eq_filter_Icc_... | [] | ext p
simp +contextual [primesLE_eq_filter_range, Nat.Prime.two_le] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.BernoulliPolynomials | {
"line": 107,
"column": 73
} | {
"line": 107,
"column": 82
} | {
"line": 108,
"column": 4
} | [
{
"pp": "k : ℕ\n⊢ (monomial (k - (k + 1))) (_root_.bernoulli (k + 1) * ↑((k + 1).choose (k + 1)) * 0) +\n ∑ x ∈ range (k + 1), (monomial (k - x)) (_root_.bernoulli x * ↑((k + 1).choose x) * ↑(k + 1 - x)) =\n (↑k + 1) * ∑ i ∈ range (k + 1), (monomial (k - i)) (_root_.bernoulli i * ↑(k.choose i))",
"p... | [
"k : ℕ\n⊢ (monomial (k - (k + 1))) 0 +\n ∑ x ∈ range (k + 1), (monomial (k - x)) (_root_.bernoulli x * ↑((k + 1).choose x) * ↑(k + 1 - x)) =\n (↑k + 1) * ∑ i ∈ range (k + 1), (monomial (k - i)) (_root_.bernoulli i * ↑(k.choose i))"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.BernoulliPolynomials | {
"line": 148,
"column": 4
} | {
"line": 148,
"column": 18
} | {
"line": 148,
"column": 19
} | [
{
"pp": "n : ℕ\n⊢ ↑(n + 1) • bernoulli n = (monomial n) ↑(n + 1) - ∑ x ∈ range n, ↑((n + 1).choose x) • bernoulli x",
"ppTerm": "?m.51",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Nat.cast_succ",
"instHSMul",
"Nat.choose",... | [
"n : ℕ\n⊢ (↑n + 1) • bernoulli n = (monomial n) (↑n + 1) - ∑ x ∈ range n, ↑((n + 1).choose x) • bernoulli x"
] | Nat.cast_succ, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.Bernoulli | {
"line": 173,
"column": 11
} | {
"line": 173,
"column": 27
} | {
"line": 173,
"column": 27
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\n⊢ ∀ x ∈ antidiagonal n,\n bernoulli' x.1 / ↑x.1! * ((↑x.2 + 1) * ↑x.2!)⁻¹ * ↑n ! = ↑((x.1 + x.2).choose x.2) / (↑x.2 + 1) * bernoulli' x.1",
"ppTerm": "?m.224",
"assigned": true,
"usedConstants": [
"Rat.instOfNat",
... | [
"A : Type u_1\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\n⊢ ∀ (x : ℕ × ℕ),\n x.1 + x.2 = n →\n bernoulli' x.1 / ↑x.1! * ((↑x.2 + 1) * ↑x.2!)⁻¹ * ↑n ! = ↑((x.1 + x.2).choose x.2) / (↑x.2 + 1) * bernoulli' x.1"
] | mem_antidiagonal | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.Bernoulli | {
"line": 184,
"column": 6
} | {
"line": 184,
"column": 29
} | {
"line": 185,
"column": 6
} | [
{
"pp": "case inl\nn : ℕ\nh_odd : Odd n\nhlt : 1 < n\nB : ℚ⟦X⟧ := PowerSeries.mk fun n ↦ bernoulli' n / ↑n !\nthis : (B - evalNegHom B) * (exp ℚ - 1) = X * (exp ℚ - 1)\nh : ∀ (n : ℕ), (coeff n) (B - (rescale (-1)) B) = if n = 1 then 1 else 0\n⊢ bernoulli' n = 0",
"ppTerm": "?inl",
"assigned": true,
... | [
"case inl\nn : ℕ\nh_odd : Odd n\nhlt : 1 < n\nB : ℚ⟦X⟧ := ⋯\nthis : (B - evalNegHom B) * (exp ℚ - 1) = X * (exp ℚ - 1)\nh : ∀ (n : ℕ), (coeff n) (B - (rescale (-1)) B) = if n = 1 then 1 else 0\n⊢ -bernoulli' n = bernoulli' n"
] | apply eq_zero_of_neg_eq | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.NumberTheory.Bertrand | {
"line": 101,
"column": 4
} | {
"line": 102,
"column": 95
} | {
"line": 103,
"column": 2
} | [
{
"pp": "x : ℝ\nx_large : 512 ≤ x\nf : ℝ → ℝ := fun x ↦ log x + √(2 * x) * log (2 * x) - log 4 / 3 * x\nhf' : ∀ (x : ℝ), 0 < x → 0 < x * (2 * x) ^ √(2 * x) / 4 ^ (x / 3)\nhf : ∀ (x : ℝ), 0 < x → f x = log (x * (2 * x) ^ √(2 * x) / 4 ^ (x / 3))\nh5 : 0 < x\nh : ConcaveOn ℝ (Set.Ioi 0.5) f\nthis : ∃ x1 x2, 0.5 < ... | [] | obtain ⟨x1, x2, h1, h2, h0, h3, h4⟩ := this
exact (h.right_le_of_le_left'' h1 ((h1.trans h2).trans_le h0) h2 h0 (h4.trans h3)).trans h4 | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Bertrand | {
"line": 101,
"column": 4
} | {
"line": 102,
"column": 95
} | {
"line": 103,
"column": 2
} | [
{
"pp": "x : ℝ\nx_large : 512 ≤ x\nf : ℝ → ℝ := fun x ↦ log x + √(2 * x) * log (2 * x) - log 4 / 3 * x\nhf' : ∀ (x : ℝ), 0 < x → 0 < x * (2 * x) ^ √(2 * x) / 4 ^ (x / 3)\nhf : ∀ (x : ℝ), 0 < x → f x = log (x * (2 * x) ^ √(2 * x) / 4 ^ (x / 3))\nh5 : 0 < x\nh : ConcaveOn ℝ (Set.Ioi 0.5) f\nthis : ∃ x1 x2, 0.5 < ... | [] | obtain ⟨x1, x2, h1, h2, h0, h3, h4⟩ := this
exact (h.right_le_of_le_left'' h1 ((h1.trans h2).trans_le h0) h2 h0 (h4.trans h3)).trans h4 | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.Bernoulli | {
"line": 285,
"column": 6
} | {
"line": 285,
"column": 22
} | {
"line": 285,
"column": 22
} | [
{
"pp": "case succ.succ\nA : Type u_1\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\nhfact : ∀ (m : ℕ), ↑m ! ≠ 0\nhite2 : (if n.succ = 0 then 1 else 0) = 0\nx : ℕ × ℕ\nh : x ∈ antidiagonal n.succ\n⊢ bernoulli x.1 / ↑x.1! * ((↑x.2 + 1) * ↑x.2!)⁻¹ * ↑n.succ ! = ↑((x.1 + x.2).choose x.2) / (↑x.2 + 1) * bernoull... | [
"case succ.succ\nA : Type u_1\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nn : ℕ\nhfact : ∀ (m : ℕ), ↑m ! ≠ 0\nhite2 : (if n.succ = 0 then 1 else 0) = 0\nx : ℕ × ℕ\nh : x.1 + x.2 = n.succ\n⊢ bernoulli x.1 / ↑x.1! * ((↑x.2 + 1) * ↑x.2!)⁻¹ * ↑n.succ ! = ↑((x.1 + x.2).choose x.2) / (↑x.2 + 1) * bernoulli x.1"
] | mem_antidiagonal | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.BernoulliPolynomials | {
"line": 257,
"column": 2
} | {
"line": 287,
"column": 12
} | {
"line": 289,
"column": 0
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ninst✝ : Algebra ℚ A\nt : A\nn : ℕ\n⊢ (coeff n) ((PowerSeries.mk fun n ↦ (aeval t) ((1 / ↑n !) • bernoulli n)) * (exp A - 1)) =\n (coeff n) (PowerSeries.X * (rescale t) (exp A))",
"ppTerm": "?m.55",
"assigned": true,
"usedConstants": [
"Iff.mpr",
... | [] | cases n with | zero => simp | succ n =>
-- n ≥ 1, the coefficients is a sum to n+2, so use `sum_range_succ` to write as
-- last term plus sum to n+1
rw [coeff_succ_X_mul, coeff_rescale, coeff_exp, PowerSeries.coeff_mul,
Nat.sum_antidiagonal_eq_sum_range_succ_mk, sum_range_succ]
-- last term is zero so kill ... | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | Lean.Parser.Tactic.cases |
Mathlib.NumberTheory.CarmichaelNumber | {
"line": 67,
"column": 52
} | {
"line": 69,
"column": 22
} | {
"line": 71,
"column": 0
} | [
{
"pp": "⊢ ¬IsCarmichael 0",
"ppTerm": "?m.3",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"False",
"Nat.instMulZeroClass",
"LinearOrderedCommMonoidWithZero.toIsBotZeroClass",
"False.elim",
"Eq.mp",
"instOfNatNat",
"Nat.IsCarmichael.two... | [] | by
intro h
simpa using h.two_lt | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.CarmichaelNumber | {
"line": 72,
"column": 51
} | {
"line": 74,
"column": 22
} | {
"line": 76,
"column": 0
} | [
{
"pp": "⊢ ¬IsCarmichael 1",
"ppTerm": "?m.3",
"assigned": true,
"usedConstants": [
"Nat.not_ofNat_lt_one._simp_1",
"False",
"Nat.instIsOrderedAddMonoid",
"False.elim",
"Nat.instAtLeastTwoHAddOfNat",
"Nat.instZeroLEOneClass",
"Nat.instCharZero",
"Eq.mp... | [] | by
intro h
simpa using h.two_lt | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.Bernoulli | {
"line": 482,
"column": 46
} | {
"line": 482,
"column": 60
} | {
"line": 482,
"column": 60
} | [
{
"pp": "p M N : ℕ\ninst✝ : Fact (Nat.Prime p)\nhM : M ≠ 0\ne : ℕ := M.factorization p\nhv : e ≤ N\nM' : ℕ := M / p ^ e\nhM'_cop : M'.Coprime p\nhp_ne : ↑p ≠ 0\nhdecomp : p ^ e * M' = M\n⊢ ↑M = ↑(p ^ e) * ↑M'",
"ppTerm": "?m.93",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Rat.instMu... | [
"p M N : ℕ\ninst✝ : Fact (Nat.Prime p)\nhM : M ≠ 0\ne : ℕ := M.factorization p\nhv : e ≤ N\nM' : ℕ := M / p ^ e\nhM'_cop : M'.Coprime p\nhp_ne : ↑p ≠ 0\nhdecomp : p ^ e * M' = M\n⊢ ↑(p ^ e * M') = ↑(p ^ e) * ↑M'"
] | rw [← hdecomp] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.NumberTheory.Bernoulli | {
"line": 487,
"column": 2
} | {
"line": 489,
"column": 8
} | {
"line": 490,
"column": 2
} | [
{
"pp": "p M N : ℕ\ninst✝ : Fact (Nat.Prime p)\nhM : M ≠ 0\ne : ℕ := M.factorization p\nhv : e ≤ N\nM' : ℕ := M / p ^ e\nhM'_cop : M'.Coprime p\nhp_ne : ↑p ≠ 0\nhdecomp : p ^ e * M' = M\nhM_eq : ↑M = ↑(p ^ e) * ↑M'\nhrw : ↑p ^ N / ↑M = ↑p ^ (N - e) / ↑M'\n⊢ ↑p ^ N / ↑M ∈ pIntegrals p",
"ppTerm": "?m.119",
... | [
"p M N : ℕ\ninst✝ : Fact (Nat.Prime p)\nhM : M ≠ 0\ne : ℕ := M.factorization p\nhv : e ≤ N\nM' : ℕ := M / p ^ e\nhM'_cop : M'.Coprime p\nhp_ne : ↑p ≠ 0\nhdecomp : p ^ e * M' = M\nhM_eq : ↑M = ↑(p ^ e) * ↑M'\nhrw : ↑p ^ N / ↑M = ↑p ^ (N - e) / ↑M'\nhM'_eq : ↑p ^ (N - e) / ↑M' = Rat.divInt (↑p ^ (N - e)) ↑M'\n⊢ ↑p ^ ... | have hM'_eq : ((p : ℚ) ^ (N - e) / (M' : ℚ)) = Rat.divInt (p ^ (N - e) : ℤ) (M' : ℤ) := by
norm_cast
simp | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.NumberTheory.ClassNumber.AdmissibleAbs | {
"line": 45,
"column": 2
} | {
"line": 46,
"column": 81
} | {
"line": 47,
"column": 2
} | [
{
"pp": "n : ℕ\nε : ℝ\nhε : 0 < ε\nb : ℤ\nhb : b ≠ 0\nA : Fin n → ℤ\nhb' : 0 < ↑|b|\nhbε : 0 < |b| • ε\n⊢ ∃ t, ∀ (i₀ i₁ : Fin n), t i₀ = t i₁ → ↑|A i₁ % b - A i₀ % b| < |b| • ε",
"ppTerm": "?m.88",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Int.cast",
"Real.partialOrder",
... | [
"n : ℕ\nε : ℝ\nhε : 0 < ε\nb : ℤ\nhb : b ≠ 0\nA : Fin n → ℤ\nhb' : 0 < ↑|b|\nhbε : 0 < |b| • ε\nhfloor : ∀ (i : Fin n), 0 ≤ ⌊↑(A i % b) / |b| • ε⌋\n⊢ ∃ t, ∀ (i₀ i₁ : Fin n), t i₀ = t i₁ → ↑|A i₁ % b - A i₀ % b| < |b| • ε"
] | have hfloor : ∀ i, 0 ≤ floor ((A i % b : ℤ) / abs b • ε : ℝ) :=
fun _ ↦ floor_nonneg.mpr (div_nonneg (cast_nonneg (emod_nonneg _ hb)) hbε.le) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.NumberTheory.ClassNumber.AdmissibleCardPowDegree | {
"line": 71,
"column": 8
} | {
"line": 71,
"column": 19
} | {
"line": 71,
"column": 19
} | [
{
"pp": "Fq : Type u_1\ninst✝¹ : Fintype Fq\ninst✝ : Ring Fq\nd m : ℕ\nhm : Fintype.card Fq ^ d ≤ m\nA : Fin m.succ → Fq[X]\nhA : (A 0).degree < degree 0\n⊢ False",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants": [
"WithBot.instPreorder",
"AddMonoidAlgebra.semiring",
"WithBot... | [
"Fq : Type u_1\ninst✝¹ : Fintype Fq\ninst✝ : Ring Fq\nd m : ℕ\nhm : Fintype.card Fq ^ d ≤ m\nA : Fin m.succ → Fq[X]\nhA : (A 0).degree < ⊥\n⊢ False"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.Chebyshev | {
"line": 251,
"column": 2
} | {
"line": 254,
"column": 30
} | {
"line": 256,
"column": 0
} | [
{
"pp": "n : ℕ\n⊢ n.lcmUpto = ∏ p ∈ n.primesLE, p ^ n.lcmUpto.factorization p",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Nat.lcmUpto_ne_zero",
"Nat.instMulZeroClass",
"congrArg",
"Finset",
"Nat.instMonoid",
... | [] | conv_lhs => rw [← prod_factorization_pow_eq_self (lcmUpto_ne_zero n)]
rw [prod_factorization_eq_prod_primeFactors]
congr
exact primeFactors_lcmUpto n | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Chebyshev | {
"line": 251,
"column": 2
} | {
"line": 254,
"column": 30
} | {
"line": 256,
"column": 0
} | [
{
"pp": "n : ℕ\n⊢ n.lcmUpto = ∏ p ∈ n.primesLE, p ^ n.lcmUpto.factorization p",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Nat.lcmUpto_ne_zero",
"Nat.instMulZeroClass",
"congrArg",
"Finset",
"Nat.instMonoid",
... | [] | conv_lhs => rw [← prod_factorization_pow_eq_self (lcmUpto_ne_zero n)]
rw [prod_factorization_eq_prod_primeFactors]
congr
exact primeFactors_lcmUpto n | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.ClassNumber.Finite | {
"line": 104,
"column": 4
} | {
"line": 104,
"column": 32
} | {
"line": 105,
"column": 4
} | [
{
"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\nT : Type u_6\ninst✝² : Ring T\ninst✝¹ : LinearOrder T\ninst✝ : IsStrictOrderedRing... | [
"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\nT : Type u_6\ninst✝² : Ring T\ninst✝¹ : LinearOrder T\ninst✝ : IsStrictOrderedRing T\na : S\ny... | simp only [Finset.mem_image] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.NumberTheory.ClassNumber.Finite | {
"line": 247,
"column": 2
} | {
"line": 247,
"column": 23
} | {
"line": 248,
"column": 2
} | [
{
"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... | [
"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✝ : Algebra.IsAlgebra... | refine ⟨q, r, hr, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.NumberTheory.Padics.RingHoms | {
"line": 385,
"column": 2
} | {
"line": 385,
"column": 14
} | {
"line": 386,
"column": 2
} | [
{
"pp": "p : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nn : ℕ\n⊢ x.appr n ≤ x.appr (n + 1)",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Preorder.toLE",
"id",
"instOfNatNat",
"LE.le",
"instHAdd",
"HAdd.hAdd",
"Nat.instPreorder",
"Nat",
... | [
"p : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nn : ℕ\n⊢ x.appr n ≤\n if hy : x - ↑(x.appr n) = 0 then x.appr n\n else x.appr n + p ^ n * (toZMod (↑(unitCoeff hy) * ↑p ^ (↑(x - ↑(x.appr n)).valuation - ↑n).natAbs)).val"
] | dsimp [appr] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.NumberTheory.Padics.RingHoms | {
"line": 396,
"column": 4
} | {
"line": 396,
"column": 16
} | {
"line": 397,
"column": 4
} | [
{
"pp": "case succ\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nm k : ℕ\nih : p ^ m ∣ x.appr (m + k) - x.appr m\n⊢ p ^ m ∣ x.appr (m + k + 1) - x.appr m",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Dvd.dvd",
"Nat.instMonoid",
"HSub.hSub",
"id",
"instS... | [
"case succ\np : ℕ\nhp_prime : Fact (Nat.Prime p)\nx : ℤ_[p]\nm k : ℕ\nih : p ^ m ∣ x.appr (m + k) - x.appr m\n⊢ p ^ m ∣\n (if hy : x - ↑(x.appr (m + k)) = 0 then x.appr (m + k)\n else\n x.appr (m + k) +\n p ^ (m + k) * (toZMod (↑(unitCoeff hy) * ↑p ^ (↑(x - ↑(x.appr (m + k))).valuation - (↑m... | dsimp [appr] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.NumberTheory.Chebyshev | {
"line": 716,
"column": 4
} | {
"line": 716,
"column": 63
} | {
"line": 717,
"column": 4
} | [
{
"pp": "x : ℝ\nhx : 2 ≤ x\na : ℕ → ℝ := (Set.ofPred Nat.Prime).indicator fun n ↦ log ↑n\nint_deriv :\n ∀ (f : ℝ → ℝ), ∫ (u : ℝ) in 2..x, deriv (fun x ↦ (log x)⁻¹) u * f u = ∫ (u : ℝ) in 2..x, f u * -(u * log u ^ 2)⁻¹\n⊢ (log x)⁻¹ * ∑ k ∈ Icc 0 ⌊x⌋₊, a k - ∫ (u : ℝ) in 2..x, (∑ k ∈ Icc 0 ⌊u⌋₊, a k) * -(u * log... | [
"x : ℝ\nhx : 2 ≤ x\na : ℕ → ℝ := (Set.ofPred Nat.Prime).indicator fun n ↦ log ↑n\nint_deriv :\n ∀ (f : ℝ → ℝ), ∫ (u : ℝ) in 2..x, deriv (fun x ↦ (log x)⁻¹) u * f u = ∫ (u : ℝ) in 2..x, f u * -(u * log u ^ 2)⁻¹\n⊢ ((log x)⁻¹ * ∑ x ∈ Icc 0 ⌊x⌋₊, if Nat.Prime x then log ↑x else 0) +\n ∫ (x : ℝ) in 2..x, (∑ x ∈ I... | simp [a, Set.indicator_apply, sum_filter, theta_eq_sum_Icc] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.NumberTheory.Padics.RingHoms | {
"line": 751,
"column": 2
} | {
"line": 752,
"column": 88
} | {
"line": 753,
"column": 2
} | [
{
"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 := CauSeq.mk (fun x ↦ ↑(f x)) ⋯\nhs : ↑x = mk s\ne : ℤ_[p]\nhe : x = ↑p ^ n * e + ↑(x.appr n)\n⊢ (toZModPow n) x = ↑(f n)",
"ppTerm": "?m.85",
"assigned": tru... | [
"f : ℕ → ℤ\np : ℕ\ninst✝ : Fact (Nat.Prime p)\nhi : ∀ (i : ℕ), ↑p ^ i ∣ f (i + 1) - f i\nn : ℕ\nx : ℤ_[p] := ofIntSeq f ⋯\ns : PadicSeq p := CauSeq.mk (fun x ↦ ↑(f x)) ⋯\nhs : ↑x = mk s\ne : ℤ_[p]\nhe : x = ↑p ^ n * e + ↑(x.appr n)\nN : ℕ\nhN : ∀ i ≥ N, padicNormE (mk s - ↑(s i)) < ↑p ^ (-↑n)\n⊢ (toZModPow n) x = ↑... | obtain ⟨N, hN⟩ := padicNormE.defn s (ε := p ^ (-n : ℤ))
(by simp only [zpow_neg, zpow_natCast, inv_pos]; exact mod_cast Nat.pos_of_neZero _) | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.NumberTheory.PellMatiyasevic | {
"line": 332,
"column": 22
} | {
"line": 332,
"column": 32
} | {
"line": 332,
"column": 33
} | [
{
"pp": "a : ℕ\na1 : 1 < a\nm n : ℕ\nh : n ≤ m\n⊢ yz a1 (m - n) = xz a1 n * yz a1 m + -(xz a1 m * yz a1 n)",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonUnitalCommRing.toNonUnitalNonAssocCommRing",
"HMul.hMul",
"CommRing.toNonUnitalCommRing",
"... | [
"a : ℕ\na1 : 1 < a\nm n : ℕ\nh : n ≤ m\n⊢ yz a1 (m - n) = xz a1 n * yz a1 m + xz a1 m * -yz a1 n"
] | ← mul_neg, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_1\nd x y z w : ℕ\n⊢ SqLe x 1 y d → SqLe z 1 w d → SqLe (x * w + y * z) d (x * z + d * y * w) 1",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_1\nd x y z w : ℕ\n⊢ SqLe x 1 y d → SqLe z 1 w d → SqLe (x * w + y * z) d (x * z + d * y * w) 1",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_2\nd x y z w : ℕ\n⊢ SqLe x 1 y d → SqLe w d z 1 → SqLe (x * z + d * y * w) 1 (x * w + y * z) d",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_2\nd x y z w : ℕ\n⊢ SqLe x 1 y d → SqLe w d z 1 → SqLe (x * z + d * y * w) 1 (x * w + y * z) d",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_3\nd x y z w : ℕ\n⊢ SqLe y d x 1 → SqLe z 1 w d → SqLe (x * z + d * y * w) 1 (x * w + y * z) d",
"ppTerm": "?refine_3",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_3\nd x y z w : ℕ\n⊢ SqLe y d x 1 → SqLe z 1 w d → SqLe (x * z + d * y * w) 1 (x * w + y * z) d",
"ppTerm": "?refine_3",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_4\nd x y z w : ℕ\n⊢ SqLe y d x 1 → SqLe w d z 1 → SqLe (x * w + y * z) d (x * z + d * y * w) 1",
"ppTerm": "?refine_4",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.Zsqrtd.Basic | {
"line": 376,
"column": 6
} | {
"line": 383,
"column": 10
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case refine_4\nd x y z w : ℕ\n⊢ SqLe y d x 1 → SqLe w d z 1 → SqLe (x * w + y * z) d (x * z + d * y * w) 1",
"ppTerm": "?refine_4",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"AddGroup.toSubtractionMonoid",
"Mathlib.Tactic.Ring.Common.ne... | [] | intro xy zw
have :=
Int.mul_nonneg (sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le xy))
(sub_nonneg_of_le (Int.ofNat_le_ofNat_of_le zw))
refine Int.le_of_ofNat_le_ofNat (le_of_sub_nonneg ?_)
convert this using 1
simp only [one_mul, Int.natCast_add, Int.natCast_mul]
ring | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.PellMatiyasevic | {
"line": 785,
"column": 69
} | {
"line": 785,
"column": 72
} | {
"line": 785,
"column": 73
} | [
{
"pp": "a k x y : ℕ\na1 : 1 < a\nky✝ : k ≤ y\nu v s t b : ℕ\nb1 : 1 < b\nrem : b ≡ 1 [MOD 4 * y] ∧ b ≡ a [MOD u] ∧ 0 < v ∧ y * y ∣ v ∧ s ≡ x [MOD u] ∧ t ≡ k [MOD 4 * y]\ni n j : ℕ\nbm1 : b ≡ 1 [MOD 4 * yn a1 i]\nba : b ≡ a [MOD xn a1 n]\nvp : 0 < yn a1 n\nyv : yn a1 i * yn a1 i ∣ yn a1 n\nsx : xn b1 j ≡ xn a1 ... | [
"a k x y : ℕ\na1 : 1 < a\nky✝ : k ≤ y\nu v s t b : ℕ\nb1 : 1 < b\nrem : b ≡ 1 [MOD 4 * y] ∧ b ≡ a [MOD u] ∧ 0 < v ∧ y * y ∣ v ∧ s ≡ x [MOD u] ∧ t ≡ k [MOD 4 * y]\ni n j : ℕ\nbm1 : b ≡ 1 [MOD 4 * yn a1 i]\nba : b ≡ a [MOD xn a1 n]\nvp : 0 < yn a1 n\nyv : yn a1 i * yn a1 i ∣ yn a1 n\nsx : xn b1 j ≡ xn a1 i [MOD xn a1... | i0, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.SmoothNumbers | {
"line": 207,
"column": 60
} | {
"line": 207,
"column": 78
} | {
"line": 208,
"column": 8
} | [
{
"pp": "case left\ns : Finset ℕ\np : ℕ\nhp : Prime p\nhs : p ∉ s\ne m : ℕ\nhm₀ : m ≠ 0\nhm : ∀ p ∈ m.primeFactorsList, p ∈ s\nhpm : ¬p ∣ m\n⊢ ((p ^ e).factorization + m.factorization) p = e",
"ppTerm": "?left",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
... | [
"case left\ns : Finset ℕ\np : ℕ\nhp : Prime p\nhs : p ∉ s\ne m : ℕ\nhm₀ : m ≠ 0\nhm : ∀ p ∈ m.primeFactorsList, p ∈ s\nhpm : ¬p ∣ m\n⊢ (p ^ e).factorization p + m.factorization p = e"
] | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.DiophantineApproximation.Basic | {
"line": 544,
"column": 10
} | {
"line": 544,
"column": 74
} | {
"line": 545,
"column": 10
} | [
{
"pp": "ξ : ℝ\nu : ℤ\nih : ∀ m < 1, ∀ {ξ : ℝ} {u : ℤ}, ContfracLegendre.Ass ξ u ↑m → ∃ n, ↑u / ↑m = ξ.convergent n\nleft✝ : IsCoprime u ↑1\nh₂ : |ξ - ↑u / ↑↑1| < (↑↑1 * (2 * ↑↑1 - 1))⁻¹\nht : ξ < ↑u\nh₁ : ↑u + -(1 / 2) < ξ\nhξ₁ : ⌊ξ⌋ = u - 1\nHξ : ξ ≠ ↑⌊ξ⌋\n⊢ 2⁻¹ < fract ξ",
"ppTerm": "?m.624",
"assign... | [
"ξ : ℝ\nu : ℤ\nih : ∀ m < 1, ∀ {ξ : ℝ} {u : ℤ}, ContfracLegendre.Ass ξ u ↑m → ∃ n, ↑u / ↑m = ξ.convergent n\nleft✝ : IsCoprime u ↑1\nh₂ : |ξ - ↑u / ↑↑1| < (↑↑1 * (2 * ↑↑1 - 1))⁻¹\nht : ξ < ↑u\nh₁ : ↑u + -(1 / 2) < ξ\nhξ₁ : ⌊ξ⌋ = u - 1\nHξ : ξ ≠ ↑⌊ξ⌋\n⊢ ↑u - (1 - 2⁻¹) < ξ"
] | rw [fract, hξ₁, cast_sub, cast_one, lt_sub_iff_add_lt', sub_add] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 101,
"column": 2
} | {
"line": 102,
"column": 73
} | {
"line": 103,
"column": 2
} | [
{
"pp": "k : ℕ\na t : ℝ\nht : 0 < t\nthis : Summable fun n ↦ ↑n ^ k * rexp (-π * (↑n + a) ^ 2 * t)\n⊢ ∀ᶠ (i : ℕ) in atTop, ‖f_nat k a t i‖ ≤ 2 ^ k * (↑i ^ k * rexp (-π * (↑i + a) ^ 2 * t))",
"ppTerm": "?m.327",
"assigned": true,
"usedConstants": [
"Real.instIsOrderedRing",
"Norm.norm",
... | [
"k : ℕ\na t : ℝ\nht : 0 < t\nthis : Summable fun n ↦ ↑n ^ k * rexp (-π * (↑n + a) ^ 2 * t)\n⊢ ∀ᶠ (i : ℕ) in atTop, |↑i + a| ^ k ≤ (↑i + ↑i) ^ k"
] | simp_rw [← mul_assoc, f_nat, norm_mul, norm_eq_abs, abs_exp,
mul_le_mul_iff_of_pos_right (exp_pos _), ← mul_pow, abs_pow, two_mul] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 128,
"column": 24
} | {
"line": 128,
"column": 33
} | {
"line": 128,
"column": 34
} | [
{
"pp": "case e'_3\nt : ℝ\nht : 0 < t\n⊢ rexp (-π * (0 * 0) * t) + ∑' (b : ℕ), f_nat 0 0 t (b + 1) - 1 = F_nat 0 1 t",
"ppTerm": "?e'_3",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real",
"Real.pi",
"HMul.hMul",
"MulZeroClass.toMul",
"Real.instZero",
"M... | [
"case e'_3\nt : ℝ\nht : 0 < t\n⊢ rexp (-π * 0 * t) + ∑' (b : ℕ), f_nat 0 0 t (b + 1) - 1 = F_nat 0 1 t"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 128,
"column": 34
} | {
"line": 128,
"column": 43
} | {
"line": 128,
"column": 44
} | [
{
"pp": "case e'_3\nt : ℝ\nht : 0 < t\n⊢ rexp (-π * 0 * t) + ∑' (b : ℕ), f_nat 0 0 t (b + 1) - 1 = F_nat 0 1 t",
"ppTerm": "?e'_3",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real",
"Real.pi",
"HMul.hMul",
"MulZeroClass.toMul",
"Real.instZero",
"congrAr... | [
"case e'_3\nt : ℝ\nht : 0 < t\n⊢ rexp (0 * t) + ∑' (b : ℕ), f_nat 0 0 t (b + 1) - 1 = F_nat 0 1 t"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 91,
"column": 6
} | {
"line": 91,
"column": 16
} | {
"line": 91,
"column": 17
} | [
{
"pp": "S T : ℝ\nhT : 0 < T\nz τ : ℂ\nhz : |z.im| ≤ S\nhτ : T ≤ τ.im\nn : ℤ\n⊢ -(2 * S * ↑|n|) ≤ 2 * ↑n * z.im",
"ppTerm": "?m.100",
"assigned": true,
"usedConstants": [
"NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring",
"Int.cast",
"Eq.mpr",
"Semigroup.toMul",
... | [
"S T : ℝ\nhT : 0 < T\nz τ : ℂ\nhz : |z.im| ≤ S\nhτ : T ≤ τ.im\nn : ℤ\n⊢ 2 * S * -↑|n| ≤ 2 * ↑n * z.im"
] | ← mul_neg, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.LSeries.AbstractFuncEq | {
"line": 177,
"column": 4
} | {
"line": 177,
"column": 27
} | {
"line": 178,
"column": 4
} | [
{
"pp": "case refine_1\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : WeakFEPair E\n⊢ (fun x ↦ (P.ε * ↑(x ^ (-P.k))) • P.g₀) =O[𝓝[>] 0] fun x ↦ x ^ (-P.k)",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Asymptotics.isBigO_norm_norm",
"Norm.norm... | [
"case refine_1\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : WeakFEPair E\n⊢ (fun x ↦ ‖(P.ε * ↑(x ^ (-P.k))) • P.g₀‖) =O[𝓝[>] 0] fun x ↦ ‖x ^ (-P.k)‖"
] | rw [← isBigO_norm_norm] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 173,
"column": 10
} | {
"line": 173,
"column": 18
} | {
"line": 173,
"column": 19
} | [
{
"pp": "case e'_6\na : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\nh0' : ‖rexp (-π * t)‖ < 1\n⊢ rexp (-π * (a ^ 2 + 1) * t) / (1 - rexp (-π * t)) ^ 2 =\n rexp (-π * a ^ 2 * t) * (rexp (-π * t) / (1 - rexp (-π * t)) ^ 2)",
"ppTerm": "?e'_6",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribCl... | [
"case e'_6\na : ℝ\nha : 0 ≤ a\nt : ℝ\nht : 0 < t\nh0' : ‖rexp (-π * t)‖ < 1\n⊢ rexp ((-π * a ^ 2 + -π * 1) * t) / (1 - rexp (-π * t)) ^ 2 =\n rexp (-π * a ^ 2 * t) * (rexp (-π * t) / (1 - rexp (-π * t)) ^ 2)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.LSeries.MellinEqDirichlet | {
"line": 79,
"column": 42
} | {
"line": 79,
"column": 64
} | {
"line": 79,
"column": 65
} | [
{
"pp": "ι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\ni : ι\n⊢ a i = 0 ∨ 0 < π * q i",
"ppTerm": "?m.99",
"a... | [
"case inl\nι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\ni : ι\nh : a i = 0\n⊢ a i = 0 ∨ 0 < π * q i",
"case inr\nι : T... | rcases hq i with h | h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.NumberTheory.LSeries.MellinEqDirichlet | {
"line": 82,
"column": 6
} | {
"line": 82,
"column": 28
} | {
"line": 83,
"column": 6
} | [
{
"pp": "ι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\nhp : ∀ (i : ι), a i = 0 ∨ 0 < π * q i\ni : ι\n⊢ a i / ↑(π * q ... | [
"case inl\nι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\nhp : ∀ (i : ι), a i = 0 ∨ 0 < π * q i\ni : ι\nh : a i = 0\n⊢ a i... | rcases hq i with h | h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.NumberTheory.LSeries.MellinEqDirichlet | {
"line": 89,
"column": 6
} | {
"line": 89,
"column": 28
} | {
"line": 90,
"column": 6
} | [
{
"pp": "ι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\nhp : ∀ (i : ι), a i = 0 ∨ 0 < π * q i\ni : ι\n⊢ ‖a i‖ / (π * q... | [
"case inl\nι : Type u_1\ninst✝ : Countable ι\na : ι → ℂ\nq : ι → ℝ\nF : ℝ → ℂ\ns : ℂ\nhq : ∀ (i : ι), a i = 0 ∨ 0 < q i\nhs : 0 < s.re\nhF : ∀ t ∈ Ioi 0, HasSum (fun i ↦ a i * ↑(rexp (-π * q i * t))) (F t)\nh_sum : Summable fun i ↦ ‖a i‖ / q i ^ s.re\nhp : ∀ (i : ι), a i = 0 ∨ 0 < π * q i\ni : ι\nh : a i = 0\n⊢ ‖a ... | rcases hq i with h | h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 145,
"column": 73
} | {
"line": 145,
"column": 82
} | {
"line": 145,
"column": 83
} | [
{
"pp": "case refine_2.inr\nz τ : ℂ\nhτ✝ : τ.im ≤ 0\nhτ : τ.im = 0\nh : Summable fun x ↦ rexp (-π * ↑x ^ 2 * 0 - 2 * π * ↑x * z.im)\n⊢ False",
"ppTerm": "?refine_2.inr",
"assigned": true,
"usedConstants": [
"Int.cast",
"Real",
"Real.pi",
"HMul.hMul",
"Real.instZero",
... | [
"case refine_2.inr\nz τ : ℂ\nhτ✝ : τ.im ≤ 0\nhτ : τ.im = 0\nh : Summable fun x ↦ rexp (0 - 2 * π * ↑x * z.im)\n⊢ False"
] | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 247,
"column": 2
} | {
"line": 247,
"column": 29
} | {
"line": 249,
"column": 0
} | [
{
"pp": "case negSucc\nk : ℕ\na : ℝ\nha : a ∈ Icc 0 1\nt : ℝ\nht : 0 < t\na✝ : ℕ\n⊢ f_int k a t (Int.negSucc a✝) = Int.rec (f_nat k a t) (f_nat k (1 - a) t) (Int.negSucc a✝)",
"ppTerm": "?negSucc",
"assigned": true,
"usedConstants": [
"HurwitzKernelBounds.f_int",
"Eq.mpr",
"Real",
... | [] | · rw [f_int_negSucc _ ha.2] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 256,
"column": 2
} | {
"line": 256,
"column": 30
} | {
"line": 257,
"column": 2
} | [
{
"pp": "a : ℝ\nha : a ∈ Ico 0 1\np : ℝ\nhp : 0 < p\nhp' : (fun t ↦ F_nat 0 a t - if a = 0 then 1 else 0) =O[atTop] fun t ↦ rexp (-p * t)\nq : ℝ\nhq : 0 < q\nhq' : (fun t ↦ F_nat 0 (1 - a) t) =O[atTop] fun t ↦ rexp (-q * t)\n⊢ ∃ p, 0 < p ∧ (fun t ↦ F_int 0 (↑a) t - if a = 0 then 1 else 0) =O[atTop] fun t ↦ rexp... | [
"a : ℝ\nha : a ∈ Ico 0 1\np : ℝ\nhp : 0 < p\nhp' : (fun t ↦ F_nat 0 a t - if a = 0 then 1 else 0) =O[atTop] fun t ↦ rexp (-p * t)\nq : ℝ\nhq : 0 < q\nhq' : (fun t ↦ F_nat 0 (1 - a) t) =O[atTop] fun t ↦ rexp (-q * t)\n⊢ (fun t ↦ F_int 0 (↑a) t - if a = 0 then 1 else 0) =O[atTop] fun t ↦ rexp (-min p q * t)"
] | refine ⟨_, lt_min hp hq, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds | {
"line": 271,
"column": 2
} | {
"line": 271,
"column": 30
} | {
"line": 272,
"column": 2
} | [
{
"pp": "a : ℝ\nha : a ∈ Ico 0 1\np : ℝ\nhp : 0 < p\nhp' : F_nat 1 a =O[atTop] fun t ↦ rexp (-p * t)\nq : ℝ\nhq : 0 < q\nhq' : F_nat 1 (1 - a) =O[atTop] fun t ↦ rexp (-q * t)\n⊢ ∃ p, 0 < p ∧ F_int 1 ↑a =O[atTop] fun t ↦ rexp (-p * t)",
"ppTerm": "?m.108",
"assigned": true,
"usedConstants": [
"... | [
"a : ℝ\nha : a ∈ Ico 0 1\np : ℝ\nhp : 0 < p\nhp' : F_nat 1 a =O[atTop] fun t ↦ rexp (-p * t)\nq : ℝ\nhq : 0 < q\nhq' : F_nat 1 (1 - a) =O[atTop] fun t ↦ rexp (-q * t)\n⊢ F_int 1 ↑a =O[atTop] fun t ↦ rexp (-min p q * t)"
] | refine ⟨_, lt_min hp hq, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 181,
"column": 82
} | {
"line": 191,
"column": 43
} | {
"line": 193,
"column": 0
} | [
{
"pp": "n : ℤ\nz τ : ℂ\n⊢ π * ↑|n| ^ 2 * ‖jacobiTheta₂_term n z τ‖ ≤ ‖jacobiTheta₂_term_fderiv n z τ‖",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring",
"Real.instIsOrderedRing",
"Norm.norm",
"Int.cast",
... | [] | by
have : ‖(jacobiTheta₂_term_fderiv n z τ) (0, 1)‖ ≤ ‖jacobiTheta₂_term_fderiv n z τ‖ := by
refine (ContinuousLinearMap.le_opNorm _ _).trans ?_
simp_rw [Prod.norm_def, norm_one, norm_zero, max_eq_right zero_le_one, mul_one, le_refl]
refine le_trans ?_ this
simp_rw [jacobiTheta₂_term_fderiv, jacobiTheta₂_... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.NumberTheory.LSeries.AbstractFuncEq | {
"line": 401,
"column": 4
} | {
"line": 401,
"column": 31
} | {
"line": 402,
"column": 4
} | [
{
"pp": "case refine_2.inl\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : WeakFEPair E\ns : ℂ\nhs : s ≠ 0 ∨ P.f₀ = 0\nhs' : s ≠ ↑P.k\n⊢ DifferentiableAt ℂ (fun s ↦ (P.ε / (↑P.k - s)) • P.g₀) s",
"ppTerm": "?refine_2.inl",
"assigned": true,
"usedConstants": [
"Normed... | [
"case refine_2.inr\nE : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : NormedSpace ℂ E\nP : WeakFEPair E\ns : ℂ\nhs : s ≠ 0 ∨ P.f₀ = 0\nhs' : P.g₀ = 0\n⊢ DifferentiableAt ℂ (fun s ↦ (P.ε / (↑P.k - s)) • P.g₀) s"
] | · fun_prop (disch := grind) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.NumberTheory.LSeries.HurwitzZetaEven | {
"line": 211,
"column": 4
} | {
"line": 211,
"column": 13
} | {
"line": 211,
"column": 14
} | [
{
"pp": "a t : ℝ\nht : 0 < t\nthis :\n HasSum\n (fun n ↦\n cexp (2 * ↑π * I * ↑a * ↑↑(n + 1)) * ↑(rexp (-π * ↑↑(n + 1) ^ 2 * t)) +\n cexp (2 * ↑π * I * ↑a * ↑(-↑(n + 1))) * ↑(rexp (-π * ↑(-↑(n + 1)) ^ 2 * t)))\n (↑(cosKernel (↑a) t) + cexp (2 * ↑π * I * ↑a * 0) * ↑(rexp (-π * 0 * t)) -\n ... | [
"a t : ℝ\nht : 0 < t\nthis :\n HasSum\n (fun n ↦\n cexp (2 * ↑π * I * ↑a * ↑↑(n + 1)) * ↑(rexp (-π * ↑↑(n + 1) ^ 2 * t)) +\n cexp (2 * ↑π * I * ↑a * ↑(-↑(n + 1))) * ↑(rexp (-π * ↑(-↑(n + 1)) ^ 2 * t)))\n (↑(cosKernel (↑a) t) + cexp 0 * ↑(rexp (0 * t)) - (cexp 0 * ↑(rexp (0 * t)) + cexp 0 * ↑(rexp... | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 88,
"column": 41
} | {
"line": 88,
"column": 50
} | {
"line": 88,
"column": 51
} | [
{
"pp": "case inl\nz : ℂ\n⊢ 0 = -2 * ↑π / (-I * 0) ^ (3 / 2) * jacobiTheta₂'' z (-1 / 0)",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHDiv",
"Real.pi",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"Nat.instAtLeastTwoHAddOfNat",
... | [
"case inl\nz : ℂ\n⊢ 0 = -2 * ↑π / 0 ^ (3 / 2) * jacobiTheta₂'' z (-1 / 0)"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 380,
"column": 51
} | {
"line": 380,
"column": 59
} | {
"line": 380,
"column": 60
} | [
{
"pp": "z τ : ℂ\nn : ℤ\nthis : cexp (↑π * I * ↑n ^ 2 * 2) = 1\n⊢ cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * (τ + 2)) =\n cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ)",
"ppTerm": "?m.50",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Int.cast",... | [
"z τ : ℂ\nn : ℤ\nthis : cexp (↑π * I * ↑n ^ 2 * 2) = 1\n⊢ cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ + ↑π * I * ↑n ^ 2 * 2) =\n cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 387,
"column": 30
} | {
"line": 387,
"column": 38
} | {
"line": 387,
"column": 39
} | [
{
"pp": "z τ : ℂ\nn : ℤ\n⊢ cexp (2 * ↑π * I * ↑n * (z + 1) + ↑π * I * ↑n ^ 2 * τ) = cexp (2 * ↑π * I * ↑n * z + ↑π * I * ↑n ^ 2 * τ)",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Int.cast",
"Eq.mpr",
"Real.pi",
"HMul.hMul",
... | [
"z τ : ℂ\nn : ℤ\n⊢ cexp (2 * ↑π * I * ↑n * z + 2 * ↑π * I * ↑n * 1 + ↑π * I * ↑n ^ 2 * τ) =\n cexp (2 * ↑π * I * ↑n * z + ↑π * I * ↑n ^ 2 * τ)"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 415,
"column": 51
} | {
"line": 415,
"column": 59
} | {
"line": 415,
"column": 60
} | [
{
"pp": "z τ : ℂ\nn : ℤ\nthis : cexp (↑π * I * ↑n ^ 2 * 2) = 1\n⊢ 2 * ↑π * I * ↑n * (cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * (τ + 2))) =\n 2 * ↑π * I * ↑n * (cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ))",
"ppTerm": "?m.51",
"assigned": true,
"usedConstants": [
"Dist... | [
"z τ : ℂ\nn : ℤ\nthis : cexp (↑π * I * ↑n ^ 2 * 2) = 1\n⊢ 2 * ↑π * I * ↑n * (cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ + ↑π * I * ↑n ^ 2 * 2)) =\n 2 * ↑π * I * ↑n * (cexp (2 * ↑π * I * ↑n * z) * cexp (↑π * I * ↑n ^ 2 * τ))"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 429,
"column": 64
} | {
"line": 429,
"column": 73
} | {
"line": 429,
"column": 74
} | [
{
"pp": "case inl\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ 0 = cexp (-↑π * I * (τ + 2 * z)) * (0 - 2 * ↑π * I * 0)",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real.pi",
"HMul.hMul",
"congrArg",
"Nat.instAtLeastTwoHAddOfNat",
"HSub.hSub",
"Complex.i... | [
"case inl\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ 0 = cexp (-↑π * I * (τ + 2 * z)) * (0 - 0)"
] | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 101,
"column": 60
} | {
"line": 101,
"column": 70
} | {
"line": 101,
"column": 71
} | [
{
"pp": "case inr.e_a\nz τ : ℂ\nhτ : τ ≠ 0\naux1 : -2 * ↑π / (2 * ↑π * I) = I\n⊢ -(I *\n (cexp (-↑π * I * z ^ 2 / τ) *\n (jacobiTheta₂' (z / τ) (-1 / τ) - 2 * ↑π * I * z * jacobiTheta₂ (z / τ) (-1 / τ)))) =\n I *\n (cexp (↑π * I * z ^ 2 * (-1 / τ)) *\n (-jacobiTheta₂' (z / τ) (-1 ... | [
"case inr.e_a\nz τ : ℂ\nhτ : τ ≠ 0\naux1 : -2 * ↑π / (2 * ↑π * I) = I\n⊢ I *\n -(cexp (-↑π * I * z ^ 2 / τ) *\n (jacobiTheta₂' (z / τ) (-1 / τ) - 2 * ↑π * I * z * jacobiTheta₂ (z / τ) (-1 / τ))) =\n I *\n (cexp (↑π * I * z ^ 2 * (-1 / τ)) *\n (-jacobiTheta₂' (z / τ) (-1 / τ) + z * jacob... | ← mul_neg, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 101,
"column": 71
} | {
"line": 101,
"column": 81
} | {
"line": 102,
"column": 4
} | [
{
"pp": "case inr.e_a\nz τ : ℂ\nhτ : τ ≠ 0\naux1 : -2 * ↑π / (2 * ↑π * I) = I\n⊢ I *\n -(cexp (-↑π * I * z ^ 2 / τ) *\n (jacobiTheta₂' (z / τ) (-1 / τ) - 2 * ↑π * I * z * jacobiTheta₂ (z / τ) (-1 / τ))) =\n I *\n (cexp (↑π * I * z ^ 2 * (-1 / τ)) *\n (-jacobiTheta₂' (z / τ) (-1 / τ)... | [
"case inr.e_a\nz τ : ℂ\nhτ : τ ≠ 0\naux1 : -2 * ↑π / (2 * ↑π * I) = I\n⊢ I *\n (cexp (-↑π * I * z ^ 2 / τ) *\n -(jacobiTheta₂' (z / τ) (-1 / τ) - 2 * ↑π * I * z * jacobiTheta₂ (z / τ) (-1 / τ))) =\n I *\n (cexp (↑π * I * z ^ 2 * (-1 / τ)) *\n (-jacobiTheta₂' (z / τ) (-1 / τ) + z * jacobiT... | ← mul_neg, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 435,
"column": 6
} | {
"line": 435,
"column": 14
} | {
"line": 435,
"column": 15
} | [
{
"pp": "z τ : ℂ\nhτ : 0 < τ.im\nn : ℤ\n| (2 * ↑π * I * (↑n + 1) - 2 * ↑π * I) *\n cexp (2 * ↑π * I * (↑n + 1) * z + ↑π * I * (↑n + 1) ^ 2 * τ + -↑π * I * (τ + 2 * z))",
"ppTerm": "?m.166",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Int.cast",
"Semigroup.t... | [
"z τ : ℂ\nhτ : 0 < τ.im\nn : ℤ\n| (2 * ↑π * I * ↑n + 2 * ↑π * I * 1 - 2 * ↑π * I) *\n cexp ((2 * ↑π * I * ↑n + 2 * ↑π * I * 1) * z + ↑π * I * (↑n + 1) ^ 2 * τ + -↑π * I * (τ + 2 * z))"
] | mul_add, | Lean.Elab.Tactic.Conv.evalRewrite | null |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 125,
"column": 4
} | {
"line": 125,
"column": 13
} | {
"line": 125,
"column": 14
} | [
{
"pp": "case H\nx : ℝ\nhx : x ≤ 0\na' : ℝ\n⊢ cexp (-↑π * ↑a' ^ 2 * ↑x) * (↑a' * 0) = 0",
"ppTerm": "?H",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Real.pi",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"Complex.instZero",
"Complex.instMul",
"i... | [
"case H\nx : ℝ\nhx : x ≤ 0\na' : ℝ\n⊢ cexp (-↑π * ↑a' ^ 2 * ↑x) * 0 = 0",
"case H.hτ\nx : ℝ\nhx : x ≤ 0\na' : ℝ\n⊢ (I * ↑x).im ≤ 0",
"case H.hτ\nx : ℝ\nhx : x ≤ 0\na' : ℝ\n⊢ (I * ↑x).im ≤ 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 163,
"column": 11
} | {
"line": 163,
"column": 27
} | {
"line": 163,
"column": 27
} | [
{
"pp": "case H\na : ℝ\n⊢ ContinuousOn (fun x ↦ ↑(oddKernel (↑a) x)) (Ioi 0)",
"ppTerm": "?H",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NormedCommRing.toSeminormedCommRing",
"Real",
"Set.Ioi",
"instHDiv",
"Real.pi",
"HMul.hMul",
"Real.instZero",... | [
"case H\na : ℝ\n⊢ ContinuousOn\n (fun x ↦\n cexp (-↑π * ↑a ^ 2 * ↑x) *\n (jacobiTheta₂' (↑a * I * ↑x) (I * ↑x) / (2 * ↑π * I) + ↑a * jacobiTheta₂ (↑a * I * ↑x) (I * ↑x)))\n (Ioi 0)"
] | oddKernel_def' a | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 500,
"column": 75
} | {
"line": 500,
"column": 84
} | {
"line": 501,
"column": 6
} | [
{
"pp": "case inl\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ 0 = 1 / (-I * τ) ^ (1 / 2) * cexp (-↑π * I * z ^ 2 / τ) / τ * (0 - 2 * ↑π * I * z * 0)",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHDiv",
"Real.pi",
"HMul.hMul",
"MulZeroClass.toMul",
"congrA... | [
"case inl\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ 0 = 1 / (-I * τ) ^ (1 / 2) * cexp (-↑π * I * z ^ 2 / τ) / τ * (0 - 0)",
"case inl.hτ\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ (-1 / τ).im ≤ 0",
"case inl.hτ\nz τ : ℂ\nhτ : τ.im ≤ 0\n⊢ (-1 / τ).im ≤ 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 515,
"column": 4
} | {
"line": 515,
"column": 54
} | {
"line": 516,
"column": 2
} | [
{
"pp": "z τ : ℂ\nhτ : 0 < τ.im\nhτ' : 0 < (-1 / τ).im\nhj : HasDerivAt (fun w ↦ jacobiTheta₂ (w / τ) (-1 / τ)) (1 / τ * jacobiTheta₂' (z / τ) (-1 / τ)) z\n⊢ deriv (fun x ↦ jacobiTheta₂ x τ) z =\n deriv (fun z ↦ 1 / (-I * τ) ^ (1 / 2) * cexp (-↑π * I * z ^ 2 / τ) * jacobiTheta₂ (z / τ) (-1 / τ)) z",
"ppT... | [] | rw [funext (jacobiTheta₂_functional_equation · τ)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 515,
"column": 4
} | {
"line": 515,
"column": 54
} | {
"line": 516,
"column": 2
} | [
{
"pp": "z τ : ℂ\nhτ : 0 < τ.im\nhτ' : 0 < (-1 / τ).im\nhj : HasDerivAt (fun w ↦ jacobiTheta₂ (w / τ) (-1 / τ)) (1 / τ * jacobiTheta₂' (z / τ) (-1 / τ)) z\n⊢ deriv (fun x ↦ jacobiTheta₂ x τ) z =\n deriv (fun z ↦ 1 / (-I * τ) ^ (1 / 2) * cexp (-↑π * I * z ^ 2 / τ) * jacobiTheta₂ (z / τ) (-1 / τ)) z",
"ppT... | [] | rw [funext (jacobiTheta₂_functional_equation · τ)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable | {
"line": 515,
"column": 4
} | {
"line": 515,
"column": 54
} | {
"line": 516,
"column": 2
} | [
{
"pp": "z τ : ℂ\nhτ : 0 < τ.im\nhτ' : 0 < (-1 / τ).im\nhj : HasDerivAt (fun w ↦ jacobiTheta₂ (w / τ) (-1 / τ)) (1 / τ * jacobiTheta₂' (z / τ) (-1 / τ)) z\n⊢ deriv (fun x ↦ jacobiTheta₂ x τ) z =\n deriv (fun z ↦ 1 / (-I * τ) ^ (1 / 2) * cexp (-↑π * I * z ^ 2 / τ) * jacobiTheta₂ (z / τ) (-1 / τ)) z",
"ppT... | [] | rw [funext (jacobiTheta₂_functional_equation · τ)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.NumberTheory.LSeries.Dirichlet | {
"line": 414,
"column": 2
} | {
"line": 414,
"column": 35
} | {
"line": 415,
"column": 2
} | [
{
"pp": "N : ℕ\nχ : DirichletCharacter ℂ N\ns : ℂ\nhs : 1 < s.re\n⊢ L ((fun n ↦ χ ↑n) * fun n ↦ ↑(Λ n)) s = -deriv (L fun n ↦ χ ↑n) s / L (fun n ↦ χ ↑n) s",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"ArithmeticFunction.vonMangoldt",
"NormedCommRing.toSeminormedCommRing",
... | [
"case inl\ns : ℂ\nhs : 1 < s.re\nχ : DirichletCharacter ℂ 0\n⊢ L ((fun n ↦ χ ↑n) * fun n ↦ ↑(Λ n)) s = -deriv (L fun n ↦ χ ↑n) s / L (fun n ↦ χ ↑n) s",
"case inr\nN : ℕ\nχ : DirichletCharacter ℂ N\ns : ℂ\nhs : 1 < s.re\nhN : N ≠ 0\n⊢ L ((fun n ↦ χ ↑n) * fun n ↦ ↑(Λ n)) s = -deriv (L fun n ↦ χ ↑n) s / L (fun n ↦ χ... | rcases eq_or_ne N 0 with rfl | hN | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd | {
"line": 420,
"column": 41
} | {
"line": 420,
"column": 50
} | {
"line": 420,
"column": 51
} | [
{
"pp": "a : ℝ\ns : ℂ\nhs : 1 < s.re\nthis :\n HasSum\n (fun n ↦\n (s + 1).Gammaℝ * -I * ↑(↑n).sign * cexp (2 * ↑π * I * ↑a * ↑↑n) / ↑|↑n| ^ s / 2 +\n (s + 1).Gammaℝ * -I * ↑(-↑n).sign * cexp (2 * ↑π * I * ↑a * ↑(-↑n)) / ↑|(-↑n)| ^ s / 2)\n (completedSinZeta (↑a) s + (s + 1).Gammaℝ * -I * 0 *... | [
"a : ℝ\ns : ℂ\nhs : 1 < s.re\nthis :\n HasSum\n (fun n ↦\n (s + 1).Gammaℝ * -I * ↑(↑n).sign * cexp (2 * ↑π * I * ↑a * ↑↑n) / ↑|↑n| ^ s / 2 +\n (s + 1).Gammaℝ * -I * ↑(-↑n).sign * cexp (2 * ↑π * I * ↑a * ↑(-↑n)) / ↑|(-↑n)| ^ s / 2)\n (completedSinZeta (↑a) s + 0 * cexp 0 / ↑|0| ^ s / 2)\n⊢ HasSum ... | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.NumberTheory.PythagoreanTriples | {
"line": 129,
"column": 2
} | {
"line": 130,
"column": 18
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case inr.inl\nx y z : ℤ\nh : PythagoreanTriple x y z\nhc : x.gcd y = 1\nhx : x % 2 = 1\nhy : y % 2 = 0\n⊢ x % 2 = 0 ∧ y % 2 = 1 ∨ x % 2 = 1 ∧ y % 2 = 0",
"ppTerm": "?inr.inl",
"assigned": true,
"usedConstants": [
"instHMod",
"Int",
"HMod.hMod",
"And",
"instOfNa... | [
"case inr.inr\nx y z : ℤ\nh : PythagoreanTriple x y z\nhc : x.gcd y = 1\nhx : x % 2 = 1\nhy : y % 2 = 1\n⊢ x % 2 = 0 ∧ y % 2 = 1 ∨ x % 2 = 1 ∧ y % 2 = 0"
] | · right
exact ⟨hx, hy⟩ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.