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.CategoryTheory.Abelian.Refinements | {
"line": 192,
"column": 11
} | {
"line": 192,
"column": 71
} | {
"line": 192,
"column": 71
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Abelian C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : Mono (homologyMap φ)\nA : C\nx₂ : A ⟶ S₁.X₂\nhx₂ : x₂ ≫ S₁.g = 0\ny₁ : A ⟶ S₂.X₁\nfac : x₂ ≫ φ.τ₂ = y₁ ≫ S₂.f\nthis : S₁.liftCycles x₂ hx₂ ≫ S₁.homologyπ = 0\n⊢ ∃ A' π, ∃ (_ : Epi π), ∃ x₁, π ≫ x₂ ... | [
"C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Abelian C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : Mono (homologyMap φ)\nA : C\nx₂ : A ⟶ S₁.X₂\nhx₂ : x₂ ≫ S₁.g = 0\ny₁ : A ⟶ S₂.X₁\nfac : x₂ ≫ φ.τ₂ = y₁ ≫ S₂.f\nthis : S₁.liftCycles x₂ hx₂ ≫ S₁.homologyπ = 0\n⊢ S₁.liftCycles x₂ ?hx₂ ≫ S₁.homologyπ = 0",
"ca... | ← S₁.liftCycles_comp_homologyπ_eq_zero_iff_up_to_refinements | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Limits.Shapes.ConcreteCategory | {
"line": 306,
"column": 6
} | {
"line": 306,
"column": 47
} | {
"line": 307,
"column": 6
} | [
{
"pp": "case right\nC : Type u\ninst✝² : Category.{v, u} C\nFC : C → C → Type u_1\nCC : C → Type s\ninst✝¹ : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)\ninst✝ : ConcreteCategory C FC\nJ : MulticospanShape\nI : MulticospanIndex J C\nx : ↑(I.multicospan ⋙ forget C).sections\nb : J.R\n⊢ ↑((fun x ↦\n ⟨f... | [
"case right\nC : Type u\ninst✝² : Category.{v, u} C\nFC : C → C → Type u_1\nCC : C → Type s\ninst✝¹ : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)\ninst✝ : ConcreteCategory C FC\nJ : MulticospanShape\nI : MulticospanIndex J C\nx : ↑(I.multicospan ⋙ forget C).sections\nb : J.R\n⊢ ↑((fun x ↦\n ⟨fun j ↦\n ... | rw [← x.2 (WalkingMulticospan.Hom.fst b)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Category.ModuleCat.Biproducts | {
"line": 183,
"column": 8
} | {
"line": 183,
"column": 22
} | {
"line": 183,
"column": 22
} | [
{
"pp": "R : Type u\nA : Type uA\nM : Type uM\nB : Type uB\ninst✝⁶ : Ring R\ninst✝⁵ : AddCommGroup A\ninst✝⁴ : AddCommGroup B\ninst✝³ : AddCommGroup M\ninst✝² : Module R A\ninst✝¹ : Module R B\ninst✝ : Module R M\nj : A →ₗ[R] M\ng : M →ₗ[R] B\nf : B →ₗ[R] M\nhj : Function.Injective ⇑j\nexac : j.range = g.ker\nh... | [] | simpa using hj | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Algebra.Category.ModuleCat.Biproducts | {
"line": 183,
"column": 8
} | {
"line": 183,
"column": 22
} | {
"line": 183,
"column": 22
} | [
{
"pp": "R : Type u\nA : Type uA\nM : Type uM\nB : Type uB\ninst✝⁶ : Ring R\ninst✝⁵ : AddCommGroup A\ninst✝⁴ : AddCommGroup B\ninst✝³ : AddCommGroup M\ninst✝² : Module R A\ninst✝¹ : Module R B\ninst✝ : Module R M\nj : A →ₗ[R] M\ng : M →ₗ[R] B\nf : B →ₗ[R] M\nhj : Function.Injective ⇑j\nexac : j.range = g.ker\nh... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Category.ModuleCat.Biproducts | {
"line": 183,
"column": 8
} | {
"line": 183,
"column": 22
} | {
"line": 183,
"column": 22
} | [
{
"pp": "R : Type u\nA : Type uA\nM : Type uM\nB : Type uB\ninst✝⁶ : Ring R\ninst✝⁵ : AddCommGroup A\ninst✝⁴ : AddCommGroup B\ninst✝³ : AddCommGroup M\ninst✝² : Module R A\ninst✝¹ : Module R B\ninst✝ : Module R M\nj : A →ₗ[R] M\ng : M →ₗ[R] B\nf : B →ₗ[R] M\nhj : Function.Injective ⇑j\nexac : j.range = g.ker\nh... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Monad.Adjunction | {
"line": 103,
"column": 15
} | {
"line": 103,
"column": 33
} | {
"line": 103,
"column": 34
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\nadj : L ⊣ R\ni : L ⋙ R ≅ 𝟭 C\n⊢ i.hom ≫ (adj.toMonad.transport i).μ ≫ adj.unit = 𝟙 (L ⋙ R)",
"ppTerm": "?m.107",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryT... | [
"C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\nadj : L ⊣ R\ni : L ⋙ R ≅ 𝟭 C\n⊢ (adj.toMonad.transport i).μ ≫ adj.unit = i.inv ≫ 𝟙 (L ⋙ R)"
] | ← Iso.eq_inv_comp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Monad.Adjunction | {
"line": 335,
"column": 8
} | {
"line": 335,
"column": 61
} | {
"line": 336,
"column": 8
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\ninst✝ : Reflective R\nX : (reflectorAdjunction R).toMonad.Algebra\n⊢ (reflectorAdjunction R).unit.app ((reflector R ⋙ R).obj X.A) ≫ R.map ((reflector R).map X.a) =\n 𝟙 ((reflector R ⋙ R).obj ... | [
"C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\ninst✝ : Reflective R\nX : (reflectorAdjunction R).toMonad.Algebra\n⊢ (reflectorAdjunction R).unit.app (R.obj ((reflector R).obj X.A)) ≫ R.map ((reflector R).map X.a) =\n 𝟙 (R.obj ((reflector R).obj X.A))... | dsimp only [Functor.comp_obj, Adjunction.toMonad_coe] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.CategoryTheory.Monad.Adjunction | {
"line": 373,
"column": 8
} | {
"line": 373,
"column": 61
} | {
"line": 374,
"column": 8
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\ninst✝ : Coreflective R\nX : (coreflectorAdjunction R).toComonad.Coalgebra\n⊢ R.map ((coreflector R).map X.a) ≫ (coreflectorAdjunction R).counit.app ((coreflector R ⋙ R).obj X.A) =\n 𝟙 ((coref... | [
"C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nL : C ⥤ D\nR : D ⥤ C\ninst✝ : Coreflective R\nX : (coreflectorAdjunction R).toComonad.Coalgebra\n⊢ R.map ((coreflector R).map X.a) ≫ (coreflectorAdjunction R).counit.app (R.obj ((coreflector R).obj X.A)) =\n 𝟙 (R.obj ((corefl... | dsimp only [Functor.comp_obj, Adjunction.toMonad_coe] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer | {
"line": 1107,
"column": 27
} | {
"line": 1107,
"column": 45
} | {
"line": 1107,
"column": 46
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nJ : MulticospanShape\nI : MulticospanIndex J C\ninst✝² : HasMultiequalizer I\ninst✝¹ : HasProduct I.left\ninst✝ : HasProduct I.right\na : J.L\n⊢ (isoEqualizer I).hom ≫ equalizer.ι I.fstPiMap I.sndPiMap ≫ Pi.π I.left a = ι I a",
"ppTerm": "?m.59",
"assigne... | [
"C : Type u\ninst✝³ : Category.{v, u} C\nJ : MulticospanShape\nI : MulticospanIndex J C\ninst✝² : HasMultiequalizer I\ninst✝¹ : HasProduct I.left\ninst✝ : HasProduct I.right\na : J.L\n⊢ equalizer.ι I.fstPiMap I.sndPiMap ≫ Pi.π I.left a = (isoEqualizer I).inv ≫ ι I a"
] | ← Iso.eq_inv_comp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Monad.Limits | {
"line": 194,
"column": 4
} | {
"line": 194,
"column": 33
} | {
"line": 196,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nT : Monad C\nJ : Type u\ninst✝² : Category.{v, u} J\nD : J ⥤ T.Algebra\nc : Cocone (D ⋙ T.forget)\nt : IsColimit c\ninst✝¹ : PreservesColimit (D ⋙ T.forget) T.toFunctor\ninst✝ : PreservesColimit ((D ⋙ T.forget) ⋙ T.toFunctor) T.toFunctor\nj : J\n⊢ T.μ.app ((D ... | [] | apply (D.obj j).assoc_assoc _ | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.RingTheory.Flat.CategoryTheory | {
"line": 42,
"column": 6
} | {
"line": 42,
"column": 40
} | {
"line": 42,
"column": 40
} | [
{
"pp": "R : Type u\ninst✝¹ : CommRing R\nM : ModuleCat R\ninst✝ : Flat R ↑M\nC : ShortComplex (ModuleCat R)\nhC : C.Exact\n⊢ (C.map (tensorLeft M)).Exact",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Function.Exact",
"Eq.mpr",
"ModuleCat",
"congrArg",
"Cat... | [
"R : Type u\ninst✝¹ : CommRing R\nM : ModuleCat R\ninst✝ : Flat R ↑M\nC : ShortComplex (ModuleCat R)\nhC : Function.Exact ⇑(ConcreteCategory.hom C.f) ⇑(ConcreteCategory.hom C.g)\n⊢ Function.Exact ⇑(ConcreteCategory.hom (C.map (tensorLeft M)).f) ⇑(ConcreteCategory.hom (C.map (tensorLeft M)).g)"
] | moduleCat_exact_iff_function_exact | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Flat.CategoryTheory | {
"line": 47,
"column": 6
} | {
"line": 47,
"column": 40
} | {
"line": 47,
"column": 40
} | [
{
"pp": "R : Type u\ninst✝¹ : CommRing R\nM : ModuleCat R\ninst✝ : Flat R ↑M\nC : ShortComplex (ModuleCat R)\nhC : C.Exact\n⊢ (C.map (tensorRight M)).Exact",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"Function.Exact",
"Eq.mpr",
"CategoryTheory.Functor",
"ModuleC... | [
"R : Type u\ninst✝¹ : CommRing R\nM : ModuleCat R\ninst✝ : Flat R ↑M\nC : ShortComplex (ModuleCat R)\nhC : Function.Exact ⇑(ConcreteCategory.hom C.f) ⇑(ConcreteCategory.hom C.g)\n⊢ Function.Exact ⇑(ConcreteCategory.hom (C.map (tensorRight M)).f) ⇑(ConcreteCategory.hom (C.map (tensorRight M)).g)"
] | moduleCat_exact_iff_function_exact | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Monad.Limits | {
"line": 626,
"column": 2
} | {
"line": 628,
"column": 73
} | {
"line": 629,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁵ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\nJ : Type u\ninst✝³ : Category.{v, u} J\nR : D ⥤ C\nK : J ⥤ D\ninst✝² : ComonadicLeftAdjoint R\ninst✝¹ : PreservesLimit (K ⋙ R) (comonadicRightAdjoint R ⋙ R)\ninst✝ : PreservesLimit ((K ⋙ R) ⋙ comonadicRightAdjoint R ⋙... | [
"C : Type u₁\ninst✝⁵ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\nJ : Type u\ninst✝³ : Category.{v, u} J\nR : D ⥤ C\nK : J ⥤ D\ninst✝² : ComonadicLeftAdjoint R\ninst✝¹ : PreservesLimit (K ⋙ R) (comonadicRightAdjoint R ⋙ R)\ninst✝ : PreservesLimit ((K ⋙ R) ⋙ comonadicRightAdjoint R ⋙ R) (comonad... | let i : (K ⋙ Comonad.comparison (comonadicAdjunction R)) ⋙ Comonad.forget _ ≅ K ⋙ R :=
Functor.associator _ _ _ ≪≫
isoWhiskerLeft K (Comonad.comparisonForget (comonadicAdjunction R)) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.Algebra.Module.LocalizedModule.Submodule | {
"line": 196,
"column": 4
} | {
"line": 196,
"column": 33
} | {
"line": 197,
"column": 4
} | [
{
"pp": "case refine_1\nR : Type u_1\nS : Type u_2\nN : Type u_4\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : Module R N\ninst✝³ : Algebra R S\ninst✝² : Module S N\ninst✝¹ : IsScalarTower R S N\np : Submonoid R\ninst✝ : IsLocalization p S\nI : Submodule R R\nN' : Submodu... | [
"case refine_1\nR : Type u_1\nS : Type u_2\nN : Type u_4\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : Module R N\ninst✝³ : Algebra R S\ninst✝² : Module S N\ninst✝¹ : IsScalarTower R S N\np : Submonoid R\ninst✝ : IsLocalization p S\nI : Submodule R R\nN' : Submodule S N\nx : ... | rintro _ ⟨r, hr, s, rfl⟩ n hn | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro | Lean.Parser.Tactic.rintro |
Mathlib.RingTheory.Ideal.MinimalPrime.Basic | {
"line": 158,
"column": 2
} | {
"line": 161,
"column": 45
} | {
"line": 163,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\n⊢ ⊤.minimalPrimes = ∅",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Set.ext",
"Eq.mpr",
"False",
"Semiring.toModule",
"iff_false",
"Ideal.minimalPrimes",
"congrArg",
"CommSemiring.toSemiring",
... | [] | ext p
simp only [Set.notMem_empty, iff_false]
intro h
exact h.isPrime.ne_top (top_le_iff.mp h.le) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Ideal.MinimalPrime.Basic | {
"line": 158,
"column": 2
} | {
"line": 161,
"column": 45
} | {
"line": 163,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\n⊢ ⊤.minimalPrimes = ∅",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Set.ext",
"Eq.mpr",
"False",
"Semiring.toModule",
"iff_false",
"Ideal.minimalPrimes",
"congrArg",
"CommSemiring.toSemiring",
... | [] | ext p
simp only [Set.notMem_empty, iff_false]
intro h
exact h.isPrime.ne_top (top_le_iff.mp h.le) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Nilpotent.Basic | {
"line": 40,
"column": 2
} | {
"line": 40,
"column": 7
} | {
"line": 41,
"column": 2
} | [
{
"pp": "R : Type u_1\nx : R\ninst✝ : Ring R\nn : ℕ\nhn : x ^ n = 0\n⊢ IsNilpotent (-x)",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"NegZeroClass.toNeg",
"SubtractionMonoid.toSubNegZeroMonoid",
"SubNegZeroMonoid.toNegZeroClass",
"SubtractionCommMonoid.toSubtract... | [
"case h\nR : Type u_1\nx : R\ninst✝ : Ring R\nn : ℕ\nhn : x ^ n = 0\n⊢ (-x) ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Ideal.MinimalPrime.Basic | {
"line": 201,
"column": 4
} | {
"line": 201,
"column": 34
} | {
"line": 202,
"column": 4
} | [
{
"pp": "case refine_2\nR : Type u_1\ninst✝⁴ : CommSemiring R\nS : Type u_2\ninst✝³ : CommRing S\ninst✝² : Algebra R S\nI p : Ideal R\nP : Ideal S\ninst✝¹ : P.IsPrime\ninst✝ : P.LiesOver p\nhI : p ∈ I.minimalPrimes\nJ : Ideal S\nhJP : J ≤ P\nhJ : map (Quotient.mk (map (algebraMap R S) p)) P ∈ (map (Quotient.mk ... | [
"case refine_2\nR : Type u_1\ninst✝⁴ : CommSemiring R\nS : Type u_2\ninst✝³ : CommRing S\ninst✝² : Algebra R S\nI p : Ideal R\nP : Ideal S\ninst✝¹ : P.IsPrime\ninst✝ : P.LiesOver p\nhI : p ∈ I.minimalPrimes\nJ : Ideal S\nhJP : J ≤ P\nhJ : map (Quotient.mk (map (algebraMap R S) p)) P ∈ (map (Quotient.mk (map (algebr... | simp only [sup_le_iff] at hleq | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Flat.FaithfullyFlat.Basic | {
"line": 654,
"column": 2
} | {
"line": 654,
"column": 98
} | {
"line": 655,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nA : Type u_2\nι : Type u_3\ninst✝² : Ring A\ninst✝¹ : Nontrivial A\ninst✝ : Algebra R A\ne : Basis ι R A\na✝ : Nontrivial R\nthis : Free R A\nh : ¬Ideal.span (Set.range ⇑(e.repr 1)) = ⊤\n𝔪 : Ideal R\nh𝔪 : 𝔪.IsMaximal\nhle : Ideal.span (Set.range ⇑(e.repr 1)) ≤ 𝔪\n... | [
"R : Type u_1\ninst✝³ : CommRing R\nA : Type u_2\nι : Type u_3\ninst✝² : Ring A\ninst✝¹ : Nontrivial A\ninst✝ : Algebra R A\ne : Basis ι R A\na✝ : Nontrivial R\nthis : Free R A\nh : ¬Ideal.span (Set.range ⇑(e.repr 1)) = ⊤\n𝔪 : Ideal R\nh𝔪 : 𝔪.IsMaximal\nhle : Ideal.span (Set.range ⇑(e.repr 1)) ≤ 𝔪\na : A\n⊢ ((e... | rw [← mul_one a, ← e.linearCombination_repr 1, Finsupp.linearCombination_apply, Finsupp.mul_sum] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Nilpotent.Lemmas | {
"line": 92,
"column": 37
} | {
"line": 92,
"column": 42
} | {
"line": 92,
"column": 43
} | [
{
"pp": "case mp\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : mulLeft R a ^ n = 0\n⊢ IsNilpotent a",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"NPow.toPow",
"HPow.hPow",
"Nat",
"Semiring.toMonoid"... | [
"case h\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : mulLeft R a ^ n = 0\n⊢ a ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Nilpotent.Lemmas | {
"line": 92,
"column": 37
} | {
"line": 92,
"column": 42
} | {
"line": 92,
"column": 43
} | [
{
"pp": "case mpr\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : a ^ n = 0\n⊢ IsNilpotent (mulLeft R a)",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Algebra.to_smulCommClass",
"Module.End.instMonoid",
"C... | [
"case h\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : a ^ n = 0\n⊢ mulLeft R a ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Nilpotent.Lemmas | {
"line": 98,
"column": 37
} | {
"line": 98,
"column": 42
} | {
"line": 98,
"column": 43
} | [
{
"pp": "case mp\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : mulRight R a ^ n = 0\n⊢ IsNilpotent a",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"NPow.toPow",
"HPow.hPow",
"Nat",
"Semiring.toMonoid... | [
"case h\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : mulRight R a ^ n = 0\n⊢ a ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Nilpotent.Lemmas | {
"line": 98,
"column": 37
} | {
"line": 98,
"column": 42
} | {
"line": 98,
"column": 43
} | [
{
"pp": "case mpr\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : a ^ n = 0\n⊢ IsNilpotent (mulRight R a)",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Module.End.instMonoid",
"IsScalarTower.right",
"CommS... | [
"case h\nR : Type u_1\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\na : A\nn : ℕ\nhn : a ^ n = 0\n⊢ mulRight R a ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Nilpotent.Lemmas | {
"line": 133,
"column": 2
} | {
"line": 133,
"column": 7
} | {
"line": 134,
"column": 2
} | [
{
"pp": "R : Type u_1\nM : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nf : End R M\np q : Submodule R M\nhp : MapsTo ⇑f ↑p ↑p\nhq : MapsTo ⇑f ↑q ↑q\nh : p ≤ q\nn : ℕ\nhn : LinearMap.restrict f hq ^ n = 0\n⊢ IsNilpotent (LinearMap.restrict f hp)",
"ppTerm": "?m.59",
"assi... | [
"case h\nR : Type u_1\nM : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nf : End R M\np q : Submodule R M\nhp : MapsTo ⇑f ↑p ↑p\nhq : MapsTo ⇑f ↑q ↑q\nh : p ≤ q\nn : ℕ\nhn : LinearMap.restrict f hq ^ n = 0\n⊢ LinearMap.restrict f hp ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Radical.Basic | {
"line": 407,
"column": 2
} | {
"line": 407,
"column": 59
} | {
"line": 408,
"column": 2
} | [
{
"pp": "E : Type u_1\ninst✝² : EuclideanDomain E\ninst✝¹ : NormalizationMonoid E\ninst✝ : UniqueFactorizationMonoid E\na b : E\nhab : IsCoprime a b\n⊢ radical (a * b) * (divRadical a * divRadical b) = a * b",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",... | [
"E : Type u_1\ninst✝² : EuclideanDomain E\ninst✝¹ : NormalizationMonoid E\ninst✝ : UniqueFactorizationMonoid E\na b : E\nhab : IsCoprime a b\n⊢ radical a * radical b * (divRadical a * divRadical b) = a * b"
] | rw [UniqueFactorizationMonoid.radical_mul hab.isRelPrime] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Ideal.Quotient.Nilpotent | {
"line": 85,
"column": 4
} | {
"line": 85,
"column": 83
} | {
"line": 86,
"column": 4
} | [
{
"pp": "S : Type u_1\ninst✝ : CommRing S\nI : Ideal S\nx : S\nn : ℕ\nhn : n ≠ 0\n⊢ IsUnit ((mk (map (mk (I ^ n)) I)) ((mk (I ^ n)) x)) ↔ IsUnit ((mk I) x)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Semiring.toModule",
"IsScalarTower.right",
"Monoid.... | [
"S : Type u_1\ninst✝ : CommRing S\nI : Ideal S\nx : S\nn : ℕ\nhn : n ≠ 0\n⊢ IsUnit ((DoubleQuot.quotQuotEquivQuotOfLE ⋯) ((mk (map (mk (I ^ n)) I)) ((mk (I ^ n)) x))) ↔ IsUnit ((mk I) x)"
] | rw [← isUnit_map_iff (DoubleQuot.quotQuotEquivQuotOfLE (Ideal.pow_le_self hn))] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Ideal.Quotient.Nilpotent | {
"line": 87,
"column": 4
} | {
"line": 87,
"column": 9
} | {
"line": 88,
"column": 4
} | [
{
"pp": "case hI\nS : Type u_1\ninst✝ : CommRing S\nI : Ideal S\nx : S\nn : ℕ\nhn : n ≠ 0\n⊢ IsNilpotent (map (mk (I ^ n)) I)",
"ppTerm": "?hI",
"assigned": true,
"usedConstants": [
"Semiring.toModule",
"IsScalarTower.right",
"CommSemiring.toSemiring",
"Ideal.Quotient.mk",
... | [
"case h\nS : Type u_1\ninst✝ : CommRing S\nI : Ideal S\nx : S\nn : ℕ\nhn : n ≠ 0\n⊢ map (mk (I ^ n)) I ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Localization.Algebra | {
"line": 91,
"column": 64
} | {
"line": 91,
"column": 93
} | {
"line": 92,
"column": 4
} | [
{
"pp": "R✝ : Type u_1\nS : Type u_2\nP : Type u_3\nQ : Type u_4\ninst✝²⁹ : CommSemiring R✝\ninst✝²⁸ : CommSemiring S\ninst✝²⁷ : CommSemiring P\ninst✝²⁶ : CommSemiring Q\nM✝ : Submonoid R✝\nT : Submonoid P\ninst✝²⁵ : Algebra R✝ S\ninst✝²⁴ : Algebra P Q\ninst✝²³ : IsLocalization M✝ S\ninst✝²² : IsLocalization T ... | [
"R✝ : Type u_1\nS : Type u_2\nP : Type u_3\nQ : Type u_4\ninst✝²⁹ : CommSemiring R✝\ninst✝²⁸ : CommSemiring S\ninst✝²⁷ : CommSemiring P\ninst✝²⁶ : CommSemiring Q\nM✝ : Submonoid R✝\nT : Submonoid P\ninst✝²⁵ : Algebra R✝ S\ninst✝²⁴ : Algebra P Q\ninst✝²³ : IsLocalization M✝ S\ninst✝²² : IsLocalization T Q\ng : R✝ →+... | AlgHom.toRingHom_toMonoidHom, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Localization.Ideal | {
"line": 367,
"column": 15
} | {
"line": 369,
"column": 89
} | {
"line": 370,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁶ : CommRing R\nM : Submonoid R\nS : Type u_2\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\ninst✝³ : IsLocalization M S\nR' : Type u_3\nS' : Type u_4\ninst✝² : CommRing R'\ninst✝¹ : CommRing S'\ninst✝ : Algebra R' S'\nf : R →+* R'\nhf : Function.Surjective ⇑f\ng : S →+* S'\nhg : Functi... | [] | by
rintro ⟨_, y, hy, rfl⟩
simpa only [← RingHom.comp_apply, H] using (IsLocalization.map_units S ⟨y, hy⟩).map g | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Dimension.Localization | {
"line": 46,
"column": 83
} | {
"line": 55,
"column": 31
} | {
"line": 57,
"column": 0
} | [
{
"pp": "R : Type uR\nM : Type uM\nN : Type uN\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : AddCommGroup N\ninst✝² : Module R M\ninst✝¹ : Module R N\np : Submonoid R\nf : M →ₗ[R] N\ninst✝ : IsLocalizedModule p f\nhp : p ≤ R⁰\n⊢ Cardinal.lift.{uM, uN} (Module.rank R N) = Cardinal.lift.{uN, uM} (Module... | [] | by
cases subsingleton_or_nontrivial R
· simp only [rank_subsingleton, lift_one]
apply le_antisymm <;>
rw [Module.rank_def, lift_iSup bddAbove_of_small] <;>
apply ciSup_le' <;>
intro ⟨s, hs⟩
exacts [(IsLocalizedModule.linearIndependent_lift p f hs).choose_spec.cardinal_lift_le_rank,
hs.of_isLocal... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.SpanRank | {
"line": 221,
"column": 2
} | {
"line": 222,
"column": 72
} | {
"line": 224,
"column": 0
} | [
{
"pp": "case mpr\nR : Type u_1\nM : Type u\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nI : Submodule R M\n⊢ I = ⊥ → I.spanRank = 0",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Cardinal.mk_eq_zero",
"Iff.mpr",
"Eq.mpr",
"Submodule",
... | [] | · rintro rfl; rw [spanRank]
exact Cardinal.iInf_eq_zero_iff.mpr (Or.inr ⟨⟨∅, by simp⟩, by simp⟩) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.LinearAlgebra.Matrix.Polynomial | {
"line": 51,
"column": 6
} | {
"line": 51,
"column": 25
} | {
"line": 52,
"column": 6
} | [
{
"pp": "case inl\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\nsg : sign g = 1\n⊢ (sign g • ∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).natDegree ≤ (∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).natDegree",
"ppTerm": "?inl",
"as... | [
"case inr\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\nsg : sign g = -1\n⊢ (sign g • ∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).natDegree ≤ (∏ i, (X • A.map ⇑C + B.map ⇑C) (g i) i).natDegree"
] | · rw [sg, one_smul] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Localization.AtPrime.Basic | {
"line": 557,
"column": 60
} | {
"line": 557,
"column": 67
} | {
"line": 557,
"column": 68
} | [
{
"pp": "case refine_1\nR✝ : Type u_1\ninst✝¹⁸ : CommSemiring R✝\nS✝ : Type u_2\ninst✝¹⁷ : CommSemiring S✝\ninst✝¹⁶ : Algebra R✝ S✝\nP✝ : Type u_3\ninst✝¹⁵ : CommSemiring P✝\np✝ : Ideal R✝\ninst✝¹⁴ : p✝.IsPrime\nRₚ✝ : Type u_4\ninst✝¹³ : CommSemiring Rₚ✝\ninst✝¹² : Algebra R✝ Rₚ✝\ninst✝¹¹ : IsLocalization.AtPri... | [
"case refine_1\nR✝ : Type u_1\ninst✝¹⁸ : CommSemiring R✝\nS✝ : Type u_2\ninst✝¹⁷ : CommSemiring S✝\ninst✝¹⁶ : Algebra R✝ S✝\nP✝ : Type u_3\ninst✝¹⁵ : CommSemiring P✝\np✝ : Ideal R✝\ninst✝¹⁴ : p✝.IsPrime\nRₚ✝ : Type u_4\ninst✝¹³ : CommSemiring Rₚ✝\ninst✝¹² : Algebra R✝ Rₚ✝\ninst✝¹¹ : IsLocalization.AtPrime Rₚ✝ p✝\ni... | mk_ker, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 114,
"column": 91
} | {
"line": 117,
"column": 16
} | {
"line": 119,
"column": 0
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA : Matrix n n α\nb : n → α\ni : n\nh : ∀ (j : n), b j = A j i\n⊢ A.cramer b = Pi.single i A.det",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Pi.Function.module",
... | [] | by
rw [← transpose_transpose A, det_transpose]
convert cramer_transpose_row_self Aᵀ i
exact funext h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 507,
"column": 2
} | {
"line": 508,
"column": 28
} | {
"line": 510,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\np : R[X]\nn : ℕ\n⊢ IsLocalization.mk' R[T;T⁻¹] p ⟨X ^ n, ⋯⟩ * T ↑n = toLaurent p",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"LaurentPolynomial.T",
"Eq.mpr",
"Int.instAddCommMonoid",
"AddMonoidAlgebra.semiring",
... | [] | rw [← toLaurent_X_pow, ← algebraMap_eq_toLaurent, IsLocalization.mk'_spec,
algebraMap_eq_toLaurent] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 507,
"column": 2
} | {
"line": 508,
"column": 28
} | {
"line": 510,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\np : R[X]\nn : ℕ\n⊢ IsLocalization.mk' R[T;T⁻¹] p ⟨X ^ n, ⋯⟩ * T ↑n = toLaurent p",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"LaurentPolynomial.T",
"Eq.mpr",
"Int.instAddCommMonoid",
"AddMonoidAlgebra.semiring",
... | [] | rw [← toLaurent_X_pow, ← algebraMap_eq_toLaurent, IsLocalization.mk'_spec,
algebraMap_eq_toLaurent] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 507,
"column": 2
} | {
"line": 508,
"column": 28
} | {
"line": 510,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\np : R[X]\nn : ℕ\n⊢ IsLocalization.mk' R[T;T⁻¹] p ⟨X ^ n, ⋯⟩ * T ↑n = toLaurent p",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"LaurentPolynomial.T",
"Eq.mpr",
"Int.instAddCommMonoid",
"AddMonoidAlgebra.semiring",
... | [] | rw [← toLaurent_X_pow, ← algebraMap_eq_toLaurent, IsLocalization.mk'_spec,
algebraMap_eq_toLaurent] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 323,
"column": 6
} | {
"line": 323,
"column": 50
} | {
"line": 324,
"column": 4
} | [
{
"pp": "case inr.inl\nn : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nv : n → α\ni k : n\nhij : i ≠ k\n⊢ (diagonal v).updateCol k (Pi.single i 1) k k = 0",
"ppTerm": "?inr.inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matrix.updateCol_self... | [] | rw [updateCol_self, Pi.single_eq_of_ne' hij] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 323,
"column": 6
} | {
"line": 323,
"column": 50
} | {
"line": 324,
"column": 4
} | [
{
"pp": "case inr.inl\nn : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nv : n → α\ni k : n\nhij : i ≠ k\n⊢ (diagonal v).updateCol k (Pi.single i 1) k k = 0",
"ppTerm": "?inr.inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matrix.updateCol_self... | [] | rw [updateCol_self, Pi.single_eq_of_ne' hij] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 323,
"column": 6
} | {
"line": 323,
"column": 50
} | {
"line": 324,
"column": 4
} | [
{
"pp": "case inr.inl\nn : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nv : n → α\ni k : n\nhij : i ≠ k\n⊢ (diagonal v).updateCol k (Pi.single i 1) k k = 0",
"ppTerm": "?inr.inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matrix.updateCol_self... | [] | rw [updateCol_self, Pi.single_eq_of_ne' hij] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 669,
"column": 32
} | {
"line": 669,
"column": 49
} | {
"line": 669,
"column": 50
} | [
{
"pp": "case C_mul_T\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\nn : ℤ\ns : R\n⊢ (C (r * s) * T n).smeval x = r • (C s * T n).smeval x",
"ppTerm": "?C_mul_T",
"assigned": true,
"usedConstants": [
... | [
"case C_mul_T\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\nn : ℤ\ns : R\n⊢ (r * s) • ↑(x ^ n) = r • (C s * T n).smeval x"
] | smeval_C_mul_T_n, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Laurent | {
"line": 669,
"column": 50
} | {
"line": 669,
"column": 67
} | {
"line": 669,
"column": 68
} | [
{
"pp": "case C_mul_T\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\nn : ℤ\ns : R\n⊢ (r * s) • ↑(x ^ n) = r • (C s * T n).smeval x",
"ppTerm": "?C_mul_T",
"assigned": true,
"usedConstants": [
"Laur... | [
"case C_mul_T\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\nn : ℤ\ns : R\n⊢ (r * s) • ↑(x ^ n) = r • s • ↑(x ^ n)"
] | smeval_C_mul_T_n, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Adjugate | {
"line": 468,
"column": 2
} | {
"line": 471,
"column": 94
} | {
"line": 472,
"column": 2
} | [
{
"pp": "n : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA B : Matrix n n α\ng : Matrix n n α → Matrix n n α[X] := fun M ↦ M.map ⇑C + X • 1\nf' : Matrix n n α[X] →+* Matrix n n α := (evalRingHom 0).mapMatrix\nf'_inv : ∀ (M : Matrix n n α), f' (g M) = M\nf'_adj : ∀ (M : Ma... | [
"n : Type v\nα : Type w\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\ninst✝ : CommRing α\nA B : Matrix n n α\ng : Matrix n n α → Matrix n n α[X] := fun M ↦ M.map ⇑C + X • 1\nf' : Matrix n n α[X] →+* Matrix n n α := (evalRingHom 0).mapMatrix\nf'_inv : ∀ (M : Matrix n n α), f' (g M) = M\nf'_adj : ∀ (M : Matrix n n α),... | have hu : ∀ M : Matrix n n α, IsRegular (g M).det := by
intro M
refine Polynomial.Monic.isRegular ?_
simp only [g, Polynomial.Monic.def, ← Polynomial.leadingCoeff_det_X_one_add_C M, add_comm] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Order.JordanHolder | {
"line": 118,
"column": 2
} | {
"line": 118,
"column": 47
} | {
"line": 119,
"column": 2
} | [
{
"pp": "X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\ne : X × X → X × X → Prop\nh_refl : ∀ {x : X × X}, e x x\nh_symm : ∀ {x y : X × X}, e x y → e y x\nh_trans : ∀ {x y z : X × X}, e x y → e y z → e x z\nh_rel : ∀ {x y : X}, IsMaximal x (x ⊔ y) → e (x, x ⊔ y) (x ⊓ y, y)\nx y : X × X\nh_iso : I... | [
"X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\ne : X × X → X × X → Prop\nh_refl : ∀ {x : X × X}, e x x\nh_symm : ∀ {x y : X × X}, e x y → e y x\nh_trans : ∀ {x y z : X × X}, e x y → e y z → e x z\nh_rel : ∀ {x y : X}, IsMaximal x (x ⊔ y) → e (x, x ⊔ y) (x ⊓ y, y)\nx y : X × X\nh_iso : Iso x y\nthis... | refine Relation.EqvGen.eqvGen_le ?_ _ _ h_iso | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.Spectrum.Prime.Basic | {
"line": 444,
"column": 4
} | {
"line": 444,
"column": 13
} | {
"line": 445,
"column": 4
} | [
{
"pp": "case pos\nR : Type u\ninst✝¹ : CommRing R\ninst✝ : IsNoetherianRing R\nM : Ideal R\nhgt : ∀ J > M, ∃ Z, (Multiset.map asIdeal Z).prod ≤ J\nh_prM : ¬M.IsPrime\nhtop : M = ⊤\n⊢ ∃ Z, (Multiset.map asIdeal Z).prod ≤ M",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"case pos\nR : Type u\ninst✝¹ : CommRing R\ninst✝ : IsNoetherianRing R\nM : Ideal R\nhgt : ∀ J > M, ∃ Z, (Multiset.map asIdeal Z).prod ≤ J\nh_prM : ¬M.IsPrime\nhtop : M = ⊤\n⊢ ∃ Z, (Multiset.map asIdeal Z).prod ≤ ⊤"
] | rw [htop] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.JordanHolder | {
"line": 444,
"column": 20
} | {
"line": 444,
"column": 46
} | {
"line": 445,
"column": 8
} | [
{
"pp": "X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries ... | [
"X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries X\nx : X\nhm... | rw [eq_snoc_eraseLast h0s] | Lean.Parser.Tactic.Conv._aux_Init_Conv___macroRules_Lean_Parser_Tactic_Conv_convRw___1 | Lean.Parser.Tactic.Conv.convRw__ |
Mathlib.Order.JordanHolder | {
"line": 444,
"column": 20
} | {
"line": 444,
"column": 46
} | {
"line": 445,
"column": 8
} | [
{
"pp": "X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries ... | [
"X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries X\nx : X\nhm... | rw [eq_snoc_eraseLast h0s] | Lean.Elab.Tactic.Conv.evalConvSeq1Indented | Lean.Parser.Tactic.Conv.convSeq1Indented |
Mathlib.Order.JordanHolder | {
"line": 444,
"column": 20
} | {
"line": 444,
"column": 46
} | {
"line": 445,
"column": 8
} | [
{
"pp": "X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries ... | [
"X : Type u\ninst✝¹ : Lattice X\ninst✝ : JordanHolderLattice X\nn : ℕ\nih :\n ∀ (s : CompositionSeries X) (x : X) (hm : IsMaximal x (last s)),\n head s ≤ x →\n s.length = n → ∃ t, head t = head s ∧ t.length + 1 = n ∧ ∃ (htx : last t = x), s.Equivalent (snoc t (last s) ⋯)\ns : CompositionSeries X\nx : X\nhm... | rw [eq_snoc_eraseLast h0s] | Lean.Elab.Tactic.Conv.evalConvSeq | Lean.Parser.Tactic.Conv.convSeq |
Mathlib.RingTheory.Artinian.Module | {
"line": 650,
"column": 4
} | {
"line": 650,
"column": 9
} | {
"line": 650,
"column": 9
} | [
{
"pp": "R : Type u_1\ninst✝¹ : Ring R\ninst✝ : IsArtinianRing R\nJac : Ideal R := Ring.jacobson R\nn : ℕ\nhn✝ : ∀ (m : ℕ), n ≤ m → { toFun := fun x ↦ Jac ^ x, monotone' := ⋯ } n = { toFun := fun x ↦ Jac ^ x, monotone' := ⋯ } m\nhn : Jac * Jac ^ n = Jac ^ n\n⊢ IsNilpotent (Ring.jacobson R)",
"ppTerm": "?m.6... | [
"case h\nR : Type u_1\ninst✝¹ : Ring R\ninst✝ : IsArtinianRing R\nJac : Ideal R := ⋯\nn : ℕ\nhn✝ : ∀ (m : ℕ), n ≤ m → { toFun := fun x ↦ Jac ^ x, monotone' := ⋯ } n = { toFun := fun x ↦ Jac ^ x, monotone' := ⋯ } m\nhn : Jac * Jac ^ n = Jac ^ n\n⊢ Ring.jacobson R ^ n = 0"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.LinearAlgebra.Matrix.NonsingularInverse | {
"line": 462,
"column": 73
} | {
"line": 464,
"column": 5
} | {
"line": 466,
"column": 0
} | [
{
"pp": "n : Type u'\nα : Type v\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : CommRing α\nA : Matrix n n α\ninst✝ : Invertible A.det\n⊢ A.unitOfDetInvertible = A.nonsingInvUnit ⋯",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Units.val",
"Matrix.nonsingInvUnit",
... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Matrix.Transvection | {
"line": 489,
"column": 6
} | {
"line": 492,
"column": 13
} | {
"line": 493,
"column": 6
} | [
{
"pp": "case neg\n𝕜 : Type u_3\ninst✝ : Field 𝕜\nr : ℕ\nM : Matrix (Fin r ⊕ Unit) (Fin r ⊕ Unit) 𝕜\nhM : M (inr ()) (inr ()) ≠ 0\ni : Fin r\nn : ℕ\nIH : n ≤ r → (M * (List.take n (listTransvecRow M)).prod) (inr ()) (inl i) = if n ≤ ↑i then M (inr ()) (inl i) else 0\nhk : n + 1 ≤ r\nhnr : n < r\nn' : Fin r :... | [
"case neg\n𝕜 : Type u_3\ninst✝ : Field 𝕜\nr : ℕ\nM : Matrix (Fin r ⊕ Unit) (Fin r ⊕ Unit) 𝕜\nhM : M (inr ()) (inr ()) ≠ 0\ni : Fin r\nn : ℕ\nIH : n ≤ r → (M * (List.take n (listTransvecRow M)).prod) (inr ()) (inl i) = if n ≤ ↑i then M (inr ()) (inl i) else 0\nhk : n + 1 ≤ r\nhnr : n < r\nn' : Fin r := ⟨n, hnr⟩\n... | have hni : n ≠ i := by
rintro rfl
cases i
tauto | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Tactic.LinearCombination.Lemmas | {
"line": 194,
"column": 29
} | {
"line": 194,
"column": 66
} | {
"line": 194,
"column": 66
} | [
{
"pp": "α : Type u_1\na a' b b' : α\ninst✝¹ : Ring α\ninst✝ : NoZeroDivisors α\nn : ℕ\np : a - b = 0\nH : (a' - b') ^ n - (a - b) = 0\n⊢ a' - b' = 0",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"AddGroupWithOne.toAddGroup",
"HSub.hSub",... | [
"α : Type u_1\na a' b b' : α\ninst✝¹ : Ring α\ninst✝ : NoZeroDivisors α\nn : ℕ\np : a - b = 0\nH : (a' - b') ^ n - (a - b) = 0\n⊢ (a' - b') ^ n = 0"
] | apply eq_zero_of_pow_eq_zero (n := n) | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.LinearAlgebra.Matrix.SchurComplement | {
"line": 129,
"column": 6
} | {
"line": 133,
"column": 12
} | {
"line": 134,
"column": 2
} | [
{
"pp": "l : Type u_1\nm : Type u_2\nn : Type u_3\nα : Type u_4\ninst✝⁷ : Fintype l\ninst✝⁶ : Fintype m\ninst✝⁵ : Fintype n\ninst✝⁴ : DecidableEq l\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : CommRing α\nA : Matrix m m α\nC : Matrix n m α\nD : Matrix n n α\ninst✝ : Invertible (fromBlocks A 0 C D)\... | [] | have := mul_invOf_self (fromBlocks A 0 C D)
rw [← fromBlocks_toBlocks (⅟(fromBlocks A 0 C D)), fromBlocks_multiply] at this
replace := congr(Matrix.toBlocks₁₁ $this)
simpa only [Matrix.toBlocks_fromBlocks₁₁, Matrix.zero_mul, add_zero, ← fromBlocks_one] using
this | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.SchurComplement | {
"line": 129,
"column": 6
} | {
"line": 133,
"column": 12
} | {
"line": 134,
"column": 2
} | [
{
"pp": "l : Type u_1\nm : Type u_2\nn : Type u_3\nα : Type u_4\ninst✝⁷ : Fintype l\ninst✝⁶ : Fintype m\ninst✝⁵ : Fintype n\ninst✝⁴ : DecidableEq l\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : CommRing α\nA : Matrix m m α\nC : Matrix n m α\nD : Matrix n n α\ninst✝ : Invertible (fromBlocks A 0 C D)\... | [] | have := mul_invOf_self (fromBlocks A 0 C D)
rw [← fromBlocks_toBlocks (⅟(fromBlocks A 0 C D)), fromBlocks_multiply] at this
replace := congr(Matrix.toBlocks₁₁ $this)
simpa only [Matrix.toBlocks_fromBlocks₁₁, Matrix.zero_mul, add_zero, ← fromBlocks_one] using
this | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Identities | {
"line": 90,
"column": 4
} | {
"line": 90,
"column": 24
} | {
"line": 91,
"column": 4
} | [
{
"pp": "case e_a.e_a\nR : Type u\nι : Type x\nk : Type y\nA : Type z\na : R\nn : ℕ\ninst✝ : CommRing R\nf : R[X]\nx y : R\n⊢ (f.sum fun e a ↦ a * ↑e * x ^ (e - 1) * y) = eval x (derivative f) * y",
"ppTerm": "?e_a.e_a✝",
"assigned": true,
"usedConstants": [
"Polynomial.derivative",
"Eq.... | [
"case e_a.e_a\nR : Type u\nι : Type x\nk : Type y\nA : Type z\na : R\nn : ℕ\ninst✝ : CommRing R\nf : R[X]\nx y : R\n⊢ (f.sum fun e a ↦ a * ↑e * x ^ (e - 1) * y) = (f.sum fun n a ↦ a * ↑n * x ^ (n - 1)) * y"
] | rw [derivative_eval] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Polynomial.Identities | {
"line": 90,
"column": 2
} | {
"line": 91,
"column": 34
} | {
"line": 92,
"column": 2
} | [
{
"pp": "case e_a.e_a\nR : Type u\nι : Type x\nk : Type y\nA : Type z\na : R\nn : ℕ\ninst✝ : CommRing R\nf : R[X]\nx y : R\n⊢ (f.sum fun e a ↦ a * ↑e * x ^ (e - 1) * y) = eval x (derivative f) * y",
"ppTerm": "?e_a.e_a✝",
"assigned": true,
"usedConstants": [
"Polynomial.derivative",
"Fin... | [
"case e_a\nR : Type u\nι : Type x\nk : Type y\nA : Type z\na : R\nn : ℕ\ninst✝ : CommRing R\nf : R[X]\nx y : R\n⊢ (f.sum fun e a ↦ a * ↑(polyBinomAux1 x y e a) * y ^ 2) = (f.sum fun e a ↦ a * ↑(polyBinomAux1 x y e a)) * y ^ 2"
] | · rw [derivative_eval]
exact (Finset.sum_mul ..).symm | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Polynomial.Nilpotent | {
"line": 78,
"column": 4
} | {
"line": 78,
"column": 28
} | {
"line": 79,
"column": 4
} | [
{
"pp": "case refine_1\nR : Type u_1\ninst✝ : CommRing R\nP : R[X]\nh : ∀ (i : ℕ), IsNilpotent (P.coeff i)\n⊢ IsNilpotent P",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"congrArg",
"CommSemirin... | [
"case refine_1\nR : Type u_1\ninst✝ : CommRing R\nP : R[X]\nh : ∀ (i : ℕ), IsNilpotent (P.coeff i)\n⊢ IsNilpotent (P.sum fun n a ↦ (monomial n) a)"
] | rw [← sum_monomial_eq P] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 67,
"column": 26
} | {
"line": 69,
"column": 80
} | {
"line": 71,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_4\nT : Type u_5\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Ring T\nf : R →+* S\ng : S →+* T\nx : T\nhx : (g.comp f).IsIntegralElem x\n⊢ g.IsIntegralElem x",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.eval",
... | [] | by
obtain ⟨p, hp, hx⟩ := hx
exact ⟨p.map f, hp.map _, by simpa only [eval₂_eq_eval_map, map_map] using hx⟩ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic | {
"line": 110,
"column": 2
} | {
"line": 110,
"column": 30
} | {
"line": 111,
"column": 2
} | [
{
"pp": "R : Type u_1\nB : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring B\ninst✝ : Algebra R B\nx : B\nhx : IsIntegral R x\n⊢ (Subalgebra.toSubmodule R[x]).FG",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Submodule",
"Algebra.algebraMap",
"CommSemiring.toSemiring",
... | [
"R : Type u_1\nB : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring B\ninst✝ : Algebra R B\nx : B\nf : R[X]\nhfm : f.Monic\nhfx : eval₂ (algebraMap R B) x f = 0\n⊢ (Subalgebra.toSubmodule R[x]).FG"
] | rcases hx with ⟨f, hfm, hfx⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 130,
"column": 4
} | {
"line": 131,
"column": 13
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case pos\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": "?pos✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFun... | [] | use 0
simp [hk] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 130,
"column": 4
} | {
"line": 131,
"column": 13
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case pos\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": "?pos✝",
"assigned": true,
"usedConstants": [
"Finsupp.instFun... | [] | use 0
simp [hk] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Lifts | {
"line": 142,
"column": 23
} | {
"line": 142,
"column": 42
} | {
"line": 142,
"column": 42
} | [
{
"pp": "case inr\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\nn : ℕ\na : R\nhl : (monomial n) (f a) ∈ lifts f\nh : f a ≠ 0\n⊢ ↑n = ((monomial n) (f a)).degree",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"WithBot",
"Semiring.... | [
"case inr\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\nn : ℕ\na : R\nhl : (monomial n) (f a) ∈ lifts f\nh : f a ≠ 0\n⊢ ↑n = ↑n",
"case inr.ha\nR : Type u\ninst✝¹ : Semiring R\nS : Type v\ninst✝ : Semiring S\nf : R →+* S\nn : ℕ\na : R\nhl : (monomial n) (f a) ∈ lifts f\nh : f a ≠ ... | degree_monomial n h | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Choose.Vandermonde | {
"line": 32,
"column": 47
} | {
"line": 32,
"column": 62
} | {
"line": 33,
"column": 4
} | [
{
"pp": "m n k : ℕ\n⊢ ((X + 1) ^ (m + n)).coeff k = ((X + 1) ^ m * (X + 1) ^ n).coeff k",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Nat.instMulZeroClass",
"AddMonoidAlgebra.semiring",
"HMul.hMul",
"Monoid.toMulOneCla... | [] | by rw [pow_add] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Taylor | {
"line": 54,
"column": 54
} | {
"line": 54,
"column": 94
} | {
"line": 56,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[X]\n⊢ (taylor 0) f = f",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"AddMonoidAlgebra.instAddMonoid",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"congrArg",
"Polyno... | [] | rw [taylor_apply, C_0, add_zero, comp_X] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Polynomial.Taylor | {
"line": 54,
"column": 54
} | {
"line": 54,
"column": 94
} | {
"line": 56,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[X]\n⊢ (taylor 0) f = f",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"AddMonoidAlgebra.instAddMonoid",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"congrArg",
"Polyno... | [] | rw [taylor_apply, C_0, add_zero, comp_X] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Taylor | {
"line": 54,
"column": 54
} | {
"line": 54,
"column": 94
} | {
"line": 56,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[X]\n⊢ (taylor 0) f = f",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"AddMonoidAlgebra.instAddMonoid",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"congrArg",
"Polyno... | [] | rw [taylor_apply, C_0, add_zero, comp_X] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.HasseDeriv | {
"line": 138,
"column": 2
} | {
"line": 138,
"column": 13
} | {
"line": 139,
"column": 2
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝ : Semiring R\nk✝ k : ℕ\nih : ⇑(k ! • hasseDeriv k) = (⇑derivative)^[k]\n⊢ ⇑((k + 1)! • hasseDeriv (k + 1)) = (⇑derivative)^[k + 1]",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Polynomial.derivative",
"instHSMul",
"Semiring.toMod... | [
"case succ\nR : Type u_1\ninst✝ : Semiring R\nk✝ k : ℕ\nih : ⇑(k ! • hasseDeriv k) = (⇑derivative)^[k]\nf : R[X]\nn : ℕ\n⊢ (((k + 1)! • hasseDeriv (k + 1)) f).coeff n = ((⇑derivative)^[k + 1] f).coeff n"
] | ext f n : 3 | _private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt | Lean.Elab.Tactic.Ext.ext |
Mathlib.RingTheory.Polynomial.ScaleRoots | {
"line": 67,
"column": 8
} | {
"line": 67,
"column": 23
} | {
"line": 67,
"column": 24
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\np : R[X]\ns : R\nhs : s ∈ nonZeroDivisors R\ni : ℕ\n⊢ p.coeff i ≠ 0 → p.coeff i * s ^ (p.natDegree - i) ≠ 0",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"AddMonoidAlgebra.coeff",
"Ne",
"Nat",
... | [
"R : Type u_1\ninst✝ : Semiring R\np : R[X]\ns : R\nhs : s ∈ nonZeroDivisors R\ni : ℕ\np_ne_zero : p.coeff i ≠ 0\n⊢ p.coeff i * s ^ (p.natDegree - i) ≠ 0"
] | intro p_ne_zero | Lean.Elab.Tactic.evalIntro | null |
Mathlib.Algebra.Polynomial.Splits | {
"line": 106,
"column": 2
} | {
"line": 111,
"column": 45
} | {
"line": 113,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[X]\nhf : f.natDegree ≤ 1\nh : Invertible f.leadingCoeff\n⊢ f.Splits",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Distrib.leftDistribClass",
"Eq.mpr",
"Polynomial.C",
"NonAssocSemiring.... | [] | obtain ⟨a, b, rfl⟩ := exists_eq_X_add_C_of_natDegree_le_one hf
rcases eq_or_ne a 0 with rfl | ha
· simp
· replace h : Invertible a := by simpa [leadingCoeff, ha] using h
rw [← mul_invOf_cancel_left a b, C_mul, ← mul_add]
exact (Splits.C a).mul (Splits.X_add_C _) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Splits | {
"line": 106,
"column": 2
} | {
"line": 111,
"column": 45
} | {
"line": 113,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Semiring R\nf : R[X]\nhf : f.natDegree ≤ 1\nh : Invertible f.leadingCoeff\n⊢ f.Splits",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Distrib.leftDistribClass",
"Eq.mpr",
"Polynomial.C",
"NonAssocSemiring.... | [] | obtain ⟨a, b, rfl⟩ := exists_eq_X_add_C_of_natDegree_le_one hf
rcases eq_or_ne a 0 with rfl | ha
· simp
· replace h : Invertible a := by simpa [leadingCoeff, ha] using h
rw [← mul_invOf_cancel_left a b, C_mul, ← mul_add]
exact (Splits.C a).mul (Splits.X_add_C _) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Polynomial.Subring | {
"line": 52,
"column": 2
} | {
"line": 53,
"column": 53
} | {
"line": 54,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝ : Ring R\np : R[X]\nT : Subring R\nhp : ↑p.coeffs ⊆ ↑T\nn : ℕ\n⊢ ↑((p.toSubring T hp).coeff n) = p.coeff n",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"instDecidableNot",
"Semiring.toModule",
"S... | [
"R : Type u_1\ninst✝ : Ring R\np : R[X]\nT : Subring R\nhp : ↑p.coeffs ⊆ ↑T\nn : ℕ\n⊢ ↑(if p.coeff n = 0 then 0 else ⟨p.coeff n, ⋯⟩) = p.coeff n"
] | simp only [toSubring, coeff_monomial, Finsupp.single_apply, finsetSum_coeff,
mem_support_iff, Finset.sum_ite_eq', Ne, ite_not] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Polynomial.Splits | {
"line": 418,
"column": 2
} | {
"line": 418,
"column": 57
} | {
"line": 420,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nf : R[X]\ninst✝ : IsDomain R\nhf : f.Splits\nhm : f.Monic\n⊢ f.coeff 0 = (-1) ^ f.natDegree * f.roots.prod",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"NegZeroClass.toNeg",
"NonAssocSemiring.toAddCommM... | [] | simp [hf.coeff_zero_eq_leadingCoeff_mul_prod_roots, hm] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Polynomial.Splits | {
"line": 418,
"column": 2
} | {
"line": 418,
"column": 57
} | {
"line": 420,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nf : R[X]\ninst✝ : IsDomain R\nhf : f.Splits\nhm : f.Monic\n⊢ f.coeff 0 = (-1) ^ f.natDegree * f.roots.prod",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"NegZeroClass.toNeg",
"NonAssocSemiring.toAddCommM... | [] | simp [hf.coeff_zero_eq_leadingCoeff_mul_prod_roots, hm] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Polynomial.Splits | {
"line": 418,
"column": 2
} | {
"line": 418,
"column": 57
} | {
"line": 420,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nf : R[X]\ninst✝ : IsDomain R\nhf : f.Splits\nhm : f.Monic\n⊢ f.coeff 0 = (-1) ^ f.natDegree * f.roots.prod",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"NegZeroClass.toNeg",
"NonAssocSemiring.toAddCommM... | [] | simp [hf.coeff_zero_eq_leadingCoeff_mul_prod_roots, hm] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Splits | {
"line": 437,
"column": 53
} | {
"line": 437,
"column": 67
} | {
"line": 438,
"column": 4
} | [
{
"pp": "case neg\nR : Type u_1\ninst✝¹ : CommRing R\nf : R[X]\ninst✝ : IsDomain R\na : R\nhf : ((X - C a) * f).Splits\nhf₀ : ¬f = 0\nthis : (X - C a) * f = C f.leadingCoeff * (Multiset.map (fun x ↦ X - C x) ((X - C a).roots + f.roots)).prod\n⊢ f.Splits",
"ppTerm": "?neg✝",
"assigned": true,
"usedCo... | [
"case neg\nR : Type u_1\ninst✝¹ : CommRing R\nf : R[X]\ninst✝ : IsDomain R\na : R\nhf : ((X - C a) * f).Splits\nhf₀ : ¬f = 0\nthis : (X - C a) * f = C f.leadingCoeff * (Multiset.map (fun x ↦ X - C x) ({a} + f.roots)).prod\n⊢ f.Splits"
] | roots_X_sub_C, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic | {
"line": 595,
"column": 16
} | {
"line": 599,
"column": 22
} | {
"line": 601,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_4\nT : Type u_5\ninst✝⁹ : CommRing R\ninst✝⁸ : CommRing S\ninst✝⁷ : CommRing T\ninst✝⁶ : IsDomain S\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R T\ninst✝³ : Algebra S T\ninst✝² : IsTorsionFree S T\ninst✝¹ : Nontrivial T\ninst✝ : IsScalarTower R S T\nh : Algebra.IsIntegral R T\n⊢ ∀... | [] | by
apply RingHom.IsIntegral.tower_bot (algebraMap R S) (algebraMap S T)
(FaithfulSMul.algebraMap_injective S T)
rw [← IsScalarTower.algebraMap_eq R S T]
exact h.isIntegral | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 104,
"column": 2
} | {
"line": 105,
"column": 40
} | {
"line": 106,
"column": 2
} | [
{
"pp": "case h\nR : Type u_1\nS : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\nM : Submonoid R\ninst✝ : IsLocalization M S\n⊢ ∀ (s : S), ∃ t ∈ adjoin R ↑∅, IsUnit t ∧ s * t ∈ adjoin R ↑∅",
"ppTerm": "?h",
"assigned": true,
"usedConstants": [
"Subalgebra.instSetLik... | [
"case h\nR : Type u_1\nS : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\nM : Submonoid R\ninst✝ : IsLocalization M S\n⊢ ∀ (s : S), ∃ a, IsUnit ((algebraMap R S) a) ∧ ∃ y, (algebraMap R S) y = s * (algebraMap R S) a"
] | simp only [Finset.coe_empty, Algebra.adjoin_empty, Algebra.mem_bot,
Set.mem_range, exists_exists_eq_and] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 71,
"column": 2
} | {
"line": 71,
"column": 47
} | {
"line": 72,
"column": 2
} | [
{
"pp": "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",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"Polynomial.C",
"GroupWithZero.toDivisionMonoid",
"HMul.hMul",
... | [
"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⊢ eval₂ (algebraMap K A) x (p * C p.leadingCoeff⁻¹) = 0"
] | refine ⟨_, monic_mul_leadingCoeff_inv hp, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.Localization.Integral | {
"line": 186,
"column": 2
} | {
"line": 197,
"column": 62
} | {
"line": 199,
"column": 0
} | [
{
"pp": "R : Type u_5\nS : Type u_6\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\nf : R →+* S\nx : S\np : R[X]\nhf : eval₂ f x p = 0\nM : Submonoid R\nhM : p.leadingCoeff ∈ M\nRₘ : Type u_7\nSₘ : Type u_8\ninst✝⁵ : CommRing Rₘ\ninst✝⁴ : CommRing Sₘ\ninst✝³ : Algebra R Rₘ\ninst✝² : IsLocalization M Rₘ\ninst... | [] | by_cases triv : (1 : Rₘ) = 0
· exact ⟨0, ⟨_root_.trans leadingCoeff_zero triv.symm, eval₂_zero _ _⟩⟩
have : Nontrivial Rₘ := nontrivial_of_ne 1 0 triv
obtain ⟨b, hb⟩ := isUnit_iff_exists_inv.mp (map_units Rₘ ⟨p.leadingCoeff, hM⟩)
refine ⟨p.map (algebraMap R Rₘ) * C b, ⟨?_, ?_⟩⟩
· refine monic_mul_C_of_leading... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Localization.Integral | {
"line": 186,
"column": 2
} | {
"line": 197,
"column": 62
} | {
"line": 199,
"column": 0
} | [
{
"pp": "R : Type u_5\nS : Type u_6\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\nf : R →+* S\nx : S\np : R[X]\nhf : eval₂ f x p = 0\nM : Submonoid R\nhM : p.leadingCoeff ∈ M\nRₘ : Type u_7\nSₘ : Type u_8\ninst✝⁵ : CommRing Rₘ\ninst✝⁴ : CommRing Sₘ\ninst✝³ : Algebra R Rₘ\ninst✝² : IsLocalization M Rₘ\ninst... | [] | by_cases triv : (1 : Rₘ) = 0
· exact ⟨0, ⟨_root_.trans leadingCoeff_zero triv.symm, eval₂_zero _ _⟩⟩
have : Nontrivial Rₘ := nontrivial_of_ne 1 0 triv
obtain ⟨b, hb⟩ := isUnit_iff_exists_inv.mp (map_units Rₘ ⟨p.leadingCoeff, hM⟩)
refine ⟨p.map (algebraMap R Rₘ) * C b, ⟨?_, ?_⟩⟩
· refine monic_mul_C_of_leading... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 268,
"column": 2
} | {
"line": 268,
"column": 53
} | {
"line": 269,
"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 ≠ 0... | rw [← faithfulSMul_iff_algebraMap_injective] at hRS | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.EssentialFiniteness | {
"line": 152,
"column": 2
} | {
"line": 153,
"column": 56
} | {
"line": 154,
"column": 2
} | [
{
"pp": "case h.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\ns : Finset S\nhs : ∀ (s_1 : S), ∃ t ∈ adjoin R ↑s, IsUnit t ∧ s_1 * t ∈ adjoin R ↑s\nt... | [
"case h.refine_2\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\ns : Finset S\nhs : ∀ (s_1 : S), ∃ t ∈ adjoin R ↑s, IsUnit t ∧ s_1 * t ∈ adjoin R ↑s\nt : Finset T\... | · rw [Algebra.smul_def]
exact mul_mem (Algebra.mem_sup_left ⟨_, h₄, rfl⟩) h₃ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Algebraic.Integral | {
"line": 597,
"column": 2
} | {
"line": 599,
"column": 50
} | {
"line": 601,
"column": 0
} | [
{
"pp": "case neg\nR : Type u_1\nS : Type u_2\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : Algebra R S\nT : Type u_4\ninst✝⁵ : CommRing T\ninst✝⁴ : IsDomain T\ninst✝³ : Algebra S T\ninst✝² : Algebra R T\ninst✝¹ : IsScalarTower R S T\ninst✝ : FaithfulSMul S T\nh : ¬FaithfulSMul R S\n⊢ finrank R S * finran... | [] | · rw [Module.finrank_eq_zero_of_not_faithfulSMul h, zero_mul,
Module.finrank_eq_zero_of_not_faithfulSMul]
exact fun _ ↦ h (FaithfulSMul.tower_bot R S T) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.SurjectiveOnStalks | {
"line": 175,
"column": 4
} | {
"line": 179,
"column": 34
} | {
"line": 180,
"column": 2
} | [
{
"pp": "case refine_1\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\ng : T →+* S ⊗[R] T := Algebra.TensorProduct.includeRight.toRingHom\nJ : Ideal (S ⊗[R] T)\nhJ : J.I... | [] | intro H
simp only [Algebra.algebraMap_eq_smul_one (A := S), Algebra.TensorProduct.algebraMap_apply,
Algebra.algebraMap_self, id_apply, smul_tmul, ← Algebra.algebraMap_eq_smul_one (A := T)] at H
rw [Ideal.mem_comap, Algebra.smul_def, g.map_mul] at ht
exact ht (J.mul_mem_right _ H) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.SurjectiveOnStalks | {
"line": 175,
"column": 4
} | {
"line": 179,
"column": 34
} | {
"line": 180,
"column": 2
} | [
{
"pp": "case refine_1\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\ng : T →+* S ⊗[R] T := Algebra.TensorProduct.includeRight.toRingHom\nJ : Ideal (S ⊗[R] T)\nhJ : J.I... | [] | intro H
simp only [Algebra.algebraMap_eq_smul_one (A := S), Algebra.TensorProduct.algebraMap_apply,
Algebra.algebraMap_self, id_apply, smul_tmul, ← Algebra.algebraMap_eq_smul_one (A := T)] at H
rw [Ideal.mem_comap, Algebra.smul_def, g.map_mul] at ht
exact ht (J.mul_mem_right _ H) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Ideal.MinimalPrime.Localization | {
"line": 79,
"column": 32
} | {
"line": 79,
"column": 87
} | {
"line": 79,
"column": 87
} | [
{
"pp": "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\nH : ∃ m, x ^ m * y ^ n ∈ I\nthis : Nat.find H ≠ 0\n⊢ x ^ (Nat.find H - 1 + 1) * y ^ n ∈ I",
"ppTerm": "?m.165",
"assigned": true,
"usedC... | [
"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\nH : ∃ m, x ^ m * y ^ n ∈ I\nthis : Nat.find H ≠ 0\n⊢ x ^ Nat.find H * y ^ n ∈ I"
] | tsub_add_cancel_of_le (Nat.one_le_iff_ne_zero.mpr this) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Ideal.MinimalPrime.Localization | {
"line": 74,
"column": 2
} | {
"line": 80,
"column": 23
} | {
"line": 82,
"column": 0
} | [
{
"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": [
"Iff.mpr",
"Eq.mpr",
"Nat.instCanonicallyOrderedAdd",
"MulOne.toOne",
"Nat.instOrder... | [] | obtain ⟨y, hy, n, hx⟩ := Ideal.iUnion_minimalPrimes.subset (Set.mem_biUnion hp hx)
have H : ∃ m, x ^ m * y ^ n ∈ I := ⟨n, mul_pow x y n ▸ hx⟩
have : Nat.find H ≠ 0 :=
fun h ↦ hy ⟨n, by simpa only [h, pow_zero, one_mul] using Nat.find_spec H⟩
refine ⟨x ^ (Nat.find H - 1) * y ^ n, Nat.find_min H (Nat.sub_one_lt... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Ideal.MinimalPrime.Localization | {
"line": 74,
"column": 2
} | {
"line": 80,
"column": 23
} | {
"line": 82,
"column": 0
} | [
{
"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": [
"Iff.mpr",
"Eq.mpr",
"Nat.instCanonicallyOrderedAdd",
"MulOne.toOne",
"Nat.instOrder... | [] | obtain ⟨y, hy, n, hx⟩ := Ideal.iUnion_minimalPrimes.subset (Set.mem_biUnion hp hx)
have H : ∃ m, x ^ m * y ^ n ∈ I := ⟨n, mul_pow x y n ▸ hx⟩
have : Nat.find H ≠ 0 :=
fun h ↦ hy ⟨n, by simpa only [h, pow_zero, one_mul] using Nat.find_spec H⟩
refine ⟨x ^ (Nat.find H - 1) * y ^ n, Nat.find_min H (Nat.sub_one_lt... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.LocalizationLocalization | {
"line": 211,
"column": 6
} | {
"line": 222,
"column": 39
} | {
"line": 223,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝⁸ : CommSemiring R\nS : Type u_2\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nT : Type u_3\ninst✝⁵ : CommSemiring T\ninst✝⁴ : Algebra R T\nM N : Submonoid R\nh : M ≤ N\ninst✝³ : IsLocalization M S\ninst✝² : IsLocalization N T\ninst✝¹ : Algebra S T\ninst✝ : IsScalarTower R S T\nx₁ ... | [] | have h₁ := @IsUnit.mul_left_inj T _ _ (algebraMap S T x₁) (algebraMap S T x₂)
(IsLocalization.map_units T ⟨(s₁ : R), h s₁.prop⟩)
have h₂ := @IsUnit.mul_left_inj T _ _ ((algebraMap S T x₁) * (algebraMap R T s₁))
((algebraMap S T x₂) * (algebraMap R T s₁))
(IsLocalization.map_units T ⟨(s₂ : ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Localization.LocalizationLocalization | {
"line": 211,
"column": 6
} | {
"line": 222,
"column": 39
} | {
"line": 223,
"column": 4
} | [
{
"pp": "R : Type u_1\ninst✝⁸ : CommSemiring R\nS : Type u_2\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nT : Type u_3\ninst✝⁵ : CommSemiring T\ninst✝⁴ : Algebra R T\nM N : Submonoid R\nh : M ≤ N\ninst✝³ : IsLocalization M S\ninst✝² : IsLocalization N T\ninst✝¹ : Algebra S T\ninst✝ : IsScalarTower R S T\nx₁ ... | [] | have h₁ := @IsUnit.mul_left_inj T _ _ (algebraMap S T x₁) (algebraMap S T x₂)
(IsLocalization.map_units T ⟨(s₁ : R), h s₁.prop⟩)
have h₂ := @IsUnit.mul_left_inj T _ _ ((algebraMap S T x₁) * (algebraMap R T s₁))
((algebraMap S T x₂) * (algebraMap R T s₁))
(IsLocalization.map_units T ⟨(s₂ : ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.BooleanSubalgebra | {
"line": 72,
"column": 17
} | {
"line": 72,
"column": 43
} | {
"line": 74,
"column": 0
} | [
{
"pp": "ι : Sort u_1\nα : Type u_2\nβ : Type u_3\nγ : Type u_4\ninst✝² : BooleanAlgebra α\ninst✝¹ : BooleanAlgebra β\ninst✝ : BooleanAlgebra γ\nL✝ M : BooleanSubalgebra α\nf : BoundedLatticeHom α β\ns✝ t : Set α\na b : α\nL : BooleanSubalgebra α\ns : Set α\nhs : s = ↑L\n⊢ ⊥ ∈ (L.copy s ⋯).carrier",
"ppTerm... | [] | subst hs; exact L.bot_mem' | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.BooleanSubalgebra | {
"line": 72,
"column": 17
} | {
"line": 72,
"column": 43
} | {
"line": 74,
"column": 0
} | [
{
"pp": "ι : Sort u_1\nα : Type u_2\nβ : Type u_3\nγ : Type u_4\ninst✝² : BooleanAlgebra α\ninst✝¹ : BooleanAlgebra β\ninst✝ : BooleanAlgebra γ\nL✝ M : BooleanSubalgebra α\nf : BoundedLatticeHom α β\ns✝ t : Set α\na b : α\nL : BooleanSubalgebra α\ns : Set α\nhs : s = ↑L\n⊢ ⊥ ∈ (L.copy s ⋯).carrier",
"ppTerm... | [] | subst hs; exact L.bot_mem' | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Spectrum.Maximal.Localization | {
"line": 234,
"column": 68
} | {
"line": 235,
"column": 49
} | {
"line": 237,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommSemiring R\n⊢ mapPiLocalization (RingHom.id R) = RingHom.id (PiLocalization R)",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"RingHom.instRingHomClass",
"PrimeSpectrum.mapPiLocalization._proof_1",
"PrimeSpectrum.isPrime",
"congrA... | [] | by
ext; congrm $(Localization.localRingHom_id _) _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Topology.QuasiSeparated | {
"line": 151,
"column": 4
} | {
"line": 151,
"column": 46
} | {
"line": 152,
"column": 4
} | [
{
"pp": "case isFalse\nα : Type u_1\ninst✝¹ : TopologicalSpace α\ninst✝ : QuasiSeparatedSpace α\ns : Set (Set α)\nhf : s.Finite\nhne : s.Nonempty\nho : ∀ t ∈ s, IsOpen[inst✝¹] t ∨ IsClosed[inst✝¹] t\nhc : ∀ t ∈ s, IsCompact t\nthis :\n ∀ {α : Type u_1} [inst : TopologicalSpace α] [QuasiSeparatedSpace α] {s : S... | [
"case isFalse.inl\nα : Type u_1\ninst✝¹ : TopologicalSpace α\ninst✝ : QuasiSeparatedSpace α\ns : Set (Set α)\nhf : s.Finite\nhne : s.Nonempty\nho : ∀ t ∈ s, IsOpen[inst✝¹] t ∨ IsClosed[inst✝¹] t\nhc : ∀ t ∈ s, IsCompact t\nthis :\n ∀ {α : Type u_1} [inst : TopologicalSpace α] [QuasiSeparatedSpace α] {s : Set (Set ... | obtain (ha | ha) := a.eq_empty_or_nonempty | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Topology.Spectral.Prespectral | {
"line": 159,
"column": 6
} | {
"line": 159,
"column": 47
} | {
"line": 160,
"column": 6
} | [
{
"pp": "case refine_2\nX : Type u_1\nY : Type u_2\ninst✝² : TopologicalSpace X\ninst✝¹ : TopologicalSpace Y\ninst✝ : PrespectralSpace X\nf : X → Y\nhfc : Continuous[inst✝², inst✝¹] f\nh : IsOpenMap f\nU : Set Y\nhs : U ⊆ Set.range f\nhU : IsOpen[inst✝¹] U\nhc : IsCompact U\nUs : Set (Opens X)\nhUs : Us ⊆ {U | ... | [
"case refine_2\nX : Type u_1\nY : Type u_2\ninst✝² : TopologicalSpace X\ninst✝¹ : TopologicalSpace Y\ninst✝ : PrespectralSpace X\nf : X → Y\nhfc : Continuous[inst✝², inst✝¹] f\nh : IsOpenMap f\nU : Set Y\nhs : U ⊆ Set.range f\nhU : IsOpen[inst✝¹] U\nhc : IsCompact U\nUs : Set (Opens X)\nhUs : Us ⊆ {U | IsCompact ↑U... | have := heq ▸ mem_sSup.mpr ⟨i.1, i.2, hx⟩ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Topology.Constructible | {
"line": 109,
"column": 27
} | {
"line": 109,
"column": 46
} | {
"line": 111,
"column": 0
} | [
{
"pp": "X : Type u_2\ninst✝¹ : TopologicalSpace X\ninst✝ : T2Space X\nι : Type u_4\ns : Finset ι\nhs : s.Nonempty\nt : ι → Set X\nht : ∀ i ∈ s, IsRetrocompact (t i)\n⊢ IsRetrocompact (s.inf t)",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"IsRetrocompact.finsetInf"
],
"use... | [] | exact .finsetInf ht | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Topology.Spectral.Prespectral | {
"line": 190,
"column": 2
} | {
"line": 190,
"column": 34
} | {
"line": 191,
"column": 2
} | [
{
"pp": "X : Type u_1\ninst✝¹ : TopologicalSpace X\ninst✝ : PrespectralSpace X\nZ U₁ U₂ : Set X\nhU₁ : ∀ a ∈ U₁, ∃ t ∈ {U | IsOpen[inst✝¹] U ∧ IsCompact U}, a ∈ t ∧ t ⊆ U₁\nhU₂ : ∀ a ∈ U₂, ∃ t ∈ {U | IsOpen[inst✝¹] U ∧ IsCompact U}, a ∈ t ∧ t ⊆ U₂\nhU₁Z : (Z ∩ U₁).Nonempty\nhU₂Z : (Z ∩ U₂).Nonempty\nhU₁₂ : Z ∩ ... | [
"X : Type u_1\ninst✝¹ : TopologicalSpace X\ninst✝ : PrespectralSpace X\nZ U₁ U₂ : Set X\nhU₁ : ∀ a ∈ U₁, ∃ t ∈ {U | IsOpen[inst✝¹] U ∧ IsCompact U}, a ∈ t ∧ t ⊆ U₁\nhU₂ : ∀ a ∈ U₂, ∃ t ∈ {U | IsOpen[inst✝¹] U ∧ IsCompact U}, a ∈ t ∧ t ⊆ U₂\nhU₁Z : (Z ∩ U₁).Nonempty\nhU₂Z : (Z ∩ U₂).Nonempty\nhU₁₂ : Z ∩ (U₁ ∩ U₂) ⊆ ... | obtain ⟨W₂, hW₂⟩ := hU₂ x₂ hx₂.1 | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.RingTheory.Ideal.GoingDown | {
"line": 88,
"column": 10
} | {
"line": 88,
"column": 42
} | {
"line": 88,
"column": 43
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Algebra.HasGoingDown R S\nl : RelSeries {(a, b) | a < b}\nq : PrimeSpectrum R\nlt : (q, l.head) ∈ {(a, b) | a < b}\nih :\n ∀ (P : Ideal S) [inst : P.IsPrime] [lo : P.LiesOver l.last.asIdeal],\n ∃ L,... | [
"R : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Algebra.HasGoingDown R S\nl : RelSeries {(a, b) | a < b}\nq : PrimeSpectrum R\nlt : (q, l.head) ∈ {(a, b) | a < b}\nih :\n ∀ (P : Ideal S) [inst : P.IsPrime] [lo : P.LiesOver l.last.asIdeal],\n ∃ L,\n L.le... | ← L.toList_getElem_zero_eq_head, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Ideal.GoingDown | {
"line": 91,
"column": 10
} | {
"line": 91,
"column": 40
} | {
"line": 91,
"column": 40
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Algebra.HasGoingDown R S\nl : RelSeries {(a, b) | a < b}\nq : PrimeSpectrum R\nlt : (q, l.head) ∈ {(a, b) | a < b}\nih :\n ∀ (P : Ideal S) [inst : P.IsPrime] [lo : P.LiesOver l.last.asIdeal],\n ∃ L,... | [
"R : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Algebra.HasGoingDown R S\nl : RelSeries {(a, b) | a < b}\nq : PrimeSpectrum R\nlt : (q, l.head) ∈ {(a, b) | a < b}\nih :\n ∀ (P : Ideal S) [inst : P.IsPrime] [lo : P.LiesOver l.last.asIdeal],\n ∃ L,\n L.le... | List.getElem_of_eq spec.symm _ | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Topology.Constructible | {
"line": 416,
"column": 27
} | {
"line": 416,
"column": 46
} | {
"line": 418,
"column": 0
} | [
{
"pp": "X : Type u_2\ninst✝ : TopologicalSpace X\nι : Type u_4\ns : Finset ι\nhs : s.Nonempty\nt : ι → Set X\nht : ∀ i ∈ s, IsLocallyConstructible (t i)\n⊢ IsLocallyConstructible (s.inf t)",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"Topology.IsLocallyConstructible.finsetInf"
... | [] | exact .finsetInf ht | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.