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.RingTheory.RootsOfUnity.PrimitiveRoots
{ "line": 682, "column": 20 }
{ "line": 682, "column": 61 }
{ "line": 682, "column": 61 }
[ { "pp": "R : Type u_4\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nζ : R\nn : ℕ\nh : IsPrimitiveRoot ζ n\na : R\nha : a ≠ 0\nhn : n > 0\nα : R\nhα : α ^ n = a\nhα' : α = 0\n⊢ a = 0", "ppTerm": "?m.77", "assigned": true, "usedConstants": [ "congrArg", "CommSemiring.toSemiring", "Eq.mp"...
[]
rwa [hα', zero_pow hn.ne', eq_comm] at hα
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
{ "line": 682, "column": 20 }
{ "line": 682, "column": 61 }
{ "line": 682, "column": 61 }
[ { "pp": "R : Type u_4\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nζ : R\nn : ℕ\nh : IsPrimitiveRoot ζ n\na : R\nha : a ≠ 0\nhn : n > 0\nα : R\nhα : α ^ n = a\nhα' : α = 0\n⊢ a = 0", "ppTerm": "?m.77", "assigned": true, "usedConstants": [ "congrArg", "CommSemiring.toSemiring", "Eq.mp"...
[]
rwa [hα', zero_pow hn.ne', eq_comm] at hα
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
{ "line": 731, "column": 6 }
{ "line": 731, "column": 44 }
{ "line": 731, "column": 45 }
[ { "pp": "M : Type u_1\nN : Type u_2\nG : Type u_3\nR : Type u_4\nS : Type u_5\nF : Type u_6\ninst✝⁴ : CommMonoid M\ninst✝³ : CommMonoid N\ninst✝² : DivisionCommMonoid G\nk l : ℕ\ninst✝¹ : CommRing R\nζ : Rˣ\nh✝ : IsPrimitiveRoot ζ k\ninst✝ : IsDomain R\na b n : ℕ\nh : a * b ≡ 1 [MOD n]\nx : ↥(primitiveRoots n R...
[ "M : Type u_1\nN : Type u_2\nG : Type u_3\nR : Type u_4\nS : Type u_5\nF : Type u_6\ninst✝⁴ : CommMonoid M\ninst✝³ : CommMonoid N\ninst✝² : DivisionCommMonoid G\nk l : ℕ\ninst✝¹ : CommRing R\nζ : Rˣ\nh✝ : IsPrimitiveRoot ζ k\ninst✝ : IsDomain R\na b n : ℕ\nh : a * b ≡ 1 [MOD n]\nx : ↥(primitiveRoots n R)\nhr : 0 < ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
{ "line": 736, "column": 6 }
{ "line": 736, "column": 44 }
{ "line": 736, "column": 45 }
[ { "pp": "M : Type u_1\nN : Type u_2\nG : Type u_3\nR : Type u_4\nS : Type u_5\nF : Type u_6\ninst✝⁴ : CommMonoid M\ninst✝³ : CommMonoid N\ninst✝² : DivisionCommMonoid G\nk l : ℕ\ninst✝¹ : CommRing R\nζ : Rˣ\nh✝ : IsPrimitiveRoot ζ k\ninst✝ : IsDomain R\na b n : ℕ\nh : a * b ≡ 1 [MOD n]\nx : ↥(primitiveRoots n R...
[ "M : Type u_1\nN : Type u_2\nG : Type u_3\nR : Type u_4\nS : Type u_5\nF : Type u_6\ninst✝⁴ : CommMonoid M\ninst✝³ : CommMonoid N\ninst✝² : DivisionCommMonoid G\nk l : ℕ\ninst✝¹ : CommRing R\nζ : Rˣ\nh✝ : IsPrimitiveRoot ζ k\ninst✝ : IsDomain R\na b n : ℕ\nh : a * b ≡ 1 [MOD n]\nx : ↥(primitiveRoots n R)\nhr : 0 < ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.RootsOfUnity.Minpoly
{ "line": 168, "column": 4 }
{ "line": 168, "column": 49 }
{ "line": 168, "column": 50 }
[ { "pp": "case refine_1\nK : Type u_1\ninst✝² : CommRing K\nμ : K\ninst✝¹ : IsDomain K\ninst✝ : CharZero K\nm n✝ : ℕ\nh : IsPrimitiveRoot μ n✝\nhn : Nat.Coprime 0 n✝\n⊢ μ = μ ^ 0", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Monoid.toMulOne...
[ "case refine_1\nK : Type u_1\ninst✝² : CommRing K\nμ : K\ninst✝¹ : IsDomain K\ninst✝ : CharZero K\nm n✝ : ℕ\nh : IsPrimitiveRoot μ n✝\nhn : Nat.Coprime 0 n✝\n⊢ μ = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Roots
{ "line": 149, "column": 8 }
{ "line": 149, "column": 38 }
{ "line": 149, "column": 38 }
[ { "pp": "case inr\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CharZero R\nn m : ℕ\nhzero : n ≠ 0\nthis : NeZero n\nhnm : cyclotomic n ℂ = cyclotomic m ℂ\nhprim : IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)) n\nhroot : (cyclotomic m ℂ).IsRoot (Complex.exp (2 * ↑Real.pi * Complex.I / ↑n))\nhmzero...
[ "case inr\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CharZero R\nn m : ℕ\nhzero : n ≠ 0\nthis : NeZero n\nhnm : cyclotomic n ℂ = cyclotomic m ℂ\nhprim : IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)) n\nhroot : IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)) m\nhmzero : NeZero m\n⊢ n =...
isRoot_cyclotomic_iff (R := ℂ)
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Roots
{ "line": 157, "column": 2 }
{ "line": 157, "column": 56 }
{ "line": 157, "column": 57 }
[ { "pp": "n : ℕ\nK : Type u_2\ninst✝¹ : Field K\nμ : K\nh : IsPrimitiveRoot μ n\nhpos : 0 < n\ninst✝ : CharZero K\n⊢ (aeval μ) (cyclotomic n ℤ) = 0", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.eval", "AddMonoidAlgebra.semiring", "Ring.toNonAs...
[ "n : ℕ\nK : Type u_2\ninst✝¹ : Field K\nμ : K\nh : IsPrimitiveRoot μ n\nhpos : 0 < n\ninst✝ : CharZero K\n⊢ eval μ (cyclotomic n K) = 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Roots
{ "line": 175, "column": 2 }
{ "line": 175, "column": 40 }
{ "line": 175, "column": 41 }
[ { "pp": "n : ℕ\nK : Type u_2\ninst✝¹ : Field K\nμ : K\nh : IsPrimitiveRoot μ n\nhpos : 0 < n\ninst✝ : CharZero K\n⊢ (cyclotomic n ℤ).natDegree ≤ (minpoly ℤ μ).natDegree", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Polynomial.natDegree_cyclotomic"...
[ "n : ℕ\nK : Type u_2\ninst✝¹ : Field K\nμ : K\nh : IsPrimitiveRoot μ n\nhpos : 0 < n\ninst✝ : CharZero K\n⊢ n.totient ≤ (minpoly ℤ μ).natDegree" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Basic
{ "line": 519, "column": 4 }
{ "line": 519, "column": 70 }
{ "line": 520, "column": 4 }
[ { "pp": "case succ\nR : Type u_1\ninst✝ : CommRing R\np : ℕ\nhp : Nat.Prime p\nthis :\n ∀ (m : ℕ),\n cyclotomic (p ^ (m + 1)) R = ∑ i ∈ range p, (X ^ p ^ m) ^ i ↔\n (∑ i ∈ range p, (X ^ p ^ m) ^ i) * ∏ x ∈ range (m + 1), cyclotomic (p ^ x) R = X ^ p ^ (m + 1) - 1\nn_n : ℕ\nn_ih : cyclotomic (p ^ (n_n +...
[ "R : Type u_1\ninst✝ : CommRing R\np : ℕ\nhp : Nat.Prime p\nthis :\n ∀ (m : ℕ),\n cyclotomic (p ^ (m + 1)) R = ∑ i ∈ range p, (X ^ p ^ m) ^ i ↔\n (∑ i ∈ range p, (X ^ p ^ m) ^ i) * ∏ x ∈ range (m + 1), cyclotomic (p ^ x) R = X ^ p ^ (m + 1) - 1\nn_n : ℕ\nn_ih : cyclotomic (p ^ (n_n + 1)) R = ∑ i ∈ range p,...
rw [← (eq_cyclotomic_iff (pow_pos hp.pos (n_n + 1 + 1)) _).mpr ?_]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Polynomial.Cyclotomic.Roots
{ "line": 244, "column": 2 }
{ "line": 244, "column": 13 }
{ "line": 244, "column": 14 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : CharZero K\np : ℕ\nζ : K\nhp : Nat.Prime p\nhζ : IsPrimitiveRoot ζ p\nα : Fin p → ℤ\n⊢ ∑ i, ↑(α i) * ζ ^ ↑i = 0 ↔ ∀ (i j : Fin p), α i = α j", "ppTerm": "?m.25", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : CharZero K\np : ℕ\nζ : K\nhp : Nat.Prime p\nhζ : IsPrimitiveRoot ζ p\nα : Fin p → ℤ\n⊢ ∑ i, ↑(α i) * ζ ^ ↑i = 0 ↔ ∀ (i j : Fin p), α i = α j" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
{ "line": 886, "column": 4 }
{ "line": 886, "column": 92 }
{ "line": 888, "column": 2 }
[ { "pp": "G : Type u_7\nG' : Type u_8\ninst✝³ : Group G\ninst✝² : IsCyclic G\ninst✝¹ : Finite G\ninst✝ : CommGroup G'\na : G\nha : a ≠ 1\ninst : Fintype G := Fintype.ofFinite G\nζ : G'\nhζ : IsPrimitiveRoot ζ (Nat.card G)\ng : G\nhg : ∀ (x : G), x ∈ Subgroup.zpowers g\n⊢ orderOf ζ ∣ orderOf g", "ppTerm": "?m...
[]
rw [← hζ.eq_orderOf, orderOf_eq_card_of_forall_mem_zpowers hg, Nat.card_eq_fintype_card]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 57, "column": 4 }
{ "line": 57, "column": 35 }
{ "line": 57, "column": 36 }
[ { "pp": "n : ℕ\nhn : 2 < n\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : PartialOrder R\ninst✝ : IsStrictOrderedRing R\nthis✝ : NeZero n\nthis : 0 < (fun x ↦ ↑x) (eval (↑(-1)) (cyclotomic n ℤ))\n⊢ 0 < eval (↑(-1)) (cyclotomic n ℤ)", "ppTerm": "?m.95", "assigned": false, "usedConstants": [], "used...
[ "n : ℕ\nhn : 2 < n\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : PartialOrder R\ninst✝ : IsStrictOrderedRing R\nthis✝ : NeZero n\nthis : 0 < (fun x ↦ ↑x) (eval (↑(-1)) (cyclotomic n ℤ))\n⊢ 0 < eval (↑(-1)) (cyclotomic n ℤ)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 63, "column": 69 }
{ "line": 63, "column": 85 }
{ "line": 63, "column": 86 }
[ { "pp": "n : ℕ\nhn : 2 < n\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : PartialOrder R\ninst✝ : IsStrictOrderedRing R\nthis✝ : NeZero n\nh0 : eval 0 (cyclotomic n ℝ) = 1\nhx : eval (-1) (cyclotomic n ℝ) ≤ 0\nthis : Set.Icc (eval (-1) (cyclotomic n ℝ)) (eval 0 (cyclotomic n ℝ)) ⊆ Set.range fun x ↦ eval x (cyclot...
[ "n : ℕ\nhn : 2 < n\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : PartialOrder R\ninst✝ : IsStrictOrderedRing R\nthis✝ : NeZero n\nh0 : eval 0 (cyclotomic n ℝ) = 1\nhx : eval (-1) (cyclotomic n ℝ) ≤ 0\nthis : Set.Icc (eval (-1) (cyclotomic n ℝ)) (eval 0 (cyclotomic n ℝ)) ⊆ Set.range fun x ↦ eval x (cyclotomic n ℝ)\n⊢...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 90, "column": 8 }
{ "line": 90, "column": 69 }
{ "line": 90, "column": 70 }
[ { "pp": "case ind.inl.hb.inr.inl\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nx : R\nn : ℕ\nih : ∀ m < n, 2 < m → 0 < eval x (cyclotomic m R)\nhn : 2 < n\nhn' : 0 < n\nhn'' : 1 < n\nthis : eval x (cyclotomic n R) * eval x (∏ x ∈ n.properDivisors.erase 1, cyclotomic ...
[ "case ind.inl.hb.inr.inl\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nx : R\nn : ℕ\nih : ∀ m < n, 2 < m → 0 < eval x (cyclotomic m R)\nhn : 2 < n\nhn' : 0 < n\nhn'' : 1 < n\nthis : eval x (cyclotomic n R) * eval x (∏ x ∈ n.properDivisors.erase 1, cyclotomic x R) = ∑ i ∈...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Basic
{ "line": 652, "column": 2 }
{ "line": 652, "column": 28 }
{ "line": 652, "column": 29 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommRing R\nζ : R\nn : ℕ\nx y : R\ninst✝ : IsDomain R\nhodd : Odd n\nh : IsPrimitiveRoot ζ n\n⊢ x ^ n + y ^ n = ∏ ζ ∈ nthRootsFinset n 1, (x + ζ * y)", "ppTerm": "?m.37", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "R : Type u_1\ninst✝¹ : CommRing R\nζ : R\nn : ℕ\nx y : R\ninst✝ : IsDomain R\nhodd : Odd n\nh : IsPrimitiveRoot ζ n\n⊢ x ^ n + y ^ n = ∏ ζ ∈ nthRootsFinset n 1, (x + ζ * y)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Adjoin.PowerBasis
{ "line": 163, "column": 4 }
{ "line": 163, "column": 27 }
{ "line": 165, "column": 0 }
[ { "pp": "case neg\nS : Type u_2\ninst✝⁶ : CommRing S\nR : Type u_3\ninst✝⁵ : CommRing R\ninst✝⁴ : Algebra R S\nA : Type u_4\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Algebra S A\ninst✝ : IsScalarTower R S A\nB : PowerBasis S A\nhB : IsIntegral R B.gen\nx : A\nhx : ∀ (i : Fin B.dim), IsIntegral R ((B....
[]
· exact isIntegral_zero
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.RingTheory.Polynomial.Cyclotomic.Expand
{ "line": 89, "column": 73 }
{ "line": 106, "column": 44 }
{ "line": 108, "column": 0 }
[ { "pp": "p n : ℕ\nhp : Nat.Prime p\nhdiv : p ∣ n\nR : Type u_1\ninst✝ : CommRing R\n⊢ (expand R p) (cyclotomic n R) = cyclotomic (n * p) R", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.eval", "le_refl", "Nat.instMulZeroClass", "AddMonoi...
[]
by rcases n.eq_zero_or_pos with (rfl | hzero) · simp have := NeZero.of_pos hzero suffices expand ℤ p (cyclotomic n ℤ) = cyclotomic (n * p) ℤ by rw [← map_cyclotomic_int, ← map_expand, this, map_cyclotomic_int] refine eq_of_monic_of_dvd_of_natDegree_le (cyclotomic.monic _ ℤ) ((cyclotomic.monic n ℤ).exp...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Polynomial.Cyclotomic.Expand
{ "line": 113, "column": 4 }
{ "line": 113, "column": 15 }
{ "line": 113, "column": 16 }
[ { "pp": "case inl\np : ℕ\nhp : Nat.Prime p\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nn : ℕ\nh : Irreducible (cyclotomic (p ^ n) R)\nhmn : 0 ≤ n\n⊢ Irreducible (cyclotomic (p ^ 0) R)", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Na...
[ "case inl\np : ℕ\nhp : Nat.Prime p\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nn : ℕ\nh : Irreducible (cyclotomic (p ^ n) R)\nhmn : 0 ≤ n\n⊢ Irreducible (X - 1)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 110, "column": 6 }
{ "line": 110, "column": 67 }
{ "line": 110, "column": 68 }
[ { "pp": "case hb\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nx : R\nn : ℕ\nih : ∀ m < n, 2 < m → 0 < eval x (cyclotomic m R)\nhn : 2 < n\nhn' : 0 < n\nhn'' : 1 < n\nthis : eval x (cyclotomic n R) * eval x (∏ x ∈ n.properDivisors.erase 1, cyclotomic x R) = ∑ i ∈ ran...
[ "case hb\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nx : R\nn : ℕ\nih : ∀ m < n, 2 < m → 0 < eval x (cyclotomic m R)\nhn : 2 < n\nhn' : 0 < n\nhn'' : 1 < n\nthis : eval x (cyclotomic n R) * eval x (∏ x ∈ n.properDivisors.erase 1, cyclotomic x R) = ∑ i ∈ range n, x ^ i\...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Expand
{ "line": 116, "column": 12 }
{ "line": 116, "column": 23 }
{ "line": 116, "column": 24 }
[ { "pp": "case inr.zero\np : ℕ\nhp : Nat.Prime p\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nm : ℕ\nhm : m > 0\nhmn : m ≤ m + 0\nh : Irreducible (cyclotomic (p ^ (m + 0)) R)\n⊢ Irreducible (cyclotomic (p ^ m) R)", "ppTerm": "?inr.zero", "assigned": false, "usedConstants": [], "usedFVa...
[ "case inr.zero\np : ℕ\nhp : Nat.Prime p\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nm : ℕ\nhm : m > 0\nhmn : m ≤ m + 0\nh : Irreducible (cyclotomic (p ^ (m + 0)) R)\n⊢ Irreducible (cyclotomic (p ^ m) R)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 143, "column": 4 }
{ "line": 143, "column": 66 }
{ "line": 143, "column": 67 }
[ { "pp": "case inr.inl\nR : Type u_1\ninst✝ : Ring R\nn : ℕ\nh✝ : ∀ {p : ℕ}, Nat.Prime p → ∀ (k : ℕ), p ^ k ≠ n\nhn' : n > 0\nhn : 1 < n\nh : eval 1 (cyclotomic n ℤ) = 1\nthis : eval (↑1) (map (Int.castRingHom R) (cyclotomic n ℤ)) = (Int.castRingHom R) (eval (↑1) (cyclotomic n ℤ))\n⊢ eval 1 (cyclotomic n R) = 1"...
[ "case inr.inl\nR : Type u_1\ninst✝ : Ring R\nn : ℕ\nh✝ : ∀ {p : ℕ}, Nat.Prime p → ∀ (k : ℕ), p ^ k ≠ n\nhn' : n > 0\nhn : 1 < n\nh : eval 1 (cyclotomic n ℤ) = 1\nthis : eval (↑1) (map (Int.castRingHom R) (cyclotomic n ℤ)) = (Int.castRingHom R) (eval (↑1) (cyclotomic n ℤ))\n⊢ eval 1 (cyclotomic n R) = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LegendreSymbol.AddCharacter
{ "line": 67, "column": 2 }
{ "line": 67, "column": 32 }
{ "line": 67, "column": 33 }
[ { "pp": "R : Type u\ninst✝² : CommRing R\nR' : Type v\ninst✝¹ : CommMonoid R'\nR'' : Type u_1\ninst✝ : CommMonoid R''\nφ : AddChar R R'\nf : R' →* R''\nhφ : φ.IsPrimitive\nhf : Function.Injective ⇑f\na : R\nha : a ≠ 0\n⊢ (f.compAddChar φ).mulShift a ≠ 1", "ppTerm": "?m.24", "assigned": true, "usedCo...
[ "R : Type u\ninst✝² : CommRing R\nR' : Type v\ninst✝¹ : CommMonoid R'\nR'' : Type u_1\ninst✝ : CommMonoid R''\nφ : AddChar R R'\nf : R' →* R''\nhφ : φ.IsPrimitive\nhf : Function.Injective ⇑f\na : R\nha : a ≠ 0\n⊢ ∃ x, ¬f (φ (a * x)) = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LegendreSymbol.AddCharacter
{ "line": 76, "column": 2 }
{ "line": 76, "column": 45 }
{ "line": 76, "column": 46 }
[ { "pp": "R : Type u\ninst✝¹ : CommRing R\nR' : Type v\ninst✝ : CommMonoid R'\nψ : AddChar R R'\nhψ : ψ.IsPrimitive\na b : R\nh : ψ.mulShift (a + -b) = 1\n⊢ a = b", "ppTerm": "?m.95", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "R : Type u\ninst✝¹ : CommRing R\nR' : Type v\ninst✝ : CommMonoid R'\nψ : AddChar R R'\nhψ : ψ.IsPrimitive\na b : R\nh : ψ.mulShift (a + -b) = 1\n⊢ a = b" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 194, "column": 47 }
{ "line": 194, "column": 58 }
{ "line": 194, "column": 59 }
[ { "pp": "n : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\n⊢ ¬eval (↑q) (cyclotomic n ℂ) = 0", "ppTerm": "?m....
[ "n : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\n⊢ ¬eval q (cyclotomic n ℝ) = 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 105, "column": 35 }
{ "line": 105, "column": 94 }
{ "line": 105, "column": 95 }
[ { "pp": "n : ℕ\ninst✝⁶ : NeZero n\nS T : Set ℕ\nA : Type u\nB : Type v\nK : Type w\nL : Type z\ninst✝⁵ : CommRing A\ninst✝⁴ : CommRing B\ninst✝³ : Algebra A B\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nh : IsCyclotomicExtension ∅ A B\n⊢ ⊥ = ⊤", "ppTerm": "?m.18", "assigned": true, "us...
[ "n : ℕ\ninst✝⁶ : NeZero n\nS T : Set ℕ\nA : Type u\nB : Type v\nK : Type w\nL : Type z\ninst✝⁵ : CommRing A\ninst✝⁴ : CommRing B\ninst✝³ : Algebra A B\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nh : IsCyclotomicExtension ∅ A B\n⊢ ∀ (x : B), x ∈ ⊥" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 114, "column": 4 }
{ "line": 114, "column": 38 }
{ "line": 114, "column": 39 }
[ { "pp": "A : Type u\nB : Type v\ninst✝² : CommRing A\ninst✝¹ : CommRing B\ninst✝ : Algebra A B\nh : IsCyclotomicExtension {1} A B\nx : B\n⊢ x ∈ ⊥", "ppTerm": "?m.32", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "A : Type u\nB : Type v\ninst✝² : CommRing A\ninst✝¹ : CommRing B\ninst✝ : Algebra A B\nh : IsCyclotomicExtension {1} A B\nx : B\n⊢ x ∈ ⊥" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.RootsOfUnity.EnoughRootsOfUnity
{ "line": 65, "column": 2 }
{ "line": 65, "column": 64 }
{ "line": 65, "column": 65 }
[ { "pp": "M : Type u_1\ninst✝² : CommMonoid M\nn : ℕ\ninst✝¹ : NeZero n\ninst✝ : HasEnoughRootsOfUnity M n\nthis : IsCyclic ↥(rootsOfUnity n M)\ng : ↥(rootsOfUnity n M)\nhg : ∀ (x : ↥(rootsOfUnity n M)), x ∈ Subgroup.zpowers g\nhg' : g ^ n = 1\nf : ZMod n → ↥(rootsOfUnity n M) := fun j ↦ g ^ ↑j.val\nx : ↥(rootsO...
[ "M : Type u_1\ninst✝² : CommMonoid M\nn : ℕ\ninst✝¹ : NeZero n\ninst✝ : HasEnoughRootsOfUnity M n\nthis : IsCyclic ↥(rootsOfUnity n M)\ng : ↥(rootsOfUnity n M)\nhg : ∀ (x : ↥(rootsOfUnity n M)), x ∈ Subgroup.zpowers g\nhg' : g ^ n = 1\nf : ZMod n → ↥(rootsOfUnity n M) := fun j ↦ g ^ ↑j.val\nx : ↥(rootsOfUnity n M)\...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 211, "column": 4 }
{ "line": 211, "column": 50 }
{ "line": 211, "column": 51 }
[ { "pp": "case convert_5\nn : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\nthis : ¬eval (↑q) (cyclotomic n ℂ) = 0...
[ "case convert_5\nn : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\nthis : ¬eval (↑q) (cyclotomic n ℂ) = 0\nx : ℂ\nhx ...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 214, "column": 4 }
{ "line": 214, "column": 69 }
{ "line": 214, "column": 70 }
[ { "pp": "case convert_6\nn : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\nthis : ¬eval (↑q) (cyclotomic n ℂ) = 0...
[ "case convert_6\nn : ℕ\nq : ℝ\nhn' : 2 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, q - 1 ≤ ‖↑q - ζ'‖\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, q - 1 < ‖↑q - ζ'‖\nthis : ¬eval (↑q) (cyclotomic n ℂ) = 0\n⊢ ∃ a ∈ pr...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 237, "column": 4 }
{ "line": 237, "column": 22 }
{ "line": 237, "column": 23 }
[ { "pp": "case inr\nn : ℕ\ninst✝³ : NeZero n\nK : Type u\ninst✝² : Field K\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {n} ℚ K\nζ : K\nl : ℕ\nhζ : IsPrimitiveRoot ζ l\nhl✝ : l ≠ 0\nhl : NeZero l\nhroot : IsPrimitiveRoot (zeta n ℚ K) n\nr : ℕ\nhr : GCDMonoid.lcm l n = 2 * n\nineq : φ n * φ r ≤ φ (GCDMo...
[ "case inr\nn : ℕ\ninst✝³ : NeZero n\nK : Type u\ninst✝² : Field K\ninst✝¹ : NumberField K\ninst✝ : IsCyclotomicExtension {n} ℚ K\nζ : K\nl : ℕ\nhζ : IsPrimitiveRoot ζ l\nhl✝ : l ≠ 0\nhl : NeZero l\nhroot : IsPrimitiveRoot (zeta n ℚ K) n\nr : ℕ\nhr : GCDMonoid.lcm l n = 2 * n\nineq : φ n * φ r ≤ φ (GCDMonoid.lcm l n...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
{ "line": 62, "column": 2 }
{ "line": 62, "column": 13 }
{ "line": 62, "column": 14 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nj : ℕ\n⊢ ↑(toCircle ↑j) = cexp (2 * ↑π * I * ↑j / ↑N)", "ppTerm": "?m.25", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "N : ℕ\ninst✝ : NeZero N\nj : ℕ\n⊢ ↑(toCircle ↑j) = cexp (2 * ↑π * I * ↑j / ↑N)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
{ "line": 62, "column": 2 }
{ "line": 62, "column": 41 }
{ "line": 64, "column": 0 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nj : ℕ\n⊢ ↑(toCircle ↑j) = cexp (2 * ↑π * I * ↑j / ↑N)", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Int.cast", "NormedCommRing.toSeminormedCommRing", "Int.cast_natCast", "instHDiv", "Real.pi", "HMul.hMul", "ZMod...
[]
simpa using toCircle_intCast (N := N) j
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
{ "line": 62, "column": 2 }
{ "line": 62, "column": 41 }
{ "line": 64, "column": 0 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nj : ℕ\n⊢ ↑(toCircle ↑j) = cexp (2 * ↑π * I * ↑j / ↑N)", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Int.cast", "NormedCommRing.toSeminormedCommRing", "Int.cast_natCast", "instHDiv", "Real.pi", "HMul.hMul", "ZMod...
[]
simpa using toCircle_intCast (N := N) j
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
{ "line": 62, "column": 2 }
{ "line": 62, "column": 41 }
{ "line": 64, "column": 0 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nj : ℕ\n⊢ ↑(toCircle ↑j) = cexp (2 * ↑π * I * ↑j / ↑N)", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Int.cast", "NormedCommRing.toSeminormedCommRing", "Int.cast_natCast", "instHDiv", "Real.pi", "HMul.hMul", "ZMod...
[]
simpa using toCircle_intCast (N := N) j
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Polynomial.Cyclotomic.Eval
{ "line": 258, "column": 47 }
{ "line": 258, "column": 58 }
{ "line": 258, "column": 59 }
[ { "pp": "n : ℕ\nq : ℝ\nhn' : 3 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, ‖↑q - ζ'‖ ≤ q + 1\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, ‖↑q - ζ'‖ < q + 1\n⊢ ¬eval (↑q) (cyclotomic n ℂ) = 0", "ppTerm": "?m....
[ "n : ℕ\nq : ℝ\nhn' : 3 ≤ n\nhq' : 1 < q\nhn : 0 < n\nhq : 0 < q\nhfor : ∀ ζ' ∈ primitiveRoots n ℂ, ‖↑q - ζ'‖ ≤ q + 1\nζ : ℂ := Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)\nhζ : IsPrimitiveRoot ζ n\nhex : ∃ ζ' ∈ primitiveRoots n ℂ, ‖↑q - ζ'‖ < q + 1\n⊢ ¬eval q (cyclotomic n ℝ) = 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 266, "column": 6 }
{ "line": 266, "column": 40 }
{ "line": 266, "column": 41 }
[ { "pp": "case neg.refine_1\nS : Set ℕ\nA : Type u\nB : Type v\ninst✝² : CommRing A\ninst✝¹ : CommRing B\ninst✝ : Algebra A B\nhS : ¬∃ s ∈ S, s ≠ 0\nH : IsCyclotomicExtension ∅ A B\n⊢ adjoin A {b | ∃ n ∈ {1}, n ≠ 0 ∧ b ^ n = 1} = ⊤", "ppTerm": "?neg.refine_1✝", "assigned": true, "usedConstants": [ ...
[ "case neg.refine_1\nS : Set ℕ\nA : Type u\nB : Type v\ninst✝² : CommRing A\ninst✝¹ : CommRing B\ninst✝ : Algebra A B\nhS : ¬∃ s ∈ S, s ≠ 0\nH : IsCyclotomicExtension ∅ A B\n⊢ ⊥ = ⊤" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.MulChar.Basic
{ "line": 217, "column": 6 }
{ "line": 217, "column": 17 }
{ "line": 217, "column": 18 }
[ { "pp": "R : Type u_1\ninst✝² : CommMonoid R\nR' : Type u_2\ninst✝¹ : CommMonoidWithZero R'\ninst✝ : Nontrivial R'\nχ : MulChar R R'\na : R\n⊢ χ a ≠ 0 → IsUnit a", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "IsUnit", "id", "MulChar", "MulChar.instFunLike", ...
[ "R : Type u_1\ninst✝² : CommMonoid R\nR' : Type u_2\ninst✝¹ : CommMonoidWithZero R'\ninst✝ : Nontrivial R'\nχ : MulChar R R'\na : R\n⊢ ¬χ a = 0 → IsUnit a" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.MulChar.Basic
{ "line": 221, "column": 2 }
{ "line": 221, "column": 13 }
{ "line": 221, "column": 14 }
[ { "pp": "R : Type u_1\ninst✝² : CommMonoid R\nR' : Type u_2\ninst✝¹ : CommMonoidWithZero R'\ninst✝ : Nontrivial R'\nχ : MulChar R R'\na : R\n⊢ χ a = 0 ↔ ¬IsUnit a", "ppTerm": "?m.9", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "R : Type u_1\ninst✝² : CommMonoid R\nR' : Type u_2\ninst✝¹ : CommMonoidWithZero R'\ninst✝ : Nontrivial R'\nχ : MulChar R R'\na : R\n⊢ χ a = 0 ↔ ¬IsUnit a" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.Basic
{ "line": 85, "column": 2 }
{ "line": 85, "column": 31 }
{ "line": 85, "column": 32 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn m : ℕ\ninst✝ : NeZero m\nhm : n ∣ m\na₁✝ a₂✝ : DirichletCharacter R n\nh : ∀ (a : (ZMod m)ˣ), ((changeLevel hm) a₁✝) ↑a = ((changeLevel hm) a₂✝) ↑a\nz : (ZMod m)ˣ\n⊢ a₁✝ ↑((ZMod.unitsMap hm) z) = a₂✝ ↑((ZMod.unitsMap hm) z)", "ppTerm": "?m.59", "as...
[ "R : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn m : ℕ\ninst✝ : NeZero m\nhm : n ∣ m\na₁✝ a₂✝ : DirichletCharacter R n\nh : ∀ (a : (ZMod m)ˣ), ((changeLevel hm) a₁✝) ↑a = ((changeLevel hm) a₂✝) ↑a\nz : (ZMod m)ˣ\n⊢ a₁✝ ↑((ZMod.unitsMap hm) z) = a₂✝ ↑((ZMod.unitsMap hm) z)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 342, "column": 4 }
{ "line": 342, "column": 32 }
{ "line": 343, "column": 4 }
[ { "pp": "case mem\nS : Set ℕ\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsCyclotomicExtension S A B\ninst✝ : IsDomain B\nf g : B ≃ₐ[A] B\nH : ∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n ∧ f r = g r\nx y : B\nhy : y ∈ {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1}\n⊢ f y = ...
[ "case mem\nS : Set ℕ\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsCyclotomicExtension S A B\ninst✝ : IsDomain B\nf g : B ≃ₐ[A] B\nH : ∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n ∧ f r = g r\nx y : B\nn : ℕ\nhn : n ∈ S\nh1 : n ≠ 0\nh2 : y ^ n = 1\n⊢ f y = g y" ]
obtain ⟨n, hn, h1, h2⟩ := hy
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 338, "column": 2 }
{ "line": 349, "column": 44 }
{ "line": 351, "column": 0 }
[ { "pp": "S : Set ℕ\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsCyclotomicExtension S A B\ninst✝ : IsDomain B\nf g : B ≃ₐ[A] B\nH : ∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n ∧ f r = g r\n⊢ f = g", "ppTerm": "?m.35", "assigned": true, "usedConsta...
[]
ext x have hx := ‹IsCyclotomicExtension S A B›.adjoin_roots x induction hx using Algebra.adjoin_induction with | mem y hy => obtain ⟨n, hn, h1, h2⟩ := hy obtain ⟨r, hr1, hr2⟩ := H n hn h1 have := NeZero.mk h1 obtain ⟨m, -, rfl⟩ := hr1.eq_pow_of_pow_eq_one h2 simp [hr2] | algebraMap y => simp...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 338, "column": 2 }
{ "line": 349, "column": 44 }
{ "line": 351, "column": 0 }
[ { "pp": "S : Set ℕ\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsCyclotomicExtension S A B\ninst✝ : IsDomain B\nf g : B ≃ₐ[A] B\nH : ∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n ∧ f r = g r\n⊢ f = g", "ppTerm": "?m.35", "assigned": true, "usedConsta...
[]
ext x have hx := ‹IsCyclotomicExtension S A B›.adjoin_roots x induction hx using Algebra.adjoin_induction with | mem y hy => obtain ⟨n, hn, h1, h2⟩ := hy obtain ⟨r, hr1, hr2⟩ := H n hn h1 have := NeZero.mk h1 obtain ⟨m, -, rfl⟩ := hr1.eq_pow_of_pow_eq_one h2 simp [hr2] | algebraMap y => simp...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 374, "column": 34 }
{ "line": 374, "column": 63 }
{ "line": 374, "column": 64 }
[ { "pp": "n : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh✝ : IsCyclotomicExtension {n} A B\nx : B\nh : x ∈ {b | n ≠ 0 ∧ b ^ n = 1}\n⊢ x ∈ ↑(nthRoots n 1).toFinset", "ppTerm": "?m.94", "assigned": true, "usedConsta...
[ "n : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh✝ : IsCyclotomicExtension {n} A B\nx : B\nh : x ∈ {b | n ≠ 0 ∧ b ^ n = 1}\n⊢ x ^ n = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 375, "column": 19 }
{ "line": 375, "column": 61 }
{ "line": 375, "column": 62 }
[ { "pp": "n : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh✝ : IsCyclotomicExtension {n} A B\nx : B\nh : x ∈ ↑(nthRoots n 1).toFinset\n⊢ x ∈ {b | n ≠ 0 ∧ b ^ n = 1}", "ppTerm": "?m.97", "assigned": true, "usedConsta...
[ "n : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh✝ : IsCyclotomicExtension {n} A B\nx : B\nh : x ∈ ↑(nthRoots n 1).toFinset\n⊢ x ^ n = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 380, "column": 52 }
{ "line": 380, "column": 77 }
{ "line": 380, "column": 78 }
[ { "pp": "n✝ : ℕ\ninst✝⁴ : NeZero n✝\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh : IsCyclotomicExtension {n✝} A B\nb : B\nx✝ : b ∈ {b | ∃ n ∈ {n✝}, n ≠ 0 ∧ b ^ n = 1}\nn : ℕ\nhb : n = n✝ ∧ n ≠ 0 ∧ b ^ n = 1\n⊢ eval₂ (algebraMap A B) b (X ^ n - 1)...
[ "n✝ : ℕ\ninst✝⁴ : NeZero n✝\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nh : IsCyclotomicExtension {n✝} A B\nb : B\nx✝ : b ∈ {b | ∃ n ∈ {n✝}, n ≠ 0 ∧ b ^ n = 1}\nn : ℕ\nhb : n = n✝ ∧ n ≠ 0 ∧ b ^ n = 1\n⊢ b ^ n = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.Basic
{ "line": 182, "column": 8 }
{ "line": 182, "column": 51 }
{ "line": 182, "column": 52 }
[ { "pp": "case refine_1\nR : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn : ℕ\nχ : DirichletCharacter R n\nm : ℕ\ninst✝ : NeZero n\nψ : DirichletCharacter R m\nh : (changeLevel ⋯) χ = (changeLevel ⋯) ψ\nx : (ZMod n)ˣ\nhx : x ∈ (ZMod.unitsMap ⋯).ker\nthis : (↑x).val ≡ 1 [MOD n.gcd m]\nz : ℕ\nhz₁ : z ≡ (↑x).val [MOD...
[ "case refine_1\nR : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn : ℕ\nχ : DirichletCharacter R n\nm : ℕ\ninst✝ : NeZero n\nψ : DirichletCharacter R m\nh : (changeLevel ⋯) χ = (changeLevel ⋯) ψ\nx : (ZMod n)ˣ\nhx : x ∈ (ZMod.unitsMap ⋯).ker\nthis : (↑x).val ≡ 1 [MOD n.gcd m]\nz : ℕ\nhz₁ : z ≡ (↑x).val [MOD n]\nhz₂ : z...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.MulChar.Basic
{ "line": 615, "column": 2 }
{ "line": 615, "column": 46 }
{ "line": 615, "column": 47 }
[ { "pp": "R : Type u_1\ninst✝³ : CommMonoid R\ninst✝² : Fintype R\nR' : Type u_2\ninst✝¹ : CommRing R'\ninst✝ : IsDomain R'\nχ : MulChar R R'\nhχ : χ ≠ 1\nb : Rˣ\nhb : χ ↑b ≠ 1\n⊢ χ ↑b * ∑ a, χ a = ∑ a, χ a", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Units.val", "Eq.mpr", ...
[ "R : Type u_1\ninst✝³ : CommMonoid R\ninst✝² : Fintype R\nR' : Type u_2\ninst✝¹ : CommRing R'\ninst✝ : IsDomain R'\nχ : MulChar R R'\nhχ : χ ≠ 1\nb : Rˣ\nhb : χ ↑b ≠ 1\n⊢ ∑ x, χ (↑b * x) = ∑ a, χ a" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LegendreSymbol.ZModChar
{ "line": 147, "column": 6 }
{ "line": 147, "column": 54 }
{ "line": 147, "column": 55 }
[ { "pp": "n : ℤ\nhelp : ∀ (m : ℤ), 0 ≤ m → m < 8 → χ₈ ↑m = if m % 2 = 0 then 0 else if m = 1 ∨ m = 7 then 1 else -1\n⊢ χ₈ ↑n = if n % 2 = 0 then 0 else if n % 8 = 1 ∨ n % 8 = 7 then 1 else -1", "ppTerm": "?m.85", "assigned": true, "usedConstants": [ "_private.Mathlib.NumberTheory.LegendreSymbol...
[ "n : ℤ\nhelp : ∀ (m : ℤ), 0 ≤ m → m < 8 → χ₈ ↑m = if m % 2 = 0 then 0 else if m = 1 ∨ m = 7 then 1 else -1\n⊢ χ₈ ↑n = if n % 8 % 2 = 0 then 0 else if n % 8 = 1 ∨ n % 8 = 7 then 1 else -1" ]
← Int.emod_emod_of_dvd n (by lia : (2 : ℤ) ∣ 8),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 411, "column": 63 }
{ "line": 411, "column": 74 }
{ "line": 411, "column": 75 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\ninst✝³ : Field L\nζ : L\ninst✝² : Field K\ninst✝¹ : Algebra K L\nk s : ℕ\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhpri : Fact (Nat.Prime p)\ninst✝ : IsCyclotomicExtension {p ^ (k + 1)} K L\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nhs : s ≤ k\nhtwo : p ^ (k - s + 1) ...
[ "p : ℕ\nK : Type u\nL : Type v\ninst✝³ : Field L\nζ : L\ninst✝² : Field K\ninst✝¹ : Algebra K L\nk s : ℕ\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhpri : Fact (Nat.Prime p)\ninst✝ : IsCyclotomicExtension {p ^ (k + 1)} K L\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nhs : s ≤ k\nhtwo : p ^ (k - s + 1) ≠ 2\nhirr₁ :...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.LegendreSymbol.ZModChar
{ "line": 178, "column": 6 }
{ "line": 178, "column": 54 }
{ "line": 178, "column": 55 }
[ { "pp": "n : ℤ\nhelp : ∀ (m : ℤ), 0 ≤ m → m < 8 → χ₈' ↑m = if m % 2 = 0 then 0 else if m = 1 ∨ m = 3 then 1 else -1\n⊢ χ₈' ↑n = if n % 2 = 0 then 0 else if n % 8 = 1 ∨ n % 8 = 3 then 1 else -1", "ppTerm": "?m.85", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", "ZMod.com...
[ "n : ℤ\nhelp : ∀ (m : ℤ), 0 ≤ m → m < 8 → χ₈' ↑m = if m % 2 = 0 then 0 else if m = 1 ∨ m = 3 then 1 else -1\n⊢ χ₈' ↑n = if n % 8 % 2 = 0 then 0 else if n % 8 = 1 ∨ n % 8 = 3 then 1 else -1" ]
← Int.emod_emod_of_dvd n (by lia : (2 : ℤ) ∣ 8),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 454, "column": 4 }
{ "line": 454, "column": 86 }
{ "line": 455, "column": 6 }
[ { "pp": "case refine_2\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\nn : ℕ\ninst✝¹ : NeZero n\ninst✝ : IsDomain B\nζ : B\nhζ : IsPrimitiveRoot ζ n\nx : B\nhx : x = ζ\n⊢ x ∈ (cyclotomic n A).rootSet B", "ppTerm": "?refine_2", "assigned": true, "usedConstants...
[ "case refine_2\nA : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\nn : ℕ\ninst✝¹ : NeZero n\ninst✝ : IsDomain B\nζ : B\nhζ : IsPrimitiveRoot ζ n\nx : B\nhx : x = ζ\n⊢ cyclotomic n B ≠ 0 ∧ eval ζ (cyclotomic n B) = 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.Basic
{ "line": 366, "column": 2 }
{ "line": 369, "column": 82 }
{ "line": 370, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn : ℕ\nχ : DirichletCharacter R n\nm : ℕ\ninst✝ : NeZero m\nhm : n ∣ m\nthis : NeZero n\n⊢ ((changeLevel hm) χ).conductor = χ.conductor", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "DirichletCharacter.conductor", "Eq.mpr"...
[ "R : Type u_1\ninst✝¹ : CommMonoidWithZero R\nn : ℕ\nχ : DirichletCharacter R n\nm : ℕ\ninst✝ : NeZero m\nhm : n ∣ m\nthis : NeZero n\nh : ((changeLevel hm) χ).conductor ∣ χ.conductor\n⊢ ((changeLevel hm) χ).conductor = χ.conductor" ]
have h : (changeLevel hm χ).conductor ∣ χ.conductor := by refine conductor_dvd_of_mem_conductorSet _ ⟨χ.conductor_dvd_level.trans hm, χ.primitiveCharacter, ?_⟩ rw [changeLevel_trans _ χ.conductor_dvd_level, changeLevel_primitiveCharacter]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.NumberTheory.DirichletCharacter.Basic
{ "line": 479, "column": 17 }
{ "line": 479, "column": 71 }
{ "line": 479, "column": 72 }
[ { "pp": "R : Type u_1\ninst✝ : CommMonoidWithZero R\nn : ℕ\nH : Set (ZMod n)ˣ\nχ : DirichletCharacter R n\nhχ : ∀ (x : (↥(Submonoid.map (Units.coeHom (ZMod n)) (Submonoid.closure H)))ˣ), χ ↑↑x = 1\nx : (ZMod n)ˣ\nhx : x ∈ Submonoid.closure H\n⊢ x⁻¹ ∈ ↑(Submonoid.closure H)", "ppTerm": "?m.54", "assigned...
[ "R : Type u_1\ninst✝ : CommMonoidWithZero R\nn : ℕ\nH : Set (ZMod n)ˣ\nχ : DirichletCharacter R n\nhχ : ∀ (x : (↥(Submonoid.map (Units.coeHom (ZMod n)) (Submonoid.closure H)))ˣ), χ ↑↑x = 1\nx : (ZMod n)ˣ\nhx : x ∈ Submonoid.closure H\n⊢ x ∈ Subgroup.closure H" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 555, "column": 61 }
{ "line": 555, "column": 72 }
{ "line": 555, "column": 73 }
[ { "pp": "S : Set ℕ\nK : Type w\nL : Type z\ninst✝⁶ : Field K\ninst✝⁵ : Field L\ninst✝⁴ : Algebra K L\ninst✝³ : IsCyclotomicExtension S K L\nM : Type u_1\ninst✝² : Field M\ninst✝¹ : Algebra K M\ninst✝ : IsSepClosed M\nthis : Algebra.IsSeparable K L\ni : L →ₐ[K] M := IsSepClosed.lift\nhtop : IntermediateField.adj...
[ "S : Set ℕ\nK : Type w\nL : Type z\ninst✝⁶ : Field K\ninst✝⁵ : Field L\ninst✝⁴ : Algebra K L\ninst✝³ : IsCyclotomicExtension S K L\nM : Type u_1\ninst✝² : Field M\ninst✝¹ : Algebra K M\ninst✝ : IsSepClosed M\nthis : Algebra.IsSeparable K L\ni : L →ₐ[K] M := IsSepClosed.lift\nhtop : IntermediateField.adjoin K {x | ∃...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 456, "column": 2 }
{ "line": 456, "column": 13 }
{ "line": 456, "column": 14 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\ninst✝³ : Field L\nζ : L\ninst✝² : Field K\ninst✝¹ : Algebra K L\nk : ℕ\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhpri : Fact (Nat.Prime p)\ninst✝ : IsCyclotomicExtension {p ^ (k + 1)} K L\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nh : p ≠ 2\n⊢ (Algebra.norm K) (ζ - 1)...
[ "p : ℕ\nK : Type u\nL : Type v\ninst✝³ : Field L\nζ : L\ninst✝² : Field K\ninst✝¹ : Algebra K L\nk : ℕ\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhpri : Fact (Nat.Prime p)\ninst✝ : IsCyclotomicExtension {p ^ (k + 1)} K L\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nh : p ≠ 2\n⊢ (Algebra.norm K) (ζ - 1) = ↑p" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 466, "column": 2 }
{ "line": 466, "column": 13 }
{ "line": 466, "column": 14 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\ninst✝² : Field L\nζ : L\ninst✝¹ : Field K\ninst✝ : Algebra K L\nhpri : Fact (Nat.Prime p)\nhcyc : IsCyclotomicExtension {p} K L\nh : p ≠ 2\nhirr : Irreducible (cyclotomic (p ^ (0 + 1)) K)\nhζ : IsPrimitiveRoot ζ (p ^ (0 + 1))\nthis : IsCyclotomicExtension {p ^ (0 + 1)} K ...
[ "p : ℕ\nK : Type u\nL : Type v\ninst✝² : Field L\nζ : L\ninst✝¹ : Field K\ninst✝ : Algebra K L\nhpri : Fact (Nat.Prime p)\nhcyc : IsCyclotomicExtension {p} K L\nh : p ≠ 2\nhirr : Irreducible (cyclotomic (p ^ (0 + 1)) K)\nhζ : IsPrimitiveRoot ζ (p ^ (0 + 1))\nthis : IsCyclotomicExtension {p ^ (0 + 1)} K L\n⊢ (Algebr...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.GaussSum
{ "line": 33, "column": 4 }
{ "line": 33, "column": 27 }
{ "line": 33, "column": 28 }
[ { "pp": "N : ℕ\ninst✝¹ : NeZero N\nR : Type u_1\ninst✝ : CommRing R\ne : AddChar (ZMod N) R\nχ : DirichletCharacter R N\nd : ℕ\nhd : d ∣ N\nhe : e.mulShift ↑d = 1\nu : (ZMod N)ˣ\nhu : (ZMod.unitsMap hd) u = 1\na : ℤ\nha : ↑(↑u).val - 1 = ↑d * a\nthis : ↑u - 1 = ↑(↑(↑u).val - 1)\ny : ZMod N\n⊢ (e.mulShift ↑(↑d *...
[ "N : ℕ\ninst✝¹ : NeZero N\nR : Type u_1\ninst✝ : CommRing R\ne : AddChar (ZMod N) R\nχ : DirichletCharacter R N\nd : ℕ\nhd : d ∣ N\nhe : e.mulShift ↑d = 1\nu : (ZMod N)ˣ\nhu : (ZMod.unitsMap hd) u = 1\na : ℤ\nha : ↑(↑u).val - 1 = ↑d * a\nthis : ↑u - 1 = ↑(↑(↑u).val - 1)\ny : ZMod N\n⊢ e (↑d * (↑a * y)) = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 497, "column": 2 }
{ "line": 497, "column": 19 }
{ "line": 497, "column": 20 }
[ { "pp": "K : Type u\nL : Type v\ninst✝² : Field L\nζ : L\ninst✝¹ : Field K\ninst✝ : Algebra K L\nk : ℕ\nhk : 2 ≤ k\nH : IsCyclotomicExtension {2 ^ k} K L\nthis : 2 < 2 ^ k\nhirr : Irreducible (cyclotomic (2 ^ k) K)\nhζ : IsPrimitiveRoot ζ (2 ^ k)\nk₁ : ℕ\nhk₁ : k = k₁.succ\n⊢ (Algebra.norm K) (ζ - 1) = 2", ...
[ "K : Type u\nL : Type v\ninst✝² : Field L\nζ : L\ninst✝¹ : Field K\ninst✝ : Algebra K L\nk : ℕ\nhk : 2 ≤ k\nH : IsCyclotomicExtension {2 ^ k} K L\nthis : 2 < 2 ^ k\nhirr : Irreducible (cyclotomic (2 ^ k) K)\nhζ : IsPrimitiveRoot ζ (2 ^ k)\nk₁ : ℕ\nhk₁ : k = k₁.succ\n⊢ (Algebra.norm K) (ζ - 1) = 2" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.GaussSum
{ "line": 46, "column": 2 }
{ "line": 46, "column": 37 }
{ "line": 46, "column": 38 }
[ { "pp": "N : ℕ\ninst✝² : NeZero N\nR : Type u_1\ninst✝¹ : CommRing R\ne : AddChar (ZMod N) R\ninst✝ : IsDomain R\nχ : DirichletCharacter R N\nd : ℕ\nhd : d ∣ N\nhe : e.mulShift ↑d = 1\nh_ne : gaussSum χ e ≠ 0\nx✝ : (ZMod N)ˣ\nhu : x✝ ∈ (ZMod.unitsMap hd).ker\n⊢ x✝ ∈ (MulChar.toUnitHom χ).ker", "ppTerm": "?m...
[ "N : ℕ\ninst✝² : NeZero N\nR : Type u_1\ninst✝¹ : CommRing R\ne : AddChar (ZMod N) R\ninst✝ : IsDomain R\nχ : DirichletCharacter R N\nd : ℕ\nhd : d ∣ N\nhe : e.mulShift ↑d = 1\nh_ne : gaussSum χ e ≠ 0\nx✝ : (ZMod N)ˣ\nhu : x✝ ∈ (ZMod.unitsMap hd).ker\n⊢ χ ↑x✝ = 1" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.DirichletCharacter.GaussSum
{ "line": 63, "column": 4 }
{ "line": 63, "column": 30 }
{ "line": 63, "column": 31 }
[ { "pp": "case pos\nN : ℕ\ninst✝² : NeZero N\nR : Type u_1\ninst✝¹ : CommRing R\ne : AddChar (ZMod N) R\ninst✝ : IsDomain R\nχ : DirichletCharacter R N\nhχ : χ.IsPrimitive\na : ZMod N\nha : IsUnit a\n⊢ gaussSum χ (e.mulShift a) = χ⁻¹ a * gaussSum χ e", "ppTerm": "?pos✝", "assigned": false, "usedConst...
[ "case pos\nN : ℕ\ninst✝² : NeZero N\nR : Type u_1\ninst✝¹ : CommRing R\ne : AddChar (ZMod N) R\ninst✝ : IsDomain R\nχ : DirichletCharacter R N\nhχ : χ.IsPrimitive\na : ZMod N\nha : IsUnit a\n⊢ gaussSum χ (e.mulShift a) = χ⁻¹ a * gaussSum χ e" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots
{ "line": 504, "column": 48 }
{ "line": 514, "column": 62 }
{ "line": 516, "column": 0 }
[ { "pp": "p : ℕ\nK : Type u\nL : Type v\ninst✝² : Field L\nζ : L\ninst✝¹ : Field K\ninst✝ : Algebra K L\nk s : ℕ\nhζ : IsPrimitiveRoot ζ (p ^ (k + 1))\nhpri : Fact (Nat.Prime p)\nhcycl : IsCyclotomicExtension {p ^ (k + 1)} K L\nhirr : Irreducible (cyclotomic (p ^ (k + 1)) K)\nhs : s ≤ k\nhk : k ≠ 0\n⊢ (Algebra.n...
[]
by by_cases htwo : p ^ (k - s + 1) = 2 · obtain ⟨hp, hks⟩ := (Nat.prime_two.pow_eq_iff).1 htwo simp only [add_eq_right] at hks replace hs : s = k := le_antisymm hs (Nat.sub_eq_zero_iff_le.mp hks) simp only [hp, hs] at hζ hirr hcycl ⊢ obtain ⟨k₁, hk₁⟩ := Nat.exists_eq_succ_of_ne_zero hk rw [hζ.no...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.GaussSum
{ "line": 128, "column": 2 }
{ "line": 128, "column": 24 }
{ "line": 128, "column": 25 }
[ { "pp": "R : Type u_1\nR' : Type u_2\ninst✝³ : CommRing R\ninst✝² : Fintype R\ninst✝¹ : CommRing R'\ninst✝ : IsDomain R'\nχ : MulChar R R'\nhχ : χ ≠ 1\n⊢ gaussSum χ 1 = 0", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "Finset.univ", "congrArg...
[ "R : Type u_1\nR' : Type u_2\ninst✝³ : CommRing R\ninst✝² : Fintype R\ninst✝¹ : CommRing R'\ninst✝ : IsDomain R'\nχ : MulChar R R'\nhχ : χ ≠ 1\n⊢ ∑ x, χ x = 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.Fourier.ZMod
{ "line": 54, "column": 10 }
{ "line": 54, "column": 35 }
{ "line": 55, "column": 4 }
[ { "pp": "N : ℕ\ninst✝² : NeZero N\nE : Type u_1\ninst✝¹ : AddCommGroup E\ninst✝ : Module ℂ E\nΦ : ZMod N → E\nk : ZMod N\n⊢ auxDFT (fun j ↦ Φ (-j)) k = auxDFT Φ (-k)", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "instHSMul", "HMul.h...
[ "N : ℕ\ninst✝² : NeZero N\nE : Type u_1\ninst✝¹ : AddCommGroup E\ninst✝ : Module ℂ E\nΦ : ZMod N → E\nk : ZMod N\n⊢ ∑ x, stdAddChar (-(x * k)) • Φ (-x) = ∑ j, stdAddChar (-(j * -k)) • Φ j" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.Fourier.ZMod
{ "line": 193, "column": 2 }
{ "line": 193, "column": 73 }
{ "line": 193, "column": 74 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nh : ∀ {f : ZMod N → ℂ}, Function.Even f → Function.Even (𝓕 f)\nhΦ : Function.Even (𝓕 Φ)\nx : ZMod N\n⊢ Φ (-x) = Φ x", "ppTerm": "?m.38", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nh : ∀ {f : ZMod N → ℂ}, Function.Even f → Function.Even (𝓕 f)\nhΦ : Function.Even (𝓕 Φ)\nx : ZMod N\n⊢ Φ (-x) = Φ x" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.Fourier.ZMod
{ "line": 201, "column": 2 }
{ "line": 201, "column": 85 }
{ "line": 201, "column": 86 }
[ { "pp": "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nh : ∀ {f : ZMod N → ℂ}, Function.Odd f → Function.Odd (𝓕 f)\nhΦ : Function.Odd (𝓕 Φ)\nx : ZMod N\n⊢ Φ (-x) = -Φ x", "ppTerm": "?m.42", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "N : ℕ\ninst✝ : NeZero N\nΦ : ZMod N → ℂ\nh : ∀ {f : ZMod N → ℂ}, Function.Odd f → Function.Odd (𝓕 f)\nhΦ : Function.Odd (𝓕 Φ)\nx : ZMod N\n⊢ Φ (-x) = -Φ x" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.Fourier.ZMod
{ "line": 215, "column": 43 }
{ "line": 215, "column": 60 }
{ "line": 215, "column": 61 }
[ { "pp": "case e_f\nN : ℕ\ninst✝ : NeZero N\nχ : DirichletCharacter ℂ N\nk j : ZMod N\n⊢ stdAddChar (-(k * j)) * χ j = χ j * stdAddChar (-(k * j))", "ppTerm": "?e_f", "assigned": true, "usedConstants": [ "NonUnitalNonAssocCommRing.toNonUnitalNonAssocCommSemiring", "Eq.mpr", "NegZero...
[ "case e_f\nN : ℕ\ninst✝ : NeZero N\nχ : DirichletCharacter ℂ N\nk j : ZMod N\n⊢ ↑(toCircle (-(k * j))) * χ j = χ j * ↑(toCircle (-(k * j)))" ]
stdAddChar_apply,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.NumberTheory.GaussSum
{ "line": 258, "column": 51 }
{ "line": 261, "column": 5 }
{ "line": 263, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommRing R\ninst✝¹ : Fintype R\nR' : Type v\ninst✝ : CommRing R'\np : ℕ\nfp : Fact (Nat.Prime p)\nhch : CharP R' p\nχ : MulChar R R'\nψ : AddChar R R'\n⊢ gaussSum χ ψ ^ p = gaussSum (χ ^ p) (ψ ^ p)", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr"...
[]
by rw [← frobenius_def, gaussSum, gaussSum, map_sum] simp_rw [pow_apply' χ fp.1.ne_zero, map_mul, frobenius_def] rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.NumberTheory.GaussSum
{ "line": 269, "column": 2 }
{ "line": 271, "column": 27 }
{ "line": 273, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommRing R\ninst✝¹ : Fintype R\nR' : Type v\ninst✝ : CommRing R'\np : ℕ\nfp : Fact (Nat.Prime p)\nhch : CharP R' p\nhp : IsUnit ↑p\nχ : MulChar R R'\nhχ : χ.IsQuadratic\nψ : AddChar R R'\n⊢ gaussSum χ ψ ^ p = χ ↑p * gaussSum χ ψ", "ppTerm": "?m.32", "assigned": true, "u...
[]
rw [_root_.gaussSum_frob, pow_mulShift, hχ.pow_char p, ← gaussSum_mulShift χ ψ hp.unit, ← mul_assoc, hp.unit_spec, ← pow_two, ← pow_apply' _ two_ne_zero, hχ.sq_eq_one, ← hp.unit_spec, one_apply_coe, one_mul]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.NumberTheory.GaussSum
{ "line": 269, "column": 2 }
{ "line": 271, "column": 27 }
{ "line": 273, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommRing R\ninst✝¹ : Fintype R\nR' : Type v\ninst✝ : CommRing R'\np : ℕ\nfp : Fact (Nat.Prime p)\nhch : CharP R' p\nhp : IsUnit ↑p\nχ : MulChar R R'\nhχ : χ.IsQuadratic\nψ : AddChar R R'\n⊢ gaussSum χ ψ ^ p = χ ↑p * gaussSum χ ψ", "ppTerm": "?m.32", "assigned": true, "u...
[]
rw [_root_.gaussSum_frob, pow_mulShift, hχ.pow_char p, ← gaussSum_mulShift χ ψ hp.unit, ← mul_assoc, hp.unit_spec, ← pow_two, ← pow_apply' _ two_ne_zero, hχ.sq_eq_one, ← hp.unit_spec, one_apply_coe, one_mul]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.NumberTheory.GaussSum
{ "line": 269, "column": 2 }
{ "line": 271, "column": 27 }
{ "line": 273, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommRing R\ninst✝¹ : Fintype R\nR' : Type v\ninst✝ : CommRing R'\np : ℕ\nfp : Fact (Nat.Prime p)\nhch : CharP R' p\nhp : IsUnit ↑p\nχ : MulChar R R'\nhχ : χ.IsQuadratic\nψ : AddChar R R'\n⊢ gaussSum χ ψ ^ p = χ ↑p * gaussSum χ ψ", "ppTerm": "?m.32", "assigned": true, "u...
[]
rw [_root_.gaussSum_frob, pow_mulShift, hχ.pow_char p, ← gaussSum_mulShift χ ψ hp.unit, ← mul_assoc, hp.unit_spec, ← pow_two, ← pow_apply' _ two_ne_zero, hχ.sq_eq_one, ← hp.unit_spec, one_apply_coe, one_mul]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Analysis.InnerProductSpace.NormPow
{ "line": 66, "column": 2 }
{ "line": 66, "column": 13 }
{ "line": 66, "column": 14 }
[ { "pp": "x p : ℝ\nhp : 1 < p\n⊢ HasDerivAt (fun x ↦ |x| ^ p) (p * |x| ^ (p - 2) * x) x", "ppTerm": "?m.44", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "x p : ℝ\nhp : 1 < p\n⊢ HasDerivAt (fun x ↦ |x| ^ p) (p * |x| ^ (p - 2) * x) x" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.GaussSum
{ "line": 379, "column": 4 }
{ "line": 380, "column": 12 }
{ "line": 381, "column": 4 }
[ { "pp": "case refine_1\nF : Type u_1\ninst✝¹ : Fintype F\ninst✝ : Field F\nhF : ringChar F ≠ 2\nhp2 : ∀ (n : ℕ), 2 ^ n ≠ 0\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nFF : Type u_1 := CyclotomicField 8 F\nhchar : ringChar F = ringChar FF\nFFp : Nat.Prime (ringChar FF)\nthis : Fa...
[ "case refine_2\nF : Type u_1\ninst✝¹ : Fintype F\ninst✝ : Field F\nhF : ringChar F ≠ 2\nhp2 : ∀ (n : ℕ), 2 ^ n ≠ 0\nn : ℕ+\nhp : Nat.Prime (ringChar F)\nhc : Fintype.card F = ringChar F ^ ↑n\nFF : Type u_1 := CyclotomicField 8 F\nhchar : ringChar F = ringChar FF\nFFp : Nat.Prime (ringChar FF)\nthis : Fact (Nat.Prim...
· rw [← pow_mul, ← map_nsmul_eq_pow ψ₈.char, ψ₈.prim.zmod_char_eq_one_iff] decide
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Analysis.InnerProductSpace.NormPow
{ "line": 108, "column": 2 }
{ "line": 109, "column": 28 }
{ "line": 109, "column": 29 }
[ { "pp": "E : Type u_1\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace ℝ E\nF : Type u_2\ninst✝¹ : NormedAddCommGroup F\ninst✝ : NormedSpace ℝ F\nf : F → E\nhf : Differentiable ℝ f\nx : F\np : ℝ≥0\nhp : 1 < p\n⊢ ‖fderiv ℝ (fun x ↦ ‖f x‖ ^ ↑p) x‖ₑ ≤ ↑p * ‖f x‖ₑ ^ (↑p - 1) * ‖fderiv ℝ f x‖ₑ", "ppTer...
[ "E : Type u_1\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace ℝ E\nF : Type u_2\ninst✝¹ : NormedAddCommGroup F\ninst✝ : NormedSpace ℝ F\nf : F → E\nhf : Differentiable ℝ f\nx : F\np : ℝ≥0\nhp : 1 < p\n⊢ ‖fderiv ℝ (fun x ↦ ‖f x‖ ^ ↑p) x‖₊ ≤ p * ‖f x‖₊ ^ (↑p - 1) * ‖fderiv ℝ f x‖₊" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.NormPow
{ "line": 124, "column": 6 }
{ "line": 124, "column": 58 }
{ "line": 124, "column": 59 }
[ { "pp": "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\np : ℝ\nhp : 1 < p\nx : E\nhx : x = 0\nthis : ContinuousAt (fun x ↦ p * ‖x‖ ^ (p - 1)) 0\n⊢ Filter.Tendsto (fun x ↦ p * ‖x‖ ^ (p - 1)) (𝓝 0) (𝓝 0)", "ppTerm": "?m.136", "assigned": false, "usedConstants": [], "...
[ "E : Type u_1\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace ℝ E\np : ℝ\nhp : 1 < p\nx : E\nhx : x = 0\nthis : ContinuousAt (fun x ↦ p * ‖x‖ ^ (p - 1)) 0\n⊢ Filter.Tendsto (fun x ↦ p * ‖x‖ ^ (p - 1)) (𝓝 0) (𝓝 0)" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 898, "column": 4 }
{ "line": 899, "column": 25 }
{ "line": 899, "column": 26 }
[ { "pp": "case hS\nn : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nC : Subalgebra A B\nζ : B\nhζ : IsPrimitiveRoot ζ n\n⊢ ∀ n_1 ∈ {n}, n_1 ≠ 0 → ∃ r, IsPrimitiveRoot r n_1", "ppTerm": "?hS", "assigned": true, "usedC...
[ "case hS\nn : ℕ\ninst✝⁴ : NeZero n\nA : Type u\nB : Type v\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra A B\ninst✝ : IsDomain B\nC : Subalgebra A B\nζ : B\nhζ : IsPrimitiveRoot ζ n\n⊢ ∃ r, IsPrimitiveRoot r n" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Data.Finset.Grade
{ "line": 37, "column": 4 }
{ "line": 37, "column": 15 }
{ "line": 37, "column": 16 }
[ { "pp": "α : Type u_1\ns : Multiset α\na : α\nt : Multiset α\nhst : s < t\nhts : t < a ::ₘ s\n⊢ t.card < succ s.card", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Order.succ", "Order.succ_eq_add_one", "Nat.instOne", "congrAr...
[ "α : Type u_1\ns : Multiset α\na : α\nt : Multiset α\nhst : s < t\nhts : t < a ::ₘ s\n⊢ t.card ≤ s.card" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Data.Finset.Grade
{ "line": 117, "column": 2 }
{ "line": 117, "column": 13 }
{ "line": 117, "column": 14 }
[ { "pp": "α : Type u_1\ns t : Finset α\ninst✝ : DecidableEq α\nh : s ⋖ t\n⊢ ∃ a ∉ s, insert a s = t", "ppTerm": "?m.12", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "α : Type u_1\ns t : Finset α\ninst✝ : DecidableEq α\nh : s ⋖ t\n⊢ ∃ a ∉ s, insert a s = t" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.NumberTheory.Cyclotomic.Basic
{ "line": 921, "column": 2 }
{ "line": 922, "column": 74 }
{ "line": 923, "column": 4 }
[ { "pp": "A : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsDomain B\nn₁ n₂ : ℕ\nC₁ C₂ : Subalgebra A B\nh₁ : IsCyclotomicExtension {n₁} A ↥C₁\nh₂ : IsCyclotomicExtension {n₂} A ↥C₂\ninst✝ : NeZero n₂\nthis : NeZero n₁\nζ₂ : ↥C₂\nhζ₂ : IsPrimitiveRoot ((algebraMap...
[ "A : Type u\nB : Type v\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : Algebra A B\ninst✝¹ : IsDomain B\nn₁ n₂ : ℕ\nC₁ C₂ : Subalgebra A B\nh₁ : IsCyclotomicExtension {n₁} A ↥C₁\nh₂ : IsCyclotomicExtension {n₂} A ↥C₂\ninst✝ : NeZero n₂\nthis : NeZero n₁\nζ₂ : ↥C₂\nhζ₂ : IsPrimitiveRoot ((algebraMap (↥C₂) B) ζ₂...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Data.Finset.Interval
{ "line": 51, "column": 10 }
{ "line": 51, "column": 64 }
{ "line": 51, "column": 65 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝ : DecidableEq α\ns t : Finset α\nu₁ u₂ : ↥(t \\ s).powerset\nh : (fun u ↦ (↑u).disjUnion s ⋯) u₁ = (fun u ↦ (↑u).disjUnion s ⋯) u₂\n⊢ u₁ = u₂", "ppTerm": "?m.58", "assigned": true, "usedConstants": [ "Eq.mpr", "Finset", "Finset.instSDiff",...
[ "α : Type u_1\nβ : Type u_2\ninst✝ : DecidableEq α\ns t : Finset α\nu₁ u₂ : ↥(t \\ s).powerset\nh : (fun u ↦ (↑u).disjUnion s ⋯) u₁ = (fun u ↦ (↑u).disjUnion s ⋯) u₂\n⊢ ↑u₁ = ↑u₂" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Affine
{ "line": 93, "column": 2 }
{ "line": 93, "column": 13 }
{ "line": 93, "column": 14 }
[ { "pp": "V : Type u_2\nP : Type u_3\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\na b p : P\nh_inner : ⟪p -ᵥ a, b -ᵥ a⟫ = 0\n⊢ dist p b ^ 2 = dist p a ^ 2 + dist a b ^ 2", "ppTerm": "?m.60", "assigned": false, "usedConstants": []...
[ "V : Type u_2\nP : Type u_3\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\na b p : P\nh_inner : ⟪p -ᵥ a, b -ᵥ a⟫ = 0\n⊢ dist p b ^ 2 = dist p a ^ 2 + dist a b ^ 2" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.Hofer
{ "line": 74, "column": 6 }
{ "line": 76, "column": 52 }
{ "line": 77, "column": 6 }
[ { "pp": "case succ\nX : Type u_1\ninst✝¹ : MetricSpace X\ninst✝ : CompleteSpace X\nx : X\nε : ℝ\nε_pos : 0 < ε\nϕ : X → ℝ\ncont : Continuous[PseudoMetricSpace.toUniformSpace.toTopologicalSpace, _] ϕ\nnonneg : ∀ (y : X), 0 ≤ ϕ y\nreformulation : ∀ (x' : X) (k : ℕ), ε * ϕ x ≤ ε / 2 ^ k * ϕ x' ↔ 2 ^ k * ϕ x ≤ ϕ x'...
[ "case succ\nX : Type u_1\ninst✝¹ : MetricSpace X\ninst✝ : CompleteSpace X\nx : X\nε : ℝ\nε_pos : 0 < ε\nϕ : X → ℝ\ncont : Continuous[PseudoMetricSpace.toUniformSpace.toTopologicalSpace, _] ϕ\nnonneg : ∀ (y : X), 0 ≤ ϕ y\nreformulation : ∀ (x' : X) (k : ℕ), ε * ϕ x ≤ ε / 2 ^ k * ϕ x' ↔ 2 ^ k * ϕ x ≤ ϕ x'\nthis : Non...
have B : 2 ^ (n + 1) * ϕ x ≤ ϕ (u (n + 1)) := by refine @geom_le (ϕ ∘ u) _ zero_le_two (n + 1) fun m hm => ?_ exact (IH _ <| Nat.lt_add_one_iff.1 hm).2.le
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 135, "column": 2 }
{ "line": 135, "column": 25 }
{ "line": 135, "column": 26 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nι : Type u_4\nT : ι → E →ₗ[𝕜] E\ns : Finset ι\nhT : ∀ i ∈ s, (T i).IsPositive\nx✝ : E\n⊢ 0 ≤ re ⟪(∑ i ∈ s, T i) x✝, x✝⟫", "ppTerm": "?m.53", "assigned": true, "usedConstants": [ ...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nι : Type u_4\nT : ι → E →ₗ[𝕜] E\ns : Finset ι\nhT : ∀ i ∈ s, (T i).IsPositive\nx✝ : E\n⊢ 0 ≤ ∑ x ∈ s, re ⟪(T x) x✝, x✝⟫" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 153, "column": 23 }
{ "line": 153, "column": 48 }
{ "line": 153, "column": 49 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nT : E →ₗ[𝕜] E\nhT : T.IsPositive\nhT' : T ≠ 0\nα : 𝕜\nh : (α • T).IsPositive\n⊢ ?m.48", "ppTerm": "?m.53", "assigned": false, "usedConstants": [], "usedFVars": [], "used...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nT : E →ₗ[𝕜] E\nhT : T.IsPositive\nhT' : T ≠ 0\nα : 𝕜\nh : (α • T).IsPositive\n⊢ ?m.48" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 154, "column": 13 }
{ "line": 154, "column": 43 }
{ "line": 154, "column": 44 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nT : E →ₗ[𝕜] E\nhT : T.IsPositive\nhT' : T ≠ 0\nα : 𝕜\nh : (α • T).IsPositive\nx : E\nhx : 0 < ⟪x, T x⟫\n⊢ ?m.78", "ppTerm": "?m.79", "assigned": false, "usedConstants": [], ...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nT : E →ₗ[𝕜] E\nhT : T.IsPositive\nhT' : T ≠ 0\nα : 𝕜\nh : (α • T).IsPositive\nx : E\nhx : 0 < ⟪x, T x⟫\n⊢ ?m.78" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Coalgebra
{ "line": 76, "column": 8 }
{ "line": 76, "column": 26 }
{ "line": 76, "column": 27 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁷ : RCLike 𝕜\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : InnerProductSpace 𝕜 E\ninst✝⁴ : FiniteDimensional 𝕜 E\nA : Type u_3\ninst✝³ : Ring A\ninst✝² : Module 𝕜 A\ninst✝¹ : SMulCommClass 𝕜 A A\ninst✝ : IsScalarTower 𝕜 A A\ne : E ≃ₗ[𝕜] A\n⊢ ↑(TensorProduct.assoc 𝕜 ...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝⁷ : RCLike 𝕜\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : InnerProductSpace 𝕜 E\ninst✝⁴ : FiniteDimensional 𝕜 E\nA : Type u_3\ninst✝³ : Ring A\ninst✝² : Module 𝕜 A\ninst✝¹ : SMulCommClass 𝕜 A A\ninst✝ : IsScalarTower 𝕜 A A\ne : E ≃ₗ[𝕜] A\n⊢ ↑(TensorProduct.assoc 𝕜 E E E) ∘ₗ\n ...
← adjoint_lTensor,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 160, "column": 2 }
{ "line": 162, "column": 11 }
{ "line": 162, "column": 12 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝³ : RCLike 𝕜\ninst✝² : NormedAddCommGroup E\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : FiniteDimensional 𝕜 E\nT : E →ₗ[𝕜] E\nn : ℕ\nhT : T.IsPositive\nhn : Module.finrank 𝕜 E = n\ni : Fin n\n⊢ 0 ≤ ⋯.eigenvalues hn i", "ppTerm": "?m.44", "assigned": false, ...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝³ : RCLike 𝕜\ninst✝² : NormedAddCommGroup E\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : FiniteDimensional 𝕜 E\nT : E →ₗ[𝕜] E\nn : ℕ\nhT : T.IsPositive\nhn : Module.finrank 𝕜 E = n\ni : Fin n\n⊢ 0 ≤ ⋯.eigenvalues hn i" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 171, "column": 29 }
{ "line": 171, "column": 40 }
{ "line": 171, "column": 41 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nx✝² x✝¹ x✝ : E →ₗ[𝕜] E\nh₁ : (x✝¹ - x✝²).IsPositive\nh₂ : (x✝ - x✝¹).IsPositive\n⊢ (x✝ - x✝²).IsPositive", "...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nx✝² x✝¹ x✝ : E →ₗ[𝕜] E\nh₁ : (x✝¹ - x✝²).IsPositive\nh₂ : (x✝ - x✝¹).IsPositive\n⊢ (x✝ - x✝²).IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.FunctionalSpaces.SobolevInequality
{ "line": 269, "column": 2 }
{ "line": 269, "column": 30 }
{ "line": 269, "column": 31 }
[ { "pp": "case inr\nι : Type u_1\nA : ι → Type u_2\ninst✝³ : (i : ι) → MeasurableSpace (A i)\nμ : (i : ι) → Measure (A i)\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : ∀ (i : ι), SigmaFinite (μ i)\np : ℝ\nhp₀ : 0 ≤ p\nhp : (↑#ι - 1) * p ≤ 1\nf : ((i : ι) → A i) → ℝ≥0∞\nhf : Measurable f\nh✝ : Nonempty ((i...
[ "case inr\nι : Type u_1\nA : ι → Type u_2\ninst✝³ : (i : ι) → MeasurableSpace (A i)\nμ : (i : ι) → Measure (A i)\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : ∀ (i : ι), SigmaFinite (μ i)\np : ℝ\nhp₀ : 0 ≤ p\nhp : (↑#ι - 1) * p ≤ 1\nf : ((i : ι) → A i) → ℝ≥0∞\nhf : Measurable f\nh✝ : Nonempty ((i : ι) → A i)...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 184, "column": 2 }
{ "line": 184, "column": 13 }
{ "line": 184, "column": 14 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nf : E →ₗ[𝕜] E\n⊢ 0 ≤ f ↔ f.IsPositive", "ppTerm": "?m.23", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nf : E →ₗ[𝕜] E\n⊢ 0 ≤ f ↔ f.IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 190, "column": 4 }
{ "line": 190, "column": 46 }
{ "line": 190, "column": 47 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nf : 𝕜\nhf : 0 ≤ f\nb₁ b₂ : E →ₗ[𝕜] E\nhb : b₁ ≤ b₂\n⊢ f • b₁ ≤ f • b₂", "ppTerm": "?m.31", "assigned": ...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nf : 𝕜\nhf : 0 ≤ f\nb₁ b₂ : E →ₗ[𝕜] E\nhb : b₁ ≤ b₂\n⊢ (f • (b₂ - b₁)).IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 192, "column": 4 }
{ "line": 192, "column": 46 }
{ "line": 192, "column": 47 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nf : E →ₗ[𝕜] E\nhf : 0 ≤ f\nb₁ b₂ : 𝕜\nhb : b₁ ≤ b₂\n⊢ b₁ • f ≤ b₂ • f", "ppTerm": "?m.38", "assigned": ...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nf : E →ₗ[𝕜] E\nhf : 0 ≤ f\nb₁ b₂ : 𝕜\nhb : b₁ ≤ b₂\n⊢ ((b₂ - b₁) • f).IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 209, "column": 32 }
{ "line": 209, "column": 43 }
{ "line": 209, "column": 44 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nT : E →ₗ[𝕜] E\nf : E ≃ₗᵢ[𝕜] F\nx✝ : T.IsSymmetric\nh : ∀ (x : F), 0 ≤ re ⟪T (f.symm x), f.symm x⟫\nx : E\n⊢ 0 ≤...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nT : E →ₗ[𝕜] E\nf : E ≃ₗᵢ[𝕜] F\nx✝ : T.IsSymmetric\nh : ∀ (x : F), 0 ≤ re ⟪T (f.symm x), f.symm x⟫\nx : E\n⊢ 0 ≤ re ⟪T x, x⟫...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Coalgebra
{ "line": 85, "column": 35 }
{ "line": 85, "column": 53 }
{ "line": 85, "column": 54 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁷ : RCLike 𝕜\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : InnerProductSpace 𝕜 E\ninst✝⁴ : FiniteDimensional 𝕜 E\nA : Type u_3\ninst✝³ : Ring A\ninst✝² : Module 𝕜 A\ninst✝¹ : SMulCommClass 𝕜 A A\ninst✝ : IsScalarTower 𝕜 A A\ne : E ≃ₗ[𝕜] A\n⊢ LinearMap.lTensor E (adjo...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝⁷ : RCLike 𝕜\ninst✝⁶ : NormedAddCommGroup E\ninst✝⁵ : InnerProductSpace 𝕜 E\ninst✝⁴ : FiniteDimensional 𝕜 E\nA : Type u_3\ninst✝³ : Ring A\ninst✝² : Module 𝕜 A\ninst✝¹ : SMulCommClass 𝕜 A A\ninst✝ : IsScalarTower 𝕜 A A\ne : E ≃ₗ[𝕜] A\n⊢ adjoint (LinearMap.lTensor E (toSpanS...
← adjoint_lTensor,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 247, "column": 2 }
{ "line": 247, "column": 73 }
{ "line": 248, "column": 4 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\np : E →ₗ[𝕜] E\nhp : p.IsSymmetricProjection\na : E\nha : a ∈ p.range\nhh : ∀ {T : E →ₗ[𝕜] E}, T.IsSymmetricProjection → re ⟪T a, a⟫ = ‖T a‖ ^ 2\nU : Submodule 𝕜 E\nw✝ : U.HasOrthogonalProj...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\np : E →ₗ[𝕜] E\nhp : p.IsSymmetricProjection\na : E\nha : a ∈ p.range\nhh : ∀ {T : E →ₗ[𝕜] E}, T.IsSymmetricProjection → re ⟪T a, a⟫ = ‖T a‖ ^ 2\nU : Submodule 𝕜 E\nw✝ : U.HasOrthogonalProjection\nhq :...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Coalgebra
{ "line": 135, "column": 38 }
{ "line": 135, "column": 56 }
{ "line": 135, "column": 57 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\ninst✝¹ : FiniteDimensional 𝕜 E\ninst✝ : Coalgebra 𝕜 E\nx : E\n⊢ (adjoint comul ∘ₗ LinearMap.lTensor E (adjoint counit)) (x ⊗ₜ[𝕜] One.one) = x", "ppTerm": "?m.241", "assigned": tru...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\ninst✝¹ : FiniteDimensional 𝕜 E\ninst✝ : Coalgebra 𝕜 E\nx : E\n⊢ (adjoint comul ∘ₗ adjoint (LinearMap.lTensor E counit)) (x ⊗ₜ[𝕜] One.one) = x" ]
← adjoint_lTensor,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Analysis.InnerProductSpace.Coalgebra
{ "line": 163, "column": 45 }
{ "line": 163, "column": 63 }
{ "line": 163, "column": 64 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\ninst✝¹ : FiniteDimensional 𝕜 E\ninst✝ : Coalgebra 𝕜 E\nr : 𝕜\nx : E\n⊢ (adjoint comul) ((LinearMap.rTensor E (adjoint counit)) (r ⊗ₜ[𝕜] x)) =\n (adjoint comul) ((LinearMap.lTensor E (...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : InnerProductSpace 𝕜 E\ninst✝¹ : FiniteDimensional 𝕜 E\ninst✝ : Coalgebra 𝕜 E\nr : 𝕜\nx : E\n⊢ (adjoint comul) ((LinearMap.rTensor E (adjoint counit)) (r ⊗ₜ[𝕜] x)) =\n (adjoint comul) ((adjoint (LinearMap.lTensor E coun...
← adjoint_lTensor,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 451, "column": 44 }
{ "line": 451, "column": 91 }
{ "line": 451, "column": 92 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝³ : RCLike 𝕜\ninst✝² : NormedAddCommGroup E\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : CompleteSpace E\nf : E →L[𝕜] E\nc : ℝ≥0\nhc : 0 < c\nh : ∀ (x : E), ‖x‖ ^ 2 * ↑c ≤ ‖⟪f x, x⟫‖\nh_anti : AntilipschitzWith c⁻¹ ⇑f\nx : E\nhx : x ∈ (↑f).rangeᗮ\n⊢ ‖x‖ ^ 2 * ↑c ≤ 0", ...
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝³ : RCLike 𝕜\ninst✝² : NormedAddCommGroup E\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : CompleteSpace E\nf : E →L[𝕜] E\nc : ℝ≥0\nhc : 0 < c\nh : ∀ (x : E), ‖x‖ ^ 2 * ↑c ≤ ‖⟪f x, x⟫‖\nh_anti : AntilipschitzWith c⁻¹ ⇑f\nx : E\nhx : x ∈ (↑f).rangeᗮ\n⊢ ‖x‖ ^ 2 * ↑c ≤ 0" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 473, "column": 29 }
{ "line": 473, "column": 40 }
{ "line": 473, "column": 41 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nx✝² x✝¹ x✝ : E →L[𝕜] E\nh₁ : (x✝¹ - x✝²).IsPositive\nh₂ : (x✝ - x✝¹).IsPositive\n⊢ (x✝ - x✝²).IsPositive", "...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁴ : RCLike 𝕜\ninst✝³ : NormedAddCommGroup E\ninst✝² : NormedAddCommGroup F\ninst✝¹ : InnerProductSpace 𝕜 E\ninst✝ : InnerProductSpace 𝕜 F\nx✝² x✝¹ x✝ : E →L[𝕜] E\nh₁ : (x✝¹ - x✝²).IsPositive\nh₂ : (x✝ - x✝¹).IsPositive\n⊢ (x✝ - x✝²).IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 484, "column": 2 }
{ "line": 484, "column": 13 }
{ "line": 484, "column": 14 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nf : E →L[𝕜] E\n⊢ 0 ≤ f ↔ f.IsPositive", "ppTerm": "?m.25", "assigned": false, "usedConstants": [], "usedFVars": [], "usedGoals": [] } ]
[ "𝕜 : Type u_1\nE : Type u_2\ninst✝² : RCLike 𝕜\ninst✝¹ : NormedAddCommGroup E\ninst✝ : InnerProductSpace 𝕜 E\nf : E →L[𝕜] E\n⊢ 0 ≤ f ↔ f.IsPositive" ]
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null
Mathlib.Analysis.InnerProductSpace.Positive
{ "line": 514, "column": 2 }
{ "line": 514, "column": 26 }
{ "line": 514, "column": 27 }
[ { "pp": "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁶ : RCLike 𝕜\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedAddCommGroup F\ninst✝³ : InnerProductSpace 𝕜 E\ninst✝² : InnerProductSpace 𝕜 F\ninst✝¹ : CompleteSpace E\ninst✝ : CompleteSpace F\np : E →L[𝕜] F\n⊢ (∀ (x : E), ‖p x‖ ≤ ‖x‖) ↔ adjoint p ∘SL p ...
[ "𝕜 : Type u_1\nE : Type u_2\nF : Type u_3\ninst✝⁶ : RCLike 𝕜\ninst✝⁵ : NormedAddCommGroup E\ninst✝⁴ : NormedAddCommGroup F\ninst✝³ : InnerProductSpace 𝕜 E\ninst✝² : InnerProductSpace 𝕜 F\ninst✝¹ : CompleteSpace E\ninst✝ : CompleteSpace F\np : E →L[𝕜] F\n⊢ (∀ (x : E), ‖p x‖ ≤ ‖x‖) ↔ adjoint p ∘SL p ≤ Continuous...
simpa using
Lean.Elab.Tactic.Simpa.evalSimpa
null