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.LinearAlgebra.Dimension.Localization | {
"line": 89,
"column": 2
} | {
"line": 89,
"column": 39
} | {
"line": 90,
"column": 2
} | [
{
"pp": "R : Type uR\nS : Type uS\ninst✝⁹ : CommRing R\ninst✝⁸ : CommRing S\ninst✝⁷ : Algebra R S\nA : Type u_1\ninst✝⁶ : CommRing A\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra R A\ninst✝³ : IsScalarTower R S A\nM : Submonoid S\ninst✝² : IsLocalization M A\ninst✝¹ : FaithfulSMul S A\ns : Finset A\nhs : LinearIndepO... | [
"R : Type uR\nS : Type uS\ninst✝⁹ : CommRing R\ninst✝⁸ : CommRing S\ninst✝⁷ : Algebra R S\nA : Type u_1\ninst✝⁶ : CommRing A\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra R A\ninst✝³ : IsScalarTower R S A\nM : Submonoid S\ninst✝² : IsLocalization M A\ninst✝¹ : FaithfulSMul S A\ns : Finset A\nhs : ∀ (f : A → R), ∑ i ∈ s, ... | rw [linearIndepOn_finset_iff] at hs ⊢ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Localization.AtPrime.Basic | {
"line": 275,
"column": 45
} | {
"line": 275,
"column": 49
} | {
"line": 275,
"column": 50
} | [
{
"pp": "R : Type u_1\ninst✝⁴ : CommSemiring R\nS✝ : Type u_2\ninst✝³ : CommSemiring S✝\ninst✝² : Algebra R S✝\nP : Type u_3\ninst✝¹ : CommSemiring P\nI : Ideal R\nhI : I.IsPrime\nS : Type u_4\ninst✝ : CommSemiring S\nJ : Ideal S\nhJ : J.IsPrime\nK : Ideal P\nhK : K.IsPrime\nf : R →+* S\nhIJ : I = Ideal.comap f... | [
"R : Type u_1\ninst✝⁴ : CommSemiring R\nS✝ : Type u_2\ninst✝³ : CommSemiring S✝\ninst✝² : Algebra R S✝\nP : Type u_3\ninst✝¹ : CommSemiring P\nI : Ideal R\nhI : I.IsPrime\nS : Type u_4\ninst✝ : CommSemiring S\nJ : Ideal S\nhJ : J.IsPrime\nK : Ideal P\nhK : K.IsPrime\nf : R →+* S\nhIJ : I = Ideal.comap f J\ng : S →+... | hJK, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Polynomial | {
"line": 77,
"column": 2
} | {
"line": 77,
"column": 48
} | {
"line": 78,
"column": 2
} | [
{
"pp": "n : Type u_1\nα : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA B : Matrix n n α\ng : Equiv.Perm n\n⊢ (sign g • ∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).coeff (Fintype.card n) = sign g • ∏ i, A (g i) i",
"ppTerm": "?m.75",
"assigned": true,
"usedConstants": [
... | [
"case e'_3\nn : Type u_1\nα : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA B : Matrix n n α\ng : Equiv.Perm n\n⊢ ∏ i, A (g i) i = (∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).coeff (Fintype.card n)"
] | convert coeff_smul_apply (R := α) (sign g) _ _ | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1 | Mathlib.Tactic.convert |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 286,
"column": 18
} | {
"line": 286,
"column": 26
} | {
"line": 286,
"column": 27
} | [
{
"pp": "case add\nR : Type u_1\ninst✝ : Semiring R\nr : R\np✝ q✝ : R[T;T⁻¹]\nhp : r • p✝ = C r * p✝\nhq : r • q✝ = C r * q✝\n⊢ r • p✝ + r • q✝ = C r * (p✝ + q✝)",
"ppTerm": "?add",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"AddMonoidAlgebra.instAdd... | [
"case add\nR : Type u_1\ninst✝ : Semiring R\nr : R\np✝ q✝ : R[T;T⁻¹]\nhp : r • p✝ = C r * p✝\nhq : r • q✝ = C r * q✝\n⊢ r • p✝ + r • q✝ = C r * p✝ + C r * q✝"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 413,
"column": 42
} | {
"line": 413,
"column": 53
} | {
"line": 413,
"column": 53
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[T;T⁻¹]\nh : f = 0\n⊢ degree 0 = ⊥",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"WithBot",
"congrArg",
"LaurentPolynomial",
"id",
"Bot.bot",
"Int",
... | [
"R : Type u_1\ninst✝ : Semiring R\nf : R[T;T⁻¹]\nh : f = 0\n⊢ ⊥ = ⊥"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Dimension.Localization | {
"line": 288,
"column": 4
} | {
"line": 296,
"column": 86
} | {
"line": 299,
"column": 0
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝¹ : Ring R\ninst✝ : IsDomain R\nr : R\ns : ↥R⁰\nh : ∀ (r' : R) (s' : ↥R⁰), ↑s' * r ≠ r' * ↑s\nn : ℕ\nIH : ∀ (g : ℕ → R) (x : ℕ), ∑ i ∈ Finset.range n, g i • (r * ↑s ^ (i + x)) = 0 → ∀ i < n, g i = 0\ng : ℕ → R\nx : ℕ\nhg : ∑ i ∈ Finset.range (n + 1), g i • (r * ↑s ^ (i + x... | [] | rw [Finset.sum_range_succ'] at hg
by_cases hg0 : g 0 = 0
· simp only [hg0, zero_smul, add_zero, add_assoc] at hg
cases i; exacts [hg0, IH _ _ hg _ (Nat.succ_lt_succ_iff.mp hin)]
simp only [zero_add, pow_add _ _ x,
← mul_assoc, pow_succ, ← Finset.sum_mul, smul_eq_mul] at hg
rw [← neg_eq_iff_a... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Dimension.Localization | {
"line": 288,
"column": 4
} | {
"line": 296,
"column": 86
} | {
"line": 299,
"column": 0
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝¹ : Ring R\ninst✝ : IsDomain R\nr : R\ns : ↥R⁰\nh : ∀ (r' : R) (s' : ↥R⁰), ↑s' * r ≠ r' * ↑s\nn : ℕ\nIH : ∀ (g : ℕ → R) (x : ℕ), ∑ i ∈ Finset.range n, g i • (r * ↑s ^ (i + x)) = 0 → ∀ i < n, g i = 0\ng : ℕ → R\nx : ℕ\nhg : ∑ i ∈ Finset.range (n + 1), g i • (r * ↑s ^ (i + x... | [] | rw [Finset.sum_range_succ'] at hg
by_cases hg0 : g 0 = 0
· simp only [hg0, zero_smul, add_zero, add_assoc] at hg
cases i; exacts [hg0, IH _ _ hg _ (Nat.succ_lt_succ_iff.mp hin)]
simp only [zero_add, pow_add _ _ x,
← mul_assoc, pow_succ, ← Finset.sum_mul, smul_eq_mul] at hg
rw [← neg_eq_iff_a... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 133,
"column": 29
} | {
"line": 133,
"column": 95
} | {
"line": 135,
"column": 0
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝³ : DecidableEq n\ninst✝² : Fintype n\ninst✝¹ : CommRing α\ninst✝ : Subsingleton n\nA : Matrix n n α\nb : n → α\ni : n\n⊢ A.cramer b i = b i",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.Function.module",
"Matrix.update... | [] | rw [cramer_apply, det_eq_elem_of_subsingleton _ i, updateCol_self] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 133,
"column": 29
} | {
"line": 133,
"column": 95
} | {
"line": 135,
"column": 0
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝³ : DecidableEq n\ninst✝² : Fintype n\ninst✝¹ : CommRing α\ninst✝ : Subsingleton n\nA : Matrix n n α\nb : n → α\ni : n\n⊢ A.cramer b i = b i",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.Function.module",
"Matrix.update... | [] | rw [cramer_apply, det_eq_elem_of_subsingleton _ i, updateCol_self] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 133,
"column": 29
} | {
"line": 133,
"column": 95
} | {
"line": 135,
"column": 0
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝³ : DecidableEq n\ninst✝² : Fintype n\ninst✝¹ : CommRing α\ninst✝ : Subsingleton n\nA : Matrix n n α\nb : n → α\ni : n\n⊢ A.cramer b i = b i",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.Function.module",
"Matrix.update... | [] | rw [cramer_apply, det_eq_elem_of_subsingleton _ i, updateCol_self] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 247,
"column": 28
} | {
"line": 247,
"column": 40
} | {
"line": 247,
"column": 40
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA : Matrix n n α\nb : n → α\n⊢ A.cramer b = Aᵀ.adjugateᵀ *ᵥ b",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.Function.module",
"NonUnitalCommRing.toNonUnitalNon... | [
"n : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA : Matrix n n α\nb : n → α\n⊢ A.cramer b = (of fun i ↦ Aᵀᵀ.cramer (Pi.single i 1))ᵀ *ᵥ b"
] | adjugate_def | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 667,
"column": 8
} | {
"line": 667,
"column": 16
} | {
"line": 667,
"column": 17
} | [
{
"pp": "case add\nR : Type u_1\nS : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid S\ninst✝¹ : Module R S\ninst✝ : Monoid S\nf : R[T;T⁻¹]\nx : Sˣ\nr : R\np q : R[T;T⁻¹]\nhp : (C r * p).smeval x = r • p.smeval x\nhq : (C r * q).smeval x = r • q.smeval x\n⊢ (C r * (p + q)).smeval x = r • (p + q).smeval x"... | [
"case add\nR : Type u_1\nS : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid S\ninst✝¹ : Module R S\ninst✝ : Monoid S\nf : R[T;T⁻¹]\nx : Sˣ\nr : R\np q : R[T;T⁻¹]\nhp : (C r * p).smeval x = r • p.smeval x\nhq : (C r * q).smeval x = r • q.smeval x\n⊢ (C r * p + C r * q).smeval x = r • (p + q).smeval x"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 370,
"column": 30
} | {
"line": 370,
"column": 39
} | {
"line": 370,
"column": 40
} | [
{
"pp": "α : Type w\ninst✝ : CommRing α\nn : ℕ\nA : Matrix (Fin n.succ) (Fin n.succ) α\ni j h : Fin n.succ\nhjk : h ≠ i\n⊢ (-1) ^ (↑j + ↑h) * 0 * (A.submatrix j.succAbove h.succAbove).det = 0",
"ppTerm": "?m.70",
"assigned": true,
"usedConstants": [
"Fin.succAbove",
"Eq.mpr",
"NegZ... | [
"α : Type w\ninst✝ : CommRing α\nn : ℕ\nA : Matrix (Fin n.succ) (Fin n.succ) α\ni j h : Fin n.succ\nhjk : h ≠ i\n⊢ 0 * (A.submatrix j.succAbove h.succAbove).det = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 416,
"column": 2
} | {
"line": 416,
"column": 28
} | {
"line": 417,
"column": 2
} | [
{
"pp": "case mk\nn : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA : Matrix n n α\ni : n\nthis : Nonempty n\nn' : ℕ\nhn' : Fintype.card n = n'.succ\nx✝ : Trunc (n ≃ Fin n'.succ)\ne : n ≃ Fin n'.succ\nA' : Matrix (Fin n'.succ) (Fin n'.succ) α := (reindex e e) A\n⊢ A'.det ... | [
"case mk\nn : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA : Matrix n n α\ni : n\nthis : Nonempty n\nn' : ℕ\nhn' : Fintype.card n = n'.succ\nx✝ : Trunc (n ≃ Fin n'.succ)\ne : n ≃ Fin n'.succ\nA' : Matrix (Fin n'.succ) (Fin n'.succ) α := (reindex e e) A\n⊢ ∑ j, (-1) ^ (↑(e i)... | rw [det_succ_row A' (e i)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.Filter.EventuallyConst | {
"line": 247,
"column": 4
} | {
"line": 247,
"column": 47
} | {
"line": 248,
"column": 4
} | [
{
"pp": "case refine_2\nα : Type u_1\nf : ℕ → α\nn : ℕ\nh : ∀ (m : ℕ), n ≤ m → f (m + 1) = f m\nm : ℕ\nhm : n ≤ m\n⊢ f m = f n",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"Lattice.toSemilatticeSup",
"instDistribLatticeNat",
"PartialOrder.toPreorder",
"Preord... | [] | induction m, hm using Nat.le_induction with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.Order.CompactlyGenerated.Intervals | {
"line": 23,
"column": 2
} | {
"line": 23,
"column": 9
} | {
"line": 23,
"column": 10
} | [
{
"pp": "α : Type u_2\ninst✝ : CompleteLattice α\na : α\nb : ↑(Iic a)\nh : ∀ (ι : Type u_2) (s : ι → α), ↑b ≤ iSup s → ∃ t, ↑b ≤ ⨆ a ∈ t, s a\n⊢ ∀ (ι : Type u_2) (s : ι → ↑(Iic a)), b ≤ iSup s → ∃ t, b ≤ ⨆ a_2 ∈ t, s a_2",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [],
"usedFVars": []... | [
"α : Type u_2\ninst✝ : CompleteLattice α\na : α\nb : ↑(Iic a)\nh : ∀ (ι : Type u_2) (s : ι → α), ↑b ≤ iSup s → ∃ t, ↑b ≤ ⨆ a ∈ t, s a\nι : Type u_2\n⊢ ∀ (s : ι → ↑(Iic a)), b ≤ iSup s → ∃ t, b ≤ ⨆ a_2 ∈ t, s a_2"
] | intro ι | Lean.Elab.Tactic.evalIntro | null |
Mathlib.Order.JordanHolder | {
"line": 350,
"column": 4
} | {
"line": 350,
"column": 73
} | {
"line": 352,
"column": 0
} | [
{
"pp": "case refine_2\nX : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\ns₁ s₂ : CompositionSeries X\nx₁ x₂ : X\nhsat₁ : IsMaximal (last s₁) x₁\nhsat₂ : IsMaximal (last s₂) x₂\nhequiv : s₁.Equivalent s₂\nhlast : Iso (last s₁, x₁) (last s₂, x₂)\ne : Fin s₁.length.succ ≃ Fin s₂.length.succ :=\n Tra... | [] | simpa [snoc_castSucc, ← Fin.castSucc_succ] using hequiv.choose_spec i | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.SimpleModule.Basic | {
"line": 332,
"column": 4
} | {
"line": 332,
"column": 72
} | {
"line": 332,
"column": 72
} | [
{
"pp": "R : Type u_2\nS : Type u_3\ninst✝⁶ : Ring R\ninst✝⁵ : Ring S\nM' : Type u_6\ninst✝⁴ : AddCommGroup M'\ninst✝³ : Module R M'\nN' : Type u_7\ninst✝² : AddCommGroup N'\ninst✝¹ : Module S N'\nσ : R →+* S\nl : M' →ₛₗ[σ] N'\ninst✝ : RingHomSurjective σ\nhl : Function.Bijective ⇑l\n⊢ ComplementedLattice (Subm... | [] | (Submodule.orderIsoMapComapOfBijective l hl).complementedLattice_iff | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.SimpleModule.Basic | {
"line": 537,
"column": 11
} | {
"line": 537,
"column": 35
} | {
"line": 537,
"column": 35
} | [
{
"pp": "ι : Type u_1\nR✝ : Type u_2\nS : Type u_3\ninst✝⁸ : Ring R✝\ninst✝⁷ : Ring S\nM : Type u_4\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : Module R✝ M\nm : Submodule R✝ M\nN : Type u_5\ninst✝⁴ : AddCommGroup N\ninst✝³ : Module R✝ N\nR : Type u_6\ninst✝² : DivisionRing R\ninst✝¹ : Module R M\ninst✝ : Nontrivial M\nv... | [] | simpa using congr($eq 1) | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.SimpleModule.Basic | {
"line": 537,
"column": 11
} | {
"line": 537,
"column": 35
} | {
"line": 537,
"column": 35
} | [
{
"pp": "ι : Type u_1\nR✝ : Type u_2\nS : Type u_3\ninst✝⁸ : Ring R✝\ninst✝⁷ : Ring S\nM : Type u_4\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : Module R✝ M\nm : Submodule R✝ M\nN : Type u_5\ninst✝⁴ : AddCommGroup N\ninst✝³ : Module R✝ N\nR : Type u_6\ninst✝² : DivisionRing R\ninst✝¹ : Module R M\ninst✝ : Nontrivial M\nv... | [] | simpa using congr($eq 1) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.SimpleModule.Basic | {
"line": 537,
"column": 11
} | {
"line": 537,
"column": 35
} | {
"line": 537,
"column": 35
} | [
{
"pp": "ι : Type u_1\nR✝ : Type u_2\nS : Type u_3\ninst✝⁸ : Ring R✝\ninst✝⁷ : Ring S\nM : Type u_4\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : Module R✝ M\nm : Submodule R✝ M\nN : Type u_5\ninst✝⁴ : AddCommGroup N\ninst✝³ : Module R✝ N\nR : Type u_6\ninst✝² : DivisionRing R\ninst✝¹ : Module R M\ninst✝ : Nontrivial M\nv... | [] | simpa using congr($eq 1) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.NonsingularInverse | {
"line": 279,
"column": 10
} | {
"line": 279,
"column": 31
} | {
"line": 279,
"column": 32
} | [
{
"pp": "n : Type u'\nα : Type v\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : CommRing α\nA : Matrix n n α\ninst✝ : Invertible A\nu v : n → α\nhM : u = A *ᵥ v\n⊢ A⁻¹ *ᵥ A *ᵥ v = v",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonUnitalCommRing.toNonUnitalN... | [
"n : Type u'\nα : Type v\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : CommRing α\nA : Matrix n n α\ninst✝ : Invertible A\nu v : n → α\nhM : u = A *ᵥ v\n⊢ (A⁻¹ * A) *ᵥ v = v"
] | Matrix.mulVec_mulVec, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MatrixAlgebra | {
"line": 139,
"column": 8
} | {
"line": 139,
"column": 25
} | {
"line": 139,
"column": 26
} | [
{
"pp": "l : Type u_1\nm : Type u_2\nn : Type u_3\np : Type u_4\nR : Type u_5\nS : Type u_6\nA : Type u_7\nB : Type u_8\nM : Type u_9\nN : Type u_10\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : DecidableEq n\ninst✝ : Fintype n\na₁✝ a₂✝ ... | [
"l : Type u_1\nm : Type u_2\nn : Type u_3\np : Type u_4\nR : Type u_5\nS : Type u_6\nA : Type u_7\nB : Type u_8\nM : Type u_9\nN : Type u_10\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : DecidableEq n\ninst✝ : Fintype n\na₁✝ a₂✝ : A\nb₁✝ b₂✝... | _root_.mul_assoc, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.Polynomial.Nilpotent | {
"line": 65,
"column": 2
} | {
"line": 66,
"column": 29
} | {
"line": 68,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nP : R[X]\n⊢ IsNilpotent (P * X) ↔ IsNilpotent P",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"Polynomial.isNilpotent_X_mul_iff",
"HMul.hMul",
"congrArg",
"Nat.instAddMon... | [] | rw [← commute_X P]
exact isNilpotent_X_mul_iff | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.Nilpotent | {
"line": 65,
"column": 2
} | {
"line": 66,
"column": 29
} | {
"line": 68,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nP : R[X]\n⊢ IsNilpotent (P * X) ↔ IsNilpotent P",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"Polynomial.isNilpotent_X_mul_iff",
"HMul.hMul",
"congrArg",
"Nat.instAddMon... | [] | rw [← commute_X P]
exact isNilpotent_X_mul_iff | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 42,
"column": 2
} | {
"line": 43,
"column": 79
} | {
"line": 45,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_4\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Ring T\nf : R →+* S\nx : S\nhx : f.IsIntegralElem x\ng : S →+* T\n⊢ (g.comp f).IsIntegralElem (g x)",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.eval",
... | [] | obtain ⟨p, hp, hx⟩ := hx
exact ⟨p, hp, by simp_rw [← hom_eval₂, eval₂_eq_eval_map] at hx ⊢; simp [hx]⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 42,
"column": 2
} | {
"line": 43,
"column": 79
} | {
"line": 45,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_4\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Ring T\nf : R →+* S\nx : S\nhx : f.IsIntegralElem x\ng : S →+* T\n⊢ (g.comp f).IsIntegralElem (g x)",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.eval",
... | [] | obtain ⟨p, hp, hx⟩ := hx
exact ⟨p, hp, by simp_rw [← hom_eval₂, eval₂_eq_eval_map] at hx ⊢; simp [hx]⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 177,
"column": 4
} | {
"line": 177,
"column": 33
} | {
"line": 178,
"column": 2
} | [
{
"pp": "case mp\nR : Type u_5\nS : Type u_6\nT : Type u_7\ninst✝⁴ : CommRing R\ninst✝³ : Ring S\ninst✝² : CommRing T\ninst✝¹ : Algebra R S\ninst✝ : Algebra T S\nφ : R ≃+* T\nh : (algebraMap T S).comp φ.toRingHom = algebraMap R S\na : S\nha : IsIntegral R a\nthis✝ : Algebra R T := φ.toRingHom.toAlgebra\nthis : ... | [] | exact IsIntegral.tower_top ha | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 184,
"column": 4
} | {
"line": 184,
"column": 33
} | {
"line": 186,
"column": 0
} | [
{
"pp": "case mpr\nR : Type u_5\nS : Type u_6\nT : Type u_7\ninst✝⁴ : CommRing R\ninst✝³ : Ring S\ninst✝² : CommRing T\ninst✝¹ : Algebra R S\ninst✝ : Algebra T S\nφ : R ≃+* T\nh : (algebraMap T S).comp φ.toRingHom = algebraMap R S\na : S\nha : IsIntegral T a\nh' : algebraMap T S = (algebraMap R S).comp φ.symm.t... | [] | exact IsIntegral.tower_top ha | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 225,
"column": 52
} | {
"line": 225,
"column": 66
} | {
"line": 225,
"column": 67
} | [
{
"pp": "case empty\nR : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\ns : Set A\nhis : ∀ x ∈ ∅, IsIntegral R x\nx : A\n⊢ x ∈ R ∙ 1 ↔ x ∈ Subalgebra.toSubmodule ⊥",
"ppTerm": "?empty",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiri... | [
"case empty\nR : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\ns : Set A\nhis : ∀ x ∈ ∅, IsIntegral R x\nx : A\n⊢ x ∈ 1 ↔ x ∈ Subalgebra.toSubmodule ⊥"
] | ← one_eq_span, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 258,
"column": 74
} | {
"line": 258,
"column": 83
} | {
"line": 259,
"column": 4
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : Ring A\ninst✝² : Ring B\ninst✝¹ : Algebra R A\ninst✝ : Algebra R B\nx : A × B\np₁ : R[X]\nhp₁Monic : p₁.Monic\nhp₁Eval : (aeval x.1) p₁ = 0\np₂ : R[X]\nhp₂Monic : p₂.Monic\nhp₂Eval : (aeval x.2) p₂ = 0\n⊢ (0, (aeval x.2) p₁ * 0) = ... | [
"R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : Ring A\ninst✝² : Ring B\ninst✝¹ : Algebra R A\ninst✝ : Algebra R B\nx : A × B\np₁ : R[X]\nhp₁Monic : p₁.Monic\nhp₁Eval : (aeval x.1) p₁ = 0\np₂ : R[X]\nhp₂Monic : p₂.Monic\nhp₂Eval : (aeval x.2) p₂ = 0\n⊢ (0, 0) = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 132,
"column": 4
} | {
"line": 132,
"column": 24
} | {
"line": 134,
"column": 0
} | [
{
"pp": "case neg\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\np : S[X]\nn : ℕ\nh : ∀ (n : ℕ), p.coeff n ∈ f.rangeS\nk : ℕ\nhk : ¬k = n\n⊢ (AddMonoidAlgebra.erase n p).coeff k ∈ f.rangeS",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFu... | [] | simpa [hk] using h k | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 132,
"column": 4
} | {
"line": 132,
"column": 24
} | {
"line": 134,
"column": 0
} | [
{
"pp": "case neg\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\np : S[X]\nn : ℕ\nh : ∀ (n : ℕ), p.coeff n ∈ f.rangeS\nk : ℕ\nhk : ¬k = n\n⊢ (AddMonoidAlgebra.erase n p).coeff k ∈ f.rangeS",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFu... | [] | simpa [hk] using h k | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 132,
"column": 4
} | {
"line": 132,
"column": 24
} | {
"line": 134,
"column": 0
} | [
{
"pp": "case neg\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\np : S[X]\nn : ℕ\nh : ∀ (n : ℕ), p.coeff n ∈ f.rangeS\nk : ℕ\nhk : ¬k = n\n⊢ (AddMonoidAlgebra.erase n p).coeff k ∈ f.rangeS",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFu... | [] | simpa [hk] using h k | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 163,
"column": 2
} | {
"line": 164,
"column": 40
} | {
"line": 166,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\np : S[X]\nhlifts : p ∈ lifts f\n⊢ ∃ q, map f q = p ∧ q.degree = p.degree",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"WithBot",
"congrArg",
"Finset",
"Exists",
"Polynomi... | [] | obtain ⟨q, hq, hq'⟩ := exists_support_eq_of_mem_lifts hlifts
exact ⟨q, hq, congrArg Finset.max hq'⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 163,
"column": 2
} | {
"line": 164,
"column": 40
} | {
"line": 166,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\np : S[X]\nhlifts : p ∈ lifts f\n⊢ ∃ q, map f q = p ∧ q.degree = p.degree",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"WithBot",
"congrArg",
"Finset",
"Exists",
"Polynomi... | [] | obtain ⟨q, hq, hq'⟩ := exists_support_eq_of_mem_lifts hlifts
exact ⟨q, hq, congrArg Finset.max hq'⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff | {
"line": 212,
"column": 52
} | {
"line": 225,
"column": 50
} | {
"line": 227,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝³ : CommRing R\nn : Type v\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nM : Matrix n n R\ninst✝ : Nontrivial R\nhn : Fintype.card n = 2\n⊢ M.charpoly = X ^ 2 - C M.trace * X + C M.det",
"ppTerm": "?m.57",
"assigned": true,
"usedConstants": [
"one_pow",
"Finsupp.... | [] | by
have : Nonempty n := by rw [← Fintype.card_pos_iff]; lia
ext i
by_cases hi : i ∈ Finset.range 3
· fin_cases hi
· simp [det_eq_sign_charpoly_coeff, hn]
· simp [trace_eq_neg_charpoly_coeff, hn]
· simpa [leadingCoeff, charpoly_natDegree_eq_dim, hn, coeff_X] using
M.charpoly_monic.leadingCoef... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.IntegralClosure.Algebra.Basic | {
"line": 115,
"column": 7
} | {
"line": 115,
"column": 40
} | {
"line": 115,
"column": 40
} | [
{
"pp": "R : Type u_1\nA : Type u_2\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : Algebra R A\ninst✝⁵ : IsDomain A\nM : Type u_5\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module A M\ninst✝¹ : IsScalarTower R A M\ninst✝ : Module.IsTorsionFree A M\nN : Submodule R M\nhN : N ≠ ⊥\nhN' : N.FG\nx ... | [] | by intro x y; ext; apply mul_smul | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.IntegralClosure.Algebra.Basic | {
"line": 146,
"column": 44
} | {
"line": 146,
"column": 63
} | {
"line": 146,
"column": 63
} | [
{
"pp": "R : Type u_1\nS : Type u_4\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nf : R →+* S\nx y z : S\nhx : f.IsIntegralElem x\nhy : f.IsIntegralElem y\nhz : z ∈ Subring.closure {x, y}\nthis✝ : Algebra R S := f.toAlgebra\nthis : (Subalgebra.toSubmodule (Algebra.adjoin R ({x} ∪ {y}))).FG\n⊢ f.IsIntegralElem z",
... | [
"R : Type u_1\nS : Type u_4\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nf : R →+* S\nx y z : S\nhx : f.IsIntegralElem x\nhy : f.IsIntegralElem y\nhz : z ∈ Subring.closure {x, y}\nthis✝ : Algebra R S := f.toAlgebra\nthis : (Subalgebra.toSubmodule R[x, y]).FG\n⊢ f.IsIntegralElem z"
] | Set.singleton_union | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.IntegralClosure.Algebra.Basic | {
"line": 253,
"column": 2
} | {
"line": 255,
"column": 61
} | {
"line": 257,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Ring B\ninst✝¹ : Algebra R A\ninst✝ : Algebra R B\nx : A\ny : B\nh : IsIntegral R y\n⊢ IsIntegral A (x • 1 ⊗ₜ[R] y)",
"ppTerm": "?m.44",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
... | [] | exact smul _ (h.map_of_comp_eq (algebraMap R A)
(Algebra.TensorProduct.includeRight (R := R) (A := A) (B := B)).toRingHom
Algebra.TensorProduct.includeLeftRingHom_comp_algebraMap) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Polynomial.HasseDeriv | {
"line": 151,
"column": 2
} | {
"line": 151,
"column": 67
} | {
"line": 152,
"column": 2
} | [
{
"pp": "case succ.e_a.e_a\nR : Type u_1\ninst✝ : Semiring R\nk✝ k : ℕ\nih : ⇑(k ! • hasseDeriv k) = (⇑derivative)^[k]\nf : R[X]\nn : ℕ\nthis : n + k + 1 = n + (k + 1)\n⊢ (k + 1) * (n + k + 1).choose (k + 1) = (n + k + 1).choose (n + 1) * (n + 1)",
"ppTerm": "?succ.e_a.e_a",
"assigned": true,
"usedC... | [
"case succ.e_a.e_a\nR : Type u_1\ninst✝ : Semiring R\nk✝ k : ℕ\nih : ⇑(k ! • hasseDeriv k) = (⇑derivative)^[k]\nf : R[X]\nn : ℕ\nthis : n + k + 1 = n + (k + 1)\n⊢ (n + k + 1).choose n * (k + 1) = (n + k + 1).choose n * (n + k + 1 - n)"
] | rw [← choose_symm_of_eq_add this, choose_succ_right_eq, mul_comm] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff | {
"line": 434,
"column": 10
} | {
"line": 434,
"column": 27
} | {
"line": 435,
"column": 8
} | [
{
"pp": "R : Type u\ninst✝² : CommRing R\nn : Type v\ninst✝¹ : DecidableEq n\ninst✝ : Fintype n\nM : Matrix n n R\nk : ℕ\nD : (n → R[X]) [⋀^n]→ₗ[R[X]] R[X] := detRowAlternating\nh_map : ∀ (s : Finset n), (s.piecewise (fun i ↦ M.map (⇑C) i) fun i ↦ 1 i) = map (s.piecewise M 1) ⇑C\nh_det : ∀ (s : Finset n), D (s.... | [] | split_ifs <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Polynomial.HasseDeriv | {
"line": 186,
"column": 25
} | {
"line": 186,
"column": 42
} | {
"line": 186,
"column": 42
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ max (Finset.fold max 0 (fun x ↦ 0) ({x ∈ p.support | ↑(x.choose n) * p.coeff x = 0}))\n (Finset.fold max 0 (fun x ↦ x - n) ({i ∈ p.support | ¬↑(i.choose n) * p.coeff i = 0})) ≤\n p.natDegree - n",
"ppTerm": "?m.55",
"assigned": true,
... | [
"R : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ max (if {x ∈ p.support | ↑(x.choose n) * p.coeff x = 0} = ∅ then 0 else max 0 0)\n (Finset.fold max 0 (fun x ↦ x - n) ({i ∈ p.support | ¬↑(i.choose n) * p.coeff i = 0})) ≤\n p.natDegree - n",
"case h\nR : Type u_1\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n... | Finset.fold_const | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.HasseDeriv | {
"line": 232,
"column": 8
} | {
"line": 232,
"column": 24
} | {
"line": 232,
"column": 24
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nk : ℕ\nD : ℕ → R[X] →+ R[X] := fun k ↦ (hasseDeriv k).toAddMonoidHom\nΦ : R[X] →+ R[X] →+ R[X] := mul\nm : ℕ\nr : R\nn : ℕ\ns : R\nx : ℕ × ℕ\nhx : x ∈ antidiagonal k\n⊢ (monomial (m - x.1 + (n - x.2))) (↑(m.choose x.1) * r * (↑(n.choose x.2) * s)) =\n (monomial (m +... | [
"R : Type u_1\ninst✝ : Semiring R\nk : ℕ\nD : ℕ → R[X] →+ R[X] := fun k ↦ (hasseDeriv k).toAddMonoidHom\nΦ : R[X] →+ R[X] →+ R[X] := mul\nm : ℕ\nr : R\nn : ℕ\ns : R\nx : ℕ × ℕ\nhx : x.1 + x.2 = k\n⊢ (monomial (m - x.1 + (n - x.2))) (↑(m.choose x.1) * r * (↑(n.choose x.2) * s)) =\n (monomial (m + n - k)) (↑(m.cho... | mem_antidiagonal | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.HasseDeriv | {
"line": 213,
"column": 91
} | {
"line": 245,
"column": 35
} | {
"line": 247,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nk : ℕ\nf g : R[X]\n⊢ (hasseDeriv k) (f * g) = ∑ ij ∈ antidiagonal k, (hasseDeriv ij.1) f * (hasseDeriv ij.2) g",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"LinearMap.toAddMonoidHom",
"Nat.cast_mul._simp_1",
"Eq.mpr",
"N... | [] | by
let D k := (@hasseDeriv R _ k).toAddMonoidHom
let Φ := @AddMonoidHom.mul R[X] _
change
(compHom (D k)).comp Φ f g =
∑ ij ∈ antidiagonal k, ((compHom.comp ((compHom Φ) (D ij.1))).flip (D ij.2) f) g
simp only [← finsetSum_apply]
congr 2
clear f g
ext m r n s : 4
simp only [Φ, D, finsetSum_app... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.TensorProduct.MvPolynomial | {
"line": 154,
"column": 56
} | {
"line": 155,
"column": 96
} | {
"line": 157,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝² : CommSemiring R\nσ : Type u_1\nι : Type u_2\nS : Type u_3\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\ni : ι\n⊢ (tensorEquivSum R σ ι S) (1 ⊗ₜ[R] X i) = X (Sum.inr i)",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Non... | [] | by
simp [tensorEquivSum, algebraTensorAlgEquiv, sumAlgEquiv, renameEquiv, rename, X, C, monomial] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Splits | {
"line": 651,
"column": 2
} | {
"line": 651,
"column": 30
} | {
"line": 653,
"column": 0
} | [
{
"pp": "case ha\nR : Type u_1\ninst✝ : Field R\nf : R[X]\nhf : f.Splits\nx : R\nhx : eval x f ≠ 0\nz : R\nhz : z ∈ f.roots\n⊢ x - z ≠ 0",
"ppTerm": "?ha",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.eval",
"False",
"AddMonoidAlgebra.semiring",
"Polynomia... | [] | aesop (add simp sub_eq_zero) | Aesop.evalAesop | Aesop.Frontend.Parser.aesopTactic |
Mathlib.RingTheory.Ideal.GoingUp | {
"line": 55,
"column": 4
} | {
"line": 55,
"column": 58
} | {
"line": 56,
"column": 4
} | [
{
"pp": "case refine_2\nR : Type u_1\ninst✝¹ : CommRing R\nS : Type u_2\ninst✝ : CommRing S\nf : R →+* S\nI : Ideal S\nr : S\nr_non_zero_divisor : ∀ {x : S}, x * r = 0 → x = 0\nhr : r ∈ I\np✝ p : R[X]\na : R\ncoeff_eq_zero : p.coeff 0 = 0\na_ne_zero : a ≠ 0\na✝¹ : p ≠ 0 → eval₂ f r p = 0 → ∃ i, p.coeff i ≠ 0 ∧ ... | [
"case refine_2\nR : Type u_1\ninst✝¹ : CommRing R\nS : Type u_2\ninst✝ : CommRing S\nf : R →+* S\nI : Ideal S\nr : S\nr_non_zero_divisor : ∀ {x : S}, x * r = 0 → x = 0\nhr : r ∈ I\np✝ p : R[X]\na : R\ncoeff_eq_zero : p.coeff 0 = 0\na_ne_zero : a ≠ 0\na✝¹ : p ≠ 0 → eval₂ f r p = 0 → ∃ i, p.coeff i ≠ 0 ∧ p.coeff i ∈ ... | refine ⟨0, ?_, coeff_zero_mem_comap_of_root_mem hr hp⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 75,
"column": 2
} | {
"line": 75,
"column": 26
} | {
"line": 76,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Finset S\n⊢ IsLocalization (Submonoid.comap (algebraMap (↥(adjoin R ↑σ)) S) (IsUnit.submonoid S)) S ↔\n ∀ (s : S), ∃ t ∈ adjoin R ↑σ, IsUnit t ∧ s * t ∈ adjoin R ↑σ",
"ppTerm": "?m.46",
"assigned":... | [
"case mp\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Finset S\nhσ : IsLocalization (Submonoid.comap (algebraMap (↥(adjoin R ↑σ)) S) (IsUnit.submonoid S)) S\n⊢ ∀ (s : S), ∃ t ∈ adjoin R ↑σ, IsUnit t ∧ s * t ∈ adjoin R ↑σ",
"case mpr\nR : Type u_1\nS : Type u_2\ni... | constructor <;> intro hσ | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 82,
"column": 6
} | {
"line": 82,
"column": 36
} | {
"line": 83,
"column": 6
} | [
{
"pp": "case surj\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Finset S\nhσ : ∀ (s : S), ∃ t ∈ adjoin R ↑σ, IsUnit t ∧ s * t ∈ adjoin R ↑σ\ns : S\n⊢ ∃ x, s * (algebraMap (↥(adjoin R ↑σ)) S) ↑x.2 = (algebraMap (↥(adjoin R ↑σ)) S) x.1",
"ppTerm": "?surj",
... | [
"case surj\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Finset S\nhσ : ∀ (s : S), ∃ t ∈ adjoin R ↑σ, IsUnit t ∧ s * t ∈ adjoin R ↑σ\ns t : S\nht : t ∈ adjoin R ↑σ\nht' : IsUnit t\nh : s * t ∈ adjoin R ↑σ\n⊢ ∃ x, s * (algebraMap (↥(adjoin R ↑σ)) S) ↑x.2 = (algebraMa... | obtain ⟨t, ht, ht', h⟩ := hσ s | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 120,
"column": 4
} | {
"line": 122,
"column": 77
} | {
"line": 123,
"column": 2
} | [
{
"pp": "case refine_1\nR : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : CommRing T\ninst✝³ : Algebra R S\ninst✝² : Algebra R T\ninst✝¹ : Algebra S T\ninst✝ : IsScalarTower R S T\nσ : Subalgebra R S\nhσ : ∀ (s : S), ∃ t ∈ σ, IsUnit t ∧ s * t ∈ σ\nτ : Set T\nt : T\nht ... | [] | intro t ht
exact ⟨1, Subalgebra.one_mem _, isUnit_one,
(one_smul S t).symm ▸ Algebra.mem_sup_right (Algebra.subset_adjoin ht)⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 120,
"column": 4
} | {
"line": 122,
"column": 77
} | {
"line": 123,
"column": 2
} | [
{
"pp": "case refine_1\nR : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : CommRing T\ninst✝³ : Algebra R S\ninst✝² : Algebra R T\ninst✝¹ : Algebra S T\ninst✝ : IsScalarTower R S T\nσ : Subalgebra R S\nhσ : ∀ (s : S), ∃ t ∈ σ, IsUnit t ∧ s * t ∈ σ\nτ : Set T\nt : T\nht ... | [] | intro t ht
exact ⟨1, Subalgebra.one_mem _, isUnit_one,
(one_smul S t).symm ▸ Algebra.mem_sup_right (Algebra.subset_adjoin ht)⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 70,
"column": 2
} | {
"line": 70,
"column": 21
} | {
"line": 71,
"column": 2
} | [
{
"pp": "K : Type u\nA : Type v\ninst✝² : Field K\ninst✝¹ : Ring A\ninst✝ : Algebra K A\nx : A\n⊢ IsAlgebraic K x → IsIntegral K x",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"AddMonoidAlgebra.semiring",
"IsAlgebraic",
"CommSemiring.toSemiring",
"AlgHom",
... | [
"K : Type u\nA : Type v\ninst✝² : Field K\ninst✝¹ : Ring A\ninst✝ : Algebra K A\nx : A\np : K[X]\nhp : p ≠ 0\nhpx : (aeval x) p = 0\n⊢ IsIntegral K x"
] | rintro ⟨p, hp, hpx⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro | Lean.Parser.Tactic.rintro |
Mathlib.RingTheory.Localization.Integral | {
"line": 256,
"column": 6
} | {
"line": 256,
"column": 23
} | {
"line": 256,
"column": 24
} | [
{
"pp": "case neg\nR : Type u_1\ninst✝³ : CommRing R\nM : Submonoid R\nRₘ : Type u_3\ninst✝² : CommRing Rₘ\ninst✝¹ : Algebra R Rₘ\ninst✝ : IsLocalization M Rₘ\np : Rₘ[X]\nhp : p.leadingCoeff ∈ (algebraMap R Rₘ).range\nn : ℕ\nh₁ : n ∈ p.support\nh₂ : ¬n = p.natDegree\nthis : n + 1 ≤ p.natDegree\n⊢ (algebraMap R ... | [
"case neg\nR : Type u_1\ninst✝³ : CommRing R\nM : Submonoid R\nRₘ : Type u_3\ninst✝² : CommRing Rₘ\ninst✝¹ : Algebra R Rₘ\ninst✝ : IsLocalization M Rₘ\np : Rₘ[X]\nhp : p.leadingCoeff ∈ (algebraMap R Rₘ).range\nn : ℕ\nh₁ : n ∈ p.support\nh₂ : ¬n = p.natDegree\nthis : n + 1 ≤ p.natDegree\n⊢ (algebraMap R Rₘ) ↑(common... | _root_.mul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 277,
"column": 2
} | {
"line": 283,
"column": 63
} | {
"line": 284,
"column": 2
} | [
{
"pp": "case pos\nR : Type u_1\nS : Type u_2\nA : Type u_3\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : Ring A\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra S A\ninst✝² : IsScalarTower R S A\ninst✝¹ : NoZeroDivisors S\ninst✝ : Algebra.IsAlgebraic R S\na : A\nh : IsAlgebraic S a\np✝ : S[X... | [
"case pos\nR : Type u_1\nS : Type u_2\nA : Type u_3\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : Ring A\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra S A\ninst✝² : IsScalarTower R S A\ninst✝¹ : NoZeroDivisors S\ninst✝ : Algebra.IsAlgebraic R S\na : A\nh : IsAlgebraic S a\np✝ : S[X]\nhp : p✝ ≠... | have : IsAlgebraic (integralClosure R S) a := by
refine ⟨p, ?_, ?_⟩
· simpa only [← Polynomial.map_ne_zero_iff (f := Subring.subtype _) (p := p)
Subtype.val_injective, p, map_toSubring, smul_ne_zero_iff] using And.intro hr hp
rw [← eval_map_algebraMap, Subalgebra.algebraMap_eq, ← map_map, ← Subalgeb... | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 446,
"column": 2
} | {
"line": 446,
"column": 56
} | {
"line": 448,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\ninst✝ : NoZeroDivisors R\ny z : S\nhy : y ∈ S⁰\nalg_y : IsAlgebraic R y\nalg_yz : IsAlgebraic R (y * z)\nt : S\nht : t ∈ R[y]\nr : R\nhr : r ≠ 0\neq : y * t = (algebraMap R S) r\nthis : IsAlgebraic R (r • z)\n⊢ ... | [] | exact this.of_smul (mem_nonZeroDivisors_of_ne_zero hr) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Localization.Integral | {
"line": 366,
"column": 15
} | {
"line": 366,
"column": 32
} | {
"line": 366,
"column": 33
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\nS : Type u_2\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nt s : S\nhst : s * t = 1\nht : IsIntegral (↥R[s]) t\na✝ : Nontrivial S\nφ : R[X] →ₐ[R] S := ⋯\nq : R[X][X]\nhqm : q.Monic\nhqt : eval₂ φ.toRingHom t q = 0\nN : ℕ := ⋯\nhN : ∀ (i : ℕ), (q.coeff i).natDegree ≤ N\nq... | [
"R : Type u_1\ninst✝² : CommRing R\nS : Type u_2\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nt s : S\nhst : s * t = 1\nht : IsIntegral (↥R[s]) t\na✝ : Nontrivial S\nφ : R[X] →ₐ[R] S := aeval s\nq : R[X][X]\nhqm : q.Monic\nhqt : eval₂ φ.toRingHom t q = 0\nN : ℕ := q.support.sup fun x ↦ (q.coeff x).natDegree\nhN : ∀ (... | mul_comm (t ^ _), | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.SurjectiveOnStalks | {
"line": 151,
"column": 72
} | {
"line": 151,
"column": 80
} | {
"line": 151,
"column": 81
} | [
{
"pp": "case add\nR : Type u_1\ninst✝⁴ : CommRing R\nS : Type u_2\ninst✝³ : CommRing S\nT : Type u_3\ninst✝² : CommRing T\ninst✝¹ : Algebra R T\ninst✝ : Algebra R S\nhf₂ : (algebraMap R T).SurjectiveOnStalks\nJ : Ideal T\nhJ : J.IsPrime\nx₁ x₂ : S ⊗[R] T\nt₁ : T\nr₁ : R\na₁ : S\nhr₁ : r₁ • t₁ ∉ J\ne₁ : 1 ⊗ₜ[R]... | [
"case add\nR : Type u_1\ninst✝⁴ : CommRing R\nS : Type u_2\ninst✝³ : CommRing S\nT : Type u_3\ninst✝² : CommRing T\ninst✝¹ : Algebra R T\ninst✝ : Algebra R S\nhf₂ : (algebraMap R T).SurjectiveOnStalks\nJ : Ideal T\nhJ : J.IsPrime\nx₁ x₂ : S ⊗[R] T\nt₁ : T\nr₁ : R\na₁ : S\nhr₁ : r₁ • t₁ ∉ J\ne₁ : 1 ⊗ₜ[R] (r₁ • t₁) *... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Ring.Idempotent | {
"line": 63,
"column": 39
} | {
"line": 63,
"column": 48
} | {
"line": 63,
"column": 49
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).1 * ((↑a).2 * (↑b).2) + (↑a).2 * (↑a).2 * 0 = 0",
"ppTerm": "?m.134",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"HMul.hMul",
... | [
"R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).1 * ((↑a).2 * (↑b).2) + 0 = 0"
] | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Order.Ring.Idempotent | {
"line": 66,
"column": 22
} | {
"line": 66,
"column": 30
} | {
"line": 66,
"column": 31
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).1 * ((↑a).1 + (↑a).2 * (↑b).1) = (↑a).1",
"ppTerm": "?m.146",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOn... | [
"R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).1 * (↑a).1 + (↑a).1 * ((↑a).2 * (↑b).1) = (↑a).1"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Order.Ring.Idempotent | {
"line": 69,
"column": 22
} | {
"line": 69,
"column": 30
} | {
"line": 69,
"column": 31
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑b).1 * ((↑a).1 + (↑a).2 * (↑b).1) = (↑b).1",
"ppTerm": "?m.153",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOn... | [
"R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑b).1 * (↑a).1 + (↑b).1 * ((↑a).2 * (↑b).1) = (↑b).1"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Order.Ring.Idempotent | {
"line": 82,
"column": 77
} | {
"line": 82,
"column": 85
} | {
"line": 83,
"column": 6
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b c : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).2 * (↑b).2 + ((↑a).1 * ((↑a).2 * (↑c).2) + (↑a).2 * (↑b).1 * ((↑a).2 * (↑c).2)) =\n (↑a).2 * ((↑b).2 + (↑b).1 * (↑c).2)",
"ppTerm": "?m.206",
"assigned": true,
"usedConstants": [
"Dis... | [
"R : Type u_1\ninst✝ : CommSemiring R\na✝ b✝ a b c : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }\n⊢ (↑a).2 * (↑b).2 + ((↑a).1 * ((↑a).2 * (↑c).2) + (↑a).2 * (↑b).1 * ((↑a).2 * (↑c).2)) =\n (↑a).2 * (↑b).2 + (↑a).2 * ((↑b).1 * (↑c).2)"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Order.Ring.Idempotent | {
"line": 133,
"column": 35
} | {
"line": 133,
"column": 43
} | {
"line": 133,
"column": 44
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\na b c : { x // IsIdempotentElem x }\n⊢ ↑a * (↑b + ↑c) - ↑a * (↑b * ↑c) = ↑a * ↑b + ↑a * ↑c - ↑a * ↑b * (↑a * ↑c)",
"ppTerm": "?m.120",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonUnitalCommRing.toNonUnita... | [
"R : Type u_1\ninst✝ : CommRing R\na b c : { x // IsIdempotentElem x }\n⊢ ↑a * ↑b + ↑a * ↑c - ↑a * (↑b * ↑c) = ↑a * ↑b + ↑a * ↑c - ↑a * ↑b * (↑a * ↑c)"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.Ideal.MinimalPrime.Localization | {
"line": 74,
"column": 2
} | {
"line": 74,
"column": 84
} | {
"line": 75,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\nI p : Ideal R\nhp : p ∈ I.minimalPrimes\nx : R\nhx : x ∈ p\n⊢ ∃ y ∉ I, x * y ∈ I",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Semiring.toModule",
"HMul.hMul",
"ChainCompletePartialOrder.instOfCompleteLattice",
"Idea... | [
"R : Type u_1\ninst✝ : CommSemiring R\nI p : Ideal R\nhp : p ∈ I.minimalPrimes\nx : R\nhx✝ : x ∈ p\ny : R\nhy : y ∉ I.radical\nn : ℕ\nhx : (x * y) ^ n ∈ I\n⊢ ∃ y ∉ I, x * y ∈ I"
] | obtain ⟨y, hy, n, hx⟩ := Ideal.iUnion_minimalPrimes.subset (Set.mem_biUnion hp hx) | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Order.Ideal | {
"line": 373,
"column": 8
} | {
"line": 373,
"column": 43
} | {
"line": 374,
"column": 8
} | [
{
"pp": "P : Type u_1\ninst✝¹ : SemilatticeSup P\ninst✝ : IsCodirectedOrder P\nx : P\nI✝ J✝ s t I J : Ideal P\n⊢ {x | ∃ i ∈ I, ∃ j ∈ J, x ≤ i ⊔ j}.Nonempty",
"ppTerm": "?m.317",
"assigned": true,
"usedConstants": [
"Set.ofPred",
"PartialOrder.toPreorder",
"Preorder.toLE",
"Me... | [
"P : Type u_1\ninst✝¹ : SemilatticeSup P\ninst✝ : IsCodirectedOrder P\nx : P\nI✝ J✝ s t I J : Ideal P\nw : P\nh : w ∈ ↑I ∩ ↑J\n⊢ {x | ∃ i ∈ I, ∃ j ∈ J, x ≤ i ⊔ j}.Nonempty"
] | obtain ⟨w, h⟩ := inter_nonempty I J | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Topology.QuasiSeparated | {
"line": 164,
"column": 4
} | {
"line": 164,
"column": 76
} | {
"line": 166,
"column": 0
} | [
{
"pp": "case insert.inr\nα✝ : Type u_1\ninst✝² : TopologicalSpace α✝\nα : Type u_1\ninst✝¹ : TopologicalSpace α\ninst✝ : QuasiSeparatedSpace α\ns✝ : Set (Set α)\na✝ : Set α\ns : Set (Set α)\nha : a✝ ∉ s\nhs : s.Finite\nih :\n (∀ t ∈ s, IsOpen[inst✝¹] t ∨ IsClosed[inst✝¹] t) →\n (∀ t ∈ s, IsCompact t) → (∀ ... | [] | · grind [IsCompact.inter_of_isOpen, hs.isOpen_sInter, Set.sInter_insert] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Topology.Sets.Compacts | {
"line": 753,
"column": 2
} | {
"line": 755,
"column": 53
} | {
"line": 757,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝⁴ : TopologicalSpace α\ninst✝³ : TopologicalSpace β\ninst✝² : TopologicalSpace γ\ninst✝¹ : WeaklyLocallyCompactSpace α\ninst✝ : Nonempty α\n⊢ Nonempty (PositiveCompacts α)",
"ppTerm": "?m.3",
"assigned": true,
"usedConstants": [
"Filter.i... | [] | inhabit α
rcases exists_compact_mem_nhds (default : α) with ⟨K, hKc, hK⟩
exact ⟨⟨K, hKc⟩, _, mem_interior_iff_mem_nhds.2 hK⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Sets.Compacts | {
"line": 753,
"column": 2
} | {
"line": 755,
"column": 53
} | {
"line": 757,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝⁴ : TopologicalSpace α\ninst✝³ : TopologicalSpace β\ninst✝² : TopologicalSpace γ\ninst✝¹ : WeaklyLocallyCompactSpace α\ninst✝ : Nonempty α\n⊢ Nonempty (PositiveCompacts α)",
"ppTerm": "?m.3",
"assigned": true,
"usedConstants": [
"Filter.i... | [] | inhabit α
rcases exists_compact_mem_nhds (default : α) with ⟨K, hKc, hK⟩
exact ⟨⟨K, hKc⟩, _, mem_interior_iff_mem_nhds.2 hK⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Topology.KrullDimension | {
"line": 122,
"column": 5
} | {
"line": 122,
"column": 22
} | {
"line": 122,
"column": 22
} | [
{
"pp": "X : Type u_1\ninst✝² : TopologicalSpace X\ninst✝¹ : QuasiSober X\ninst✝ : IrreducibleSpace X\np : Set X\nhp : closure[inst✝²] p ≠ univ\nhsm : StrictMono fun n ↦ WithTop.recTopCoe (genericPoint X) Subtype.val n\nx : X\nhx : x ∈ p\nkx : coheight x = 1\n⊢ coheight (WithTop.recTopCoe (genericPoint X) Subty... | [] | by simpa using kx | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Topology.Constructible | {
"line": 275,
"column": 2
} | {
"line": 290,
"column": 84
} | {
"line": 292,
"column": 0
} | [
{
"pp": "X : Type u_2\nY : Type u_3\ninst✝¹ : TopologicalSpace X\ninst✝ : TopologicalSpace Y\nf : X → Y\ns : Set X\nhf : IsClosedEmbedding f\nhfcomp : IsRetrocompact (range f)ᶜ\nhs : IsConstructible s\n⊢ IsConstructible (f '' s)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Topolo... | [] | induction hs using IsConstructible.empty_union_induction with
| open_retrocompact U hUopen hUcomp =>
have hfU : IsOpen (f '' U ∪ (range f)ᶜ) := by
simpa [← range_sdiff_image hf.injective, sdiff_eq, compl_inter, union_comm]
using (hf.isClosedMap _ hUopen.isClosed_compl).isOpen_compl
suffices h : ... | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Topology.Constructible | {
"line": 275,
"column": 2
} | {
"line": 290,
"column": 84
} | {
"line": 292,
"column": 0
} | [
{
"pp": "X : Type u_2\nY : Type u_3\ninst✝¹ : TopologicalSpace X\ninst✝ : TopologicalSpace Y\nf : X → Y\ns : Set X\nhf : IsClosedEmbedding f\nhfcomp : IsRetrocompact (range f)ᶜ\nhs : IsConstructible s\n⊢ IsConstructible (f '' s)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Topolo... | [] | induction hs using IsConstructible.empty_union_induction with
| open_retrocompact U hUopen hUcomp =>
have hfU : IsOpen (f '' U ∪ (range f)ᶜ) := by
simpa [← range_sdiff_image hf.injective, sdiff_eq, compl_inter, union_comm]
using (hf.isClosedMap _ hUopen.isClosed_compl).isOpen_compl
suffices h : ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Constructible | {
"line": 275,
"column": 2
} | {
"line": 290,
"column": 84
} | {
"line": 292,
"column": 0
} | [
{
"pp": "X : Type u_2\nY : Type u_3\ninst✝¹ : TopologicalSpace X\ninst✝ : TopologicalSpace Y\nf : X → Y\ns : Set X\nhf : IsClosedEmbedding f\nhfcomp : IsRetrocompact (range f)ᶜ\nhs : IsConstructible s\n⊢ IsConstructible (f '' s)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Topolo... | [] | induction hs using IsConstructible.empty_union_induction with
| open_retrocompact U hUopen hUcomp =>
have hfU : IsOpen (f '' U ∪ (range f)ᶜ) := by
simpa [← range_sdiff_image hf.injective, sdiff_eq, compl_inter, union_comm]
using (hf.isClosedMap _ hUopen.isClosed_compl).isOpen_compl
suffices h : ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Topology.Constructible | {
"line": 482,
"column": 4
} | {
"line": 483,
"column": 37
} | {
"line": 484,
"column": 2
} | [
{
"pp": "case a\nX : Type u_2\ninst✝² : TopologicalSpace X\ns t : Set X\ninst✝¹ : PrespectralSpace X\ninst✝ : QuasiSeparatedSpace X\nhs : IsLocallyConstructible s\nhst : s ⊆ t\nht : IsCompact t\nU : X → Set X\nhU : ∀ (x : X), IsOpen[inst✝²] (U x)\nhU' : ∀ (x : X), IsCompact (U x)\nhxU : ∀ (x : X), x ∈ U x\nhUs ... | [] | rw [← Set.iUnion₂_inter, Set.subset_inter_iff]
exact ⟨hst.trans htσ, subset_rfl⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Constructible | {
"line": 482,
"column": 4
} | {
"line": 483,
"column": 37
} | {
"line": 484,
"column": 2
} | [
{
"pp": "case a\nX : Type u_2\ninst✝² : TopologicalSpace X\ns t : Set X\ninst✝¹ : PrespectralSpace X\ninst✝ : QuasiSeparatedSpace X\nhs : IsLocallyConstructible s\nhst : s ⊆ t\nht : IsCompact t\nU : X → Set X\nhU : ∀ (x : X), IsOpen[inst✝²] (U x)\nhU' : ∀ (x : X), IsCompact (U x)\nhxU : ∀ (x : X), x ∈ U x\nhUs ... | [] | rw [← Set.iUnion₂_inter, Set.subset_inter_iff]
exact ⟨hst.trans htσ, subset_rfl⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.Submodule | {
"line": 139,
"column": 4
} | {
"line": 139,
"column": 76
} | {
"line": 140,
"column": 4
} | [
{
"pp": "case mp.refine_2\nR : Type u_1\ninst✝⁷ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁶ : CommSemiring S\ninst✝⁵ : Algebra R S\ninst✝⁴ : IsLocalization M S\nN : Type u_3\ninst✝³ : AddCommMonoid N\ninst✝² : Module R N\ninst✝¹ : Module S N\ninst✝ : IsScalarTower R S N\nx : N\na : Set N\nh : x ∈ Su... | [
"case mp.refine_3\nR : Type u_1\ninst✝⁷ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁶ : CommSemiring S\ninst✝⁵ : Algebra R S\ninst✝⁴ : IsLocalization M S\nN : Type u_3\ninst✝³ : AddCommMonoid N\ninst✝² : Module R N\ninst✝¹ : Module S N\ninst✝ : IsScalarTower R S N\nx : N\na : Set N\nh : x ∈ Submodule.span... | · exact ⟨0, Submodule.zero_mem _, 1, by rw [mk'_one, map_one, one_smul]⟩ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Spectrum.Prime.Topology | {
"line": 607,
"column": 2
} | {
"line": 607,
"column": 44
} | {
"line": 609,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝ : CommSemiring R\nf : R\n⊢ IsCompact (Set.range (comap (algebraMap R (Localization (Submonoid.powers f)))))",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Algebra.algebraMap",
"OreLocalization.instAlgebra",
"CommSemiring.toSemiring",
"Al... | [] | exact isCompact_range (continuous_comap _) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.GroupTheory.PGroup | {
"line": 76,
"column": 2
} | {
"line": 77,
"column": 63
} | {
"line": 79,
"column": 0
} | [
{
"pp": "p : ℕ\nG : Type u_1\ninst✝ : Group G\nn : ℕ\nhG : Nat.card G ∣ p ^ n\n⊢ IsPGroup p G",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"instTransOfIsTrans",
"Dvd.dvd",
"instIsTransDvd",
"InvOneClass.toOne",
"DivInvOn... | [] | refine fun g ↦ ⟨n, ?_⟩
grw [← orderOf_dvd_iff_pow_eq_one, ← hG, orderOf_dvd_natCard] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.PGroup | {
"line": 76,
"column": 2
} | {
"line": 77,
"column": 63
} | {
"line": 79,
"column": 0
} | [
{
"pp": "p : ℕ\nG : Type u_1\ninst✝ : Group G\nn : ℕ\nhG : Nat.card G ∣ p ^ n\n⊢ IsPGroup p G",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"instTransOfIsTrans",
"Dvd.dvd",
"instIsTransDvd",
"InvOneClass.toOne",
"DivInvOn... | [] | refine fun g ↦ ⟨n, ?_⟩
grw [← orderOf_dvd_iff_pow_eq_one, ← hG, orderOf_dvd_natCard] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Spectrum.Prime.Topology | {
"line": 1266,
"column": 2
} | {
"line": 1266,
"column": 87
} | {
"line": 1267,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommSemiring R\n⊢ zeroLocus ∘ SetLike.coe '' minimalPrimes R = irreducibleComponents (PrimeSpectrum R)",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"irreducibleComponents",
"Semiring.toModule",
"PrimeSpectrum.zeroLocus",
... | [
"R : Type u\ninst✝ : CommSemiring R\n⊢ Set.EqOn ((zeroLocus ∘ SetLike.coe) ∘ vanishingIdeal) id (irreducibleComponents (PrimeSpectrum R))"
] | rw [← vanishingIdeal_irreducibleComponents, ← Set.image_comp, Set.EqOn.image_eq_self] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Spectrum.Prime.Topology | {
"line": 1346,
"column": 67
} | {
"line": 1348,
"column": 16
} | {
"line": 1350,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝¹ : CommSemiring R\ninst✝ : IsLocalRing R\n⊢ IsClosed {closedPoint R}",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"PrimeSpectrum.mk",
"IsLocalRing.closedPoint._proof_1",
"congrArg",
"CommSemiring.toSemiring",
"IsLoc... | [] | by
rw [PrimeSpectrum.isClosed_singleton_iff_isMaximal, closedPoint]
infer_instance | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Rank | {
"line": 57,
"column": 2
} | {
"line": 57,
"column": 35
} | {
"line": 58,
"column": 2
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : FG G\nh : rank G = 0\ns : Finset G\nhs : s.card = rank G\nhs' : Subgroup.closure ↑s = ⊤\n⊢ Subsingleton G",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Subgroup.closure",
"congrArg",
"Finset",
"Eq.mp",
"Subgr... | [
"G : Type u_1\ninst✝¹ : Group G\ninst✝ : FG G\nh : rank G = 0\ns : Finset G\nhs : s = ∅\nhs' : Subgroup.closure ↑s = ⊤\n⊢ Subsingleton G"
] | rw [h, Finset.card_eq_zero] at hs | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.SpecificGroups.Cyclic | {
"line": 196,
"column": 68
} | {
"line": 196,
"column": 87
} | {
"line": 196,
"column": 87
} | [
{
"pp": "G : Type u_2\nG' : Type u_3\ninst✝² : Group G\ninst✝¹ : Group G'\ninst✝ : IsCyclic G'\nf : G →* G'\nhf : f.ker ≤ center G\na b : G\nx : G'\ny : G\nhxy : f y = x\nhx : ∀ (a : ↥f.range), a ∈ zpowers ⟨x, ⋯⟩\nm : ℤ\nhm✝ : (fun x_1 ↦ ⟨x, ⋯⟩ ^ x_1) m = ⟨f a, ⋯⟩\nn : ℤ\nhn✝ : (fun x_1 ↦ ⟨x, ⋯⟩ ^ x_1) n = ⟨f b... | [
"G : Type u_2\nG' : Type u_3\ninst✝² : Group G\ninst✝¹ : Group G'\ninst✝ : IsCyclic G'\nf : G →* G'\nhf : f.ker ≤ center G\na b : G\nx : G'\ny : G\nhxy : f y = x\nhx : ∀ (a : ↥f.range), a ∈ zpowers ⟨x, ⋯⟩\nm : ℤ\nhm✝ : (fun x_1 ↦ ⟨x, ⋯⟩ ^ x_1) m = ⟨f a, ⋯⟩\nn : ℤ\nhn✝ : (fun x_1 ↦ ⟨x, ⋯⟩ ^ x_1) n = ⟨f b, ⋯⟩\nhm : x... | mem_center_iff.1 ha | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.SpecificGroups.Cyclic | {
"line": 729,
"column": 2
} | {
"line": 729,
"column": 63
} | {
"line": 730,
"column": 2
} | [
{
"pp": "G : Type u_2\ninst✝¹ : Group G\ninst✝ : Finite G\nh : IsCyclic G\n⊢ Nat.card (MulAut G) = (Nat.card G).totient",
"ppTerm": "?m.4",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"InvOneClass.toOne",
"ZMod.commRing",
"DivInvOneMonoid.toInvOneClass",
"Monoid.toMu... | [
"G : Type u_2\ninst✝¹ : Group G\ninst✝ : Finite G\nh : IsCyclic G\n⊢ Nat.card (MulAut G) = Nat.card (ZMod (Nat.card G))ˣ"
] | rw [← ZMod.card_units_eq_totient, ← Nat.card_eq_fintype_card] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Module.Torsion.Basic | {
"line": 96,
"column": 70
} | {
"line": 99,
"column": 25
} | {
"line": 101,
"column": 0
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nm : M\n⊢ torsionOf R M m = ⊤ ↔ m = 0",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"MulOne.toOne",
"instHSM... | [] | by
refine ⟨fun h => ?_, fun h => by simp [h]⟩
rw [← one_smul R m, ← mem_torsionOf_iff m (1 : R), h]
exact Submodule.mem_top | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Module.AEval | {
"line": 89,
"column": 32
} | {
"line": 89,
"column": 43
} | {
"line": 89,
"column": 44
} | [
{
"pp": "R : Type u_1\nA : Type u_3\nM : Type u_2\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\na : A\ninst✝⁴ : Algebra R A\ninst✝³ : AddCommMonoid M\ninst✝² : Module A M\ninst✝¹ : Module R M\ninst✝ : IsScalarTower R A M\nr : R\nf : R[X]\nm : AEval R M a\n⊢ (r • (aeval a) f) • (of R M a).symm m = (of R M a).sy... | [
"R : Type u_1\nA : Type u_3\nM : Type u_2\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\na : A\ninst✝⁴ : Algebra R A\ninst✝³ : AddCommMonoid M\ninst✝² : Module A M\ninst✝¹ : Module R M\ninst✝ : IsScalarTower R A M\nr : R\nf : R[X]\nm : AEval R M a\n⊢ r • (aeval a) f • (of R M a).symm m = (of R M a).symm (r • f • m)... | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Module.Basic | {
"line": 217,
"column": 2
} | {
"line": 217,
"column": 13
} | {
"line": 218,
"column": 4
} | [
{
"pp": "case single\nR : Type u_2\nM : Type u_3\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\ni : ℕ\nr : R\nn n✝ : ℕ\nm✝ : M\n⊢ ((monomial i) r • single R n✝ m✝).coeff n = if i ≤ n then r • (single R n✝ m✝).coeff (n - i) else 0",
"ppTerm": "?single",
"assigned": true,
"usedCons... | [] | | single => | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.GroupTheory.Sylow | {
"line": 859,
"column": 37
} | {
"line": 859,
"column": 48
} | {
"line": 859,
"column": 49
} | [
{
"pp": "G : Type u\ninst✝¹ : Group G\ninst✝ : Fintype G\np k : ℕ\nhp : Nat.Prime p\nh : p ^ k ∣ Nat.card G\nthis✝ : Fact (Nat.Prime p)\nH : Subgroup G\nhH : Nat.card ↥H = p ^ k\nthis : ∀ g ∈ (↑H \\ {1}).toFinset, p ∣ orderOf g\n⊢ p ^ k ∣ ∏ i ∈ (↑H \\ {1}).toFinset, p",
"ppTerm": "?m.183",
"assigned": t... | [
"G : Type u\ninst✝¹ : Group G\ninst✝ : Fintype G\np k : ℕ\nhp : Nat.Prime p\nh : p ^ k ∣ Nat.card G\nthis✝ : Fact (Nat.Prime p)\nH : Subgroup G\nhH : Nat.card ↥H = p ^ k\nthis : ∀ g ∈ (↑H \\ {1}).toFinset, p ∣ orderOf g\n⊢ p ^ k ∣ p ^ #(↑H \\ {1}).toFinset"
] | prod_const, | Mathlib.Tactic.GRewrite.evalGRewriteSeq | null |
Mathlib.GroupTheory.Sylow | {
"line": 883,
"column": 41
} | {
"line": 885,
"column": 40
} | {
"line": 887,
"column": 0
} | [
{
"pp": "G : Type u\ninst✝² : Group G\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : Finite (Sylow p G)\nP : Sylow p G\nh : (↑P).Normal\n⊢ (↑P).Characteristic",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Sylow",
"Unique",
"Sylow.characteristic_of_subsingleton",
"Un... | [] | by
have _ := unique_of_normal P h
exact characteristic_of_subsingleton _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.Torsion.Basic | {
"line": 941,
"column": 2
} | {
"line": 941,
"column": 39
} | {
"line": 942,
"column": 2
} | [
{
"pp": "M : Type u_2\ninst✝ : AddCommMonoid M\n⊢ IsAddTorsion M ↔ IsTorsion ℕ M",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"IsAddTorsion",
"Nat",
"Iff.intro",
"Module.IsTorsion",
"Nat.instSemiring",
"AddCommMonoid.toNatModule",
"AddCommMonoid.... | [
"case refine_1\nM : Type u_2\ninst✝ : AddCommMonoid M\nh : IsAddTorsion M\nx : M\n⊢ ∃ a, a • x = 0",
"case refine_2\nM : Type u_2\ninst✝ : AddCommMonoid M\nh : IsTorsion ℕ M\nx : M\n⊢ IsOfFinAddOrder x"
] | refine ⟨fun h x => ?_, fun h x => ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Module.Torsion.Basic | {
"line": 953,
"column": 2
} | {
"line": 953,
"column": 39
} | {
"line": 954,
"column": 2
} | [
{
"pp": "M : Type u_2\ninst✝ : AddCommGroup M\n⊢ IsAddTorsion M ↔ IsTorsion ℤ M",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"AddCommGroup.toAddCommMonoid",
"AddCommGroup.toAddGroup",
"Int",
"AddGroup.toSubNegMonoid",
"IsAddTorsion",
"Iff.intro",
... | [
"case refine_1\nM : Type u_2\ninst✝ : AddCommGroup M\nh : IsAddTorsion M\nx : M\n⊢ ∃ a, a • x = 0",
"case refine_2\nM : Type u_2\ninst✝ : AddCommGroup M\nh : IsTorsion ℤ M\nx : M\n⊢ IsOfFinAddOrder x"
] | refine ⟨fun h x => ?_, fun h x => ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.Finiteness.Nakayama | {
"line": 65,
"column": 6
} | {
"line": 65,
"column": 29
} | {
"line": 66,
"column": 4
} | [
{
"pp": "case h.left\nR : Type u_1\ninst✝² : CommRing R\nM : Type u_2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nI : Ideal R\nN : Submodule R M\ns✝ : Set M\ni : M\ns : Set M\na✝ : i ∉ s\nhs✝ : s.Finite\nih :\n (∃ r, r - 1 ∈ I ∧ N ≤ comap ((LinearMap.lsmul R M) r) (I • span R s) ∧ s ⊆ ↑N) → ∃ r, r - 1 ∈ I ∧ ... | [] | exact I.sub_mem hr1 hci | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Ideal.Cotangent | {
"line": 63,
"column": 94
} | {
"line": 65,
"column": 29
} | {
"line": 67,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nI : Ideal R\nx y : ↥I\n⊢ I.toCotangent x = I.toCotangent y ↔ ↑x - ↑y ∈ I ^ 2",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Eq.mpr",
"Semiring.toModule",
"Ideal.mem_toCotangent_ker",
"A... | [] | by
rw [← sub_eq_zero]
exact I.mem_toCotangent_ker | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Ideal.Cotangent | {
"line": 140,
"column": 2
} | {
"line": 140,
"column": 69
} | {
"line": 141,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nI : Ideal R\n⊢ I.cotangentToQuotientSquare.range = (I.cotangentToQuotientSquare ∘ₗ I.toCotangent).range",
"ppTerm": "?m.73",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"RingHomSurjective.ids",
"Submodule.Quotient.addCo... | [
"R : Type u\ninst✝ : CommRing R\nI : Ideal R\n⊢ (I.cotangentToQuotientSquare ∘ₗ I.toCotangent).range = Submodule.restrictScalars R I.cotangentIdeal"
] | · rw [LinearMap.range_comp, I.toCotangent_range, Submodule.map_top] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Filtration | {
"line": 354,
"column": 66
} | {
"line": 354,
"column": 79
} | {
"line": 354,
"column": 79
} | [
{
"pp": "case mpr\nR : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nI : Ideal R\nF : I.Filtration M\nhF' : ∀ (i : ℕ), (F.N i).FG\nn : ℕ\nhn : F.submodule = Submodule.span (↥(reesAlgebra I)) (⋃ i, ⋃ (_ : i ≤ n), single R i '' ↑(F.N i))\n⊢ (⨆ i ∈ Finset.range n.succ, S... | [
"case mpr\nR : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nI : Ideal R\nF : I.Filtration M\nhF' : ∀ (i : ℕ), (F.N i).FG\nn : ℕ\nhn : F.submodule = Submodule.span (↥(reesAlgebra I)) (⋃ i, ⋃ (_ : i ≤ n), single R i '' ↑(F.N i))\n⊢ (⨆ x, Submodule.span (↥(reesAlgebra I)) (... | iSup_subtype' | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.Ideal.Cotangent | {
"line": 364,
"column": 6
} | {
"line": 364,
"column": 35
} | {
"line": 365,
"column": 6
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsLocalRing R\nfg : (maximalIdeal R).FG\ns : Set (CotangentSpace R)\nhs_card : Cardinal.mk ↑s = ⊤.spanRank\nhs_span : Submodule.span (ResidueField R) s = ⊤\n⊢ Submodule.span R s = ⊤",
"ppTerm": "?m.295",
"assigned": true,
"usedConstants": [
"... | [
"R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsLocalRing R\nfg : (maximalIdeal R).FG\ns : Set (CotangentSpace R)\nhs_card : Cardinal.mk ↑s = ⊤.spanRank\nhs_span : Submodule.span (ResidueField R) s = ⊤\n⊢ Submodule.span R s = ⊤"
] | change Submodule.span R s = ⊤ | Lean.Elab.Tactic.evalChange | Lean.Parser.Tactic.change |
Mathlib.RingTheory.Kaehler.Basic | {
"line": 92,
"column": 8
} | {
"line": 92,
"column": 16
} | {
"line": 92,
"column": 17
} | [
{
"pp": "case refine_1.refine_2\nR : Type u\nS : Type v\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nM : Type u_1\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : Module S M\ninst✝ : IsScalarTower R S M\nD : Derivation R S M\nx y : S ⊗[R] S\nx₁✝ x₂ : S\nx₁ y₁ : S ⊗[R] S\nh₁ :\n D.ten... | [
"case refine_1.refine_2\nR : Type u\nS : Type v\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nM : Type u_1\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : Module S M\ninst✝ : IsScalarTower R S M\nD : Derivation R S M\nx y : S ⊗[R] S\nx₁✝ x₂ : S\nx₁ y₁ : S ⊗[R] S\nh₁ :\n D.tensorProductTo... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Kaehler.Basic | {
"line": 537,
"column": 66
} | {
"line": 537,
"column": 96
} | {
"line": 538,
"column": 4
} | [
{
"pp": "R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nr : R\nx y : S\nthis : SMulZeroClass R S := inferInstance\n⊢ ((y * (algebraMap R S) r)𝖣x) = r • y𝖣x",
"ppTerm": "?m.79",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finsupp.smulZeroClass... | [
"R : Type u\nS : Type v\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nr : R\nx y : S\nthis : SMulZeroClass R S := inferInstance\n⊢ ((y * (algebraMap R S) r)𝖣x) = (kerTotal R S).mkQ (r • single x y)"
] | ← LinearMap.map_smul_of_tower, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.HomologicalComplex | {
"line": 91,
"column": 2
} | {
"line": 91,
"column": 65
} | {
"line": 92,
"column": 2
} | [
{
"pp": "case pos\nι : Type u_1\nV : Type u\ninst✝¹ : Category.{v, u} V\ninst✝ : HasZeroMorphisms V\nc : ComplexShape ι\nX₁ : ι → V\nd₁ : (i j : ι) → X₁ i ⟶ X₁ j\ns₁ : ∀ (i j : ι), ¬c.Rel i j → d₁ i j = 0\nh₁ : ∀ (i j k : ι), c.Rel i j → c.Rel j k → d₁ i j ≫ d₁ j k = 0\nd₂ : (i j : ι) → X₁ i ⟶ X₁ j\ns₂ : ∀ (i j... | [
"case neg\nι : Type u_1\nV : Type u\ninst✝¹ : Category.{v, u} V\ninst✝ : HasZeroMorphisms V\nc : ComplexShape ι\nX₁ : ι → V\nd₁ : (i j : ι) → X₁ i ⟶ X₁ j\ns₁ : ∀ (i j : ι), ¬c.Rel i j → d₁ i j = 0\nh₁ : ∀ (i j k : ι), c.Rel i j → c.Rel j k → d₁ i j ≫ d₁ j k = 0\nd₂ : (i j : ι) → X₁ i ⟶ X₁ j\ns₂ : ∀ (i j : ι), ¬c.Re... | · simpa only [comp_id, id_comp, eqToHom_refl] using h_d i j hij | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Algebra.Homology.HomologicalComplex | {
"line": 380,
"column": 69
} | {
"line": 382,
"column": 35
} | {
"line": 384,
"column": 0
} | [
{
"pp": "ι : Type u_1\nV : Type u\ninst✝¹ : Category.{v, u} V\ninst✝ : HasZeroMorphisms V\nc : ComplexShape ι\nC : HomologicalComplex V c\ni j j' : ι\nrij : c.Rel i j\nrij' : c.Rel i j'\n⊢ C.d i j' ≫ eqToHom ⋯ = C.d i j",
"ppTerm": "?m.47",
"assigned": true,
"usedConstants": [
"CategoryTheory.... | [] | by
obtain rfl := c.next_eq rij rij'
simp only [eqToHom_refl, comp_id] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Homology.HomologicalComplexLimits | {
"line": 46,
"column": 31
} | {
"line": 46,
"column": 50
} | {
"line": 46,
"column": 51
} | [
{
"pp": "C : Type u_1\nι : Type u_2\nJ : Type u_3\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_2, u_3} J\nc : ComplexShape ι\ninst✝ : HasZeroMorphisms C\nF : J ⥤ HomologicalComplex C c\ns : Cone F\nhs : (i : ι) → IsLimit ((eval C c i).mapCone s)\nt : Cone F\ni i' : ι\nx✝ : c.Rel i i'\nj : J\neq : ∀ (k ... | [
"C : Type u_1\nι : Type u_2\nJ : Type u_3\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_2, u_3} J\nc : ComplexShape ι\ninst✝ : HasZeroMorphisms C\nF : J ⥤ HomologicalComplex C c\ns : Cone F\nhs : (i : ι) → IsLimit ((eval C c i).mapCone s)\nt : Cone F\ni i' : ι\nx✝ : c.Rel i i'\nj : J\neq : ∀ (k : ι) (j : J)... | reassoc_of% (eq i), | Lean.Elab.Tactic.evalRewriteSeq | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.