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.LocalRing.Pullback | {
"line": 84,
"column": 13
} | {
"line": 84,
"column": 34
} | {
"line": 84,
"column": 35
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\nh : Function.Surjective ⇑g\nr : R\n⊢ ∃ a, (f.pullbackFst g) a = r",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Subring.instSetLike",
... | [
"R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\nh : Function.Surjective ⇑g\nr : R\n⊢ ∃ x, f r = g x"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LocalRing.Pullback | {
"line": 88,
"column": 13
} | {
"line": 88,
"column": 34
} | {
"line": 88,
"column": 35
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\nh : Function.Surjective ⇑f\ns : S\n⊢ ∃ a, (f.pullbackSnd g) a = s",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"RingHom.pullbackSnd",
"Eq.mpr",
... | [
"R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\nh : Function.Surjective ⇑f\ns : S\n⊢ ∃ a, f a = g s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LocalRing.Pullback | {
"line": 97,
"column": 67
} | {
"line": 97,
"column": 78
} | {
"line": 97,
"column": 79
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\ns : S\nhs : s ∈ ker g\n⊢ (0, s) ∈ f.pullback g",
"ppTerm": "?m.115",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"RingHom.instRingHomClass",
"Subrin... | [
"R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝² : Ring R\ninst✝¹ : Ring S\ninst✝ : Semiring T\nf : R →+* T\ng : S →+* T\ns : S\nhs : s ∈ ker g\n⊢ 0 = g s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Localization.Rat | {
"line": 28,
"column": 8
} | {
"line": 28,
"column": 77
} | {
"line": 28,
"column": 78
} | [
{
"pp": "q : ℚ\n⊢ IsRelPrime q.num ↑⟨↑q.den, ⋯⟩",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.Coprime",
"False",
"Int.instIsStrictOrderedRing",
"Rat.num",
"congrArg",
"CommSemiring.toSemiring",
"Int.instLinearOrder",
"I... | [
"q : ℚ\n⊢ q.num.natAbs.Coprime q.den"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Localization.Rat | {
"line": 32,
"column": 2
} | {
"line": 32,
"column": 41
} | {
"line": 32,
"column": 42
} | [
{
"pp": "q : ℚ\n⊢ (↑(IsFractionRing.den ℤ q)).natAbs = q.den",
"ppTerm": "?m.9",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"q : ℚ\n⊢ (↑(IsFractionRing.den ℤ q)).natAbs = q.den"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Localization.AtPrime.Extension | {
"line": 218,
"column": 4
} | {
"line": 218,
"column": 44
} | {
"line": 218,
"column": 45
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝¹⁷ : CommRing R\ninst✝¹⁶ : CommRing S\ninst✝¹⁵ : Algebra R S\np : Ideal R\ninst✝¹⁴ : p.IsPrime\nRₚ : Type u_3\ninst✝¹³ : CommRing Rₚ\ninst✝¹² : Algebra R Rₚ\ninst✝¹¹ : IsLocalization.AtPrime Rₚ p\ninst✝¹⁰ : IsLocalRing Rₚ\nSₚ : Type u_4\ninst✝⁹ : CommRing Sₚ\ninst✝⁸ : A... | [
"R : Type u_1\nS : Type u_2\ninst✝¹⁷ : CommRing R\ninst✝¹⁶ : CommRing S\ninst✝¹⁵ : Algebra R S\np : Ideal R\ninst✝¹⁴ : p.IsPrime\nRₚ : Type u_3\ninst✝¹³ : CommRing Rₚ\ninst✝¹² : Algebra R Rₚ\ninst✝¹¹ : IsLocalization.AtPrime Rₚ p\ninst✝¹⁰ : IsLocalRing Rₚ\nSₚ : Type u_4\ninst✝⁹ : CommRing Sₚ\ninst✝⁸ : Algebra S Sₚ\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 83,
"column": 2
} | {
"line": 83,
"column": 20
} | {
"line": 83,
"column": 21
} | [
{
"pp": "n : Type u_3\nR : Type u_4\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\ni : n\nS : Type (max u_4 u_3) := MvPolynomial { j // j ≠ i } R\ne : MvPolynomial n R ≃ₐ[R] S[X] :=\n (renameEquiv R (Equiv.optionSubtypeNe i).symm).trans (optionEquivLeft R { b // b ≠ i })\nhe : (↑e.symm).comp Polynomial.CAlgHom = re... | [
"n : Type u_3\nR : Type u_4\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\ni : n\nS : Type (max u_4 u_3) := MvPolynomial { j // j ≠ i } R\ne : MvPolynomial n R ≃ₐ[R] S[X] :=\n (renameEquiv R (Equiv.optionSubtypeNe i).symm).trans (optionEquivLeft R { b // b ≠ i })\nhe : (↑e.symm).comp Polynomial.CAlgHom = rename Subtype... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 97,
"column": 33
} | {
"line": 97,
"column": 44
} | {
"line": 97,
"column": 45
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit... | [
"n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit r\n⊢ ¬f.coe... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 111,
"column": 6
} | {
"line": 111,
"column": 49
} | {
"line": 111,
"column": 50
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit... | [
"n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit r\nhfd : f.... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 110,
"column": 2
} | {
"line": 114,
"column": 43
} | {
"line": 115,
"column": 2
} | [
{
"pp": "case refine_1\nn m : ℕ\nhmn : m ≤ n\ns : Fin m → ℕ\nhs : Antitone s\nx✝¹ : Fin m\ni✝ : ℕ\nthis : i✝ ≤ m - 1\ni : ℕ\nhi : i < m - 1\nx✝ : i✝ ≤ i\nih : ∀ (hi : i + 1 < m), (accumulate n m) (invAccumulate n m s) ⟨i + 1, hi⟩ = s ⟨i + 1, hi⟩\nhim : i < m\n⊢ (accumulate n m) (invAccumulate n m s) ⟨i, him⟩ = ... | [
"case refine_2\nn m : ℕ\nhmn : m ≤ n\ns : Fin m → ℕ\nhs : Antitone s\nx✝ : Fin m\ni : ℕ\nthis : i ≤ m - 1\nhm : m - 1 < m\n⊢ (accumulate n m) (invAccumulate n m s) ⟨m - 1, hm⟩ = s ⟨m - 1, hm⟩"
] | · rw [← Nat.pred_eq_sub_one, Nat.lt_pred_iff, Nat.succ_eq_add_one] at hi
rw [accumulate_rec (him.trans_le hmn) hi, ih hi, invAccumulate, dite_eq_left him,
dite_eq_left hi]
simp only
exact Nat.sub_add_cancel (hs i.le_succ) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 118,
"column": 38
} | {
"line": 118,
"column": 63
} | {
"line": 118,
"column": 64
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit... | [
"n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit r\nhfd : f.... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 120,
"column": 6
} | {
"line": 120,
"column": 17
} | {
"line": 120,
"column": 18
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit... | [
"n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nf : MvPolynomial n R\nnontrivial : f.support.Nontrivial\nd : n →₀ ℕ\nhd : d ∈ f.support\ni : n\nhdi : d i = 1\ndisjoint : (↑f.support).PairwiseDisjoint Finsupp.support\nisPrimitive : ∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit r\nhfd : f.... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 681,
"column": 4
} | {
"line": 681,
"column": 69
} | {
"line": 681,
"column": 70
} | [
{
"pp": "case h.refine_2\nK : Type u_2\ninst✝ : Field K\nuK : UniformSpace K\nd : ℤ\nS : Set (K × K)\nhS : S ∈ uniformity K\nγ : (WithZero (Multiplicative ℤ))ˣ := Units.mk0 (exp (-(d + 1))) ⋯\nx✝ : K⸨X⸩ × K⸨X⸩\nhP : x✝ ∈ {P | Valued.v (P.2 - P.1) < ↑γ}\n⊢ (x✝.1.coeff d, x✝.2.coeff d) ∈ S",
"ppTerm": "?h.ref... | [
"case h.refine_2\nK : Type u_2\ninst✝ : Field K\nuK : UniformSpace K\nd : ℤ\nS : Set (K × K)\nhS : S ∈ uniformity K\nγ : (WithZero (Multiplicative ℤ))ˣ := Units.mk0 (exp (-(d + 1))) ⋯\nx✝ : K⸨X⸩ × K⸨X⸩\nhP : x✝ ∈ {P | Valued.v (P.2 - P.1) < ↑γ}\n⊢ (x✝.1.coeff d, x✝.1.coeff d) ∈ S"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 145,
"column": 6
} | {
"line": 145,
"column": 61
} | {
"line": 145,
"column": 62
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\np : MvPolynomial n R\nhp : p.totalDegree = 1\nhp' : ∀ (x : R), (∀ (i : n →₀ ℕ), x ∣ p.coeff i) → IsUnit x\na b : MvPolynomial n R\nhab : p = a * b\nhle : a.totalDegree ≤ b.totalDegree\nha₀ : a ≠ 0\nhb₀ : b ≠ 0\n⊢ a.totalDegree + b.tot... | [
"n : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\np : MvPolynomial n R\nhp : p.totalDegree = 1\nhp' : ∀ (x : R), (∀ (i : n →₀ ℕ), x ∣ p.coeff i) → IsUnit x\na b : MvPolynomial n R\nhab : p = a * b\nhle : a.totalDegree ≤ b.totalDegree\nha₀ : a ≠ 0\nhb₀ : b ≠ 0\n⊢ a.totalDegree + b.totalDegree = 1... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 193,
"column": 4
} | {
"line": 193,
"column": 32
} | {
"line": 193,
"column": 33
} | [
{
"pp": "case hp'\nn : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\nc : n →₀ R\ninst✝ : IsDomain R\nhc_nonempty : c.support.Nonempty\nhc_gcd : ∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r\nr : R\nhr : ∀ (i : n →₀ ℕ), r ∣ (sumSMulX c).coeff i\ni : n\n⊢ r ∣ c i",
"ppTerm": "?hp'",
"assigned": false,
"us... | [
"case hp'\nn : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\nc : n →₀ R\ninst✝ : IsDomain R\nhc_nonempty : c.support.Nonempty\nhc_gcd : ∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r\nr : R\nhr : ∀ (i : n →₀ ℕ), r ∣ (sumSMulX c).coeff i\ni : n\n⊢ r ∣ c i"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic | {
"line": 232,
"column": 4
} | {
"line": 232,
"column": 24
} | {
"line": 232,
"column": 25
} | [
{
"pp": "case isPrimitive\nn : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\nc : n →₀ R\ninst✝ : IsDomain R\nhc : c.support.Nontrivial\nh_dvd : ∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r\nι : n ↪ n ⊕ n →₀ ℕ := { toFun := fun i ↦ Finsupp.single (Sum.inl i) 1 + Finsupp.single (Sum.inr i) 1, inj' := ⋯ }\naux : sumS... | [
"case isPrimitive\nn : Type u_1\nR : Type u_2\ninst✝¹ : CommRing R\nc : n →₀ R\ninst✝ : IsDomain R\nhc : c.support.Nontrivial\nh_dvd : ∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r\nι : n ↪ n ⊕ n →₀ ℕ := { toFun := fun i ↦ Finsupp.single (Sum.inl i) 1 + Finsupp.single (Sum.inr i) 1, inj' := ⋯ }\naux : sumSMulXSMulY c ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 791,
"column": 4
} | {
"line": 792,
"column": 11
} | {
"line": 792,
"column": 12
} | [
{
"pp": "case left\nK : Type u_2\ninst✝ : Field K\nℱ : Filter K⸨X⸩\nhℱ : Cauchy ℱ\nD : ℤ\nφ : ℤ → Set K⸨X⸩ := ⋯\nintersec₁ : ⋂ n ∈ Set.Iio D, φ n ⊆ {x | ∀ d < D, coeff hℱ d = x.coeff d}\nℓ : ℤ := ⋯\nN : ℤ := ⋯\nintersec₂ : ⋂ n ∈ Set.Iio D, φ n ⊇ (⋂ n ∈ Set.Iio ℓ, φ n) ∩ ⋂ n ∈ Set.Icc ℓ N, φ n\n⊢ ⋂ n, ⋂ (_ : n <... | [
"case left\nK : Type u_2\ninst✝ : Field K\nℱ : Filter K⸨X⸩\nhℱ : Cauchy ℱ\nD : ℤ\nφ : ℤ → Set K⸨X⸩ := fun d ↦ {f | coeff hℱ d = f.coeff d}\nintersec₁ : ⋂ n ∈ Set.Iio D, φ n ⊆ {x | ∀ d < D, coeff hℱ d = x.coeff d}\nℓ : ℤ := ⋯.choose\nN : ℤ := max ℓ D\nintersec₂ : ⋂ n ∈ Set.Iio D, φ n ⊇ (⋂ n ∈ Set.Iio ℓ, φ n) ∩ ⋂ n ∈... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPolynomial.Symmetric.Eval | {
"line": 88,
"column": 43
} | {
"line": 88,
"column": 54
} | {
"line": 88,
"column": 55
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\nS : Type u_4\ninst✝³ : Fintype σ\ninst✝² : CommRing R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nm : Multiset S\np : R[X]\nhm : m.card = Fintype.card σ\n⊢ Fintype.card σ = Fintype.card m.ToType",
"ppTerm": "?m.51",
"assigned": true,
"usedConstants": [
"... | [
"σ : Type u_1\nR : Type u_3\nS : Type u_4\ninst✝³ : Fintype σ\ninst✝² : CommRing R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nm : Multiset S\np : R[X]\nhm : m.card = Fintype.card σ\n⊢ Fintype.card σ = m.card"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 835,
"column": 4
} | {
"line": 835,
"column": 15
} | {
"line": 835,
"column": 16
} | [
{
"pp": "case h\nK : Type u_2\ninst✝ : Field K\nF : K⟦X⟧\nη : (WithZero (Multiplicative ℤ))ˣ\nh_neg : 1 < η\n⊢ (PowerSeries.idealX K).intValuation (F - ↑0) < ↑η",
"ppTerm": "?h",
"assigned": true,
"usedConstants": [
"MvPowerSeries.instAddCommGroup",
"Units.val",
"Eq.mpr",
"In... | [
"case h\nK : Type u_2\ninst✝ : Field K\nF : K⟦X⟧\nη : (WithZero (Multiplicative ℤ))ˣ\nh_neg : 1 < η\n⊢ (PowerSeries.idealX K).intValuation F < ↑η"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 843,
"column": 6
} | {
"line": 843,
"column": 80
} | {
"line": 844,
"column": 8
} | [
{
"pp": "K : Type u_2\ninst✝ : Field K\nF : K⟦X⟧\nη : (WithZero (Multiplicative ℤ))ˣ\nh_neg : Multiplicative.toAdd (unzero ⋯) ≤ 0\nd : ℕ\nhd : Multiplicative.toAdd (unzero ⋯) = -↑d\n⊢ ∀ n < d + 1, (PowerSeries.coeff n) (F - ↑((trunc (d + 1)) F)) = 0",
"ppTerm": "?m.178",
"assigned": true,
"usedConst... | [
"K : Type u_2\ninst✝ : Field K\nF : K⟦X⟧\nη : (WithZero (Multiplicative ℤ))ˣ\nh_neg : Multiplicative.toAdd (unzero ⋯) ≤ 0\nd : ℕ\nhd : Multiplicative.toAdd (unzero ⋯) = -↑d\n⊢ ∀ n < d + 1, (PowerSeries.coeff n) F = if n < d + 1 then (PowerSeries.coeff n) F else 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 874,
"column": 10
} | {
"line": 874,
"column": 27
} | {
"line": 874,
"column": 28
} | [
{
"pp": "case h\nK : Type u_2\ninst✝ : Field K\nf : K⸨X⸩\nγ : (WithZero (Multiplicative ℤ))ˣ\nF : K⟦X⟧ := f.powerSeriesPart\nhF : F = f.powerSeriesPart\nord_nonpos : HahnSeries.order f < 0\nη : (WithZero (Multiplicative ℤ))ˣ := Units.mk0 (exp (HahnSeries.order f)) ⋯\nhη : η = Units.mk0 (exp (HahnSeries.order f)... | [
"case h\nK : Type u_2\ninst✝ : Field K\nf : K⸨X⸩\nγ : (WithZero (Multiplicative ℤ))ˣ\nF : K⟦X⟧ := f.powerSeriesPart\nhF : F = f.powerSeriesPart\nord_nonpos : HahnSeries.order f < 0\nη : (WithZero (Multiplicative ℤ))ˣ := Units.mk0 (exp (HahnSeries.order f)) ⋯\nhη : η = Units.mk0 (exp (HahnSeries.order f)) ⋯\nP : K[X... | ← inv_eq_one_div, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPolynomial.Symmetric.NewtonIdentities | {
"line": 239,
"column": 4
} | {
"line": 239,
"column": 15
} | {
"line": 239,
"column": 16
} | [
{
"pp": "σ : Type u_1\ninst✝¹ : Fintype σ\nR : Type u_2\ninst✝ : CommRing R\nk : ℕ := Fintype.card σ\nthis : (-1) ^ (k + 1) * ∑ a ∈ antidiagonal k, (-1) ^ a.1 * esymm σ R a.1 * psum σ R a.2 = 0\n⊢ ∑ a ∈ antidiagonal (Fintype.card σ), (-1) ^ a.1 * esymm σ R a.1 * psum σ R a.2 = 0",
"ppTerm": "?m.103",
"a... | [
"σ : Type u_1\ninst✝¹ : Fintype σ\nR : Type u_2\ninst✝ : CommRing R\nk : ℕ := Fintype.card σ\nthis : (-1) ^ (k + 1) * ∑ a ∈ antidiagonal k, (-1) ^ a.1 * esymm σ R a.1 * psum σ R a.2 = 0\n⊢ ∑ a ∈ antidiagonal (Fintype.card σ), (-1) ^ a.1 * esymm σ R a.1 * psum σ R a.2 = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 139,
"column": 57
} | {
"line": 146,
"column": 23
} | {
"line": 148,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nφ : MvPowerSeries σ R\n⊢ Function.support ((expand p hp) φ) ⊆ (fun x ↦ p • x) '' Function.support φ",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"MvPowerSeries.expand",
"Finsupp.instFunLike",
"... | [] | by
intro d hd
have : ∀ i, p ∣ d i := fun _ => by_contra fun hc => hd (coeff_expand_of_not_dvd p hp φ hc)
let m := d.mapRange (fun n => n / p) (Nat.zero_div p)
have eq_aux : p • m = d := (Finsupp.ext fun a => Nat.eq_mul_of_div_eq_right (this a) rfl).symm
rw [Function.mem_support, ← eq_aux, ← coeff_apply (expan... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 153,
"column": 2
} | {
"line": 153,
"column": 28
} | {
"line": 154,
"column": 2
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nφ : MvPowerSeries σ R\nd : σ →₀ ℕ\nhd : d ∈ (fun x ↦ p • x) '' Function.support φ\n⊢ d ∈ Function.support ((expand p hp) φ)",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"MvPowerSeries.expand",
"Nat.i... | [
"σ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nφ : MvPowerSeries σ R\nd n : σ →₀ ℕ\nhn₁ : n ∈ Function.support φ\nhn₂ : (fun x ↦ p • x) n = d\n⊢ d ∈ Function.support ((expand p hp) φ)"
] | obtain ⟨n, hn₁, hn₂⟩ := hd | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 163,
"column": 4
} | {
"line": 163,
"column": 20
} | {
"line": 163,
"column": 21
} | [
{
"pp": "case pos\nσ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nφ : MvPowerSeries σ R\nhφ : φ = 0\n⊢ ((expand p hp) φ).order = p • φ.order",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"MvPowerSeries.expand",
"Eq.mpr",
"NonAssocSemiring.toAddCommMo... | [
"case pos\nσ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nφ : MvPowerSeries σ R\nhφ : φ = 0\n⊢ ⊤ = ↑p * ⊤"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Morita.Matrix | {
"line": 169,
"column": 25
} | {
"line": 169,
"column": 55
} | {
"line": 169,
"column": 56
} | [
{
"pp": "R : Type u\nι : Type v\ninst✝² : Ring R\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nM : ModuleCat (Matrix ι ι R)\nj : ι\nv : ι → ↥(toModuleCatObj R (↑M) j)\ni : ι\n⊢ ?m.237",
"ppTerm": "?m.242",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u\nι : Type v\ninst✝² : Ring R\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nM : ModuleCat (Matrix ι ι R)\nj : ι\nv : ι → ↥(toModuleCatObj R (↑M) j)\ni : ι\n⊢ ?m.237"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 55,
"column": 2
} | {
"line": 55,
"column": 28
} | {
"line": 55,
"column": 29
} | [
{
"pp": "R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\n⊢ IsRestricted c 0",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Norm.norm",
"Eq.mpr",
"Nat.instMulZeroClass",
"Real",
"MvPowerSeries.instZero",
"Semiring.toModule",
"NormedRin... | [
"R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\n⊢ Tendsto (fun t ↦ 0) cofinite (𝓝 0)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 67,
"column": 2
} | {
"line": 67,
"column": 40
} | {
"line": 67,
"column": 41
} | [
{
"pp": "R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\na : R\n⊢ IsRestricted c (C a)",
"ppTerm": "?m.8",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\na : R\n⊢ IsRestricted c (C a)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 70,
"column": 2
} | {
"line": 70,
"column": 21
} | {
"line": 70,
"column": 22
} | [
{
"pp": "R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\ns : σ\n⊢ IsRestricted c (X s)",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"NormedRing.toRing",
"id",
"MvPowerSeries.X",
"MvPowerSeries.IsRestricted",
"Ring.toSemiring"
],
"usedFVa... | [
"R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\ns : σ\n⊢ IsRestricted c ((monomial (Finsupp.single s 1)) 1)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Nilpotent.GeometricallyReduced | {
"line": 69,
"column": 4
} | {
"line": 69,
"column": 99
} | {
"line": 71,
"column": 0
} | [
{
"pp": "case refine_2\nk : Type u_3\nA : Type u_4\ninst✝² : Field k\ninst✝¹ : Ring A\ninst✝ : Algebra k A\ne : (p : Ideal k) → [inst : p.IsPrime] → AlgebraicClosure k ≃ₐ[k] AlgebraicClosure p.ResidueField :=\n fun p [p.IsPrime] ↦\n have this := ⋯;\n IsAlgClosure.equiv k (AlgebraicClosure k) (AlgebraicCl... | [] | exact isReduced_of_injective _ (Algebra.TensorProduct.congr (e p).symm AlgEquiv.refl).injective | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Nilpotent.GeometricallyReduced | {
"line": 69,
"column": 4
} | {
"line": 69,
"column": 99
} | {
"line": 71,
"column": 0
} | [
{
"pp": "case refine_2\nk : Type u_3\nA : Type u_4\ninst✝² : Field k\ninst✝¹ : Ring A\ninst✝ : Algebra k A\ne : (p : Ideal k) → [inst : p.IsPrime] → AlgebraicClosure k ≃ₐ[k] AlgebraicClosure p.ResidueField :=\n fun p [p.IsPrime] ↦\n have this := ⋯;\n IsAlgClosure.equiv k (AlgebraicClosure k) (AlgebraicCl... | [] | exact isReduced_of_injective _ (Algebra.TensorProduct.congr (e p).symm AlgEquiv.refl).injective | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Nilpotent.GeometricallyReduced | {
"line": 69,
"column": 4
} | {
"line": 69,
"column": 99
} | {
"line": 71,
"column": 0
} | [
{
"pp": "case refine_2\nk : Type u_3\nA : Type u_4\ninst✝² : Field k\ninst✝¹ : Ring A\ninst✝ : Algebra k A\ne : (p : Ideal k) → [inst : p.IsPrime] → AlgebraicClosure k ≃ₐ[k] AlgebraicClosure p.ResidueField :=\n fun p [p.IsPrime] ↦\n have this := ⋯;\n IsAlgClosure.equiv k (AlgebraicClosure k) (AlgebraicCl... | [] | exact isReduced_of_injective _ (Algebra.TensorProduct.congr (e p).symm AlgEquiv.refl).injective | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Nilpotent.GeometricallyReduced | {
"line": 64,
"column": 2
} | {
"line": 69,
"column": 99
} | {
"line": 71,
"column": 0
} | [
{
"pp": "k : Type u_3\nA : Type u_4\ninst✝² : Field k\ninst✝¹ : Ring A\ninst✝ : Algebra k A\n⊢ IsGeometricallyReduced k A ↔ IsReduced (AlgebraicClosure k ⊗[k] A)",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"AlgEquiv.instEquivLike",
"isReduced_of_injective",
"Algebra.t... | [] | let e (p : Ideal k) [p.IsPrime] : AlgebraicClosure k ≃ₐ[k] AlgebraicClosure p.ResidueField :=
have := p.algEquivResidueFieldOfField.isAlgebraic
IsAlgClosure.equiv k _ _
refine ⟨fun ⟨h⟩ ↦ ?_, fun h ↦ ⟨fun p hp ↦ ?_⟩⟩
· exact isReduced_of_injective _ (Algebra.TensorProduct.congr (e ⊥) AlgEquiv.refl).injective... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Nilpotent.GeometricallyReduced | {
"line": 64,
"column": 2
} | {
"line": 69,
"column": 99
} | {
"line": 71,
"column": 0
} | [
{
"pp": "k : Type u_3\nA : Type u_4\ninst✝² : Field k\ninst✝¹ : Ring A\ninst✝ : Algebra k A\n⊢ IsGeometricallyReduced k A ↔ IsReduced (AlgebraicClosure k ⊗[k] A)",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"AlgEquiv.instEquivLike",
"isReduced_of_injective",
"Algebra.t... | [] | let e (p : Ideal k) [p.IsPrime] : AlgebraicClosure k ≃ₐ[k] AlgebraicClosure p.ResidueField :=
have := p.algEquivResidueFieldOfField.isAlgebraic
IsAlgClosure.equiv k _ _
refine ⟨fun ⟨h⟩ ↦ ?_, fun h ↦ ⟨fun p hp ↦ ?_⟩⟩
· exact isReduced_of_injective _ (Algebra.TensorProduct.congr (e ⊥) AlgEquiv.refl).injective... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 87,
"column": 4
} | {
"line": 87,
"column": 15
} | {
"line": 87,
"column": 16
} | [
{
"pp": "case isFalse\nM : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) ... | [
"case isFalse\nM : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 87,
"column": 51
} | {
"line": 87,
"column": 62
} | {
"line": 87,
"column": 63
} | [
{
"pp": "M : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝 0... | [
"M : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝 0)\nthis :\n ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 88,
"column": 10
} | {
"line": 88,
"column": 21
} | {
"line": 88,
"column": 22
} | [
{
"pp": "M : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝 0... | [
"M : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝 0)\nthis :\n ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 120,
"column": 2
} | {
"line": 120,
"column": 28
} | {
"line": 120,
"column": 29
} | [
{
"pp": "R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\nf : MvPowerSeries σ R\nhf : Tendsto (fun t ↦ ‖(coeff t) f‖ * t.prod fun x1 x2 ↦ |c| x1 ^ x2) cofinite (𝓝 0)\n⊢ Tendsto (fun t ↦ ‖(coeff t) (-f)‖ * t.prod fun x1 x2 ↦ |c| x1 ^ x2) cofinite (𝓝 0)",
"ppTerm": "?m.39",
"assigned": true,... | [
"R : Type u_1\ninst✝ : NormedRing R\nσ : Type u_2\nc : σ → ℝ\nf : MvPowerSeries σ R\nhf : Tendsto (fun t ↦ ‖(coeff t) f‖ * t.prod fun x1 x2 ↦ |c| x1 ^ x2) cofinite (𝓝 0)\n⊢ Tendsto (fun t ↦ ‖(coeff t) f‖ * t.prod fun x1 x2 ↦ |c x1| ^ x2) cofinite (𝓝 0)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 312,
"column": 4
} | {
"line": 312,
"column": 55
} | {
"line": 313,
"column": 6
} | [
{
"pp": "R : Type u_1\ninst✝³ : NormedRing R\nσ : Type u_2\ninst✝² : IsUltrametricDist R\nc : σ → ℝ\nS : Type u_3\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nφ : R →+* S\nK : ℝ\nhφ : ∀ (x : R), ‖φ x‖ ≤ K * ‖x‖\nhφinj : Function.Injective ⇑φ\na b : Restricted R c\nh : (map c hφ) a = (map c hφ) b\nt : σ ... | [
"R : Type u_1\ninst✝³ : NormedRing R\nσ : Type u_2\ninst✝² : IsUltrametricDist R\nc : σ → ℝ\nS : Type u_3\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nφ : R →+* S\nK : ℝ\nhφ : ∀ (x : R), ‖φ x‖ ≤ K * ‖x‖\nhφinj : Function.Injective ⇑φ\na b : Restricted R c\nh : (map c hφ) a = (map c hφ) b\nt : σ →₀ ℕ\n⊢ φ ((... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 339,
"column": 4
} | {
"line": 339,
"column": 44
} | {
"line": 339,
"column": 45
} | [
{
"pp": "R : Type u_1\ninst✝ : NormedCommRing R\nσ : Type u_2\nc : σ → ℝ\np : MvPolynomial σ R\nt : σ →₀ ℕ\nht : t ∈ Function.support fun t ↦ (MvPowerSeries.coeff t) ↑p\n⊢ t ∈ ↑p.support",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Set... | [
"R : Type u_1\ninst✝ : NormedCommRing R\nσ : Type u_2\nc : σ → ℝ\np : MvPolynomial σ R\nt : σ →₀ ℕ\nht : t ∈ Function.support fun t ↦ (MvPowerSeries.coeff t) ↑p\n⊢ ¬p.coeff t = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 91,
"column": 43
} | {
"line": 91,
"column": 54
} | {
"line": 91,
"column": 55
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nv w : Fin (n + 1) →₀ ℕ\n⊢ (T1 f (-1)).comp (T1 f 1) = AlgHom.id k (MvPolynomial (Fin (n + 1)) k)",
"ppTerm": "?m.60",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NegZeroClass.toNeg",
"AddMonoidAlge... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nv w : Fin (n + 1) →₀ ℕ\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 115,
"column": 2
} | {
"line": 116,
"column": 24
} | {
"line": 116,
"column": 25
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nv : Fin (n + 1) →₀ ℕ\na : k\nha : a ≠ 0\nh : ∀ (i : Fin n), (Polynomial.C (MvPolynomial.X i) + Polynomial.X ^ r i.succ) ^ v i.succ ≠ 0\n⊢ 0 +\n ((Polynomial.X ^ v 0).natDegree +\n ∑ i, ((Polynomial.C (MvPolynomial.X i) ... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nv : Fin (n + 1) →₀ ℕ\na : k\nha : a ≠ 0\nh : ∀ (i : Fin n), (Polynomial.C (MvPolynomial.X i) + Polynomial.X ^ r i.succ) ^ v i.succ ≠ 0\n⊢ ∑ x, v x.succ * (Polynomial.C (MvPolynomial.X x) + Polynomial.X ^ up ^ ↑x.succ).natDegree =\n ∑ i, up ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Teichmuller | {
"line": 46,
"column": 35
} | {
"line": 46,
"column": 46
} | {
"line": 46,
"column": 47
} | [
{
"pp": "p : ℕ\ninst✝² : Fact (Nat.Prime p)\nR : Type u_1\ninst✝¹ : CommRing R\nI : Ideal R\ninst✝ : CharP (R ⧸ I) p\nx : Perfection (R ⧸ I) p\n⊢ ∀ (n : ℕ), x.teichmullerAux n ≡ x.teichmullerAux (n + 1) [SMOD I ^ n • ⊤]",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"p : ℕ\ninst✝² : Fact (Nat.Prime p)\nR : Type u_1\ninst✝¹ : CommRing R\nI : Ideal R\ninst✝ : CharP (R ⧸ I) p\nx : Perfection (R ⧸ I) p\n⊢ ∀ (n : ℕ), x.teichmullerAux n ≡ x.teichmullerAux (n + 1) [SMOD I ^ n]"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 160,
"column": 4
} | {
"line": 161,
"column": 11
} | {
"line": 161,
"column": 12
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x' ∈ f.support,\n ((MvPolynomial.finSuccEquiv k n) ((varCh... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x' ∈ f.support,\n ((MvPolynomial.finSuccEquiv k n) ((varChange f) ((Mv... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Teichmuller | {
"line": 166,
"column": 2
} | {
"line": 166,
"column": 70
} | {
"line": 167,
"column": 2
} | [
{
"pp": "p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\n⊢ (Ideal.Quotient.mk I) ((teichmuller p I) x) = (coeff (R ⧸ I) p 0) x",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [... | [
"p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\nthis : (teichmuller p I) x ≡ Quotient.out ((coeff (R ⧸ I) p 0) x) ^ p ^ 0 [SMOD I ^ (0 + 1)]\n⊢ (Ideal.Quotient.mk I) ((teichmuller p I) x) = (coeff (R... | have := teichmuller_sModEq <| Ideal.Quotient.mk_out <| coeff _ p 0 x | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Teichmuller | {
"line": 168,
"column": 2
} | {
"line": 168,
"column": 38
} | {
"line": 168,
"column": 39
} | [
{
"pp": "p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\nthis : (teichmuller p I) x ≡ Quotient.out ((coeff (R ⧸ I) p 0) x) ^ p ^ 0 [SMOD I]\n⊢ (Ideal.Quotient.mk I) ((teichmuller p I) x) = (coeff ... | [
"p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\nthis : (teichmuller p I) x ≡ Quotient.out ((coeff (R ⧸ I) p 0) x) ^ p ^ 0 [SMOD I]\n⊢ (Ideal.Quotient.mk I) ((teichmuller₀ p I) x) = (coeff (R ⧸ I) p 0... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 167,
"column": 28
} | {
"line": 167,
"column": 43
} | {
"line": 167,
"column": 44
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) (... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) ((varChange f... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 169,
"column": 9
} | {
"line": 169,
"column": 68
} | {
"line": 169,
"column": 69
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) (... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) ((varChange f... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 174,
"column": 2
} | {
"line": 174,
"column": 41
} | {
"line": 174,
"column": 42
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) (... | [
"k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nfne : f ≠ 0\nv : Fin (n + 1) →₀ ℕ\nvin : v ∈ f.support\nh : (Fin (n + 1) →₀ ℕ) → MvPolynomial (Fin (n + 1)) k := fun w ↦ (MvPolynomial.monomial w) (f.coeff w)\nvs :\n ∀ x ∈ f.support \\ {v},\n ((MvPolynomial.finSuccEquiv k n) ((varChange f... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.NoetherNormalization | {
"line": 221,
"column": 13
} | {
"line": 223,
"column": 26
} | {
"line": 225,
"column": 0
} | [
{
"pp": "k : Type u_1\ninst✝ : Field k\nn : ℕ\nf : MvPolynomial (Fin (n + 1)) k\nv w : Fin (n + 1) →₀ ℕ\nI : Ideal (MvPolynomial (Fin (n + 1)) k)\n⊢ Ideal.map ((varChange f).symm.toRingEquiv.toRingHom.comp ↑(varChange f)) I =\n Ideal.map (↑(varChange f).symm) (Ideal.map (varChange f) I)",
"ppTerm": "?m.1... | [] | by
rw [← Ideal.map_map, Ideal.map_coe, Ideal.map_coe]
exact congrArg _ rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.WittVector.WittPolynomial | {
"line": 265,
"column": 2
} | {
"line": 265,
"column": 50
} | {
"line": 267,
"column": 0
} | [
{
"pp": "p : ℕ\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Invertible ↑p\nk : ℕ\n⊢ X k - ∑ i ∈ range k, C (↑p ^ i) * xInTermsOfW p R i ^ p ^ (k - i) +\n ∑ x ∈ range k, C ↑p ^ x * (bind₁ (xInTermsOfW p R)) (X x) ^ p ^ (k - x) =\n X k",
"ppTerm": "?m.79",
"assigned": true,
"usedConstants": [
... | [] | simp only [C_pow, bind₁_X_right, sub_add_cancel] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.WittVector.StructurePolynomial | {
"line": 314,
"column": 4
} | {
"line": 315,
"column": 33
} | {
"line": 315,
"column": 34
} | [
{
"pp": "case py₁\np : ℕ\nidx : Type u_2\nhp : Fact (Nat.Prime p)\nΦ : MvPolynomial idx ℤ\nφ : ℕ → MvPolynomial (idx × ℕ) ℤ\nn : ℕ\nh :\n (map (Int.castRingHom ℚ)) ((bind₁ φ) (W_ ℤ n)) =\n (map (Int.castRingHom ℚ)) ((bind₁ fun i ↦ (rename (Prod.mk i)) (W_ ℤ n)) Φ)\n⊢ (bind₁ fun k ↦ (map (Int.castRingHom ℚ))... | [
"case py₁\np : ℕ\nidx : Type u_2\nhp : Fact (Nat.Prime p)\nΦ : MvPolynomial idx ℤ\nφ : ℕ → MvPolynomial (idx × ℕ) ℤ\nn : ℕ\nh :\n (map (Int.castRingHom ℚ)) ((bind₁ φ) (W_ ℤ n)) =\n (map (Int.castRingHom ℚ)) ((bind₁ fun i ↦ (rename (Prod.mk i)) (W_ ℤ n)) Φ)\n⊢ (bind₁ fun k ↦ (map (Int.castRingHom ℚ)) (φ k)) (W_ ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.IsPoly | {
"line": 124,
"column": 2
} | {
"line": 125,
"column": 58
} | {
"line": 125,
"column": 59
} | [
{
"pp": "p : ℕ\nidx : Type u_1\ninst✝ : Fact (Nat.Prime p)\nf g : ℕ → MvPolynomial (idx × ℕ) ℤ\nn : ℕ\nh :\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ f) (wittPolynomial p ℤ n))) (xInTermsOfW p ℚ n) =\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ g) (wittPolynomia... | [
"p : ℕ\nidx : Type u_1\ninst✝ : Fact (Nat.Prime p)\nf g : ℕ → MvPolynomial (idx × ℕ) ℤ\nn : ℕ\nh :\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ f) (wittPolynomial p ℤ n))) (xInTermsOfW p ℚ n) =\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ g) (wittPolynomial p ℤ n))) (... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.IsPoly | {
"line": 134,
"column": 2
} | {
"line": 135,
"column": 58
} | {
"line": 135,
"column": 59
} | [
{
"pp": "p : ℕ\ninst✝ : Fact (Nat.Prime p)\nf g : ℕ → MvPolynomial ℕ ℤ\nn : ℕ\nh :\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ f) (wittPolynomial p ℤ n))) (xInTermsOfW p ℚ n) =\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ g) (wittPolynomial p ℤ n))) (xInTermsOfW ... | [
"p : ℕ\ninst✝ : Fact (Nat.Prime p)\nf g : ℕ → MvPolynomial ℕ ℤ\nn : ℕ\nh :\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ f) (wittPolynomial p ℤ n))) (xInTermsOfW p ℚ n) =\n (bind₁ (⇑(MvPolynomial.map (Int.castRingHom ℚ)) ∘ fun n ↦ (bind₁ g) (wittPolynomial p ℤ n))) (xInTermsOfW p ℚ n)\n⊢ (M... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Perfection | {
"line": 113,
"column": 2
} | {
"line": 113,
"column": 33
} | {
"line": 114,
"column": 2
} | [
{
"pp": "M : Type u_1\ninst✝ : CommMonoid M\np : ℕ\nf : Perfection M p\nn m : ℕ\n⊢ (coeffMonoidHom M p n) ((⇑(powMulEquiv (Perfection M p) p).symm)^[m] f) = (coeffMonoidHom M p (n + m)) f",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Function.iterate_succ_apply'",
"Eq.mpr",
... | [] | induction m generalizing n with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.RingTheory.WittVector.Basic | {
"line": 278,
"column": 4
} | {
"line": 278,
"column": 15
} | {
"line": 278,
"column": 16
} | [
{
"pp": "case refine_1\np : ℕ\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : R →+* S\nx : 𝕎 R\nn : ℕ\nh : ((map f) x).coeff n = coeff 0 n\n⊢ f (x.coeff n) = 0",
"ppTerm": "?refine_1",
"assigned": false,
"usedConstants": [],
"usedFVars": []... | [
"case refine_1\np : ℕ\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : R →+* S\nx : 𝕎 R\nn : ℕ\nh : ((map f) x).coeff n = coeff 0 n\n⊢ f (x.coeff n) = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Basic | {
"line": 280,
"column": 4
} | {
"line": 280,
"column": 15
} | {
"line": 280,
"column": 16
} | [
{
"pp": "case refine_2\np : ℕ\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : R →+* S\nx : 𝕎 R\nh : ∀ (n : ℕ), f (x.coeff n) = 0\nn : ℕ\n⊢ ((map f) x).coeff n = coeff 0 n",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Witt... | [
"case refine_2\np : ℕ\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : R →+* S\nx : 𝕎 R\nh : ∀ (n : ℕ), f (x.coeff n) = 0\nn : ℕ\n⊢ f (x.coeff n) = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Perfection | {
"line": 227,
"column": 2
} | {
"line": 227,
"column": 39
} | {
"line": 227,
"column": 40
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommSemiring R\np : ℕ\nhp : Fact (Nat.Prime p)\ninst✝ : CharP R p\nx✝ : Perfection R p\n⊢ (pthRoot R p) x✝ = ↑(frobeniusEquiv (Perfection R p) p).symm x✝",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"frobeniusEquiv_apply",
"Non... | [
"R : Type u_1\ninst✝¹ : CommSemiring R\np : ℕ\nhp : Fact (Nat.Prime p)\ninst✝ : CharP R p\nx✝ : Perfection R p\n⊢ (frobenius (Perfection R p) p) ((pthRoot R p) x✝) = x✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.IsPoly | {
"line": 291,
"column": 4
} | {
"line": 292,
"column": 29
} | {
"line": 293,
"column": 2
} | [
{
"pp": "case h₀\np : ℕ\nhp : Fact (Nat.Prime p)\nn i : ℕ\n_hi : i ∈ Finset.range (n + 1)\nhi0 : i ≠ 0\n⊢ (bind₁ onePoly) (C (↑p ^ i) * X i ^ p ^ (n - i)) = 0",
"ppTerm": "?h₀",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Nat.instCanonicallyOrderedAdd",
"RingH... | [] | simp only [onePoly, ite_eq_right hi0, zero_pow (pow_ne_zero _ hp.1.ne_zero), mul_zero, map_pow,
bind₁_X_right, map_mul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.WittVector.Identities | {
"line": 76,
"column": 4
} | {
"line": 76,
"column": 34
} | {
"line": 76,
"column": 35
} | [
{
"pp": "case pos\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\ni : ℕ\nhi : i = 1\n⊢ (↑p).coeff i = 1",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"WittVector.instNatCast",
"congrArg",
"AddGroupWithOne.toAddMonoi... | [
"case pos\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\ni : ℕ\nhi : i = 1\n⊢ (↑p).coeff 1 = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Identities | {
"line": 77,
"column": 4
} | {
"line": 77,
"column": 30
} | {
"line": 77,
"column": 31
} | [
{
"pp": "case neg\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\ni : ℕ\nhi : ¬i = 1\n⊢ (↑p).coeff i = 0",
"ppTerm": "?neg✝",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case neg\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\ni : ℕ\nhi : ¬i = 1\n⊢ (↑p).coeff i = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Identities | {
"line": 89,
"column": 2
} | {
"line": 89,
"column": 47
} | {
"line": 89,
"column": 48
} | [
{
"pp": "p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : CharP R p\nh : ↑p = 0\n⊢ False",
"ppTerm": "?m.6",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : CharP R p\nh : ↑p = 0\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Identities | {
"line": 94,
"column": 2
} | {
"line": 94,
"column": 13
} | {
"line": 94,
"column": 14
} | [
{
"pp": "p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : CharP R p\n⊢ ↑p ≠ 0",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"WittVector.instZero",
"WittVector.instCommRing",
"CommSemiring.toSemiring",
"AddGroupWithOn... | [
"p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝² : CommRing R\ninst✝¹ : Nontrivial R\ninst✝ : CharP R p\n⊢ ¬↑p = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Identities | {
"line": 130,
"column": 6
} | {
"line": 130,
"column": 17
} | {
"line": 130,
"column": 18
} | [
{
"pp": "case succ.succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\nx : 𝕎 R\nn : ℕ\nih : ∀ {m : ℕ}, m < n → (x * ↑p ^ n).coeff m = 0\nm' : ℕ\nh : m' + 1 < n + 1\n⊢ m' < n",
"ppTerm": "?succ.succ✝",
"assigned": false,
"usedConstants": [],
"usedFVars": [... | [
"case succ.succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝¹ : CommRing R\ninst✝ : CharP R p\nx : 𝕎 R\nn : ℕ\nih : ∀ {m : ℕ}, m < n → (x * ↑p ^ n).coeff m = 0\nm' : ℕ\nh : m' + 1 < n + 1\n⊢ m' < n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Identities | {
"line": 167,
"column": 6
} | {
"line": 167,
"column": 17
} | {
"line": 167,
"column": 18
} | [
{
"pp": "case succ.succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\nx : 𝕎 R\nn : ℕ\nih : ∀ {m : ℕ}, m < n → ((⇑verschiebung)^[n] x).coeff m = 0\nm' : ℕ\nh : m' + 1 < n + 1\n⊢ m' < n",
"ppTerm": "?succ.succ✝",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"u... | [
"case succ.succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\nx : 𝕎 R\nn : ℕ\nih : ∀ {m : ℕ}, m < n → ((⇑verschiebung)^[n] x).coeff m = 0\nm' : ℕ\nh : m' + 1 < n + 1\n⊢ m' < n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.IsPoly | {
"line": 361,
"column": 2
} | {
"line": 366,
"column": 22
} | {
"line": 368,
"column": 0
} | [
{
"pp": "p : ℕ\nR S : Type u\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : ⦃R : Type u⦄ → [CommRing R] → 𝕎 R → 𝕎 R → 𝕎 R\nhf : IsPoly₂ p f\ng : R →+* S\nx y : 𝕎 R\n⊢ (WittVector.map g) (f x y) = f ((WittVector.map g) x) ((WittVector.map g) y)",
"ppTerm": "?m.30",
"assign... | [] | obtain ⟨φ, hf⟩ := hf
ext n
simp +unfoldPartialApp only [map_coeff, hf, map_aeval, peval, uncurry]
apply eval₂Hom_congr (RingHom.ext_int _ _) _ rfl
ext ⟨i, k⟩
fin_cases i <;> simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.WittVector.IsPoly | {
"line": 361,
"column": 2
} | {
"line": 366,
"column": 22
} | {
"line": 368,
"column": 0
} | [
{
"pp": "p : ℕ\nR S : Type u\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Fact (Nat.Prime p)\nf : ⦃R : Type u⦄ → [CommRing R] → 𝕎 R → 𝕎 R → 𝕎 R\nhf : IsPoly₂ p f\ng : R →+* S\nx y : 𝕎 R\n⊢ (WittVector.map g) (f x y) = f ((WittVector.map g) x) ((WittVector.map g) y)",
"ppTerm": "?m.30",
"assign... | [] | obtain ⟨φ, hf⟩ := hf
ext n
simp +unfoldPartialApp only [map_coeff, hf, map_aeval, peval, uncurry]
apply eval₂Hom_congr (RingHom.ext_int _ _) _ rfl
ext ⟨i, k⟩
fin_cases i <;> simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.WittVector.Truncated | {
"line": 108,
"column": 2
} | {
"line": 108,
"column": 30
} | {
"line": 108,
"column": 31
} | [
{
"pp": "p n : ℕ\nR : Type u_1\ninst✝ : CommRing R\nx y : TruncatedWittVector p n R\nh : ∀ (n_1 : ℕ), x.out.coeff n_1 = y.out.coeff n_1\ni : Fin n\n⊢ coeff i x = coeff i y",
"ppTerm": "?m.29",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"p n : ℕ\nR : Type u_1\ninst✝ : CommRing R\nx y : TruncatedWittVector p n R\nh : ∀ (n_1 : ℕ), x.out.coeff n_1 = y.out.coeff n_1\ni : Fin n\n⊢ coeff i x = coeff i y"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Complete | {
"line": 71,
"column": 6
} | {
"line": 71,
"column": 17
} | {
"line": 71,
"column": 18
} | [
{
"pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nh : x.coeff 0 = 0\n⊢ x = verschiebung (x.shift 1)",
"ppTerm": "?m.85",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nh : x.coeff 0 = 0\n⊢ x = verschiebung (x.shift 1)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Complete | {
"line": 89,
"column": 6
} | {
"line": 89,
"column": 17
} | {
"line": 89,
"column": 18
} | [
{
"pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nn : ℕ\nh : ∀ m < n, x.coeff m = 0\n⊢ x = (⇑verschiebung)^[n] (x.shift n)",
"ppTerm": "?m.100",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoal... | [
"p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nn : ℕ\nh : ∀ m < n, x.coeff m = 0\n⊢ x = (⇑verschiebung)^[n] (x.shift n)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.Complete | {
"line": 124,
"column": 4
} | {
"line": 124,
"column": 15
} | {
"line": 124,
"column": 16
} | [
{
"pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx✝ : 𝕎 k\nn : ℕ\nh : ∀ (n : ℕ), x✝ ≡ 0 [SMOD Ideal.span {↑p} ^ n]\nthis : ∀ m < n + 1, x✝.coeff m = 0\n⊢ x✝.coeff n = coeff 0 n",
"ppTerm": "?m.47",
"assigned": true,
"usedConsta... | [
"p : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx✝ : 𝕎 k\nn : ℕ\nh : ∀ (n : ℕ), x✝ ≡ 0 [SMOD Ideal.span {↑p} ^ n]\nthis : ∀ m < n + 1, x✝.coeff m = 0\n⊢ x✝.coeff n = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Perfectoid.FontaineTheta | {
"line": 125,
"column": 2
} | {
"line": 125,
"column": 13
} | {
"line": 125,
"column": 14
} | [
{
"pp": "R : Type u\ninst✝³ : CommRing R\np : ℕ\ninst✝² : Fact (Nat.Prime p)\ninst✝¹ : Fact ¬IsUnit ↑p\ninst✝ : IsAdicComplete 𝔭 R\nn : ℕ\nx : R♭\n⊢ (ghostComponentModPPow n) ((teichmuller p) ((PreTilt.coeff n) x)) = (Ideal.Quotient.mk (𝔭 ^ (n + 1))) (untilt x)",
"ppTerm": "?m.55",
"assigned": false,
... | [
"R : Type u\ninst✝³ : CommRing R\np : ℕ\ninst✝² : Fact (Nat.Prime p)\ninst✝¹ : Fact ¬IsUnit ↑p\ninst✝ : IsAdicComplete 𝔭 R\nn : ℕ\nx : R♭\n⊢ (ghostComponentModPPow n) ((teichmuller p) ((PreTilt.coeff n) x)) = (Ideal.Quotient.mk (𝔭 ^ (n + 1))) (untilt x)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.WittVector.TeichmullerSeries | {
"line": 74,
"column": 2
} | {
"line": 74,
"column": 13
} | {
"line": 74,
"column": 14
} | [
{
"pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CharP R p\nn : ℕ\nx : R\n⊢ ((teichmuller p) x * ↑p ^ n).coeff n = x ^ p ^ n",
"ppTerm": "?m.25",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"p : ℕ\nhp : Fact (Nat.Prime p)\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CharP R p\nn : ℕ\nx : R\n⊢ ((teichmuller p) x * ↑p ^ n).coeff n = x ^ p ^ n"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Perfectoid.BDeRham | {
"line": 64,
"column": 10
} | {
"line": 64,
"column": 21
} | {
"line": 64,
"column": 22
} | [
{
"pp": "R : Type u\ninst✝³ : CommRing R\np : ℕ\ninst✝² : Fact (Nat.Prime p)\ninst✝¹ : Fact ¬IsUnit ↑p\ninst✝ : IsAdicComplete (span {↑p}) R\n⊢ IsUnit (((algebraMap R (Localization.Away ↑p)).comp (fontaineTheta R p)) ↑p)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"R : Type u\ninst✝³ : CommRing R\np : ℕ\ninst✝² : Fact (Nat.Prime p)\ninst✝¹ : Fact ¬IsUnit ↑p\ninst✝ : IsAdicComplete (span {↑p}) R\n⊢ IsUnit ↑p"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished | {
"line": 46,
"column": 6
} | {
"line": 46,
"column": 39
} | {
"line": 46,
"column": 40
} | [
{
"pp": "case neg.inl\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nI : Ideal R\ndistinguish : f.IsDistinguishedAt I\ni : ℕ\nne : ¬i = f.natDegree\nlt : i < f.natDegree\n⊢ (map (Ideal.Quotient.mk I) f).coeff i = (X ^ f.natDegree).coeff i",
"ppTerm": "?neg.inl✝",
"assigned": true,
"usedConstants": [
... | [
"case neg.inl\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nI : Ideal R\ndistinguish : f.IsDistinguishedAt I\ni : ℕ\nne : ¬i = f.natDegree\nlt : i < f.natDegree\n⊢ f.coeff i ∈ I"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished | {
"line": 46,
"column": 6
} | {
"line": 46,
"column": 60
} | {
"line": 47,
"column": 4
} | [
{
"pp": "case neg.inl\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nI : Ideal R\ndistinguish : f.IsDistinguishedAt I\ni : ℕ\nne : ¬i = f.natDegree\nlt : i < f.natDegree\n⊢ (map (Ideal.Quotient.mk I) f).coeff i = (X ^ f.natDegree).coeff i",
"ppTerm": "?neg.inl✝",
"assigned": true,
"usedConstants": [
... | [] | simpa [ne, eq_zero_iff_mem] using (distinguish.mem lt) | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished | {
"line": 46,
"column": 6
} | {
"line": 46,
"column": 60
} | {
"line": 47,
"column": 4
} | [
{
"pp": "case neg.inl\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nI : Ideal R\ndistinguish : f.IsDistinguishedAt I\ni : ℕ\nne : ¬i = f.natDegree\nlt : i < f.natDegree\n⊢ (map (Ideal.Quotient.mk I) f).coeff i = (X ^ f.natDegree).coeff i",
"ppTerm": "?neg.inl✝",
"assigned": true,
"usedConstants": [
... | [] | simpa [ne, eq_zero_iff_mem] using (distinguish.mem lt) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished | {
"line": 46,
"column": 6
} | {
"line": 46,
"column": 60
} | {
"line": 47,
"column": 4
} | [
{
"pp": "case neg.inl\nR : Type u_1\ninst✝ : CommRing R\nf : R[X]\nI : Ideal R\ndistinguish : f.IsDistinguishedAt I\ni : ℕ\nne : ¬i = f.natDegree\nlt : i < f.natDegree\n⊢ (map (Ideal.Quotient.mk I) f).coeff i = (X ^ f.natDegree).coeff i",
"ppTerm": "?neg.inl✝",
"assigned": true,
"usedConstants": [
... | [] | simpa [ne, eq_zero_iff_mem] using (distinguish.mem lt) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 100,
"column": 4
} | {
"line": 100,
"column": 32
} | {
"line": 101,
"column": 6
} | [
{
"pp": "case inr\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\nd k n : ℕ\nhkn : k ≤ n + d\nthis : ↑d ! ≠ 0\nh : n < k\n⊢ eval (↑n) (preHilbertPoly F d k) = ↑0",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"neg_add_rev",
"CharP.cast_eq_zero",
"Eq.mpr",
"inv_... | [
"case inr\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\nd k n : ℕ\nhkn : k ≤ n + d\nthis : ↑d ! ≠ 0\nh : n < k\n⊢ d ! = 0 ∨ ∃ k_1 < d, ↑k_1 = -1 + (↑k - ↑n)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 137,
"column": 2
} | {
"line": 143,
"column": 82
} | {
"line": 145,
"column": 0
} | [
{
"pp": "F : Type u_1\ninst✝ : Field F\np q : F[X]\nd : ℕ\n⊢ (p + q).hilbertPoly d = p.hilbertPoly d + q.hilbertPoly d",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"AddMonoidAlgebra.instAddMonoid",
"AddMonoidAlgebra.semiring",
... | [] | delta hilbertPoly
induction d with
| zero => simp only [add_zero]
| succ d _ =>
simp only
rw [← sum_def _ fun _ r => r • _]
exact sum_add_index _ _ _ (fun _ => zero_smul ..) (fun _ _ _ => add_smul ..) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 137,
"column": 2
} | {
"line": 143,
"column": 82
} | {
"line": 145,
"column": 0
} | [
{
"pp": "F : Type u_1\ninst✝ : Field F\np q : F[X]\nd : ℕ\n⊢ (p + q).hilbertPoly d = p.hilbertPoly d + q.hilbertPoly d",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"AddMonoidAlgebra.instAddMonoid",
"AddMonoidAlgebra.semiring",
... | [] | delta hilbertPoly
induction d with
| zero => simp only [add_zero]
| succ d _ =>
simp only
rw [← sum_def _ fun _ r => r • _]
exact sum_add_index _ _ _ (fun _ => zero_smul ..) (fun _ _ _ => add_smul ..) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Polynomial.Opposites | {
"line": 111,
"column": 6
} | {
"line": 111,
"column": 29
} | {
"line": 111,
"column": 30
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nh : IsLeftCancelMulZero R[X]\na b c : R\neq : (fun x ↦ a + x) b = (fun x ↦ a + x) c\na✝ : Nontrivial R\ntrinomial : R → R[X] := fun r ↦ a • X ^ 2 + r • X + C a\nht : ∀ (r : R), (X + C 1) * trinomial r = a • X ^ 3 + (a + r) • X ^ 2 + (a + r) • X + C a\n⊢ b = c",
"pp... | [
"R : Type u_1\ninst✝ : Semiring R\nh : IsLeftCancelMulZero R[X]\na b c : R\neq : (fun x ↦ a + x) b = (fun x ↦ a + x) c\na✝ : Nontrivial R\ntrinomial : R → R[X] := fun r ↦ a • X ^ 2 + r • X + C a\nht : ∀ (r : R), (X + C 1) * trinomial r = a • X ^ 3 + (a + r) • X ^ 2 + (a + r) • X + C a\n⊢ b = c"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.ShiftedLegendre | {
"line": 112,
"column": 2
} | {
"line": 112,
"column": 79
} | {
"line": 113,
"column": 2
} | [
{
"pp": "n : ℕ\nR : Type u_1\ninst✝ : Ring R\nx : R\n⊢ (aeval x) (shiftedLegendre n) = (-1) ^ n * (aeval (1 - x)) (shiftedLegendre n)",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"NegZeroClass.toNeg",
"Nat.instMulZeroClass",
"AddMonoidAlgebra.semiring",
"HMul.hMu... | [
"n : ℕ\nR : Type u_1\ninst✝ : Ring R\nx : R\nthis : (aeval x) ((-1) ^ n * (shiftedLegendre n).comp (1 - X)) = (aeval x) (shiftedLegendre n)\n⊢ (aeval x) (shiftedLegendre n) = (-1) ^ n * (aeval (1 - x)) (shiftedLegendre n)"
] | have := congr(aeval x $(neg_one_pow_mul_shiftedLegendre_comp_one_sub_X_eq n)) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Polynomial.ShiftedLegendre | {
"line": 113,
"column": 2
} | {
"line": 113,
"column": 26
} | {
"line": 113,
"column": 27
} | [
{
"pp": "n : ℕ\nR : Type u_1\ninst✝ : Ring R\nx : R\nthis : (aeval x) ((-1) ^ n * (shiftedLegendre n).comp (1 - X)) = (aeval x) (shiftedLegendre n)\n⊢ (aeval x) (shiftedLegendre n) = (-1) ^ n * (aeval (1 - x)) (shiftedLegendre n)",
"ppTerm": "?m.48",
"assigned": false,
"usedConstants": [],
"used... | [
"n : ℕ\nR : Type u_1\ninst✝ : Ring R\nx : R\nthis : (aeval x) ((-1) ^ n * (shiftedLegendre n).comp (1 - X)) = (aeval x) (shiftedLegendre n)\n⊢ (aeval x) (shiftedLegendre n) = (-1) ^ n * (aeval (1 - x)) (shiftedLegendre n)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.Selmer | {
"line": 69,
"column": 98
} | {
"line": 80,
"column": 64
} | {
"line": 82,
"column": 0
} | [
{
"pp": "n : ℕ\nhn1 : n ≠ 1\n⊢ Irreducible (X ^ n - X - 1)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Mathlib.Tactic.Ring.Common.mul_pf_left",
"Iff.mpr",
"Polynomial.map_one",
"Mathlib.Tactic.Ring.Common.neg_zero",
"Units.val",
"Eq.mpr",
"Pol... | [] | by
by_cases hn0 : n = 0
· rw [hn0, pow_zero, sub_sub, add_comm, ← sub_sub, sub_self, zero_sub]
exact Associated.irreducible ⟨-1, mul_neg_one X⟩ irreducible_X
have hp : (X ^ n - X - 1 : ℤ[X]) = trinomial 0 1 n (-1) (-1) 1 := by
simp only [trinomial, C_neg, C_1]; ring
have hn : 1 < n := Nat.one_lt_iff_ne_... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Polynomial.SmallDegreeVieta | {
"line": 38,
"column": 2
} | {
"line": 38,
"column": 77
} | {
"line": 39,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\na b c x1 x2 : R\nhroots : (C a * X ^ 2 + C b * X + C c).roots = {x1, x2}\np : R[X] := C a * X ^ 2 + C b * X + C c\nhp_natDegree : p.natDegree = 2\nhp_roots_card : p.roots.card = p.natDegree\n⊢ b = -a * (x1 + x2)",
"ppTerm": "?m.245",
"assig... | [
"R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\na b c x1 x2 : R\nhroots : (C a * X ^ 2 + C b * X + C c).roots = {x1, x2}\np : R[X] := C a * X ^ 2 + C b * X + C c\nhp_natDegree : p.natDegree = 2\nhp_roots_card : p.roots.card = p.natDegree\n⊢ b = -(a * (x2 + x1))"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Polynomial.SmallDegreeVieta | {
"line": 50,
"column": 2
} | {
"line": 50,
"column": 77
} | {
"line": 51,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\na b c x1 x2 : R\nhroots : (C a * X ^ 2 + C b * X + C c).roots = {x1, x2}\np : R[X] := C a * X ^ 2 + C b * X + C c\nhp_natDegree : p.natDegree = 2\nhp_roots_card : p.roots.card = p.natDegree\n⊢ c = a * x1 * x2",
"ppTerm": "?m.243",
"assigned... | [
"R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\na b c x1 x2 : R\nhroots : (C a * X ^ 2 + C b * X + C c).roots = {x1, x2}\np : R[X] := C a * X ^ 2 + C b * X + C c\nhp_natDegree : p.natDegree = 2\nhp_roots_card : p.roots.card = p.natDegree\n⊢ c = a * (x1 * x2)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.CoeffMulMem | {
"line": 57,
"column": 2
} | {
"line": 57,
"column": 13
} | {
"line": 57,
"column": 14
} | [
{
"pp": "A : Type u_1\ninst✝ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nn : ℕ\nhg : ∀ i ≤ n, (coeff i) g ∈ I\n⊢ ∀ i ≤ n, (coeff i) (f * g) ∈ I",
"ppTerm": "?m.25",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"A : Type u_1\ninst✝ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nn : ℕ\nhg : ∀ i ≤ n, (coeff i) g ∈ I\n⊢ ∀ i ≤ n, (coeff i) (f * g) ∈ I"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.CoeffMulMem | {
"line": 61,
"column": 2
} | {
"line": 61,
"column": 13
} | {
"line": 61,
"column": 14
} | [
{
"pp": "A : Type u_1\ninst✝ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nhg : ∀ (i : ℕ), (coeff i) g ∈ I\n⊢ ∀ (i : ℕ), (coeff i) (f * g) ∈ I",
"ppTerm": "?m.21",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"A : Type u_1\ninst✝ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nhg : ∀ (i : ℕ), (coeff i) g ∈ I\n⊢ ∀ (i : ℕ), (coeff i) (f * g) ∈ I"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.CoeffMulMem | {
"line": 67,
"column": 2
} | {
"line": 67,
"column": 45
} | {
"line": 68,
"column": 4
} | [
{
"pp": "A : Type u_1\ninst✝¹ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nn : ℕ\ninst✝ : I.IsTwoSided\nhf : ∀ i ≤ n, (coeff i) f ∈ I\n⊢ ∀ i ≤ n, (coeff i) (f * g) ∈ I",
"ppTerm": "?m.27",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"A : Type u_1\ninst✝¹ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\nn : ℕ\ninst✝ : I.IsTwoSided\nhf : ∀ i ≤ n, (coeff i) f ∈ I\n⊢ ∀ i ≤ n, (coeff i) (f * g) ∈ I"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.CoeffMulMem | {
"line": 72,
"column": 2
} | {
"line": 72,
"column": 45
} | {
"line": 73,
"column": 4
} | [
{
"pp": "A : Type u_1\ninst✝¹ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\ninst✝ : I.IsTwoSided\nhf : ∀ (i : ℕ), (coeff i) f ∈ I\n⊢ ∀ (i : ℕ), (coeff i) (f * g) ∈ I",
"ppTerm": "?m.23",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"A : Type u_1\ninst✝¹ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\ninst✝ : I.IsTwoSided\nhf : ∀ (i : ℕ), (coeff i) f ∈ I\n⊢ ∀ (i : ℕ), (coeff i) (f * g) ∈ I"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.CoeffMulMem | {
"line": 71,
"column": 60
} | {
"line": 73,
"column": 84
} | {
"line": 75,
"column": 0
} | [
{
"pp": "A : Type u_1\ninst✝¹ : Semiring A\nI : Ideal A\nf g : A⟦X⟧\ninst✝ : I.IsTwoSided\nhf : ∀ (i : ℕ), (coeff i) f ∈ I\n⊢ ∀ (i : ℕ), (coeff i) (f * g) ∈ I",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Ideal.one_eq_top",
"Submodule.mem_top._simp_1",
"Semiring.toModu... | [] | by
simpa only [Ideal.IsTwoSided.mul_one] using
coeff_mul_mem_ideal_mul_ideal_of_coeff_mem_ideal' (J := 1) (g := g) hf (by simp) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.TensorProduct.DirectLimitFG | {
"line": 221,
"column": 2
} | {
"line": 221,
"column": 29
} | {
"line": 221,
"column": 30
} | [
{
"pp": "R : Type u\nM : Type u_1\nN : Type u_2\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : AddCommMonoid N\ninst✝ : Module R N\nP : Submodule R M\nhP : P.FG\nt : ↥P ⊗[R] N\nh : (rTensor N P.subtype) t = (rTensor N P.subtype) 0\n⊢ ∃ Q, ∃ (hPQ : P ≤ Q), Q.FG ∧ (rTensor N (in... | [
"R : Type u\nM : Type u_1\nN : Type u_2\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : AddCommMonoid N\ninst✝ : Module R N\nP : Submodule R M\nhP : P.FG\nt : ↥P ⊗[R] N\nh : (rTensor N P.subtype) t = (rTensor N P.subtype) 0\n⊢ ∃ Q, ∃ (hPQ : P ≤ Q), Q.FG ∧ (rTensor N (inclusion hPQ)... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.Log | {
"line": 122,
"column": 4
} | {
"line": 122,
"column": 15
} | {
"line": 122,
"column": 16
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ninst✝ : HasUniqueDiv A\ng : A⟦X⟧\nhderiv : d⁄dX g * (1 + X) = g\nthis : Invertible (1 + X)\nh : constantCoeff (1 + X) * constantCoeff ⅟(1 + X) = constantCoeff 1\n⊢ constantCoeff ⅟(1 + X) = 1",
"ppTerm": "?m.129",
"assigned": false,
"usedConstants": [],
... | [
"A : Type u_1\ninst✝¹ : CommRing A\ninst✝ : HasUniqueDiv A\ng : A⟦X⟧\nhderiv : d⁄dX g * (1 + X) = g\nthis : Invertible (1 + X)\nh : constantCoeff (1 + X) * constantCoeff ⅟(1 + X) = constantCoeff 1\n⊢ constantCoeff ⅟(1 + X) = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.PowerSeries.Schroder | {
"line": 74,
"column": 4
} | {
"line": 74,
"column": 13
} | {
"line": 75,
"column": 4
} | [
{
"pp": "n : ℕ\nhn : n > 0\n⊢ ∀ x ∈ range n,\n (coeff x) (X * largeSchroderSeries) * (n - x).largeSchroder =\n if 0 < x then (x - 1).largeSchroder * (n - x).largeSchroder else 0",
"ppTerm": "?m.185",
"assigned": true,
"usedConstants": [
"Finset",
"Membership.mem",
"Finset.r... | [
"n : ℕ\nhn : n > 0\nx : ℕ\na : x ∈ range n\n⊢ (coeff x) (X * largeSchroderSeries) * (n - x).largeSchroder =\n if 0 < x then (x - 1).largeSchroder * (n - x).largeSchroder else 0"
] | intro x a | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.RingTheory.PolynomialLaw.Basic | {
"line": 246,
"column": 2
} | {
"line": 246,
"column": 49
} | {
"line": 248,
"column": 0
} | [
{
"pp": "case e'_3\nR : Type u\ninst✝⁶ : CommSemiring R\nM : Type u_1\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nN : Type u_2\ninst✝³ : AddCommMonoid N\ninst✝² : Module R N\nf : M →ₚₗ[R] N\nS : Type u\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nx : M\n⊢ 1 ⊗ₜ[R] x = (rTensor M (Algebra.algHom R R S).toLi... | [] | · rw [rTensor_tmul, toLinearMap_apply, map_one] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Radical.NatInt | {
"line": 63,
"column": 2
} | {
"line": 63,
"column": 27
} | {
"line": 63,
"column": 28
} | [
{
"pp": "n : ℕ\n⊢ radical n ≤ 1 ↔ n ≤ 1",
"ppTerm": "?m.13",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"n : ℕ\n⊢ radical n ≤ 1 ↔ n ≤ 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Radical.NatInt | {
"line": 73,
"column": 2
} | {
"line": 73,
"column": 36
} | {
"line": 73,
"column": 37
} | [
{
"pp": "n : ℕ\n⊢ n < radical n ↔ n = 0",
"ppTerm": "?m.10",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"n : ℕ\n⊢ n < radical n ↔ n = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Radical.NatInt | {
"line": 147,
"column": 2
} | {
"line": 147,
"column": 27
} | {
"line": 147,
"column": 28
} | [
{
"pp": "z : ℤ\n⊢ radical z ≤ 1 ↔ z.natAbs ≤ 1",
"ppTerm": "?m.13",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"z : ℤ\n⊢ radical z ≤ 1 ↔ z.natAbs ≤ 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.RingTheory.Regular.Flat | {
"line": 73,
"column": 2
} | {
"line": 73,
"column": 76
} | {
"line": 73,
"column": 77
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝¹³ : CommRing R\ninst✝¹² : CommRing S\ninst✝¹¹ : Algebra R S\ninst✝¹⁰ : AddCommGroup M\ninst✝⁹ : Module R M\ninst✝⁸ : AddCommGroup N\ninst✝⁷ : Module R N\ninst✝⁶ : Module S N\ninst✝⁵ : IsScalarTower R S N\np : Ideal R\ninst✝⁴ : p.IsPrime\nins... | [
"R : Type u_1\nS : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝¹³ : CommRing R\ninst✝¹² : CommRing S\ninst✝¹¹ : Algebra R S\ninst✝¹⁰ : AddCommGroup M\ninst✝⁹ : Module R M\ninst✝⁸ : AddCommGroup N\ninst✝⁷ : Module R N\ninst✝⁶ : Module S N\ninst✝⁵ : IsScalarTower R S N\np : Ideal R\ninst✝⁴ : p.IsPrime\ninst✝³ : IsLoca... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.