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.NumberTheory.LSeries.HurwitzZetaOdd
{ "line": 515, "column": 27 }
{ "line": 515, "column": 85 }
{ "line": 516, "column": 6 }
[ { "pp": "case inr\na : ℝ\nha : a ∈ Icc 0 1\ns : ℂ\nhs : 1 < s.re\nn : ℕ\nb : ℝ\nhb✝ : 0 ≤ b\nhb : 0 = ↑n + b\n⊢ ↑(SignType.sign 0) / 0 ^ s = 1 / 0 ^ s", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Iff.mpr", "SignType.cast", "Eq.mpr", "False", "Real", "...
[ "case inr\na : ℝ\nha : a ∈ Icc 0 1\ns : ℂ\nhs : 1 < s.re\nn : ℕ\nb : ℝ\nhb✝ : 0 ≤ b\nhb : 0 = ↑n + b\n⊢ ↑(SignType.sign 0) / 0 = 1 / 0" ]
zero_cpow ((not_lt.mpr zero_le_one) ∘ (zero_re ▸ · ▸ hs)),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.FLT.Basic
{ "line": 230, "column": 2 }
{ "line": 230, "column": 41 }
{ "line": 231, "column": 2 }
[ { "pp": "n : ℕ\nR : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : DecidableEq R\ninst✝ : NormalizedGCDMonoid R\nhn : ∀ (a b c : R), a ≠ 0 → b ≠ 0 → c ≠ 0 → {a, b, c}.gcd id = 1 → a ^ n + b ^ n ≠ c ^ n\na b c : R\ns : Finset R := {a, b, c}\nd : R := s.gcd id\nA : R\nhA : a = d * A\nB : R\nhB : b = d * B\nC : R\nhC...
[ "n : ℕ\nR : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : DecidableEq R\ninst✝ : NormalizedGCDMonoid R\nhn : ∀ (a b c : R), a ≠ 0 → b ≠ 0 → c ≠ 0 → {a, b, c}.gcd id = 1 → a ^ n + b ^ n ≠ c ^ n\na b c : R\ns : Finset R := {a, b, c}\nd : R := s.gcd id\nA : R\nhA : a = d * A\nB : R\nhB : b = d * B\nC : R\nhC : c = d * C...
refine isUnit_of_associated_mul ?_ ha.1
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd
{ "line": 538, "column": 4 }
{ "line": 538, "column": 20 }
{ "line": 539, "column": 2 }
[ { "pp": "case inl\na : ℝ\ns : ℂ\nhs : 1 < s.re\nthis :\n HasSum\n (fun n ↦\n -I * ↑(↑n).sign * cexp (2 * ↑π * I * ↑a * ↑n) / ↑n ^ s / 2 +\n -(-I * ↑(↑n).sign) * cexp (-(2 * ↑π * I * ↑a * ↑n)) / ↑n ^ s / 2)\n (sinZeta (↑a) s)\nn : ℕ\nh : n ≠ 0\n⊢ (cexp (-(2 * ↑π * ↑a * ↑n * I)) * I - cexp (2 *...
[]
congr 5 <;> ring
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.NumberTheory.FLT.Basic
{ "line": 247, "column": 4 }
{ "line": 251, "column": 42 }
{ "line": 252, "column": 2 }
[ { "pp": "case inr.refine_1\nn : ℕ\na b c : ℤ\nHgcd : {a, b, c}.gcd id = 1\nHF : a ^ n + b ^ n + c ^ n = 0\nhn : n ≠ 0\n⊢ ¬(a = 0 ∧ b = 0)", "ppTerm": "?inr.refine_1", "assigned": true, "usedConstants": [ "False", "Int.instIsStrictOrderedRing", "eq_false", "Int.instNeZeroOfNat...
[]
rintro ⟨rfl, rfl⟩ simp only [ne_eq, hn, not_false_eq_true, zero_pow, add_zero, zero_add, pow_eq_zero_iff] at HF simp only [HF, Finset.mem_singleton, Finset.insert_eq_of_mem, Finset.gcd_singleton, id_eq, normalize_zero, zero_ne_one] at Hgcd
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.FLT.Basic
{ "line": 247, "column": 4 }
{ "line": 251, "column": 42 }
{ "line": 252, "column": 2 }
[ { "pp": "case inr.refine_1\nn : ℕ\na b c : ℤ\nHgcd : {a, b, c}.gcd id = 1\nHF : a ^ n + b ^ n + c ^ n = 0\nhn : n ≠ 0\n⊢ ¬(a = 0 ∧ b = 0)", "ppTerm": "?inr.refine_1", "assigned": true, "usedConstants": [ "False", "Int.instIsStrictOrderedRing", "eq_false", "Int.instNeZeroOfNat...
[]
rintro ⟨rfl, rfl⟩ simp only [ne_eq, hn, not_false_eq_true, zero_pow, add_zero, zero_add, pow_eq_zero_iff] at HF simp only [HF, Finset.mem_singleton, Finset.insert_eq_of_mem, Finset.gcd_singleton, id_eq, normalize_zero, zero_ne_one] at Hgcd
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.LSeries.HurwitzZetaOdd
{ "line": 559, "column": 95 }
{ "line": 562, "column": 47 }
{ "line": 564, "column": 0 }
[ { "pp": "a : UnitAddCircle\ns : ℂ\nhs : ∀ (n : ℕ), s ≠ -↑n\n⊢ hurwitzZetaOdd a (1 - s) = 2 * (2 * ↑π) ^ (-s) * Complex.Gamma s * Complex.sin (↑π * s / 2) * sinZeta a s", "ppTerm": "?m.51", "assigned": true, "usedConstants": [ "NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring", "...
[]
by rw [← Gammaℂ, hurwitzZetaOdd, (by ring : 1 - s + 1 = 2 - s), div_eq_mul_inv, inv_Gammaℝ_two_sub hs, completedHurwitzZetaOdd_one_sub, sinZeta, ← div_eq_mul_inv, ← mul_div_assoc, ← mul_div_assoc, mul_comm]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.PythagoreanTriples
{ "line": 297, "column": 2 }
{ "line": 297, "column": 92 }
{ "line": 298, "column": 2 }
[ { "pp": "m n : ℤ\nh : m.gcd n = 1\nhm : m % 2 = 0\nhn : n % 2 = 1\nH : ¬(m ^ 2 - n ^ 2).gcd (m ^ 2 + n ^ 2) = 1\np : ℕ\nhp : Nat.Prime p\nhp1 : ↑p ∣ m ^ 2 - n ^ 2\nhp2 : ↑p ∣ m ^ 2 + n ^ 2\nh2m : ↑p ∣ 2 * m ^ 2\nh2n : ↑p ∣ 2 * n ^ 2\n⊢ False", "ppTerm": "?m.268", "assigned": true, "usedConstants": [...
[ "m n : ℤ\nh : m.gcd n = 1\nhm : m % 2 = 0\nhn : n % 2 = 1\nH : ¬(m ^ 2 - n ^ 2).gcd (m ^ 2 + n ^ 2) = 1\np : ℕ\nhp : Nat.Prime p\nhp1 : ↑p ∣ m ^ 2 - n ^ 2\nhp2 : ↑p ∣ m ^ 2 + n ^ 2\nh2m : ↑p ∣ 2 * m ^ 2\nh2n : ↑p ∣ 2 * n ^ 2\nhmc : p = 2 ∨ p ∣ m.natAbs\n⊢ False" ]
have hmc : p = 2 ∨ p ∣ Int.natAbs m := prime_two_or_dvd_of_dvd_two_mul_pow_self_two hp h2m
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.NumberTheory.FLT.MasonStothers
{ "line": 70, "column": 4 }
{ "line": 70, "column": 41 }
{ "line": 71, "column": 4 }
[ { "pp": "k : Type u_1\ninst✝¹ : Field k\ninst✝ : DecidableEq k\na b c : k[X]\nha : a ≠ 0\nhb : b ≠ 0\nhc : c ≠ 0\nhab : IsCoprime a b\nhsum : a + b + c = 0\nw : k[X] := a.wronskian b\nwab : w = a.wronskian b\nhbc : IsCoprime b c\nhsum' : -(b + c) = a\n⊢ IsCoprime c a", "ppTerm": "?m.316", "assigned": tr...
[ "k : Type u_1\ninst✝¹ : Field k\ninst✝ : DecidableEq k\na b c : k[X]\nha : a ≠ 0\nhb : b ≠ 0\nhc : c ≠ 0\nhab : IsCoprime a b\nhsum : a + b + c = 0\nw : k[X] := a.wronskian b\nwab : w = a.wronskian b\nhbc : IsCoprime b c\nhsum' : -(b + c) = a\n⊢ IsCoprime c (b + c)" ]
rw [← hsum', IsCoprime.neg_right_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.NumberField.InfinitePlace.Basic
{ "line": 211, "column": 2 }
{ "line": 213, "column": 67 }
{ "line": 215, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝ : Field K\nφ : K →+* ℂ\nhφ : ComplexEmbedding.IsReal (mk φ).embedding\n⊢ ComplexEmbedding.IsReal φ", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ "NumberField.ComplexEmbedding.conjugate", "NumberField.ComplexEmbedding.IsReal", "congrArg", ...
[]
cases mk_eq_iff.mp (mk_embedding (mk φ)) with | inl h => rwa [h] at hφ | inr h => rwa [← ComplexEmbedding.isReal_conjugate_iff, h] at hφ
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases
Lean.Parser.Tactic.cases
Mathlib.NumberTheory.NumberField.InfinitePlace.Basic
{ "line": 332, "column": 2 }
{ "line": 333, "column": 46 }
{ "line": 335, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝² : Field K\nα : Type u_2\ninst✝¹ : CommMonoid α\ninst✝ : NumberField K\nf : InfinitePlace K → α\n⊢ ∏ w, f w = (∏ w, f ↑w) * ∏ w, f ↑w", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", "instDecidableNot", "Equiv.subtypeEquivRight_apply_...
[]
rw [← Equiv.prod_comp (Equiv.subtypeEquivRight (fun _ ↦ not_isReal_iff_isComplex))] simp [Fintype.prod_subtype_mul_prod_subtype]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.InfinitePlace.Basic
{ "line": 332, "column": 2 }
{ "line": 333, "column": 46 }
{ "line": 335, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝² : Field K\nα : Type u_2\ninst✝¹ : CommMonoid α\ninst✝ : NumberField K\nf : InfinitePlace K → α\n⊢ ∏ w, f w = (∏ w, f ↑w) * ∏ w, f ↑w", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", "instDecidableNot", "Equiv.subtypeEquivRight_apply_...
[]
rw [← Equiv.prod_comp (Equiv.subtypeEquivRight (fun _ ↦ not_isReal_iff_isComplex))] simp [Fintype.prod_subtype_mul_prod_subtype]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.InfinitePlace.Basic
{ "line": 503, "column": 55 }
{ "line": 503, "column": 64 }
{ "line": 503, "column": 65 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nh : finrank ℚ K = 1\nthis : nrRealPlaces K + 2 * 0 = 1\n⊢ nrRealPlaces K = 1", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Nat.instMulZeroClass", "HMul.hMul", "MulZeroClass.toMul", "congrArg", ...
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nh : finrank ℚ K = 1\nthis : nrRealPlaces K + 0 = 1\n⊢ nrRealPlaces K = 1" ]
mul_zero,
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.NumberTheory.NumberField.InfinitePlace.TotallyRealComplex
{ "line": 97, "column": 74 }
{ "line": 97, "column": 83 }
{ "line": 97, "column": 84 }
[ { "pp": "K : Type u_2\ninst✝¹ : Field K\ninst✝ : NumberField K\nh : IsTotallyReal K\n⊢ nrRealPlaces K + 2 * 0 = nrRealPlaces K", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.instMulZeroClass", "HMul.hMul", "MulZeroClass.toMul", "congrArg", ...
[ "K : Type u_2\ninst✝¹ : Field K\ninst✝ : NumberField K\nh : IsTotallyReal K\n⊢ nrRealPlaces K + 0 = nrRealPlaces K" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.PythagoreanTriples
{ "line": 572, "column": 12 }
{ "line": 572, "column": 17 }
{ "line": 572, "column": 17 }
[ { "pp": "case h.inl.inr\nx y z : ℤ\nh : PythagoreanTriple x y z\nh_coprime : x.gcd y = 1\nh_parity : x % 2 = 1\nm n : ℤ\nht3 : m.gcd n = 1\nht4 : m % 2 = 0 ∧ n % 2 = 1 ∨ m % 2 = 1 ∧ n % 2 = 0\nhm : 0 ≤ m\nh_odd : x = m ^ 2 - n ^ 2 ∧ y = 2 * m * n\nh_neg : z = -(m ^ 2 + n ^ 2)\n⊢ 0 < z → False", "ppTerm": "?...
[ "case h.inl.inr\nx y z : ℤ\nh : PythagoreanTriple x y z\nh_coprime : x.gcd y = 1\nh_parity : x % 2 = 1\nm n : ℤ\nht3 : m.gcd n = 1\nht4 : m % 2 = 0 ∧ n % 2 = 1 ∨ m % 2 = 1 ∧ n % 2 = 0\nhm : 0 ≤ m\nh_odd : x = m ^ 2 - n ^ 2 ∧ y = 2 * m * n\nh_neg : z = -(m ^ 2 + n ^ 2)\n⊢ 0 < -(m ^ 2 + n ^ 2) → False" ]
h_neg
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.InfinitePlace.Ramification
{ "line": 482, "column": 13 }
{ "line": 482, "column": 19 }
{ "line": 483, "column": 6 }
[ { "pp": "k : Type u_1\ninst✝⁵ : Field k\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra k K\ninst✝² : NumberField K\ninst✝¹ : NumberField k\ninst✝ : IsGalois k K\nw : InfinitePlace K\nhw : IsUnramifiedIn K ((fun x ↦ x.comap (algebraMap k K)) w)\n⊢ {a ∈ {w | IsUnramified k w} | a.comap (algebraMap k K) = (fun ...
[ "k : Type u_1\ninst✝⁵ : Field k\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra k K\ninst✝² : NumberField K\ninst✝¹ : NumberField k\ninst✝ : IsGalois k K\nw : InfinitePlace K\nhw : IsUnramifiedIn K ((fun x ↦ x.comap (algebraMap k K)) w)\nw' : InfinitePlace K\n⊢ w' ∈ {a ∈ {w | IsUnramified k w} | a.comap (algebraM...
ext w'
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.NumberTheory.PythagoreanTriples
{ "line": 597, "column": 12 }
{ "line": 597, "column": 17 }
{ "line": 597, "column": 17 }
[ { "pp": "case h.inl.right.inr\nx y z : ℤ\nh : PythagoreanTriple x y z\nh_coprime : x.gcd y = 1\nh_parity : x % 2 = 1\nm n : ℤ\nht3 : m.gcd n = 1\nht4 : m % 2 = 0 ∧ n % 2 = 1 ∨ m % 2 = 1 ∧ n % 2 = 0\nhm : m < 0\nh_odd : x = m ^ 2 - n ^ 2 ∧ y = 2 * m * n\nh_neg : z = -(m ^ 2 + n ^ 2)\n⊢ 0 < z → False", "ppTer...
[ "case h.inl.right.inr\nx y z : ℤ\nh : PythagoreanTriple x y z\nh_coprime : x.gcd y = 1\nh_parity : x % 2 = 1\nm n : ℤ\nht3 : m.gcd n = 1\nht4 : m % 2 = 0 ∧ n % 2 = 1 ∨ m % 2 = 1 ∧ n % 2 = 0\nhm : m < 0\nh_odd : x = m ^ 2 - n ^ 2 ∧ y = 2 * m * n\nh_neg : z = -(m ^ 2 + n ^ 2)\n⊢ 0 < -(m ^ 2 + n ^ 2) → False" ]
h_neg
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.InfinitePlace.Ramification
{ "line": 505, "column": 13 }
{ "line": 505, "column": 19 }
{ "line": 506, "column": 6 }
[ { "pp": "k : Type u_1\ninst✝⁵ : Field k\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra k K\ninst✝² : NumberField K\ninst✝¹ : NumberField k\ninst✝ : IsGalois k K\nw : InfinitePlace K\nhw : ¬IsUnramifiedIn K ((fun x ↦ x.comap (algebraMap k K)) w)\n⊢ {a ∉ {w | IsUnramified k w} | a.comap (algebraMap k K) = (fun...
[ "k : Type u_1\ninst✝⁵ : Field k\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra k K\ninst✝² : NumberField K\ninst✝¹ : NumberField k\ninst✝ : IsGalois k K\nw : InfinitePlace K\nhw : ¬IsUnramifiedIn K ((fun x ↦ x.comap (algebraMap k K)) w)\nw' : InfinitePlace K\n⊢ w' ∈ {a ∉ {w | IsUnramified k w} | a.comap (algebra...
ext w'
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.NumberTheory.FLT.Polynomial
{ "line": 261, "column": 8 }
{ "line": 261, "column": 14 }
{ "line": 261, "column": 15 }
[ { "pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nhn : 3 ≤ n\nchn : ↑n ≠ 0\na b c a' b' : k[X]\nd : k[X] := gcd a b\neq_a : a = a' * d\neq_b : b = b' * d\nhd : d ≠ 0\nc' : k[X]\nheq : a' ^ n + b' ^ n = c' ^ n\nhc : d ≠ 0 ∧ c' ≠ 0\neq_c : c = c' * d\nca' : k\nha : d ≠ 0 ∧ ca' ≠ 0\nha' : C ca' = a'\ncb' : k\nhb : d ...
[ "k : Type u_1\ninst✝ : Field k\nn : ℕ\nhn : 3 ≤ n\nchn : ↑n ≠ 0\na b c a' b' : k[X]\nd : k[X] := gcd a b\neq_a : a = a' * d\neq_b : b = b' * d\nhd : d ≠ 0\nc' : k[X]\nheq : a' ^ n + b' ^ n = c' ^ n\neq_c : c = c' * d\nca' : k\nha : d ≠ 0 ∧ ca' ≠ 0\nha' : C ca' = a'\ncb' : k\nhb : d ≠ 0 ∧ cb' ≠ 0\nhb' : C cb' = b'\n...
← hc',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.Units.Basic
{ "line": 199, "column": 2 }
{ "line": 203, "column": 29 }
{ "line": 205, "column": 0 }
[ { "pp": "case refine_2\nK : Type u_1\ninst✝ : Field K\nk : ℕ+\nhc : (↑k).Coprime (torsionOrder K)\nζ : (𝓞 K)ˣ\nh : ζ ^ ↑k = 1\n⊢ orderOf ζ ∣ torsionOrder K", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "PNat.val", "Eq.mpr", "MulOne.toOne", "Dvd.dvd", "N...
[]
· have hζ : ζ ∈ torsion K := by rw [torsion, CommGroup.mem_torsion, isOfFinOrder_iff_pow_eq_one] exact ⟨k, k.prop, h⟩ rw [orderOf_submonoid (⟨ζ, hζ⟩ : torsion K)] apply orderOf_dvd_natCard
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic
{ "line": 297, "column": 2 }
{ "line": 297, "column": 8 }
{ "line": 298, "column": 2 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : (K →+* ℂ) → ℂ\nh_zero : (commMap K) x = 0\nh_mem : x ∈ Submodule.span ℝ (Set.range ⇑(canonicalEmbedding K))\n⊢ x = 0", "ppTerm": "?m.97", "assigned": true, "usedConstants": [ "Pi.addCommMonoid", "CommSemiring.toSemiring"...
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : (K →+* ℂ) → ℂ\nh_zero : (commMap K) x = 0\nh_mem : x ∈ Submodule.span ℝ (Set.range ⇑(canonicalEmbedding K))\nφ : K →+* ℂ\n⊢ x φ = 0 φ" ]
ext1 φ
Lean.Elab.Tactic.Ext._aux_Init_Ext___macroRules_Lean_Elab_Tactic_Ext_tacticExt1____1
Lean.Elab.Tactic.Ext.tacticExt1___
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody
{ "line": 385, "column": 8 }
{ "line": 387, "column": 54 }
{ "line": 388, "column": 6 }
[ { "pp": "case e'_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nB : ℝ\nhB : 0 < B\nthis : volume (convexBodySum K 1) = ↑(convexBodySumFactor K)\n⊢ convexBodySum K B = B • convexBodySum K 1", "ppTerm": "?e'_2", "assigned": true, "usedConstants": [ "instInnerProductSpaceRealComplex", ...
[]
simp_rw [← Set.preimage_smul_inv₀ (ne_of_gt hB), Set.preimage_ofPred_eq, convexBodySumFun, normAtPlace_smul, abs_inv, abs_eq_self.mpr (le_of_lt hB), ← mul_assoc, mul_comm, mul_assoc, ← Finset.mul_sum, inv_mul_le_iff₀ hB, mul_one]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody
{ "line": 385, "column": 8 }
{ "line": 387, "column": 54 }
{ "line": 388, "column": 6 }
[ { "pp": "case e'_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nB : ℝ\nhB : 0 < B\nthis : volume (convexBodySum K 1) = ↑(convexBodySumFactor K)\n⊢ convexBodySum K B = B • convexBodySum K 1", "ppTerm": "?e'_2", "assigned": true, "usedConstants": [ "instInnerProductSpaceRealComplex", ...
[]
simp_rw [← Set.preimage_smul_inv₀ (ne_of_gt hB), Set.preimage_ofPred_eq, convexBodySumFun, normAtPlace_smul, abs_inv, abs_eq_self.mpr (le_of_lt hB), ← mul_assoc, mul_comm, mul_assoc, ← Finset.mul_sum, inv_mul_le_iff₀ hB, mul_one]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody
{ "line": 385, "column": 8 }
{ "line": 387, "column": 54 }
{ "line": 388, "column": 6 }
[ { "pp": "case e'_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nB : ℝ\nhB : 0 < B\nthis : volume (convexBodySum K 1) = ↑(convexBodySumFactor K)\n⊢ convexBodySum K B = B • convexBodySum K 1", "ppTerm": "?e'_2", "assigned": true, "usedConstants": [ "instInnerProductSpaceRealComplex", ...
[]
simp_rw [← Set.preimage_smul_inv₀ (ne_of_gt hB), Set.preimage_ofPred_eq, convexBodySumFun, normAtPlace_smul, abs_inv, abs_eq_self.mpr (le_of_lt hB), ← mul_assoc, mul_comm, mul_assoc, ← Finset.mul_sum, inv_mul_le_iff₀ hB, mul_one]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic
{ "line": 545, "column": 56 }
{ "line": 545, "column": 91 }
{ "line": 545, "column": 91 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nφ : K →+* ℂ\nhφ : ComplexEmbedding.IsReal φ\n⊢ (fun c ↦\n Sum.casesOn (motive := fun t ↦ c = t → K →+* ℂ) c (fun w h ↦ (↑w).embedding)\n (fun wj h ↦\n Prod.casesOn wj fun w j ↦ if j = 0 then (↑w).embedding else ComplexEmb...
[]
simp [embedding_mk_eq_of_isReal hφ]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic
{ "line": 545, "column": 56 }
{ "line": 545, "column": 91 }
{ "line": 545, "column": 91 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nφ : K →+* ℂ\nhφ : ComplexEmbedding.IsReal φ\n⊢ (fun c ↦\n Sum.casesOn (motive := fun t ↦ c = t → K →+* ℂ) c (fun w h ↦ (↑w).embedding)\n (fun wj h ↦\n Prod.casesOn wj fun w j ↦ if j = 0 then (↑w).embedding else ComplexEmb...
[]
simp [embedding_mk_eq_of_isReal hφ]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic
{ "line": 545, "column": 56 }
{ "line": 545, "column": 91 }
{ "line": 545, "column": 91 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nφ : K →+* ℂ\nhφ : ComplexEmbedding.IsReal φ\n⊢ (fun c ↦\n Sum.casesOn (motive := fun t ↦ c = t → K →+* ℂ) c (fun w h ↦ (↑w).embedding)\n (fun wj h ↦\n Prod.casesOn wj fun w j ↦ if j = 0 then (↑w).embedding else ComplexEmb...
[]
simp [embedding_mk_eq_of_isReal hφ]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic
{ "line": 588, "column": 10 }
{ "line": 588, "column": 21 }
{ "line": 588, "column": 22 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\n⊢ ∏ _k, 2⁻¹ * I = (2⁻¹ * I) ^ Fintype.card { w // w.IsComplex }", "ppTerm": "?m.123", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "Finset.univ", "Complex.commRing", "congrArg", "Number...
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\n⊢ (2⁻¹ * I) ^ #univ = (2⁻¹ * I) ^ Fintype.card { w // w.IsComplex }" ]
prod_const,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody
{ "line": 610, "column": 4 }
{ "line": 611, "column": 22 }
{ "line": 612, "column": 2 }
[ { "pp": "case refine_1\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nI : (FractionalIdeal (𝓞 K)⁰ K)ˣ\nB : ℝ\nh : minkowskiBound K I ≤ volume (convexBodySum K B)\nhB : 0 ≤ B\nh1 : 0 < (↑(finrank ℚ K))⁻¹\nh2 : 0 ≤ B / ↑(finrank ℚ K)\nh_fund :\n IsAddFundamentalDomain (↥(span ℤ (Set.range ⇑(fractionalI...
[]
simp_rw [← prod_eq_abs_norm, rpow_natCast] exact le_of_eq rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody
{ "line": 610, "column": 4 }
{ "line": 611, "column": 22 }
{ "line": 612, "column": 2 }
[ { "pp": "case refine_1\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nI : (FractionalIdeal (𝓞 K)⁰ K)ˣ\nB : ℝ\nh : minkowskiBound K I ≤ volume (convexBodySum K B)\nhB : 0 ≤ B\nh1 : 0 < (↑(finrank ℚ K))⁻¹\nh2 : 0 ≤ B / ↑(finrank ℚ K)\nh_fund :\n IsAddFundamentalDomain (↥(span ℤ (Set.range ⇑(fractionalI...
[]
simp_rw [← prod_eq_abs_norm, rpow_natCast] exact le_of_eq rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Int
{ "line": 75, "column": 4 }
{ "line": 81, "column": 32 }
{ "line": 82, "column": 2 }
[ { "pp": "case pos\nR : Type u_1\ninst✝ : Ring R\nI : Ideal R\nh : absNorm (under ℤ I) = 0\n⊢ absNorm (under ℤ I) = sInf {d | 0 < d ∧ ↑d ∈ I}", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "Nat.instMulZeroOneClass", "Int.cast_natCast", "F...
[]
have : {d : ℕ | 0 < d ∧ ↑d ∈ I} = ∅ := by refine Set.eq_empty_of_forall_notMem ?_ intro x ⟨hx₁, hx₂⟩ rw [← cast_natCast, cast_mem_ideal_iff, h, natCast_dvd_natCast, Nat.zero_dvd] at hx₂ rw [Nat.pos_iff_ne_zero] at hx₁ exact hx₁ hx₂ rw [h, this, Nat.sInf_empty]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Int
{ "line": 75, "column": 4 }
{ "line": 81, "column": 32 }
{ "line": 82, "column": 2 }
[ { "pp": "case pos\nR : Type u_1\ninst✝ : Ring R\nI : Ideal R\nh : absNorm (under ℤ I) = 0\n⊢ absNorm (under ℤ I) = sInf {d | 0 < d ∧ ↑d ∈ I}", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "Nat.instMulZeroOneClass", "Int.cast_natCast", "F...
[]
have : {d : ℕ | 0 < d ∧ ↑d ∈ I} = ∅ := by refine Set.eq_empty_of_forall_notMem ?_ intro x ⟨hx₁, hx₂⟩ rw [← cast_natCast, cast_mem_ideal_iff, h, natCast_dvd_natCast, Nat.zero_dvd] at hx₂ rw [Nat.pos_iff_ne_zero] at hx₁ exact hx₁ hx₂ rw [h, this, Nat.sInf_empty]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Int
{ "line": 85, "column": 4 }
{ "line": 85, "column": 17 }
{ "line": 86, "column": 4 }
[ { "pp": "case neg\nR : Type u_1\ninst✝ : Ring R\nI : Ideal R\nh : ¬absNorm (under ℤ I) = 0\nh₁ : absNorm (under ℤ I) ∈ {d | 0 < d ∧ ↑d ∈ I}\n⊢ absNorm (under ℤ I) ≤ sInf {d | 0 < d ∧ ↑d ∈ I}", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "Nat.instMulZeroOneClass", "Preorder.to...
[ "case neg\nR : Type u_1\ninst✝ : Ring R\nI : Ideal R\nh : ¬absNorm (under ℤ I) = 0\nh₁ : absNorm (under ℤ I) ∈ {d | 0 < d ∧ ↑d ∈ I}\nh₀ : sInf {d | 0 < d ∧ ↑d ∈ I} < absNorm (under ℤ I)\n⊢ False" ]
by_contra! h₀
Mathlib.Tactic.ByContra._aux_Mathlib_Tactic_ByContra___macroRules_Mathlib_Tactic_ByContra_byContra!_1
Mathlib.Tactic.ByContra.byContra!
Mathlib.RingTheory.Ideal.Int
{ "line": 99, "column": 47 }
{ "line": 99, "column": 62 }
{ "line": 99, "column": 62 }
[ { "pp": "S : Type u_2\ninst✝¹ : CommRing S\ninst✝ : IsDedekindDomain S\nI : Ideal S\nhI : I ≠ ⊥\nh✝ : Finite (S ⧸ I)\nthis : Fintype (S ⧸ I)\nd : ℕ\nh : ∀ (x : S ⧸ I), (Ideal.Quotient.mk I) ↑d * x = 0\n⊢ (Ideal.Quotient.mk I) ↑d = 0", "ppTerm": "?m.111", "assigned": true, "usedConstants": [ "E...
[]
simpa using h 1
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.RingTheory.Ideal.Int
{ "line": 99, "column": 47 }
{ "line": 99, "column": 62 }
{ "line": 99, "column": 62 }
[ { "pp": "S : Type u_2\ninst✝¹ : CommRing S\ninst✝ : IsDedekindDomain S\nI : Ideal S\nhI : I ≠ ⊥\nh✝ : Finite (S ⧸ I)\nthis : Fintype (S ⧸ I)\nd : ℕ\nh : ∀ (x : S ⧸ I), (Ideal.Quotient.mk I) ↑d * x = 0\n⊢ (Ideal.Quotient.mk I) ↑d = 0", "ppTerm": "?m.111", "assigned": true, "usedConstants": [ "E...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Int
{ "line": 99, "column": 47 }
{ "line": 99, "column": 62 }
{ "line": 99, "column": 62 }
[ { "pp": "S : Type u_2\ninst✝¹ : CommRing S\ninst✝ : IsDedekindDomain S\nI : Ideal S\nhI : I ≠ ⊥\nh✝ : Finite (S ⧸ I)\nthis : Fintype (S ⧸ I)\nd : ℕ\nh : ∀ (x : S ⧸ I), (Ideal.Quotient.mk I) ↑d * x = 0\n⊢ (Ideal.Quotient.mk I) ↑d = 0", "ppTerm": "?m.111", "assigned": true, "usedConstants": [ "E...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Norm.RelNorm
{ "line": 230, "column": 69 }
{ "line": 230, "column": 89 }
{ "line": 230, "column": 89 }
[ { "pp": "R : Type u_1\ninst✝¹⁸ : CommRing R\ninst✝¹⁷ : IsDomain R\nS : Type u_3\ninst✝¹⁶ : CommRing S\ninst✝¹⁵ : IsDomain S\ninst✝¹⁴ : IsIntegrallyClosed R\ninst✝¹³ : IsIntegrallyClosed S\ninst✝¹² : Algebra R S\ninst✝¹¹ : Module.Finite R S\ninst✝¹⁰ : IsTorsionFree R S\nT : Type u_4\ninst✝⁹ : CommRing T\ninst✝⁸ ...
[]
rw [intNorm_intNorm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Ideal.Norm.RelNorm
{ "line": 230, "column": 69 }
{ "line": 230, "column": 89 }
{ "line": 230, "column": 89 }
[ { "pp": "R : Type u_1\ninst✝¹⁸ : CommRing R\ninst✝¹⁷ : IsDomain R\nS : Type u_3\ninst✝¹⁶ : CommRing S\ninst✝¹⁵ : IsDomain S\ninst✝¹⁴ : IsIntegrallyClosed R\ninst✝¹³ : IsIntegrallyClosed S\ninst✝¹² : Algebra R S\ninst✝¹¹ : Module.Finite R S\ninst✝¹⁰ : IsTorsionFree R S\nT : Type u_4\ninst✝⁹ : CommRing T\ninst✝⁸ ...
[]
rw [intNorm_intNorm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Norm.RelNorm
{ "line": 230, "column": 69 }
{ "line": 230, "column": 89 }
{ "line": 230, "column": 89 }
[ { "pp": "R : Type u_1\ninst✝¹⁸ : CommRing R\ninst✝¹⁷ : IsDomain R\nS : Type u_3\ninst✝¹⁶ : CommRing S\ninst✝¹⁵ : IsDomain S\ninst✝¹⁴ : IsIntegrallyClosed R\ninst✝¹³ : IsIntegrallyClosed S\ninst✝¹² : Algebra R S\ninst✝¹¹ : Module.Finite R S\ninst✝¹⁰ : IsTorsionFree R S\nT : Type u_4\ninst✝⁹ : CommRing T\ninst✝⁸ ...
[]
rw [intNorm_intNorm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Norm.RelNorm
{ "line": 249, "column": 4 }
{ "line": 249, "column": 12 }
{ "line": 250, "column": 4 }
[ { "pp": "case pos\nR : Type u_1\ninst✝²¹ : CommRing R\ninst✝²⁰ : IsDomain R\nS : Type u_3\ninst✝¹⁹ : CommRing S\ninst✝¹⁸ : IsDomain S\ninst✝¹⁷ : IsIntegrallyClosed R\ninst✝¹⁶ : IsIntegrallyClosed S\ninst✝¹⁵ : Algebra R S\ninst✝¹⁴ : Module.Finite R S\ninst✝¹³ : IsTorsionFree R S\nT : Type u_4\ninst✝¹² : CommRing...
[ "case pos\nR : Type u_1\ninst✝²¹ : CommRing R\ninst✝²⁰ : IsDomain R\nS : Type u_3\ninst✝¹⁹ : CommRing S\ninst✝¹⁸ : IsDomain S\ninst✝¹⁷ : IsIntegrallyClosed R\ninst✝¹⁶ : IsIntegrallyClosed S\ninst✝¹⁵ : Algebra R S\ninst✝¹⁴ : Module.Finite R S\ninst✝¹³ : IsTorsionFree R S\nT : Type u_4\ninst✝¹² : CommRing T\ninst✝¹¹ ...
subst hP
Lean.Elab.Tactic.evalSubst
Lean.Parser.Tactic.subst
Mathlib.NumberTheory.NumberField.Discriminant.Different
{ "line": 157, "column": 59 }
{ "line": 157, "column": 79 }
{ "line": 157, "column": 79 }
[ { "pp": "L : Type u_3\ninst✝¹ : Field L\ninst✝ : NumberField L\nK₁ K₂ : IntermediateField ℚ L\nh₁ : K₁.LinearDisjoint ↥K₂\nh₂ : K₁ ⊔ K₂ = ⊤\nh₃ :\n IsCoprime (Ideal.map (algebraMap (𝓞 ↥K₁) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₁)))\n (Ideal.map (algebraMap (𝓞 ↥K₂) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₂)))\nx✝ : Alge...
[]
rwa [isCoprime_comm]
Lean.Elab.Tactic.evalRwa
Lean.Parser.Tactic.rwa
Mathlib.NumberTheory.NumberField.Discriminant.Different
{ "line": 157, "column": 59 }
{ "line": 157, "column": 79 }
{ "line": 157, "column": 79 }
[ { "pp": "L : Type u_3\ninst✝¹ : Field L\ninst✝ : NumberField L\nK₁ K₂ : IntermediateField ℚ L\nh₁ : K₁.LinearDisjoint ↥K₂\nh₂ : K₁ ⊔ K₂ = ⊤\nh₃ :\n IsCoprime (Ideal.map (algebraMap (𝓞 ↥K₁) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₁)))\n (Ideal.map (algebraMap (𝓞 ↥K₂) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₂)))\nx✝ : Alge...
[]
rwa [isCoprime_comm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.Discriminant.Different
{ "line": 157, "column": 59 }
{ "line": 157, "column": 79 }
{ "line": 157, "column": 79 }
[ { "pp": "L : Type u_3\ninst✝¹ : Field L\ninst✝ : NumberField L\nK₁ K₂ : IntermediateField ℚ L\nh₁ : K₁.LinearDisjoint ↥K₂\nh₂ : K₁ ⊔ K₂ = ⊤\nh₃ :\n IsCoprime (Ideal.map (algebraMap (𝓞 ↥K₁) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₁)))\n (Ideal.map (algebraMap (𝓞 ↥K₂) (𝓞 L)) (differentIdeal ℤ (𝓞 ↥K₂)))\nx✝ : Alge...
[]
rwa [isCoprime_comm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.Units.DirichletTheorem
{ "line": 125, "column": 55 }
{ "line": 125, "column": 64 }
{ "line": 125, "column": 65 }
[ { "pp": "case refine_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : (𝓞 K)ˣ\nh : ∀ (w : InfinitePlace K), w ((algebraMap (𝓞 K) K) ↑x) = 1\nw : { w // w ≠ w₀ }\n⊢ ↑(↑w).mult * 0 = 0 w", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "HM...
[ "case refine_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nx : (𝓞 K)ˣ\nh : ∀ (w : InfinitePlace K), w ((algebraMap (𝓞 K) K) ↑x) = 1\nw : { w // w ≠ w₀ }\n⊢ 0 = 0 w" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.Units.DirichletTheorem
{ "line": 159, "column": 6 }
{ "line": 160, "column": 62 }
{ "line": 161, "column": 6 }
[ { "pp": "case pos.refine_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nr : ℝ\nx : (𝓞 K)ˣ\nhr : 0 ≤ r\nh : ‖(logEmbedding K) (Additive.ofMul x)‖ ≤ r\nw : InfinitePlace K\ntool : ∀ (x : ℝ), 0 ≤ x → x ≤ ↑w.mult * x\nhw : w = w₀\nhyp : ↑w₀.mult * |Real.log (w₀ ((algebraMap (𝓞 K) K) ↑x))| ≤ ∑ x_1, |(lo...
[ "case pos.refine_2\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nr : ℝ\nx : (𝓞 K)ˣ\nhr : 0 ≤ r\nh : ‖(logEmbedding K) (Additive.ofMul x)‖ ≤ r\nw : InfinitePlace K\ntool : ∀ (x : ℝ), 0 ≤ x → x ≤ ↑w.mult * x\nhw : w = w₀\nhyp : ↑w₀.mult * |Real.log (w₀ ((algebraMap (𝓞 K) K) ↑x))| ≤ ∑ x_1, |(logEmbedding K...
refine (sum_le_card_nsmul univ _ _ (fun w _ ↦ logEmbedding_component_le hr h w)).trans ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.NumberTheory.NumberField.Cyclotomic.Basic
{ "line": 281, "column": 4 }
{ "line": 288, "column": 58 }
{ "line": 289, "column": 2 }
[ { "pp": "case zero\nK : Type u\ninst✝² : Field K\nζ : K\ninst✝¹ : CharZero K\nthis : NumberField K\ninst✝ : IsCyclotomicExtension {2 ^ (0 + 1)} ℚ K\nhζ : IsPrimitiveRoot ζ (2 ^ (0 + 1))\n⊢ Prime ((Algebra.norm ℤ) (hζ.toInteger - 1))", "ppTerm": "?zero", "assigned": true, "usedConstants": [ "Eq...
[]
convert Prime.neg Int.prime_two apply RingHom.injective_int (algebraMap ℤ ℚ) rw [← Algebra.norm_localization (Sₘ := K) ℤ (nonZeroDivisors ℤ)] simp only [algebraMap_int_eq, map_neg, map_ofNat] simpa only [zero_add, pow_one, AddSubgroupClass.coe_sub, OneMemClass.coe_one, pow_zero] using! hζ....
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.NumberField.Cyclotomic.Basic
{ "line": 281, "column": 4 }
{ "line": 288, "column": 58 }
{ "line": 289, "column": 2 }
[ { "pp": "case zero\nK : Type u\ninst✝² : Field K\nζ : K\ninst✝¹ : CharZero K\nthis : NumberField K\ninst✝ : IsCyclotomicExtension {2 ^ (0 + 1)} ℚ K\nhζ : IsPrimitiveRoot ζ (2 ^ (0 + 1))\n⊢ Prime ((Algebra.norm ℤ) (hζ.toInteger - 1))", "ppTerm": "?zero", "assigned": true, "usedConstants": [ "Eq...
[]
convert Prime.neg Int.prime_two apply RingHom.injective_int (algebraMap ℤ ℚ) rw [← Algebra.norm_localization (Sₘ := K) ℤ (nonZeroDivisors ℤ)] simp only [algebraMap_int_eq, map_neg, map_ofNat] simpa only [zero_add, pow_one, AddSubgroupClass.coe_sub, OneMemClass.coe_one, pow_zero] using! hζ....
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.NumberField.Cyclotomic.Basic
{ "line": 484, "column": 52 }
{ "line": 489, "column": 32 }
{ "line": 491, "column": 0 }
[ { "pp": "p k : ℕ\nK : Type u\ninst✝¹ : Field K\nζ : K\nhp : Fact (Nat.Prime p)\ninst✝ : CharZero K\nhcycl : IsCyclotomicExtension {p ^ (k + 1)} ℚ K\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\n⊢ Finite (𝓞 K ⧸ Ideal.span {hζ.toInteger - 1})", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "...
[]
by have : NumberField K := IsCyclotomicExtension.numberField {p ^ (k + 1)} ℚ K refine Ideal.finiteQuotientOfFreeOfNeBot _ (fun h ↦ ?_) simp only [Ideal.span_singleton_eq_bot, sub_eq_zero] at h exact hζ.ne_one (one_lt_pow₀ hp.1.one_lt (Nat.zero_ne_add_one k).symm) (RingOfIntegers.ext_iff.1 h)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.NumberField.Cyclotomic.Three
{ "line": 66, "column": 2 }
{ "line": 66, "column": 91 }
{ "line": 67, "column": 2 }
[ { "pp": "K : Type u_1\ninst✝² : Field K\nζ : K\nhζ : IsPrimitiveRoot ζ 3\nu : (𝓞 K)ˣ\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {3} ℚ K\nhrank : rank K = 0\nx : ↥(torsion K)\ne : Fin (rank K) → ℤ\nhxu : u = ↑x\n⊢ u ∈ [1, -1, ⋯.unit, -⋯.unit, ⋯.unit ^ 2, -⋯.unit ^ 2]", "ppTerm": "?m.219", "a...
[ "K : Type u_1\ninst✝² : Field K\nζ : K\nhζ : IsPrimitiveRoot ζ 3\nu : (𝓞 K)ˣ\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {3} ℚ K\nhrank : rank K = 0\nx : ↥(torsion K)\ne : Fin (rank K) → ℤ\nhxu : u = ↑x\nn : ℕ\nhnpos : 0 < n\nhn : ↑x ^ n = 1\n⊢ u ∈ [1, -1, ⋯.unit, -⋯.unit, ⋯.unit ^ 2, -⋯.unit ^ 2]" ]
obtain ⟨n, hnpos, hn⟩ := isOfFinOrder_iff_pow_eq_one.1 <| (CommGroup.mem_torsion _).1 x.2
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.RingTheory.DedekindDomain.Different
{ "line": 877, "column": 2 }
{ "line": 879, "column": 29 }
{ "line": 880, "column": 2 }
[ { "pp": "case neg\nA : Type u_1\nB : Type u_3\ninst✝¹¹ : CommRing A\ninst✝¹⁰ : CommRing B\ninst✝⁹ : Algebra A B\ninst✝⁸ : IsDomain A\ninst✝⁷ : IsDedekindDomain A\ninst✝⁶ : IsDedekindDomain B\ninst✝⁵ : IsTorsionFree A B\ninst✝⁴ : Module.Finite A B\ninst✝³ : Algebra.IsSeparable (FractionRing A) (FractionRing B)\n...
[ "case neg\nA : Type u_1\nB : Type u_3\ninst✝¹¹ : CommRing A\ninst✝¹⁰ : CommRing B\ninst✝⁹ : Algebra A B\ninst✝⁸ : IsDomain A\ninst✝⁷ : IsDedekindDomain A\ninst✝⁶ : IsDedekindDomain B\ninst✝⁵ : IsTorsionFree A B\ninst✝⁴ : Module.Finite A B\ninst✝³ : Algebra.IsSeparable (FractionRing A) (FractionRing B)\np : Ideal A\...
have hPbot : P ≠ ⊥ := by rintro rfl; apply hp' rwa [Ideal.bot_mul] at ha
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.RingTheory.DedekindDomain.Different
{ "line": 880, "column": 2 }
{ "line": 903, "column": 84 }
{ "line": 904, "column": 2 }
[ { "pp": "case neg\nA : Type u_1\nB : Type u_3\ninst✝¹¹ : CommRing A\ninst✝¹⁰ : CommRing B\ninst✝⁹ : Algebra A B\ninst✝⁸ : IsDomain A\ninst✝⁷ : IsDedekindDomain A\ninst✝⁶ : IsDedekindDomain B\ninst✝⁵ : IsTorsionFree A B\ninst✝⁴ : Module.Finite A B\ninst✝³ : Algebra.IsSeparable (FractionRing A) (FractionRing B)\n...
[ "case neg\nA : Type u_1\nB : Type u_3\ninst✝¹¹ : CommRing A\ninst✝¹⁰ : CommRing B\ninst✝⁹ : Algebra A B\ninst✝⁸ : IsDomain A\ninst✝⁷ : IsDedekindDomain A\ninst✝⁶ : IsDedekindDomain B\ninst✝⁵ : IsTorsionFree A B\ninst✝⁴ : Module.Finite A B\ninst✝³ : Algebra.IsSeparable (FractionRing A) (FractionRing B)\np : Ideal A\...
suffices ∀ x ∈ a, Algebra.intTrace A B x ∈ p by have hP : ((P :)⁻¹ : FractionalIdeal B⁰ L) = a / p.map (algebraMap A B) := by apply inv_involutive.injective simp only [ha, FractionalIdeal.coeIdeal_mul, inv_div, mul_div_assoc] rw [div_self (by simpa), mul_one, inv_inv] rw [Ideal.dvd_iff_le, dif...
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.NumberTheory.NumberField.ClassNumber
{ "line": 87, "column": 14 }
{ "line": 87, "column": 23 }
{ "line": 87, "column": 24 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nC : ClassGroup (𝓞 K)\nJ : ↥(Ideal (𝓞 K))⁰\nhJ : ClassGroup.mk0 J = C⁻¹\na : 𝓞 K\nha : a ∈ ↑↑J\nh_nm :\n ↑|(Algebra.norm ℚ) ((Algebra.linearMap (𝓞 K) K) a)| ≤\n ↑(FractionalIdeal.absNorm ↑((FractionalIdeal.mk0 K) J)) * (4 / π) ^ nrComplexPla...
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nC : ClassGroup (𝓞 K)\nJ : ↥(Ideal (𝓞 K))⁰\nhJ : ClassGroup.mk0 J = C⁻¹\na : 𝓞 K\nha : a ∈ ↑↑J\nh_nm :\n ↑|(Algebra.norm ℚ) ((Algebra.linearMap (𝓞 K) K) a)| ≤\n ↑(FractionalIdeal.absNorm ↑((FractionalIdeal.mk0 K) J)) * (4 / π) ^ nrComplexPlaces K * ↑(fi...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.NumberField.Cyclotomic.Basic
{ "line": 751, "column": 71 }
{ "line": 751, "column": 90 }
{ "line": 751, "column": 90 }
[ { "pp": "K : Type u\ninst✝⁶ : Field K\ninst✝⁵ : CharZero K\ninst✝⁴ : NumberField K\nF₁ F₂ : IntermediateField ℚ K\nn₁ n₂ : ℕ\ninst✝³ : NeZero n₁\ninst✝² : NeZero n₂\ninst✝¹ : IsCyclotomicExtension {n₁} ℚ ↥F₁\ninst✝ : IsCyclotomicExtension {n₂} ℚ ↥F₂\nζ₁ : ↥F₁\nhζ₁✝ : IsPrimitiveRoot ζ₁ n₁\nh₁ : ℤ[hζ₁✝.toInteger...
[ "K : Type u\ninst✝⁶ : Field K\ninst✝⁵ : CharZero K\ninst✝⁴ : NumberField K\nF₁ F₂ : IntermediateField ℚ K\nn₁ n₂ : ℕ\ninst✝³ : NeZero n₁\ninst✝² : NeZero n₂\ninst✝¹ : IsCyclotomicExtension {n₁} ℚ ↥F₁\ninst✝ : IsCyclotomicExtension {n₂} ℚ ↥F₂\nζ₁ : ↥F₁\nhζ₁✝ : IsPrimitiveRoot ζ₁ n₁\nh₁ : ℤ[hζ₁✝.toInteger] = ⊤\nζ₂ : ...
Set.singleton_union
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.Basic
{ "line": 99, "column": 12 }
{ "line": 99, "column": 21 }
{ "line": 99, "column": 22 }
[ { "pp": "case pos\nF : Type u_1\ninst✝² : Field F\ninst✝¹ : Fintype F\ninst✝ : DecidableEq F\na b : F\nha : ¬a = 0\nhb : b = 0\n⊢ quadraticCharFun F (a * 0) = quadraticCharFun F a * quadraticCharFun F 0", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", ...
[ "case pos\nF : Type u_1\ninst✝² : Field F\ninst✝¹ : Fintype F\ninst✝ : DecidableEq F\na b : F\nha : ¬a = 0\nhb : b = 0\n⊢ quadraticCharFun F 0 = quadraticCharFun F a * quadraticCharFun F 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LegendreSymbol.Basic
{ "line": 194, "column": 6 }
{ "line": 194, "column": 20 }
{ "line": 194, "column": 20 }
[ { "pp": "p : ℕ\ninst✝ : Fact (Nat.Prime p)\na : ℕ\n⊢ legendreSym p ↑a = -1 ↔ ¬IsSquare ↑a", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "legendreSym.eq_neg_one_iff", "Int.cast", "Eq.mpr", "congrArg", "CommSemiring.toSemiring", "AddGroupWithOne.toAddMono...
[ "p : ℕ\ninst✝ : Fact (Nat.Prime p)\na : ℕ\n⊢ ¬IsSquare ↑↑a ↔ ¬IsSquare ↑a" ]
eq_neg_one_iff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LegendreSymbol.Basic
{ "line": 230, "column": 30 }
{ "line": 230, "column": 39 }
{ "line": 230, "column": 40 }
[ { "pp": "p : ℕ\ninst✝ : Fact (Nat.Prime p)\na : ℤ\nha : ↑a ≠ 0\nx : ZMod p\nhx : x ≠ 0\nhxy : x ^ 2 - ↑a * 0 = 0\n⊢ False", "ppTerm": "?m.71", "assigned": true, "usedConstants": [ "Int.cast", "HMul.hMul", "MulZeroClass.toMul", "AddGroupWithOne.toAddGroup", "congrArg", ...
[ "p : ℕ\ninst✝ : Fact (Nat.Prime p)\na : ℤ\nha : ↑a ≠ 0\nx : ZMod p\nhx : x ≠ 0\nhxy : x ^ 2 - 0 = 0\n⊢ False" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.Basic
{ "line": 273, "column": 4 }
{ "line": 273, "column": 45 }
{ "line": 274, "column": 2 }
[ { "pp": "case inl\nF : Type u_1\ninst✝² : Field F\ninst✝¹ : Fintype F\ninst✝ : DecidableEq F\nhF : ringChar F ≠ 2\nh : (quadraticChar F) (-1) = if (-1) ^ (Fintype.card F / 2) = 1 then 1 else -1\nn : ℕ\nh₂ : Even n\n⊢ (if (-1) ^ n = 1 then 1 else -1) = (-1) ^ n", "ppTerm": "?inl", "assigned": true, "...
[]
simp only [Even.neg_one_pow h₂, ite_true]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.Basic
{ "line": 273, "column": 4 }
{ "line": 273, "column": 45 }
{ "line": 274, "column": 2 }
[ { "pp": "case inl\nF : Type u_1\ninst✝² : Field F\ninst✝¹ : Fintype F\ninst✝ : DecidableEq F\nhF : ringChar F ≠ 2\nh : (quadraticChar F) (-1) = if (-1) ^ (Fintype.card F / 2) = 1 then 1 else -1\nn : ℕ\nh₂ : Even n\n⊢ (if (-1) ^ n = 1 then 1 else -1) = (-1) ^ n", "ppTerm": "?inl", "assigned": true, "...
[]
simp only [Even.neg_one_pow h₂, ite_true]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.Basic
{ "line": 273, "column": 4 }
{ "line": 273, "column": 45 }
{ "line": 274, "column": 2 }
[ { "pp": "case inl\nF : Type u_1\ninst✝² : Field F\ninst✝¹ : Fintype F\ninst✝ : DecidableEq F\nhF : ringChar F ≠ 2\nh : (quadraticChar F) (-1) = if (-1) ^ (Fintype.card F / 2) = 1 then 1 else -1\nn : ℕ\nh₂ : Even n\n⊢ (if (-1) ^ n = 1 then 1 else -1) = (-1) ^ n", "ppTerm": "?inl", "assigned": true, "...
[]
simp only [Even.neg_one_pow h₂, ite_true]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.NatInt
{ "line": 93, "column": 4 }
{ "line": 93, "column": 86 }
{ "line": 94, "column": 4 }
[ { "pp": "case refine_1\ns : LTSeries (PrimeSpectrum ℕ)\nhs : 2 < ↑s.length\n⊢ False", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "WithBot.some", "WithBot", "Preorder.toLT", "WithBot.instLT", "ENat.instNatCast", "Set.ofPred", "PartialOrder.to...
[ "case refine_1\ns : LTSeries (PrimeSpectrum ℕ)\nhs : 2 < s.length\n⊢ False" ]
replace hs : 2 < s.length := ENat.natCast_lt_natCast.mp (WithBot.coe_lt_coe.mp hs)
Lean.Elab.Tactic.evalReplace
Lean.Parser.Tactic.replace
Mathlib.NumberTheory.Fermat
{ "line": 169, "column": 10 }
{ "line": 169, "column": 13 }
{ "line": 169, "column": 13 }
[ { "pp": "case hnot\na n p : ℕ\nhp : Prime p\nhp2 : p ≠ 2\nhpdvd : p ∣ a ^ 2 ^ n + 1\nthis✝ : Fact (2 < p)\nthis : Fact (Prime p)\nha1 : ↑a ^ 2 ^ n = -1\nha0 : ↑a ≠ 0\n⊢ ¬↑a ^ 2 ^ n = 1", "ppTerm": "?hnot", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "MulOne...
[ "case hnot\na n p : ℕ\nhp : Prime p\nhp2 : p ≠ 2\nhpdvd : p ∣ a ^ 2 ^ n + 1\nthis✝ : Fact (2 < p)\nthis : Fact (Prime p)\nha1 : ↑a ^ 2 ^ n = -1\nha0 : ↑a ≠ 0\n⊢ ¬-1 = 1" ]
ha1
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Fermat
{ "line": 184, "column": 4 }
{ "line": 184, "column": 64 }
{ "line": 185, "column": 4 }
[ { "pp": "k n : ℕ\nhn : 1 < n + succ 1\nhp : Prime (k * 2 ^ (n + succ 1 + 1) + 1)\nhpdvd : k * 2 ^ (n + succ 1 + 1) + 1 ∣ (n + succ 1).fermatNumber\nthis : Fact (Prime (k * 2 ^ (n + succ 1 + 1) + 1))\nhp2 : k * 2 ^ (n + succ 1 + 1) + 1 ≠ 2\n⊢ (k * 2 ^ (n + succ 1 + 1) + 1) % 8 = 1", "ppTerm": "?m.113", "...
[ "k n : ℕ\nhn : 1 < n + succ 1\nhp : Prime (k * 2 ^ (n + succ 1 + 1) + 1)\nhpdvd : k * 2 ^ (n + succ 1 + 1) + 1 ∣ (n + succ 1).fermatNumber\nthis : Fact (Prime (k * 2 ^ (n + succ 1 + 1) + 1))\nhp2 : k * 2 ^ (n + succ 1 + 1) + 1 ≠ 2\n⊢ (k * 2 ^ n % 8 * (2 ^ (succ 1 + 1) % 8) % 8 + 1) % 8 = 1" ]
rw [add_assoc, pow_add, ← mul_assoc, ← mod_add_mod, mul_mod]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.Harmonic.Int
{ "line": 37, "column": 6 }
{ "line": 37, "column": 77 }
{ "line": 38, "column": 6 }
[ { "pp": "n : ℕ\nih : padicValRat 2 (harmonic n) = -↑(Nat.log 2 n)\nhn : n ≠ 0\n⊢ padicValRat 2 (harmonic n) ≠ padicValRat 2 (↑(n + 1))⁻¹", "ppTerm": "?m.59", "assigned": true, "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "CommRing.toNonUnitalCommRin...
[ "n : ℕ\nih : padicValRat 2 (harmonic n) = -↑(Nat.log 2 n)\nhn : n ≠ 0\n⊢ ¬Nat.log 2 n = multiplicity 2 (n + 1)" ]
rw [ih, padicValRat.inv, padicValRat.of_nat, Ne, neg_inj, Nat.cast_inj]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.FrobeniusNumber
{ "line": 163, "column": 51 }
{ "line": 163, "column": 60 }
{ "line": 163, "column": 61 }
[ { "pp": "case pos\ns : Set ℕ\nh0 : ¬setGcd s = 0\nt : Finset ℕ\nhts : ↑t ⊆ s\na : ↥t → ℤ\neq : ∑ i, a i • ↑↑i = ↑(setGcd s)\nx : ℕ\nhxs : x ∈ s\nhx : x ≠ 0\nn : ℕ := x / setGcd s * ∑ i, (-a i).toNat * ↑i\nc : ℕ\nge : n + c ≥ n\ndvd : setGcd s ∣ n + c\nq : ℕ := c / x\nr : ℕ := c % x\nrx : ℕ\nhrx : r = setGcd s *...
[ "case pos\ns : Set ℕ\nh0 : ¬setGcd s = 0\nt : Finset ℕ\nhts : ↑t ⊆ s\na : ↥t → ℤ\neq : ∑ i, a i • ↑↑i = ↑(setGcd s)\nx : ℕ\nhxs : x ∈ s\nhx : x ≠ 0\nn : ℕ := x / setGcd s * ∑ i, (-a i).toNat * ↑i\nc : ℕ\nge : n + c ≥ n\ndvd : setGcd s ∣ n + c\nq : ℕ := c / x\nr : ℕ := c % x\nrx : ℕ\nhrx : r = setGcd s * rx\ni : ↥t\...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.FLT.Three
{ "line": 622, "column": 2 }
{ "line": 623, "column": 31 }
{ "line": 625, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝² : Field K\nζ : K\nhζ : IsPrimitiveRoot ζ 3\nS : Solution hζ\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {3} ℚ K\n⊢ S.a + S.b + (S.a + ↑η * S.b) * ↑η + (S.a + (-↑⋯.unit - 1) * S.b) * (-↑⋯.unit - 1) = 0", "ppTerm": "?m.297", "assigned": true, "usedConstants": [...
[]
calc _ = S.a+S.b+η^2*S.b-S.a+η^2*S.b+2*η*S.b+S.b := by ring _ = 0 := by rw [eta_sq]; ring
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcTactic
Mathlib.NumberTheory.FLT.Three
{ "line": 667, "column": 2 }
{ "line": 667, "column": 23 }
{ "line": 668, "column": 2 }
[ { "pp": "K : Type u_1\ninst✝² : Field K\nζ : K\nhζ : IsPrimitiveRoot ζ 3\nS : Solution hζ\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {3} ℚ K\nthis : λ ^ 2 ∣ λ ^ 4\nh : λ ^ 2 ∣ ↑S.u₅ * (λ ^ (S.multiplicity - 1) * S.X) ^ 3\n⊢ ∃ n, λ ^ 2 ∣ ↑S.u₄ - ↑n", "ppTerm": "?m.129", "assigned": true, ...
[ "K : Type u_1\ninst✝² : Field K\nζ : K\nhζ : IsPrimitiveRoot ζ 3\nS : Solution hζ\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {3} ℚ K\nthis : λ ^ 2 ∣ λ ^ 4\nX : 𝓞 K\nhX : ↑S.u₅ * (λ ^ (S.multiplicity - 1) * S.X) ^ 3 = λ ^ 2 * X\n⊢ ∃ n, λ ^ 2 ∣ ↑S.u₄ - ↑n" ]
rcases h with ⟨X, hX⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.NumberTheory.Height.MvPolynomial
{ "line": 193, "column": 6 }
{ "line": 193, "column": 14 }
{ "line": 193, "column": 15 }
[ { "pp": "K : Type u_4\ninst✝¹ : Field K\nι : Type u_5\ninst✝ : Finite ι\nv : AbsoluteValue K ℝ\np : MvPolynomial ι K\nN : ℕ\nhp : p.IsHomogeneous N\nx : ι → K\n⊢ v ((eval x) p) ≤ (p.coeff.sum fun x c ↦ v c) * (⨆ i, v (x i)) ^ N", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "Finsupp...
[ "K : Type u_4\ninst✝¹ : Field K\nι : Type u_5\ninst✝ : Finite ι\nv : AbsoluteValue K ℝ\np : MvPolynomial ι K\nN : ℕ\nhp : p.IsHomogeneous N\nx : ι → K\n⊢ v (∑ d ∈ p.support, p.coeff d * ∏ i ∈ d.support, x i ^ d i) ≤ (p.coeff.sum fun x c ↦ v c) * (⨆ i, v (x i)) ^ N" ]
eval_eq,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Height.MvPolynomial
{ "line": 288, "column": 59 }
{ "line": 288, "column": 71 }
{ "line": 288, "column": 71 }
[ { "pp": "K : Type u_4\ninst✝² : Field K\nι : Type u_5\nι' : Type u_6\ninst✝¹ : AdmissibleAbsValues K\ninst✝ : Finite ι'\np : ι' → MvPolynomial ι K\nh : (fun j ↦ constantCoeff (p j)) ≠ 0\nthis : Nonempty ι'\nv : ↑nonarchAbsVal\nj : ι'\nh₀ : (p j).coeff 0 ≠ 0\n⊢ 0 ∈ (p j).support", "ppTerm": "?m.273", "as...
[]
by simp [h₀]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 99, "column": 4 }
{ "line": 99, "column": 45 }
{ "line": 100, "column": 2 }
[ { "pp": "n : ℕ\nhn : 0 < n\nx : ℝ\nhx : x ∈ Icc (↑n) (↑n + 1)\n⊢ 0 < x", "ppTerm": "?m.67", "assigned": true, "usedConstants": [ "Iff.mpr", "Real.instIsOrderedRing", "NonAssocSemiring.toAddCommMonoidWithOne", "Real.partialOrder", "Real", "Preorder.toLT", "Na...
[]
exact (Nat.cast_pos.mpr hn).trans_le hx.1
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 106, "column": 6 }
{ "line": 106, "column": 37 }
{ "line": 107, "column": 6 }
[ { "pp": "n : ℕ\nhn : 0 < n\nhv : ∀ x ∈ uIcc (↑n) (↑n + 1), 0 < x\n⊢ ∫ (x : ℝ) in ↑n..↑n + 1, 1 / x - ↑n / x ^ 2 =\n (∫ (x : ℝ) in ↑n..↑n + 1, 1 / x) - ↑n * ∫ (x : ℝ) in ↑n..↑n + 1, 1 / x ^ 2", "ppTerm": "?m.258", "assigned": true, "usedConstants": [ "Eq.mpr", "InnerProductSpace.toNorm...
[ "n : ℕ\nhn : 0 < n\nhv : ∀ x ∈ uIcc (↑n) (↑n + 1), 0 < x\n⊢ ∫ (x : ℝ) in ↑n..↑n + 1, 1 / x - ↑n * (1 / x ^ 2) =\n (∫ (x : ℝ) in ↑n..↑n + 1, 1 / x) - ↑n * ∫ (x : ℝ) in ↑n..↑n + 1, 1 / x ^ 2" ]
simp_rw [← mul_one_div (n : ℝ)]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 173, "column": 4 }
{ "line": 173, "column": 45 }
{ "line": 174, "column": 2 }
[ { "pp": "n : ℕ\nhn : 0 < n\ns : ℝ\nhs : 1 < s\nx : ℝ\nhx : x ∈ Icc (↑n) (↑n + 1)\n⊢ 0 < x", "ppTerm": "?m.143", "assigned": true, "usedConstants": [ "Iff.mpr", "Real.instIsOrderedRing", "NonAssocSemiring.toAddCommMonoidWithOne", "Real.partialOrder", "Real", "Preor...
[]
exact (Nat.cast_pos.mpr hn).trans_le hx.1
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.RootsOfUnity.Lemmas
{ "line": 46, "column": 52 }
{ "line": 46, "column": 63 }
{ "line": 46, "column": 64 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nn : ℕ\nμ : R\nhμ : IsPrimitiveRoot μ (n + 1)\n⊢ (-1) ^ n = ∏ k ∈ range n, -1", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "congrArg", "CommSemiring.toSemiring", ...
[ "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nn : ℕ\nμ : R\nhμ : IsPrimitiveRoot μ (n + 1)\n⊢ (-1) ^ n = (-1) ^ #(range n)" ]
prod_const,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 204, "column": 4 }
{ "line": 208, "column": 13 }
{ "line": 209, "column": 2 }
[ { "pp": "case e_a\nN : ℕ\ns : ℝ\nhs : 1 < s\n⊢ ∑ x ∈ Finset.range N, 1 / (s - 1) * (1 / ↑(x + 1) ^ (s - 1) - 1 / (↑(x + 1) + 1) ^ (s - 1)) =\n 1 / (s - 1) * (1 - 1 / (↑N + 1) ^ (s - 1))", "ppTerm": "?e_a✝", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Ring.Common.mul_pf_left", ...
[]
induction N with | zero => simp | succ N hN => rw [Finset.sum_range_succ, hN, Nat.cast_add_one] ring_nf
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 204, "column": 4 }
{ "line": 208, "column": 13 }
{ "line": 209, "column": 2 }
[ { "pp": "case e_a\nN : ℕ\ns : ℝ\nhs : 1 < s\n⊢ ∑ x ∈ Finset.range N, 1 / (s - 1) * (1 / ↑(x + 1) ^ (s - 1) - 1 / (↑(x + 1) + 1) ^ (s - 1)) =\n 1 / (s - 1) * (1 - 1 / (↑N + 1) ^ (s - 1))", "ppTerm": "?e_a✝", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Ring.Common.mul_pf_left", ...
[]
induction N with | zero => simp | succ N hN => rw [Finset.sum_range_succ, hN, Nat.cast_add_one] ring_nf
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.Harmonic.ZetaAsymp
{ "line": 204, "column": 4 }
{ "line": 208, "column": 13 }
{ "line": 209, "column": 2 }
[ { "pp": "case e_a\nN : ℕ\ns : ℝ\nhs : 1 < s\n⊢ ∑ x ∈ Finset.range N, 1 / (s - 1) * (1 / ↑(x + 1) ^ (s - 1) - 1 / (↑(x + 1) + 1) ^ (s - 1)) =\n 1 / (s - 1) * (1 - 1 / (↑N + 1) ^ (s - 1))", "ppTerm": "?e_a✝", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Ring.Common.mul_pf_left", ...
[]
induction N with | zero => simp | succ N hN => rw [Finset.sum_range_succ, hN, Nat.cast_add_one] ring_nf
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 94, "column": 70 }
{ "line": 94, "column": 79 }
{ "line": 94, "column": 80 }
[ { "pp": "case e_a.e_a\nF : Type u_1\nR : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : Nontrivial F\ninst✝² : Fintype F\ninst✝¹ : DecidableEq F\ninst✝ : CommRing R\nχ ψ : MulChar F R\n⊢ 0 = (χ 0 - 1) * 0 + 0 * (ψ (1 - 1) - 1)", "ppTerm": "?e_a.e_a✝", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "case e_a.e_a\nF : Type u_1\nR : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : Nontrivial F\ninst✝² : Fintype F\ninst✝¹ : DecidableEq F\ninst✝ : CommRing R\nχ ψ : MulChar F R\n⊢ 0 = 0 + 0 * (ψ (1 - 1) - 1)" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Height.MvPolynomial
{ "line": 562, "column": 38 }
{ "line": 562, "column": 68 }
{ "line": 563, "column": 6 }
[ { "pp": "case pos\nK : Type u_4\ninst✝¹ : Field K\ninst✝ : AdmissibleAbsValues K\np : Fin 3 → MvPolynomial (Fin 4) K := ![X 0, X 1 + X 2, X 3]\nhom : ∀ (i : Fin 3), (p i).IsHomogeneous 1\nC : ℝ\nhC₀ : C > 0\nhC : ∀ (x : Fin 4 → K), (mulHeight fun j ↦ (eval x) (p j)) ≤ C * mulHeight x\na b c d : K\nhab : ![a, b]...
[ "case pos\nK : Type u_4\ninst✝¹ : Field K\ninst✝ : AdmissibleAbsValues K\np : Fin 3 → MvPolynomial (Fin 4) K := ![X 0, X 1 + X 2, X 3]\nhom : ∀ (i : Fin 3), (p i).IsHomogeneous 1\nC : ℝ\nhC₀ : C > 0\nhC : ∀ (x : Fin 4 → K), (mulHeight fun j ↦ (eval x) (p j)) ≤ C * mulHeight x\na b c d : K\nhab : ![a, b] = 0\n⊢ mulH...
show a = 0 from congr($hab 0),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 174, "column": 63 }
{ "line": 174, "column": 72 }
{ "line": 174, "column": 73 }
[ { "pp": "F : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : Fintype F\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nχ φ : MulChar F R\nh : χ * φ ≠ 1\nψ : AddChar F R\n⊢ gaussSum (χ * φ) ψ * jacobiSum χ φ = ∑ x ∈ univ \\ {0}, ∑ x_1, χ x_1 * φ (x - x_1) * ψ x + φ (-1) * 0", "ppTerm": "?m.151", "assigned":...
[ "F : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : Fintype F\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nχ φ : MulChar F R\nh : χ * φ ≠ 1\nψ : AddChar F R\n⊢ gaussSum (χ * φ) ψ * jacobiSum χ φ = ∑ x ∈ univ \\ {0}, ∑ x_1, χ x_1 * φ (x - x_1) * ψ x + 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 179, "column": 4 }
{ "line": 179, "column": 74 }
{ "line": 180, "column": 2 }
[ { "pp": "F : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : Fintype F\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nχ φ : MulChar F R\nh : χ * φ ≠ 1\nψ : AddChar F R\nt : F\nht : ¬t = 0\n⊢ (∑ x, χ x * φ (t - x)) * ψ t = (∑ y, χ (t * y) * φ (t - t * y)) * ψ t", "ppTerm": "?m.238", "assigned": true, "...
[]
exact congrArg (· * ψ t) (Equiv.sum_comp (Equiv.mulLeft₀ t ht) _).symm
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 219, "column": 8 }
{ "line": 219, "column": 25 }
{ "line": 219, "column": 25 }
[ { "pp": "F : Type u_1\nF' : Type u_2\ninst✝² : Fintype F\ninst✝¹ : Field F\ninst✝ : Field F'\nh : ringChar F' ≠ ringChar F\nχ φ : MulChar F F'\nhχ : χ ≠ 1\nhφ : φ ≠ 1\nhχφ : χ * φ ≠ 1\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nψ : PrimitiveAddChar F F' := FiniteField.primitiveC...
[ "F : Type u_1\nF' : Type u_2\ninst✝² : Fintype F\ninst✝¹ : Field F\ninst✝ : Field F'\nh : ringChar F' ≠ ringChar F\nχ φ : MulChar F F'\nhχ : χ ≠ 1\nhφ : φ ≠ 1\nhχφ : χ * φ ≠ 1\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nψ : PrimitiveAddChar F F' := FiniteField.primitiveChar F F' h\n...
← ringHomComp_mul
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 224, "column": 2 }
{ "line": 224, "column": 66 }
{ "line": 225, "column": 2 }
[ { "pp": "F : Type u_1\nF' : Type u_2\ninst✝² : Fintype F\ninst✝¹ : Field F\ninst✝ : Field F'\nh : ringChar F' ≠ ringChar F\nχ φ : MulChar F F'\nhχ : χ ≠ 1\nhφ : φ ≠ 1\nhχφ : χ * φ ≠ 1\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nψ : PrimitiveAddChar F F' := FiniteField.primitiveC...
[ "F : Type u_1\nF' : Type u_2\ninst✝² : Fintype F\ninst✝¹ : Field F\ninst✝ : Field F'\nh : ringChar F' ≠ ringChar F\nχ φ : MulChar F F'\nhχ : χ ≠ 1\nhφ : φ ≠ 1\nhχφ : χ * φ ≠ 1\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nψ : PrimitiveAddChar F F' := FiniteField.primitiveChar F F' h\n...
have Hφ : φ' ≠ 1 := (MulChar.ringHomComp_ne_one_iff hinj).mpr hφ
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 263, "column": 75 }
{ "line": 263, "column": 84 }
{ "line": 263, "column": 85 }
[ { "pp": "F : Type u_1\nR : Type u_2\ninst✝⁴ : Field F\ninst✝³ : CommRing R\ninst✝² : IsDomain R\ninst✝¹ : Finite F\nn : ℕ\ninst✝ : NeZero n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhμ : IsPrimitiveRoot μ n\n⊢ (χ 0 - 1) * 0 = 0 * (μ - 1) ^ 2", "ppTerm": "?m.141", "assigned": true, "...
[ "F : Type u_1\nR : Type u_2\ninst✝⁴ : Field F\ninst✝³ : CommRing R\ninst✝² : IsDomain R\ninst✝¹ : Finite F\nn : ℕ\ninst✝ : NeZero n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhμ : IsPrimitiveRoot μ n\n⊢ 0 = 0 * (μ - 1) ^ 2" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Height.NumberField
{ "line": 400, "column": 37 }
{ "line": 400, "column": 64 }
{ "line": 400, "column": 64 }
[ { "pp": "case refine_1\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nn : ℕ\nhn : n ≠ 0\nB : ℝ\nhn' : ↑n ≠ 0\na : 𝓞 K\nha : mulHeight ![↑a, ↑n] ≤ B\n⊢ IsIntegral ℤ ↑a ∧ mulHeight₁ (↑a / ↑n) ≤ B", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", "Real.instLE...
[ "case refine_1\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : NumberField K\nn : ℕ\nhn : n ≠ 0\nB : ℝ\nhn' : ↑n ≠ 0\na : 𝓞 K\nha : mulHeight ![↑a, ↑n] ≤ B\n⊢ IsIntegral ℤ ↑a ∧ mulHeight ![↑a, ↑n] ≤ B" ]
mulHeight₁_div_eq_mulHeight
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 304, "column": 4 }
{ "line": 305, "column": 78 }
{ "line": 306, "column": 2 }
[ { "pp": "case pos\nF : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : CommRing R\ninst✝¹ : IsDomain R\ninst✝ : Fintype F\nn : ℕ\nhn : 2 < n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhμ : IsPrimitiveRoot μ n\nq : ℕ\nhq : Fintype.card F = n * q + 1\nz₁ : R\nhz₁ : z₁ ∈ ℤ[μ]\nHz₁ : ↑n = z₁ * (μ...
[]
refine ⟨0, Subalgebra.zero_mem _, ?_⟩ rw [jacobiSum_comm, hψ₀, jacobiSum_one_nontrivial hχ₀, zero_mul, add_zero]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 304, "column": 4 }
{ "line": 305, "column": 78 }
{ "line": 306, "column": 2 }
[ { "pp": "case pos\nF : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : CommRing R\ninst✝¹ : IsDomain R\ninst✝ : Fintype F\nn : ℕ\nhn : 2 < n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhμ : IsPrimitiveRoot μ n\nq : ℕ\nhq : Fintype.card F = n * q + 1\nz₁ : R\nhz₁ : z₁ ∈ ℤ[μ]\nHz₁ : ↑n = z₁ * (μ...
[]
refine ⟨0, Subalgebra.zero_mem _, ?_⟩ rw [jacobiSum_comm, hψ₀, jacobiSum_one_nontrivial hχ₀, zero_mul, add_zero]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.Height.NumberField
{ "line": 550, "column": 86 }
{ "line": 551, "column": 54 }
{ "line": 553, "column": 0 }
[ { "pp": "q : ℚ\n⊢ logHeight₁ q = log ↑(max q.num.natAbs q.den)", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "Eq.mpr", "Real", "Rat.num", "congrArg", "Rat.mulHeight₁_eq_max", "Rat", "Height.logHeight₁", "Rat.den", "NumberField.instAdmi...
[]
by rw [logHeight₁_eq_log_mulHeight₁, mulHeight₁_eq_max]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.IsAdjoinRoot
{ "line": 379, "column": 6 }
{ "line": 379, "column": 32 }
{ "line": 379, "column": 33 }
[ { "pp": "R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring S\nf : R[X]\ninst✝ : Algebra R S\nh : IsAdjoinRootMonic S f\ng : R[X]\n⊢ h.map (g %ₘ f) = h.map g", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "AddMonoidAlgebra.semiring", "Semiring.toModule"...
[ "R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring S\nf : R[X]\ninst✝ : Algebra R S\nh : IsAdjoinRootMonic S f\ng : R[X]\n⊢ g %ₘ f - g ∈ RingHom.ker h.map" ]
← RingHom.sub_mem_ker_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 294, "column": 2 }
{ "line": 317, "column": 10 }
{ "line": 319, "column": 0 }
[ { "pp": "F : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : CommRing R\ninst✝¹ : IsDomain R\ninst✝ : Fintype F\nn : ℕ\nhn : 2 < n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhn' : n ∣ Fintype.card F - 1\nhμ : IsPrimitiveRoot μ n\n⊢ ∃ z ∈ ℤ[μ], jacobiSum χ ψ = -1 + z * (μ - 1) ^ 2", "ppTer...
[]
obtain ⟨q, hq⟩ := hn' rw [Nat.sub_eq_iff_eq_add NeZero.one_le] at hq obtain ⟨z₁, hz₁, Hz₁⟩ := hμ.self_sub_one_pow_dvd_order hn by_cases hχ₀ : χ = 1 <;> by_cases hψ₀ : ψ = 1 · rw [hχ₀, hψ₀, jacobiSum_one_one] refine ⟨q * z₁, Subalgebra.mul_mem _ (Subalgebra.natCast_mem _ q) hz₁, ?_⟩ rw [hq, Nat.cast_add,...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.JacobiSum.Basic
{ "line": 294, "column": 2 }
{ "line": 317, "column": 10 }
{ "line": 319, "column": 0 }
[ { "pp": "F : Type u_1\nR : Type u_2\ninst✝³ : Field F\ninst✝² : CommRing R\ninst✝¹ : IsDomain R\ninst✝ : Fintype F\nn : ℕ\nhn : 2 < n\nχ ψ : MulChar F R\nμ : R\nhχ : χ ^ n = 1\nhψ : ψ ^ n = 1\nhn' : n ∣ Fintype.card F - 1\nhμ : IsPrimitiveRoot μ n\n⊢ ∃ z ∈ ℤ[μ], jacobiSum χ ψ = -1 + z * (μ - 1) ^ 2", "ppTer...
[]
obtain ⟨q, hq⟩ := hn' rw [Nat.sub_eq_iff_eq_add NeZero.one_le] at hq obtain ⟨z₁, hz₁, Hz₁⟩ := hμ.self_sub_one_pow_dvd_order hn by_cases hχ₀ : χ = 1 <;> by_cases hψ₀ : ψ = 1 · rw [hχ₀, hψ₀, jacobiSum_one_one] refine ⟨q * z₁, Subalgebra.mul_mem _ (Subalgebra.natCast_mem _ q) hz₁, ?_⟩ rw [hq, Nat.cast_add,...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.IsAdjoinRoot
{ "line": 408, "column": 79 }
{ "line": 408, "column": 91 }
{ "line": 408, "column": 91 }
[ { "pp": "R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring S\nf : R[X]\ninst✝ : Algebra R S\nh : IsAdjoinRootMonic S f\nn : ℕ\nhdeg : n < f.natDegree\na✝ : Nontrivial R\n⊢ (X ^ n).degree < f.degree", "ppTerm": "?m.81", "assigned": true, "usedConstants": [ "WithBot.instPreorder", ...
[ "R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring S\nf : R[X]\ninst✝ : Algebra R S\nh : IsAdjoinRootMonic S f\nn : ℕ\nhdeg : n < f.natDegree\na✝ : Nontrivial R\n⊢ ↑n < f.degree" ]
degree_X_pow
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.DirichletContinuation
{ "line": 189, "column": 58 }
{ "line": 189, "column": 73 }
{ "line": 189, "column": 73 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nH :\n (fun s ↦ (s - 1) * LFunctionTrivChar N s) =ᶠ[𝓝[≠] 1] fun s ↦\n (∏ p ∈ N.primeFactors, (1 - ↑p ^ (-s))) * ((s - 1) * riemannZeta s)\n| (∏ p ∈ N.primeFactors, (1 - (↑p)⁻¹)) * 1", "ppTerm": "?m.151", "assigned": true, "usedConstants": [ "MulOne.toOne",...
[ "N : ℕ\ninst✝ : NeZero N\nH :\n (fun s ↦ (s - 1) * LFunctionTrivChar N s) =ᶠ[𝓝[≠] 1] fun s ↦\n (∏ p ∈ N.primeFactors, (1 - ↑p ^ (-s))) * ((s - 1) * riemannZeta s)\np : ℕ\n| 1 - (↑p)⁻¹" ]
enter [1, 2, p]
Lean.Elab.Tactic.Conv.evalEnter
Lean.Parser.Tactic.Conv.enter
Mathlib.NumberTheory.LSeries.HardyZ
{ "line": 104, "column": 2 }
{ "line": 107, "column": 34 }
{ "line": 108, "column": 2 }
[ { "pp": "t : ℝ\nhnum : completedRiemannZeta (1 / 2 + ↑(-t) * I) = completedRiemannZeta (1 / 2 + ↑t * I)\n⊢ hardyZ (-t) = hardyZ t", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "Complex.norm_conj", "Norm.norm", "Eq.mpr", "RingHom.instRingHomClass", "Complex.G...
[ "t : ℝ\nhnum : completedRiemannZeta (1 / 2 + ↑(-t) * I) = completedRiemannZeta (1 / 2 + ↑t * I)\nhden : ‖(1 / 2 + ↑(-t) * I).Gammaℝ‖ = ‖(1 / 2 + ↑t * I).Gammaℝ‖\n⊢ hardyZ (-t) = hardyZ t" ]
have hden : ‖Gammaℝ (1 / 2 + (-t : ℝ) * I)‖ = ‖Gammaℝ (1 / 2 + t * I)‖ := by have h : ((1 : ℂ) / 2 + (-t : ℝ) * I) = conj (1 / 2 + t * I) := by simp [Complex.ext_iff] rw [h, Gammaℝ_conj, norm_conj]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.NumberTheory.LSeries.DirichletContinuation
{ "line": 314, "column": 4 }
{ "line": 314, "column": 18 }
{ "line": 315, "column": 4 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nχ : DirichletCharacter ℂ N\nhχ : χ.IsPrimitive\ns : ℂ\nhN : N ≠ 1\nh_sum : ∑ j, χ j = 0\nε : ℂ := I ^ if χ.Even then 0 else 1\n⊢ ↑N ^ (s - 1) * χ (-1) / ε * ZMod.completedLFunction (𝓕 ⇑χ) s =\n ?m.242 * ZMod.completedLFunction (fun j ↦ χ⁻¹ (-1) * gaussSum χ stdAddChar * χ⁻¹...
[ "case e_a.e_Φ\nN : ℕ\ninst✝ : NeZero N\nχ : DirichletCharacter ℂ N\nhχ : χ.IsPrimitive\ns : ℂ\nhN : N ≠ 1\nh_sum : ∑ j, χ j = 0\nε : ℂ := I ^ if χ.Even then 0 else 1\nj : ZMod N\n⊢ 𝓕 (⇑χ) j = χ⁻¹ (-1) * gaussSum χ stdAddChar * χ⁻¹ j" ]
congr 2 with j
Batteries.Tactic._aux_Batteries_Tactic_Congr___macroRules_Batteries_Tactic_congrConfigWith_1
Batteries.Tactic.congrConfigWith
Mathlib.NumberTheory.ZetaValues
{ "line": 174, "column": 88 }
{ "line": 174, "column": 97 }
{ "line": 175, "column": 8 }
[ { "pp": "m : ℕ\nm0 : m ≠ 0\nx : ℝ\nm0' : ↑m ≠ 0\nf : ℕ → ℝ → ℝ := fun k x ↦ bernoulliFun k (↑m * x) - ↑m ^ k / ↑m * ∑ i ∈ Finset.range m, bernoulliFun k (x + ↑i / ↑m)\nk : ℕ\nh : ∀ (x : ℝ), f k x = 0\nd : ∀ (x : ℝ), HasDerivAt (f (k + 1)) 0 x\nc : ℝ\nfc : ∀ (x : ℝ), f (k + 1) x = c\n⊢ ((↑m)⁻¹ • ∫ (x : ℝ) in ↑m ...
[ "m : ℕ\nm0 : m ≠ 0\nx : ℝ\nm0' : ↑m ≠ 0\nf : ℕ → ℝ → ℝ := fun k x ↦ bernoulliFun k (↑m * x) - ↑m ^ k / ↑m * ∑ i ∈ Finset.range m, bernoulliFun k (x + ↑i / ↑m)\nk : ℕ\nh : ∀ (x : ℝ), f k x = 0\nd : ∀ (x : ℝ), HasDerivAt (f (k + 1)) 0 x\nc : ℝ\nfc : ∀ (x : ℝ), f (k + 1) x = c\n⊢ ((↑m)⁻¹ • ∫ (x : ℝ) in 0..↑m * (↑m)⁻¹,...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.ZMod
{ "line": 310, "column": 34 }
{ "line": 310, "column": 43 }
{ "line": 310, "column": 44 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nhΦ : Function.Even Φ\ns : ℂ\nthis : ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s = 0\n⊢ ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s + ↑N ^ (-s) * 0 =\n ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s", "ppTe...
[ "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nhΦ : Function.Even Φ\ns : ℂ\nthis : ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s = 0\n⊢ ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s + 0 =\n ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.ZMod
{ "line": 308, "column": 97 }
{ "line": 312, "column": 43 }
{ "line": 314, "column": 0 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nhΦ : Function.Even Φ\ns : ℂ\n⊢ completedLFunction Φ s = ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "ZMod.completedLFunction", "Eq.mpr", "Function.Even....
[]
by suffices ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s = 0 by rw [completedLFunction, this, mul_zero, add_zero] refine (hΦ.mul_odd fun j ↦ ?_).sum_eq_zero rw [map_neg, completedHurwitzZetaOdd_neg]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.LSeries.ZMod
{ "line": 317, "column": 34 }
{ "line": 317, "column": 43 }
{ "line": 317, "column": 44 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nhΦ : Function.Odd Φ\ns : ℂ\nthis : ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s = 0\n⊢ ↑N ^ (-s) * 0 + ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s =\n ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s", "ppTerm...
[ "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nhΦ : Function.Odd Φ\ns : ℂ\nthis : ∑ j, Φ j * completedHurwitzZetaEven (toAddCircle j) s = 0\n⊢ 0 + ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s =\n ↑N ^ (-s) * ∑ j, Φ j * completedHurwitzZetaOdd (toAddCircle j) s" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.HurwitzZetaValues
{ "line": 171, "column": 6 }
{ "line": 171, "column": 20 }
{ "line": 171, "column": 21 }
[ { "pp": "x : ℝ\nhx : x ∈ Icc 0 1\nk : ℕ\nhk : k.succ ≠ 0\n⊢ hurwitzZetaOdd (↑x) (1 - 2 * ↑k.succ) = 0", "ppTerm": "?m.107", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "Real", "HMul.hMul", "AddMonoid.toAddSemigroup", "congrArg", "Nat.inst...
[ "x : ℝ\nhx : x ∈ Icc 0 1\nk : ℕ\nhk : k.succ ≠ 0\n⊢ hurwitzZetaOdd (↑x) (1 - 2 * (↑k + 1)) = 0" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.LSeries.Injectivity
{ "line": 50, "column": 2 }
{ "line": 50, "column": 26 }
{ "line": 51, "column": 2 }
[ { "pp": "case e_a\nm n : ℕ\nz : ℂ\nx : ℝ\nHn : 0 ≤ (↑n + 1)⁻¹\n⊢ (↑n + 1) ^ ↑x / ↑m ^ ↑x = ((↑m / (↑n + 1)) ^ ↑x)⁻¹", "ppTerm": "?e_a✝", "assigned": true, "usedConstants": [ "Eq.mpr", "DivInvMonoid.toInv", "instHDiv", "HMul.hMul", "Monoid.toMulOneClass", "congrArg...
[ "case e_a\nm n : ℕ\nz : ℂ\nx : ℝ\nHn : 0 ≤ (↑n + 1)⁻¹\n⊢ (↑n + 1) ^ ↑x * (↑m ^ ↑x)⁻¹ = ((↑m * (↑n + 1)⁻¹) ^ ↑x)⁻¹" ]
simp_rw [div_eq_mul_inv]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.NumberTheory.LSeries.Injectivity
{ "line": 64, "column": 2 }
{ "line": 64, "column": 43 }
{ "line": 65, "column": 2 }
[ { "pp": "f : ℕ → ℂ\nn : ℕ\nh : ∀ m ≤ n, f m = 0\nha : abscissaOfAbsConv f < ⊤\n⊢ Tendsto (fun x ↦ (↑n + 1) ^ ↑x * LSeries f ↑x) atTop (nhds (f (n + 1)))", "ppTerm": "?m.38", "assigned": true, "usedConstants": [ "NormedCommRing.toSeminormedCommRing", "Real", "Preorder.toLT", "...
[ "f : ℕ → ℂ\nn : ℕ\nh : ∀ m ≤ n, f m = 0\nha : abscissaOfAbsConv f < ⊤\ny : EReal\nhay : abscissaOfAbsConv f < y\nhyt : y < ⊤\n⊢ Tendsto (fun x ↦ (↑n + 1) ^ ↑x * LSeries f ↑x) atTop (nhds (f (n + 1)))" ]
obtain ⟨y, hay, hyt⟩ := exists_between ha
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.NumberTheory.ZetaValues
{ "line": 253, "column": 54 }
{ "line": 253, "column": 63 }
{ "line": 253, "column": 64 }
[ { "pp": "case inl\nk : ℕ\nhk : k ≠ 0\n⊢ 0 = -↑k ! / (2 * ↑π * I * 0) ^ k", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Eq.mpr", "instHDiv", "Real.pi", "HMul.hMul", "MulZeroClass.toMul", "AddGroupWithOne.toAddGroup"...
[ "case inl\nk : ℕ\nhk : k ≠ 0\n⊢ 0 = -↑k ! / 0 ^ k" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null