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.Algebra.EuclideanDomain.Basic
{ "line": 354, "column": 6 }
{ "line": 354, "column": 14 }
{ "line": 354, "column": 15 }
[ { "pp": "R : Type u\ninst✝ : EuclideanDomain R\nx y z : R\nh1 : z ≠ 0\nh2 : z ∣ y\n⊢ z * (x + y / z) = z * x + y", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "instHDiv", "HMul.hMul", "congrArg", "CommSemiring.toSe...
[ "R : Type u\ninst✝ : EuclideanDomain R\nx y z : R\nh1 : z ≠ 0\nh2 : z ∣ y\n⊢ z * x + z * (y / z) = z * x + y" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 386, "column": 6 }
{ "line": 386, "column": 14 }
{ "line": 386, "column": 15 }
[ { "pp": "R : Type u\ninst✝ : EuclideanDomain R\nx y z t : R\nh1 : y ≠ 0\nh2 : t ≠ 0\nh3 : y ∣ x\nh4 : t ∣ z\n⊢ t * y * (x / y + z / t) = t * x + y * z", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "instHDiv", "HMul.hMul", ...
[ "R : Type u\ninst✝ : EuclideanDomain R\nx y z t : R\nh1 : y ≠ 0\nh2 : t ≠ 0\nh3 : y ∣ x\nh4 : t ∣ z\n⊢ t * y * (x / y) + t * y * (z / t) = t * x + y * z" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Multiset
{ "line": 177, "column": 33 }
{ "line": 177, "column": 42 }
{ "line": 177, "column": 43 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : NormalizedGCDMonoid α\na : α\ns : Multiset α\n⊢ Associated 0 (a * 0)", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "id",...
[ "case refine_1\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : NormalizedGCDMonoid α\na : α\ns : Multiset α\n⊢ Associated 0 0" ]
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.GCDMonoid.Multiset
{ "line": 191, "column": 53 }
{ "line": 191, "column": 61 }
{ "line": 191, "column": 61 }
[ { "pp": "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : NormalizedGCDMonoid α\ninst✝ : DecidableEq α\ns✝ : Multiset α\na : α\ns : Multiset α\nIH : s.dedup.gcd = s.gcd\nh : a ∈ s\n⊢ GCDMonoid.gcd a (fold GCDMonoid.gcd 0 (s.erase a)) =\n GCDMonoid.gcd (GCDMonoid.gcd a a) (fold GCDMonoid.gcd 0 ...
[ "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : NormalizedGCDMonoid α\ninst✝ : DecidableEq α\ns✝ : Multiset α\na : α\ns : Multiset α\nIH : s.dedup.gcd = s.gcd\nh : a ∈ s\n⊢ GCDMonoid.gcd a (fold GCDMonoid.gcd 0 (s.erase a)) = GCDMonoid.gcd (normalize a) (fold GCDMonoid.gcd 0 (s.erase a))" ]
gcd_same
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Multiset
{ "line": 215, "column": 4 }
{ "line": 215, "column": 86 }
{ "line": 216, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : NormalizedGCDMonoid α\ns t : Multiset α\nhs : ∃ x, x ∈ s ∧ x ≠ 0\nht : s = map (fun x ↦ s.gcd * x) t\n⊢ Associated (s.gcd * 1) (s.gcd * t.gcd)", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
simpa using (Associated.of_eq <| congr(gcd $ht)).trans (associated_gcd_map_mul ..)
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.GCDMonoid.Multiset
{ "line": 215, "column": 4 }
{ "line": 215, "column": 86 }
{ "line": 216, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : NormalizedGCDMonoid α\ns t : Multiset α\nhs : ∃ x, x ∈ s ∧ x ≠ 0\nht : s = map (fun x ↦ s.gcd * x) t\n⊢ Associated (s.gcd * 1) (s.gcd * t.gcd)", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
simpa using (Associated.of_eq <| congr(gcd $ht)).trans (associated_gcd_map_mul ..)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.GCDMonoid.Multiset
{ "line": 215, "column": 4 }
{ "line": 215, "column": 86 }
{ "line": 216, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : NormalizedGCDMonoid α\ns t : Multiset α\nhs : ∃ x, x ∈ s ∧ x ≠ 0\nht : s = map (fun x ↦ s.gcd * x) t\n⊢ Associated (s.gcd * 1) (s.gcd * t.gcd)", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
simpa using (Associated.of_eq <| congr(gcd $ht)).trans (associated_gcd_map_mul ..)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.GCDMonoid.Nat
{ "line": 77, "column": 70 }
{ "line": 81, "column": 18 }
{ "line": 83, "column": 0 }
[ { "pp": "z : ℤ\nh : z ≤ 0\n⊢ normalize z = -z", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Int.instAddCommGroup", "Units.val", "Eq.mpr", "Int.strongNormalizationMonoid", "MulOne.toOne", "LE.le.eq_or_lt", "Preorder.toLT", "NonUnitalCommRin...
[]
by obtain rfl | h := h.eq_or_lt · simp · rw [normalize_apply, normUnit_eq, ite_eq_right (not_le_of_gt h), Units.val_neg, Units.val_one, mul_neg_one]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.GCDMonoid.Nat
{ "line": 140, "column": 57 }
{ "line": 140, "column": 73 }
{ "line": 142, "column": 0 }
[ { "pp": "i j : ℤ\n⊢ 0 ≤ GCDMonoid.lcm i j", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Int.lcm", "Int.natCast_nonneg._simp_1", "Int", "LE.le", "Nat.cast", "instOfNat", "of_eq_true", "instNatCastInt", "OfNat.ofNat", "Int.instLEI...
[]
simp [← coe_lcm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.GCDMonoid.Nat
{ "line": 140, "column": 57 }
{ "line": 140, "column": 73 }
{ "line": 142, "column": 0 }
[ { "pp": "i j : ℤ\n⊢ 0 ≤ GCDMonoid.lcm i j", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Int.lcm", "Int.natCast_nonneg._simp_1", "Int", "LE.le", "Nat.cast", "instOfNat", "of_eq_true", "instNatCastInt", "OfNat.ofNat", "Int.instLEI...
[]
simp [← coe_lcm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.GCDMonoid.Nat
{ "line": 140, "column": 57 }
{ "line": 140, "column": 73 }
{ "line": 142, "column": 0 }
[ { "pp": "i j : ℤ\n⊢ 0 ≤ GCDMonoid.lcm i j", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Int.lcm", "Int.natCast_nonneg._simp_1", "Int", "LE.le", "Nat.cast", "instOfNat", "of_eq_true", "instNatCastInt", "OfNat.ofNat", "Int.instLEI...
[]
simp [← coe_lcm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1049, "column": 8 }
{ "line": 1049, "column": 16 }
{ "line": 1049, "column": 17 }
[ { "pp": "case h\nα : Type u_1\ninst✝¹ : CommRing α\ninst✝ : NormalizedGCDMonoid α\na b c d : α\nhd : b - c = a * d\ne : α\nhe : c = gcd a c * e\nf : α\nhf : a = gcd a c * f\n⊢ b = gcd a c * (e + f * d)", "ppTerm": "?h", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq...
[ "case h\nα : Type u_1\ninst✝¹ : CommRing α\ninst✝ : NormalizedGCDMonoid α\na b c d : α\nhd : b - c = a * d\ne : α\nhe : c = gcd a c * e\nf : α\nhf : a = gcd a c * f\n⊢ b = gcd a c * e + gcd a c * (f * d)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1113, "column": 12 }
{ "line": 1113, "column": 21 }
{ "line": 1113, "column": 22 }
[ { "pp": "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : IsCancelMulZero α\ninst✝ : DecidableEq α\ngcd : α → α → α\ngcd_dvd_left : ∀ (a b : α), gcd a b ∣ a\ngcd_dvd_right : ∀ (a b : α), gcd a b ∣ b\ndvd_gcd : ∀ {a b c : α}, a ∣ c → a ∣ b → a ∣ gcd c b\na b : α\na0 : a = 0\n⊢ Associated (gcd a b ...
[ "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : IsCancelMulZero α\ninst✝ : DecidableEq α\ngcd : α → α → α\ngcd_dvd_left : ∀ (a b : α), gcd a b ∣ a\ngcd_dvd_right : ∀ (a b : α), gcd a b ∣ b\ndvd_gcd : ∀ {a b c : α}, a ∣ c → a ∣ b → a ∣ gcd c b\na b : α\na0 : a = 0\n⊢ Associated 0 (a * b)" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1145, "column": 12 }
{ "line": 1145, "column": 21 }
{ "line": 1145, "column": 22 }
[ { "pp": "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\ngcd : α → α → α\ngcd_dvd_left : ∀ (a b : α), gcd a b ∣ a\ngcd_dvd_right : ∀ (a b : α), gcd a b ∣ b\ndvd_gcd : ∀ {a b c : α}, a ∣ c → a ∣ b → a ∣ gcd c b\nnormalize_g...
[ "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\ngcd : α → α → α\ngcd_dvd_left : ∀ (a b : α), gcd a b ∣ a\ngcd_dvd_right : ∀ (a b : α), gcd a b ∣ b\ndvd_gcd : ∀ {a b c : α}, a ∣ c → a ∣ b → a ∣ gcd c b\nnormalize_gcd : ∀ (a b ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.Matrix.Defs
{ "line": 399, "column": 2 }
{ "line": 400, "column": 58 }
{ "line": 401, "column": 2 }
[ { "pp": "m : Type u_2\nn : Type u_3\nα : Type v\ninst✝ : AddMonoid α\nA : Matrix m n α\n⊢ IsAddUnit A ↔ ∀ (i : m) (j : n), IsAddUnit (A i j)", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "_private.Mathlib.LinearAlgebra.Matrix.Defs.0.Matrix.isAddUnit_iff._simp_1_2", "Eq.mpr", ...
[ "m : Type u_2\nn : Type u_3\nα : Type v\ninst✝ : AddMonoid α\nA : Matrix m n α\n⊢ (∃ b, (∀ (i : m) (j : n), A i j + b i j = 0) ∧ ∀ (i : m) (j : n), b i j + A i j = 0) ↔\n ∃ f, (∀ (x : m) (x_1 : n), A x x_1 + f x x_1 = 0) ∧ ∀ (x : m) (x_1 : n), f x x_1 + A x x_1 = 0" ]
simp_rw [isAddUnit_iff_exists, Classical.skolem, forall_and, ← Matrix.ext_iff, Matrix.add_apply, Matrix.zero_apply]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1166, "column": 55 }
{ "line": 1166, "column": 64 }
{ "line": 1166, "column": 65 }
[ { "pp": "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : IsCancelMulZero α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nexists_gcd : ∀ (a b : α), lcm a b ∣ a * b :...
[ "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : IsCancelMulZero α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nexists_gcd : ∀ (a b : α), lcm a b ∣ a * b := fun a b ↦ ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Matrix.Diagonal
{ "line": 207, "column": 2 }
{ "line": 208, "column": 46 }
{ "line": 210, "column": 0 }
[ { "pp": "n : Type u_3\nα : Type v\ninst✝¹ : DecidableEq n\ninst✝ : Zero α\nd : n → α\ni : n\n⊢ (diagonal d).col i = Pi.single i (d i)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Equiv.instEquivLike", "congrArg", "Matrix", "Pi.single_apply", "Matrix.of", ...
[]
ext simp +contextual [diagonal, Pi.single_apply]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Matrix.Diagonal
{ "line": 207, "column": 2 }
{ "line": 208, "column": 46 }
{ "line": 210, "column": 0 }
[ { "pp": "n : Type u_3\nα : Type v\ninst✝¹ : DecidableEq n\ninst✝ : Zero α\nd : n → α\ni : n\n⊢ (diagonal d).col i = Pi.single i (d i)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Equiv.instEquivLike", "congrArg", "Matrix", "Pi.single_apply", "Matrix.of", ...
[]
ext simp +contextual [diagonal, Pi.single_apply]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Matrix.Diagonal
{ "line": 264, "column": 8 }
{ "line": 264, "column": 22 }
{ "line": 264, "column": 23 }
[ { "pp": "l : Type u_1\nm : Type u_2\nn✝ : Type u_3\nR : Type u_4\nS : Type u_5\nα : Type v\nβ : Type w\ninst✝¹ : DecidableEq n✝\ninst✝ : AddMonoidWithOne α\nn : ℕ\n⊢ (diagonal fun x ↦ ↑(n + 1)) = (diagonal fun x ↦ ↑n) + 1", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "l : Type u_1\nm : Type u_2\nn✝ : Type u_3\nR : Type u_4\nS : Type u_5\nα : Type v\nβ : Type w\ninst✝¹ : DecidableEq n✝\ninst✝ : AddMonoidWithOne α\nn : ℕ\n⊢ (diagonal fun x ↦ ↑n + 1) = (diagonal fun x ↦ ↑n) + 1" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.DedekindFinite
{ "line": 19, "column": 4 }
{ "line": 20, "column": 39 }
{ "line": 21, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝¹ : Monoid M\ninst✝ : Finite M\na b : M\nhab : a * b = 1\n⊢ b * a = 1", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "Exists", "id", "MulOn...
[]
have ⟨c, hbc⟩ := Finite.surjective_of_injective (isLeftRegular_of_mul_eq_one hab) 1 rwa [left_inv_eq_right_inv hab hbc]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.DedekindFinite
{ "line": 19, "column": 4 }
{ "line": 20, "column": 39 }
{ "line": 21, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝¹ : Monoid M\ninst✝ : Finite M\na b : M\nhab : a * b = 1\n⊢ b * a = 1", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "HMul.hMul", "Monoid.toMulOneClass", "congrArg", "Exists", "id", "MulOn...
[]
have ⟨c, hbc⟩ := Finite.surjective_of_injective (isLeftRegular_of_mul_eq_one hab) 1 rwa [left_inv_eq_right_inv hab hbc]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1236, "column": 55 }
{ "line": 1236, "column": 64 }
{ "line": 1236, "column": 65 }
[ { "pp": "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nnormalize_l...
[ "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nnormalize_lcm : ∀ (a b ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1237, "column": 58 }
{ "line": 1237, "column": 67 }
{ "line": 1237, "column": 68 }
[ { "pp": "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nnormalize_l...
[ "case pos\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : IsCancelMulZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : DecidableEq α\nlcm : α → α → α\ndvd_lcm_left : ∀ (a b : α), a ∣ lcm a b\ndvd_lcm_right : ∀ (a b : α), b ∣ lcm a b\nlcm_dvd : ∀ {a b c : α}, c ∣ a → b ∣ a → lcm c b ∣ a\nnormalize_lcm : ∀ (a b ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1377, "column": 4 }
{ "line": 1377, "column": 44 }
{ "line": 1378, "column": 2 }
[ { "pp": "α : Type u_1\nG₀ : Type u_2\ninst✝¹ : CommGroupWithZero G₀\ninst✝ : DecidableEq G₀\na b : G₀\n⊢ Associated ((if a = 0 ∧ b = 0 then 0 else 1) * if a = 0 ∨ b = 0 then 0 else 1) (a * b)", "ppTerm": "?m.153", "assigned": true, "usedConstants": [ "Eq.mpr", "GroupWithZero.toMonoidWith...
[]
split_ifs <;> simp_all [Associated.comm]
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1377, "column": 4 }
{ "line": 1377, "column": 44 }
{ "line": 1378, "column": 2 }
[ { "pp": "α : Type u_1\nG₀ : Type u_2\ninst✝¹ : CommGroupWithZero G₀\ninst✝ : DecidableEq G₀\na b : G₀\n⊢ Associated ((if a = 0 ∧ b = 0 then 0 else 1) * if a = 0 ∨ b = 0 then 0 else 1) (a * b)", "ppTerm": "?m.153", "assigned": true, "usedConstants": [ "Eq.mpr", "GroupWithZero.toMonoidWith...
[]
split_ifs <;> simp_all [Associated.comm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.GCDMonoid.Basic
{ "line": 1377, "column": 4 }
{ "line": 1377, "column": 44 }
{ "line": 1378, "column": 2 }
[ { "pp": "α : Type u_1\nG₀ : Type u_2\ninst✝¹ : CommGroupWithZero G₀\ninst✝ : DecidableEq G₀\na b : G₀\n⊢ Associated ((if a = 0 ∧ b = 0 then 0 else 1) * if a = 0 ∨ b = 0 then 0 else 1) (a * b)", "ppTerm": "?m.153", "assigned": true, "usedConstants": [ "Eq.mpr", "GroupWithZero.toMonoidWith...
[]
split_ifs <;> simp_all [Associated.comm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.Dimension.StrongRankCondition
{ "line": 597, "column": 2 }
{ "line": 597, "column": 47 }
{ "line": 598, "column": 2 }
[ { "pp": "R : Type u\ninst✝¹ : Semiring R\ninst✝ : Nontrivial R\n⊢ (∃ n, ℵ₀ ≤ Module.rank R (Fin n → R)) ↔ ∃ n > 0, finrank R (Fin n → R) ≤ 0", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", "Pi.Function.module", "Nat.instMulZeroOneClass", "Semiring.toModule...
[ "R : Type u\ninst✝¹ : Semiring R\ninst✝ : Nontrivial R\n⊢ (∃ n, ℵ₀ ≤ Module.rank R (Fin n → R)) ↔ ∃ n > 0, Module.rank R (Fin n → R) = 0 ∨ ℵ₀ ≤ Module.rank R (Fin n → R)" ]
simp_rw [finrank, Nat.le_zero, toNat_eq_zero]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Data.Finsupp.Multiset
{ "line": 72, "column": 4 }
{ "line": 76, "column": 7 }
{ "line": 78, "column": 0 }
[ { "pp": "case refine_2\nα : Type u_1\nβ : Type u_2\nf : α →₀ ℕ\ng : α → β\n⊢ ∀ (a : α) (b : ℕ) (f : α →₀ ℕ),\n a ∉ f.support →\n b ≠ 0 →\n Multiset.map g (toMultiset f) = toMultiset (mapDomain g f) →\n Multiset.map g (toMultiset (single a b + f)) = toMultiset (mapDomain g (single a b + f...
[]
intro a n f _ _ ih rw [toMultiset_add, Multiset.map_add, ih, mapDomain_add, mapDomain_single, toMultiset_single, toMultiset_add, toMultiset_single, ← Multiset.coe_mapAddMonoidHom, (Multiset.mapAddMonoidHom g).map_nsmul] rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Finsupp.Multiset
{ "line": 72, "column": 4 }
{ "line": 76, "column": 7 }
{ "line": 78, "column": 0 }
[ { "pp": "case refine_2\nα : Type u_1\nβ : Type u_2\nf : α →₀ ℕ\ng : α → β\n⊢ ∀ (a : α) (b : ℕ) (f : α →₀ ℕ),\n a ∉ f.support →\n b ≠ 0 →\n Multiset.map g (toMultiset f) = toMultiset (mapDomain g f) →\n Multiset.map g (toMultiset (single a b + f)) = toMultiset (mapDomain g (single a b + f...
[]
intro a n f _ _ ih rw [toMultiset_add, Multiset.map_add, ih, mapDomain_add, mapDomain_single, toMultiset_single, toMultiset_add, toMultiset_single, ← Multiset.coe_mapAddMonoidHom, (Multiset.mapAddMonoidHom g).map_nsmul] rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.UnionLift
{ "line": 116, "column": 24 }
{ "line": 116, "column": 28 }
{ "line": 116, "column": 29 }
[ { "pp": "α : Type u_1\nι : Sort u_2\nβ : Sort u_3\nS : ι → Set α\nf : (i : ι) → ↑(S i) → β\nhf : ∀ (i j : ι) (x : α) (hxi : x ∈ S i) (hxj : x ∈ S j), f i ⟨x, hxi⟩ = f j ⟨x, hxj⟩\nui : (i : ι) → ↑(S i) → ↑(S i)\nuβ : β → β\nh : ∀ (i : ι) (x : ↑(S i)), f i (ui i x) = uβ (f i x)\nu : ↑(iUnion S) → ↑(iUnion S)\nhui...
[ "α : Type u_1\nι : Sort u_2\nβ : Sort u_3\nS : ι → Set α\nf : (i : ι) → ↑(S i) → β\nhf : ∀ (i j : ι) (x : α) (hxi : x ∈ S i) (hxj : x ∈ S j), f i ⟨x, hxi⟩ = f j ⟨x, hxj⟩\nui : (i : ι) → ↑(S i) → ↑(S i)\nuβ : β → β\nh : ∀ (i : ι) (x : ↑(S i)), f i (ui i x) = uβ (f i x)\nu : ↑(iUnion S) → ↑(iUnion S)\nhui : ∀ (i : ι)...
hui,
Lean.Elab.Tactic.Conv.evalRewrite
null
Mathlib.LinearAlgebra.Dimension.Free
{ "line": 416, "column": 27 }
{ "line": 416, "column": 42 }
{ "line": 417, "column": 2 }
[ { "pp": "R✝ : Type u\nS : Type u_1\nM✝ M₁ : Type v\nM' : Type v'\ninst✝¹⁵ : Semiring R✝\ninst✝¹⁴ : AddCommMonoid M✝\ninst✝¹³ : Module R✝ M✝\ninst✝¹² : Free R✝ M✝\ninst✝¹¹ : AddCommMonoid M'\ninst✝¹⁰ : Module R✝ M'\ninst✝⁹ : Free R✝ M'\ninst✝⁸ : AddCommMonoid M₁\ninst✝⁷ : Module R✝ M₁\ninst✝⁶ : Free R✝ M₁\ninst✝...
[]
simp [mul_smul]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.RingTheory.TwoSidedIdeal.Basic
{ "line": 138, "column": 53 }
{ "line": 139, "column": 50 }
{ "line": 141, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : NonUnitalNonAssocRing R\nI : TwoSidedIdeal R\nx y : R\nhy : y ∈ I\n⊢ x * y ∈ I", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "HMul.hMul", "RingCon.instFunLikeForallProp", "congrArg", "NonUnitalNonAssocSemiring.toMulZeroClass", ...
[]
by simpa using! I.ringCon.mul (I.ringCon.refl x) hy
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.DirectSum.Basic
{ "line": 417, "column": 2 }
{ "line": 417, "column": 90 }
{ "line": 418, "column": 2 }
[ { "pp": "ι : Type v\ninst✝⁴ : DecidableEq ι\nM : Type u_1\nS : Type u_2\ninst✝³ : DecidableEq M\ninst✝² : AddCommMonoid M\ninst✝¹ : SetLike S M\ninst✝ : AddSubmonoidClass S M\nA : ι → S\nx : ⨁ (i : ι), ↥(A i)\n⊢ (DirectSum.coeAddMonoidHom A) x = DFinsupp.sum x fun i x ↦ ↑x", "ppTerm": "?m.28", "assigned...
[ "ι : Type v\ninst✝⁴ : DecidableEq ι\nM : Type u_1\nS : Type u_2\ninst✝³ : DecidableEq M\ninst✝² : AddCommMonoid M\ninst✝¹ : SetLike S M\ninst✝ : AddSubmonoidClass S M\nA : ι → S\nx : ⨁ (i : ι), ↥(A i)\n⊢ ({ toFun := DFinsupp.sumAddHom, invFun := fun F i ↦ F.comp (DFinsupp.singleAddHom (fun i ↦ ↥(A i)) i), left_inv ...
simp only [DirectSum.coeAddMonoidHom, toAddMonoid, DFinsupp.liftAddHom, AddEquiv.coe_mk]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Algebra.Subalgebra.Lattice
{ "line": 440, "column": 8 }
{ "line": 440, "column": 16 }
{ "line": 440, "column": 17 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\ns✝ : Subalgebra R S\nM✝ : Submonoid S\nH✝ : M✝ ≤ s✝.toSubmonoid\ns : Subalgebra R S\nM : Submonoid S\nH : M ≤ s.toSubmonoid\na b m : S\nhm : m ∈ M\nha : m * a ∈ s\nn : S\nhn : n ∈ M\nhb : n * b ∈ s\n⊢ n *...
[ "R : Type u_1\nS : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\ns✝ : Subalgebra R S\nM✝ : Submonoid S\nH✝ : M✝ ≤ s✝.toSubmonoid\ns : Subalgebra R S\nM : Submonoid S\nH : M ≤ s.toSubmonoid\na b m : S\nhm : m ∈ M\nha : m * a ∈ s\nn : S\nhn : n ∈ M\nhb : n * b ∈ s\n⊢ n * m * a + n *...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Matrix.Block
{ "line": 250, "column": 53 }
{ "line": 252, "column": 39 }
{ "line": 254, "column": 0 }
[ { "pp": "l : Type u_1\nm : Type u_2\nn : Type u_3\no : Type u_4\nα : Type u_11\ninst✝² : Fintype n\ninst✝¹ : Fintype o\ninst✝ : NonUnitalNonAssocSemiring α\nA : Matrix n l α\nB : Matrix n m α\nC : Matrix o l α\nD : Matrix o m α\nx : n ⊕ o → α\n⊢ x ᵥ* fromBlocks A B C D = Sum.elim (x ∘ Sum.inl ᵥ* A + x ∘ Sum.inr...
[]
by ext i cases i <;> simp [vecMul, dotProduct]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.FreeModule.PID
{ "line": 194, "column": 8 }
{ "line": 194, "column": 37 }
{ "line": 195, "column": 8 }
[ { "pp": "ι : Type u_1\nR : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : IsPrincipalIdealRing R\ninst✝³ : IsDomain R\ninst✝² : Finite ι\nO : Type u_4\ninst✝¹ : AddCommGroup O\ninst✝ : Module R O\nM N : Submodule R O\nb'M : Basis ι R ↥M\nN_bot : N ≠ ⊥\nN_le_M : N ≤ M\nthis : ∃ ϕ, ∀ (ψ : ↥M →ₗ[R] R), ¬ϕ.submoduleImage ...
[ "ι : Type u_1\nR : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : IsPrincipalIdealRing R\ninst✝³ : IsDomain R\ninst✝² : Finite ι\nO : Type u_4\ninst✝¹ : AddCommGroup O\ninst✝ : Module R O\nM N : Submodule R O\nb'M : Basis ι R ↥M\nN_bot : N ≠ ⊥\nN_le_M : N ≤ M\nthis : ∃ ϕ, ∀ (ψ : ↥M →ₗ[R] R), ¬ϕ.submoduleImage N < ψ.submod...
simp only [map_sum, map_smul]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 369, "column": 4 }
{ "line": 369, "column": 51 }
{ "line": 370, "column": 4 }
[ { "pp": "G : Type u_1\ninst✝¹ : Semigroup G\ninst✝ : IsCancelMul G\nh : ∀ {A : Finset G}, A.Nonempty → ∃ a1 ∈ A, ∃ a2 ∈ A, UniqueMul A A a1 a2\nA B : Finset G\nhA : A.Nonempty\nhB : B.Nonempty\ng1 : G\nh1 : g1 ∈ B * A\ng2 : G\nh2 : g2 ∈ B * A\nhu : UniqueMul (B * A) (B * A) g1 g2\n⊢ ∃ a0 ∈ A, ∃ b0 ∈ B, UniqueMu...
[ "G : Type u_1\ninst✝¹ : Semigroup G\ninst✝ : IsCancelMul G\nh : ∀ {A : Finset G}, A.Nonempty → ∃ a1 ∈ A, ∃ a2 ∈ A, UniqueMul A A a1 a2\nA B : Finset G\nhA : A.Nonempty\nhB : B.Nonempty\ng2 : G\nh2 : g2 ∈ B * A\nb1 : G\nhb1 : b1 ∈ B\na1 : G\nha1 : a1 ∈ A\nh1 : b1 * a1 ∈ B * A\nhu : UniqueMul (B * A) (B * A) (b1 * a1...
obtain ⟨b1, hb1, a1, ha1, rfl⟩ := mem_mul.mp h1
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Data.List.Permutation
{ "line": 179, "column": 72 }
{ "line": 179, "column": 95 }
{ "line": 179, "column": 95 }
[ { "pp": "case cons\nα : Type u_1\nt : α\nts : List α\nr : List (List α)\nl : List α\nL : List (List α)\nih :\n foldr (fun y r ↦ (permutationsAux2 t ts r y id).snd) r L =\n flatMap (fun y ↦ (permutationsAux2 t ts [] y id).snd) L ++ r\n⊢ (permutationsAux2 t ts (flatMap (fun y ↦ (permutationsAux2 t ts [] y id)...
[]
permutationsAux2_append
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 1185, "column": 4 }
{ "line": 1185, "column": 21 }
{ "line": 1187, "column": 0 }
[ { "pp": "ι : Type u_1\ninst✝⁸ : Fintype ι\ninst✝⁷ : DecidableEq ι\nR : Type u_2\ninst✝⁶ : CommSemiring R\nA : Type u_3\ninst✝⁵ : Semiring A\ninst✝⁴ : Algebra R A\nM : Type u_4\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : Module A M\ninst✝ : IsScalarTower R A M\nr : R\ni✝ j✝ : ι\nx✝ : M\n⊢ (if i✝ = j...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.List.Permutation
{ "line": 388, "column": 44 }
{ "line": 388, "column": 67 }
{ "line": 388, "column": 67 }
[ { "pp": "case succ.refine_2.e_b\nα : Type u_1\nn : ℕ\nIH : ∀ (ts : List α), ts.length < n → ts.permutations ~ ts.permutations'\nts✝ : List α\nh✝ : ts✝.length < n + 1\nts : List α\nt : α\nx✝¹ : ts.length < n + 1 → ts.permutations ~ ts.permutations'\nh : ts.length < n\nIH₂ : ts.reverse.permutations ~ ts.permutati...
[ "case succ.refine_2.e_b\nα : Type u_1\nn : ℕ\nIH : ∀ (ts : List α), ts.length < n → ts.permutations ~ ts.permutations'\nts✝ : List α\nh✝ : ts✝.length < n + 1\nts : List α\nt : α\nx✝¹ : ts.length < n + 1 → ts.permutations ~ ts.permutations'\nh : ts.length < n\nIH₂ : ts.reverse.permutations ~ ts.permutations'\nx✝ : L...
permutationsAux2_append
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.FreeModule.PID
{ "line": 473, "column": 2 }
{ "line": 473, "column": 87 }
{ "line": 474, "column": 2 }
[ { "pp": "case neg\nι : Type u_1\nR : Type u_2\ninst✝⁵ : CommRing R\nM : Type u_3\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : IsDomain R\ninst✝¹ : IsPrincipalIdealRing R\ninst✝ : Finite ι\nb : Basis ι R M\nval✝ : Fintype ι\nM0 : Submodule R M\nih :\n ∀ N' ≤ M0,\n ∀ x ∈ M0,\n (∀ (c : R), ∀ y ...
[ "case neg\nι : Type u_1\nR : Type u_2\ninst✝⁵ : CommRing R\nM : Type u_3\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : IsDomain R\ninst✝¹ : IsPrincipalIdealRing R\ninst✝ : Finite ι\nb : Basis ι R M\nval✝ : Fintype ι\nM0 : Submodule R M\nih :\n ∀ N' ≤ M0,\n ∀ x ∈ M0,\n (∀ (c : R), ∀ y ∈ N', c • x ...
obtain ⟨n', m', hn'm', bM', bN', as', has'⟩ := ih M' M'_le_M y hy y_ortho N' N'_le_M'
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.GroupTheory.GroupAction.FixedPoints
{ "line": 97, "column": 14 }
{ "line": 97, "column": 29 }
{ "line": 97, "column": 29 }
[ { "pp": "α : Type u_1\nG : Type u_2\ninst✝¹ : Group G\ninst✝ : MulAction G α\ng : G\na : α\nh : ∀ (j : ℤ), a ∈ fixedBy α (g ^ j)\n⊢ a ∈ fixedBy α g", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "congrArg", "DivInvMonoid.toZPow", "MulAc...
[]
simpa using h 1
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.GroupTheory.GroupAction.FixedPoints
{ "line": 97, "column": 14 }
{ "line": 97, "column": 29 }
{ "line": 97, "column": 29 }
[ { "pp": "α : Type u_1\nG : Type u_2\ninst✝¹ : Group G\ninst✝ : MulAction G α\ng : G\na : α\nh : ∀ (j : ℤ), a ∈ fixedBy α (g ^ j)\n⊢ a ∈ fixedBy α g", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "congrArg", "DivInvMonoid.toZPow", "MulAc...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.GroupAction.FixedPoints
{ "line": 97, "column": 14 }
{ "line": 97, "column": 29 }
{ "line": 97, "column": 29 }
[ { "pp": "α : Type u_1\nG : Type u_2\ninst✝¹ : Group G\ninst✝ : MulAction G α\ng : G\na : α\nh : ∀ (j : ℤ), a ∈ fixedBy α (g ^ j)\n⊢ a ∈ fixedBy α g", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "congrArg", "DivInvMonoid.toZPow", "MulAc...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 593, "column": 34 }
{ "line": 593, "column": 39 }
{ "line": 593, "column": 40 }
[ { "pp": "case refine_1\nG : Type u\nH : Type v\ninst✝⁴ : Mul G\ninst✝³ : Mul H\ninst✝² : IsRightCancelMul G\ninst✝¹ : LinearOrder G\ninst✝ : MulLeftStrictMono G\nA B : Finset G\nhc : 1 < #(A ×ˢ B)\nhA : A.Nonempty\nhB : B.Nonempty\na0 : G\nha0 : a0 ∈ A\nb0 : G\nhb0 : b0 ∈ B\nhe0 : a0 * b0 = (A * B).max' ⋯\na1 :...
[ "case refine_1\nG : Type u\nH : Type v\ninst✝⁴ : Mul G\ninst✝³ : Mul H\ninst✝² : IsRightCancelMul G\ninst✝¹ : LinearOrder G\ninst✝ : MulLeftStrictMono G\nA B : Finset G\nhc : 1 < #(A ×ˢ B)\nhA : A.Nonempty\nhB : B.Nonempty\na0 : G\nha0 : a0 ∈ A\nb0 : G\nhb0 : b0 ∈ B\na1 : G\nhe0 : a1 * b0 = (A * B).max' ⋯\nha1 : a1...
he.1,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 593, "column": 46 }
{ "line": 593, "column": 49 }
{ "line": 593, "column": 49 }
[ { "pp": "case refine_1\nG : Type u\nH : Type v\ninst✝⁴ : Mul G\ninst✝³ : Mul H\ninst✝² : IsRightCancelMul G\ninst✝¹ : LinearOrder G\ninst✝ : MulLeftStrictMono G\nA B : Finset G\nhc : 1 < #(A ×ˢ B)\nhA : A.Nonempty\nhB : B.Nonempty\na0 : G\nha0 : a0 ∈ A\nb0 : G\nhb0 : b0 ∈ B\na1 : G\nha1 : a1 ∈ A\nb1 : G\nhe0 : ...
[ "case refine_1\nG : Type u\nH : Type v\ninst✝⁴ : Mul G\ninst✝³ : Mul H\ninst✝² : IsRightCancelMul G\ninst✝¹ : LinearOrder G\ninst✝ : MulLeftStrictMono G\nA B : Finset G\nhc : 1 < #(A ×ˢ B)\nhA : A.Nonempty\nhB : B.Nonempty\na0 : G\nha0 : a0 ∈ A\nb0 : G\nhb0 : b0 ∈ B\na1 : G\nha1 : a1 ∈ A\nb1 : G\nhe0 : (A * B).min'...
he1
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.List.Cycle
{ "line": 835, "column": 8 }
{ "line": 835, "column": 33 }
{ "line": 835, "column": 34 }
[ { "pp": "α : Type u_1\nr : α → α → Prop\nl m : List α\na : α\n_H : ∀ (hl : m ≠ []), Chain r ↑m ↔ IsChain r (m.getLast hl :: m)\nhl✝ : m ++ [a] ≠ []\n⊢ Chain r ↑(m ++ [a]) ↔ IsChain r ((m ++ [a]).getLast hl✝ :: (m ++ [a]))", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "List.getLast"...
[ "α : Type u_1\nr : α → α → Prop\nl m : List α\na : α\n_H : ∀ (hl : m ≠ []), Chain r ↑m ↔ IsChain r (m.getLast hl :: m)\nhl✝ : m ++ [a] ≠ []\n⊢ Chain r ↑(a :: m) ↔ IsChain r ((m ++ [a]).getLast hl✝ :: (m ++ [a]))" ]
← coe_cons_eq_coe_append,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.List.Cycle
{ "line": 846, "column": 18 }
{ "line": 846, "column": 43 }
{ "line": 846, "column": 44 }
[ { "pp": "r : ℕ → ℕ → Prop\nn : ℕ\n⊢ Chain r ↑(range n ++ [n]) ↔ r n 0 ∧ ∀ m < n, r m m.succ", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Cycle.coe_cons_eq_coe_append", "id", "instOfNatNat", "List.range", "Cycle.Chain", ...
[ "r : ℕ → ℕ → Prop\nn : ℕ\n⊢ Chain r ↑(n :: range n) ↔ r n 0 ∧ ∀ m < n, r m m.succ" ]
← coe_cons_eq_coe_append,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.MonoidLocalization.MonoidWithZero
{ "line": 36, "column": 11 }
{ "line": 36, "column": 20 }
{ "line": 36, "column": 21 }
[ { "pp": "M : Type u_1\ninst✝¹ : CommMonoidWithZero M\nS : Submonoid M\nN : Type u_2\ninst✝ : CommMonoidWithZero N\nf : S.LocalizationMap N\nx✝ : Subsingleton N\nc : ↥S\neq : ↑c * 0 = ↑c * 1\n⊢ 0 ∈ S", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid", ...
[ "M : Type u_1\ninst✝¹ : CommMonoidWithZero M\nS : Submonoid M\nN : Type u_2\ninst✝ : CommMonoidWithZero N\nf : S.LocalizationMap N\nx✝ : Subsingleton N\nc : ↥S\neq : 0 = ↑c * 1\n⊢ 0 ∈ S" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.MonoidLocalization.MonoidWithZero
{ "line": 92, "column": 46 }
{ "line": 92, "column": 55 }
{ "line": 92, "column": 56 }
[ { "pp": "M : Type u_1\ninst✝² : CommMonoidWithZero M\nS : Submonoid M\nN : Type u_2\ninst✝¹ : CommMonoidWithZero N\nP : Type u_3\ninst✝ : CommMonoidWithZero P\nf : S.LocalizationMap N\ng : M →*₀ P\nhg : ∀ (y : ↥S), IsUnit (g ↑y)\n⊢ ↑g (f.sec 0).1 = ↑g ↑(f.sec 0).2 * 0", "ppTerm": "?m.48", "assigned": tr...
[ "M : Type u_1\ninst✝² : CommMonoidWithZero M\nS : Submonoid M\nN : Type u_2\ninst✝¹ : CommMonoidWithZero N\nP : Type u_3\ninst✝ : CommMonoidWithZero P\nf : S.LocalizationMap N\ng : M →*₀ P\nhg : ∀ (y : ↥S), IsUnit (g ↑y)\n⊢ ↑g (f.sec 0).1 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 49, "column": 47 }
{ "line": 49, "column": 56 }
{ "line": 49, "column": 57 }
[ { "pp": "case c\nR : Type u_1\ninst✝¹ : MonoidWithZero R\nS : Submonoid R\ninst✝ : OreSet S\nr : R\ns : ↥S\n⊢ r * 0 /ₒ s = 0 /ₒ 1", "ppTerm": "?c", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "MulZeroClass.toMul", "Monoid.toMulOneClass", "congrArg", ...
[ "case c\nR : Type u_1\ninst✝¹ : MonoidWithZero R\nS : Submonoid R\ninst✝ : OreSet S\nr : R\ns : ↥S\n⊢ 0 /ₒ s = 0 /ₒ 1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 124, "column": 4 }
{ "line": 124, "column": 28 }
{ "line": 126, "column": 0 }
[ { "pp": "case h\nR : Type u_1\ninst✝³ : Monoid R\nS : Submonoid R\ninst✝² : OreSet S\nX : Type u_2\ninst✝¹ : AddMonoid X\ninst✝ : DistribMulAction R X\nr₂ : X\ns₂ : ↥S\nr₁' : X\ns₁' : ↥S\nr₁ : X\ns₁ sb : ↥S\nrb : R\nhb : sb • r₁ = rb • r₁'\nhb' : ↑sb * ↑s₁ = rb * ↑s₁'\nrc : R\nsc : ↥S\nhc : ↑sc * ↑s₁' = rc * ↑s...
[]
rw [this, hc, mul_assoc]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.OreLocalization.Ring
{ "line": 147, "column": 10 }
{ "line": 147, "column": 18 }
{ "line": 147, "column": 19 }
[ { "pp": "case c.c\nR : Type u_1\ninst✝⁴ : Semiring R\nS : Submonoid R\ninst✝³ : OreSet S\nX : Type u_2\ninst✝² : AddCommMonoid X\ninst✝¹ : Module R X\nT : Type u_3\ninst✝ : Semiring T\nf : R →+* T\nfS : ↥S →* Tˣ\nhf : ∀ (s : ↥S), f ↑s = ↑(fS s)\nr₁ : R\ns₁ : ↥S\nr₂ : R\ns₂ : ↥S\nr₃ : R\ns₃ : ↥S\nh₃ : ↑s₃ * ↑s₁ ...
[ "case c.c\nR : Type u_1\ninst✝⁴ : Semiring R\nS : Submonoid R\ninst✝³ : OreSet S\nX : Type u_2\ninst✝² : AddCommMonoid X\ninst✝¹ : Module R X\nT : Type u_3\ninst✝ : Semiring T\nf : R →+* T\nfS : ↥S →* Tˣ\nhf : ∀ (s : ↥S), f ↑s = ↑(fS s)\nr₁ : R\ns₁ : ↥S\nr₂ : R\ns₂ : ↥S\nr₃ : R\ns₃ : ↥S\nh₃ : ↑s₃ * ↑s₁ = r₃ * ↑s₂\n...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Localization.Defs
{ "line": 458, "column": 30 }
{ "line": 458, "column": 38 }
{ "line": 458, "column": 39 }
[ { "pp": "R : Type u_1\ninst✝³ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R S\ninst✝ : IsLocalization M S\nx₁ x₂ : R\ny₁ y₂ : ↥M\n⊢ (algebraMap R S) ↑(y₁ * y₂) * (mk' S x₁ y₁ + mk' S x₂ y₂) = (algebraMap R S) (x₁ * ↑y₂ + x₂ * ↑y₁)", "ppTerm": "?m.76", "assi...
[ "R : Type u_1\ninst✝³ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R S\ninst✝ : IsLocalization M S\nx₁ x₂ : R\ny₁ y₂ : ↥M\n⊢ (algebraMap R S) ↑(y₁ * y₂) * mk' S x₁ y₁ + (algebraMap R S) ↑(y₁ * y₂) * mk' S x₂ y₂ =\n (algebraMap R S) (x₁ * ↑y₂ + x₂ * ↑y₁)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Localization.Defs
{ "line": 491, "column": 8 }
{ "line": 491, "column": 16 }
{ "line": 491, "column": 17 }
[ { "pp": "R : Type u_1\ninst✝⁴ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝³ : CommSemiring S\ninst✝² : Algebra R S\nP : Type u_3\ninst✝¹ : CommSemiring P\ninst✝ : IsLocalization M S\ng : R →+* P\nhg : ∀ (y : ↥M), IsUnit (g ↑y)\nx y : S\n⊢ ↑↑g ((toLocalizationMap M S).sec (x + y)).1 =\n ↑↑g ↑((toLoc...
[ "R : Type u_1\ninst✝⁴ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝³ : CommSemiring S\ninst✝² : Algebra R S\nP : Type u_3\ninst✝¹ : CommSemiring P\ninst✝ : IsLocalization M S\ng : R →+* P\nhg : ∀ (y : ↥M), IsUnit (g ↑y)\nx y : S\n⊢ ↑↑g ((toLocalizationMap M S).sec (x + y)).1 =\n ↑↑g ↑((toLocalizationMap...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Localization.Defs
{ "line": 703, "column": 10 }
{ "line": 703, "column": 68 }
{ "line": 703, "column": 68 }
[ { "pp": "R : Type u_1\ninst✝⁷ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁶ : CommSemiring S\ninst✝⁵ : Algebra R S\nP : Type u_3\ninst✝⁴ : CommSemiring P\ninst✝³ : IsLocalization M S\ng : R →+* P\nhg : ∀ (y : ↥M), IsUnit (g ↑y)\nT : Submonoid P\nQ : Type u_4\ninst✝² : CommSemiring Q\ninst✝¹ : Algebra ...
[ "R : Type u_1\ninst✝⁷ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁶ : CommSemiring S\ninst✝⁵ : Algebra R S\nP : Type u_3\ninst✝⁴ : CommSemiring P\ninst✝³ : IsLocalization M S\ng : R →+* P\nhg : ∀ (y : ↥M), IsUnit (g ↑y)\nT : Submonoid P\nQ : Type u_4\ninst✝² : CommSemiring Q\ninst✝¹ : Algebra P Q\ninst✝ :...
Submonoid.comap_map_eq_of_injective (j : R ≃* P).injective
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Localization.Defs
{ "line": 744, "column": 4 }
{ "line": 745, "column": 39 }
{ "line": 746, "column": 4 }
[ { "pp": "case exists_of_eq\nR : Type u_1\ninst✝⁴ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝³ : CommSemiring S\ninst✝² : Algebra R S\nP : Type u_3\ninst✝¹ : CommSemiring P\ninst✝ : IsLocalization M S\nh : R ≃+* P\nthis : Algebra P S := ((algebraMap R S).comp h.symm.toRingHom).toAlgebra\nx y : P\n⊢ (a...
[ "case exists_of_eq\nR : Type u_1\ninst✝⁴ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝³ : CommSemiring S\ninst✝² : Algebra R S\nP : Type u_3\ninst✝¹ : CommSemiring P\ninst✝ : IsLocalization M S\nh : R ≃+* P\nthis : Algebra P S := ((algebraMap R S).comp h.symm.toRingHom).toAlgebra\nx y : P\n⊢ (∃ c, ↑c * h.s...
rw [RingHom.algebraMap_toAlgebra, RingHom.comp_apply, RingHom.comp_apply, IsLocalization.eq_iff_exists M S]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.TensorProduct.Basic
{ "line": 458, "column": 15 }
{ "line": 458, "column": 77 }
{ "line": 458, "column": 77 }
[ { "pp": "R : Type uR\nS : Type uS\nT : Type u_1\nA : Type uA\nB : Type uB\nC : Type uC\nF : Type uF\ninst✝⁴ : CommSemiring R\ninst✝³ : Semiring A\ninst✝² : Algebra R A\ninst✝¹ : CommSemiring B\ninst✝ : Algebra R B\na : A\nb : B\nx : A ⊗[R] B\nx✝¹ : A\nx✝ : B\n⊢ a • b • x✝¹ ⊗ₜ[R] x✝ = b • a • x✝¹ ⊗ₜ[R] x✝", ...
[]
by simp [Algebra.smul_def, right_algebraMap_apply, smul_tmul']
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Star.Pointwise
{ "line": 122, "column": 78 }
{ "line": 124, "column": 41 }
{ "line": 126, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝¹ : Group α\ninst✝ : StarMul α\ns : Set α\n⊢ s⁻¹⋆ = s⋆⁻¹", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Set.ext", "_private.Mathlib.Algebra.Star.Pointwise.0.Set.star_inv._simp_1_1", "Set.star", "DivInvOneMonoid.toInvOneClass", "Mo...
[]
by ext simp only [mem_star, mem_inv, star_inv]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Algebra.Spectrum.Basic
{ "line": 111, "column": 35 }
{ "line": 113, "column": 54 }
{ "line": 115, "column": 0 }
[ { "pp": "R : Type u\nA : Type v\ninst✝³ : CommSemiring R\ninst✝² : Ring A\ninst✝¹ : Algebra R A\ninst✝ : Nontrivial A\nr : R\na : A\n⊢ r ∈ σ a ↔ resolvent a r = 0", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "Algebra.algebraMap", "spectrum", "AddGroupWi...
[]
by refine ⟨resolvent_zero_of_mem_spectrum, fun hr ↦ ?_⟩ simpa [mem_iff, Ring.not_isUnit_iff_inverse_eq_zero]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Algebra.Spectrum.Basic
{ "line": 187, "column": 8 }
{ "line": 187, "column": 19 }
{ "line": 187, "column": 20 }
[ { "pp": "case pos\nR : Type u\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nr : Rˣ\ns : R\na : A\nh : ¬IsUnit (s • 1 - a)\n⊢ r • (s • 1 - a)⁻¹ʳ = ((r⁻¹ • s) • 1 - r⁻¹ • a)⁻¹ʳ", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiri...
[ "case pos\nR : Type u\nA : Type v\ninst✝² : CommSemiring R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nr : Rˣ\ns : R\na : A\nh : ¬IsUnit (s • 1 - a)\n⊢ r • (s • 1 - a)⁻¹ʳ = (r⁻¹ • s • 1 - r⁻¹ • a)⁻¹ʳ" ]
smul_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Unitization
{ "line": 639, "column": 10 }
{ "line": 639, "column": 18 }
{ "line": 639, "column": 19 }
[ { "pp": "case inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝⁸ : CommSemiring S\ninst✝⁷ : CommSemiring R\ninst✝⁶ : NonUnitalSemiring A\ninst✝⁵ : Module R A\ninst✝⁴ : IsScalarTower R A A\ninst✝³ : SMulCommClass R A A\ninst✝² : Algebra S R\ninst✝¹ : DistribMulAction S A\ninst✝ : IsScalarTower S R A\n...
[ "case inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝⁸ : CommSemiring S\ninst✝⁷ : CommSemiring R\ninst✝⁶ : NonUnitalSemiring A\ninst✝⁵ : Module R A\ninst✝⁴ : IsScalarTower R A A\ninst✝³ : SMulCommClass R A A\ninst✝² : Algebra S R\ninst✝¹ : DistribMulAction S A\ninst✝ : IsScalarTower S R A\ns : S\nr✝ : ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Unitization
{ "line": 644, "column": 10 }
{ "line": 644, "column": 18 }
{ "line": 644, "column": 19 }
[ { "pp": "case inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝⁸ : CommSemiring S\ninst✝⁷ : CommSemiring R\ninst✝⁶ : NonUnitalSemiring A\ninst✝⁵ : Module R A\ninst✝⁴ : IsScalarTower R A A\ninst✝³ : SMulCommClass R A A\ninst✝² : Algebra S R\ninst✝¹ : DistribMulAction S A\ninst✝ : IsScalarTower S R A\n...
[ "case inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝⁸ : CommSemiring S\ninst✝⁷ : CommSemiring R\ninst✝⁶ : NonUnitalSemiring A\ninst✝⁵ : Module R A\ninst✝⁴ : IsScalarTower R A A\ninst✝³ : SMulCommClass R A A\ninst✝² : Algebra S R\ninst✝¹ : DistribMulAction S A\ninst✝ : IsScalarTower S R A\ns : S\nr✝ : ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Unitization
{ "line": 748, "column": 21 }
{ "line": 748, "column": 29 }
{ "line": 748, "column": 30 }
[ { "pp": "case inl_add_inr.inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝¹² : CommSemiring S\ninst✝¹¹ : CommSemiring R\ninst✝¹⁰ : NonUnitalSemiring A\ninst✝⁹ : Module R A\ninst✝⁸ : SMulCommClass R A A\ninst✝⁷ : IsScalarTower R A A\nB : Type u_4\ninst✝⁶ : Semiring B\ninst✝⁵ : Algebra S B\ninst✝⁴ : A...
[ "case inl_add_inr.inl_add_inr\nS : Type u_1\nR : Type u_2\nA : Type u_3\ninst✝¹² : CommSemiring S\ninst✝¹¹ : CommSemiring R\ninst✝¹⁰ : NonUnitalSemiring A\ninst✝⁹ : Module R A\ninst✝⁸ : SMulCommClass R A A\ninst✝⁷ : IsScalarTower R A A\nB : Type u_4\ninst✝⁶ : Semiring B\ninst✝⁵ : Algebra S B\ninst✝⁴ : Algebra S R\n...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.Star.Basic
{ "line": 233, "column": 12 }
{ "line": 233, "column": 21 }
{ "line": 233, "column": 22 }
[ { "pp": "R : Type u_1\ninst✝³ : NonUnitalSemiring R\ninst✝² : PartialOrder R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\na : R\nha : a ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nc : R\n⊢ 0 ≤ star c * 0 * c", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[ "R : Type u_1\ninst✝³ : NonUnitalSemiring R\ninst✝² : PartialOrder R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\na : R\nha : a ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nc : R\n⊢ 0 ≤ 0 * c" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.StrictPositivity
{ "line": 134, "column": 2 }
{ "line": 134, "column": 58 }
{ "line": 135, "column": 2 }
[ { "pp": "A : Type u_1\n𝕜 : Type u_2\ninst✝⁵ : Ring A\ninst✝⁴ : PartialOrder A\ninst✝³ : CommSemiring 𝕜\ninst✝² : PartialOrder 𝕜\ninst✝¹ : Algebra 𝕜 A\ninst✝ : NonnegSpectrumClass 𝕜 A\na : A\nha : IsStrictlyPositive a\nx : 𝕜\nhx : x ∈ spectrum 𝕜 a\nh₁ : 0 ≤ x\n⊢ 0 < x", "ppTerm": "?m.29", "assigne...
[ "A : Type u_1\n𝕜 : Type u_2\ninst✝⁵ : Ring A\ninst✝⁴ : PartialOrder A\ninst✝³ : CommSemiring 𝕜\ninst✝² : PartialOrder 𝕜\ninst✝¹ : Algebra 𝕜 A\ninst✝ : NonnegSpectrumClass 𝕜 A\na : A\nha : IsStrictlyPositive a\nx : 𝕜\nhx : x ∈ spectrum 𝕜 a\nh₁ : 0 ≤ x\nh₂ : x ≠ 0\n⊢ 0 < x" ]
have h₂ : x ≠ 0 := by grind [= spectrum.zero_notMem_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Algebra.Order.Star.Basic
{ "line": 240, "column": 22 }
{ "line": 240, "column": 30 }
{ "line": 240, "column": 31 }
[ { "pp": "R : Type u_1\ninst✝³ : NonUnitalSemiring R\ninst✝² : PartialOrder R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\na : R\nha : a ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nc x y : R\nx✝¹ : x ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nx✝ : y ∈ AddSubmonoid.closure (range fun s ↦ star s...
[ "R : Type u_1\ninst✝³ : NonUnitalSemiring R\ninst✝² : PartialOrder R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\na : R\nha : a ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nc x y : R\nx✝¹ : x ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nx✝ : y ∈ AddSubmonoid.closure (range fun s ↦ star s * s)\nhx : ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.Star.Basic
{ "line": 432, "column": 4 }
{ "line": 432, "column": 63 }
{ "line": 434, "column": 0 }
[ { "pp": "R : Type u_1\nA : Type u_2\ninst✝¹¹ : Semiring R\ninst✝¹⁰ : PartialOrder R\ninst✝⁹ : StarRing R\ninst✝⁸ : StarOrderedRing R\ninst✝⁷ : NonUnitalSemiring A\ninst✝⁶ : StarRing A\ninst✝⁵ : PartialOrder A\ninst✝⁴ : StarOrderedRing A\ninst✝³ : Module R A\ninst✝² : StarModule R A\ninst✝¹ : IsScalarTower R A A...
[]
exact ⟨r • a, smul_mem_closure_star_mul hr ha, add_smul ..⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 66, "column": 2 }
{ "line": 66, "column": 13 }
{ "line": 66, "column": 14 }
[ { "pp": "case single\nR : Type u_1\nS : Type u_2\ninst✝⁹ : CommSemiring R\ninst✝⁸ : Semiring S\ninst✝⁷ : Algebra R S\nM : Type u_3\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : Module R M\ninst✝⁴ : Module S M\ninst✝³ : IsScalarTower R S M\nN : Type u_4\ninst✝² : AddCommMonoid N\ninst✝¹ : Module R N\nι : Type u_5\ninst✝ :...
[]
| single =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 98, "column": 2 }
{ "line": 98, "column": 13 }
{ "line": 98, "column": 14 }
[ { "pp": "case single\nR : Type u_1\nS : Type u_2\ninst✝⁹ : CommSemiring R\ninst✝⁸ : Semiring S\ninst✝⁷ : Algebra R S\nM : Type u_3\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : Module R M\ninst✝⁴ : Module S M\ninst✝³ : IsScalarTower R S M\nN : Type u_4\ninst✝² : AddCommMonoid N\ninst✝¹ : Module R N\nι : Type u_5\ninst✝ :...
[]
| single =>
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Algebra.Algebra.Subalgebra.Centralizer
{ "line": 97, "column": 36 }
{ "line": 97, "column": 44 }
{ "line": 97, "column": 45 }
[ { "pp": "case mpr.add\nR : Type u_1\ninst✝⁵ : CommSemiring R\nA : Type u_2\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R A\nB : Type u_3\ninst✝² : Semiring B\ninst✝¹ : Algebra R B\nS : Set A\ninst✝ : Module.Free R B\nx : A\nhx : x ∈ S\ny z : ↥(centralizer R S) ⊗[R] B\nhy :\n includeLeft x * (Algebra.TensorProduct.m...
[ "case mpr.add\nR : Type u_1\ninst✝⁵ : CommSemiring R\nA : Type u_2\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R A\nB : Type u_3\ninst✝² : Semiring B\ninst✝¹ : Algebra R B\nS : Set A\ninst✝ : Module.Free R B\nx : A\nhx : x ∈ S\ny z : ↥(centralizer R S) ⊗[R] B\nhy :\n includeLeft x * (Algebra.TensorProduct.map (centrali...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Subalgebra.Directed
{ "line": 61, "column": 59 }
{ "line": 91, "column": 35 }
{ "line": 94, "column": 0 }
[ { "pp": "R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁵ : CommSemiring R\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R A\ninst✝² : Semiring B\ninst✝¹ : Algebra R B\nS : Subalgebra R A\nι : Type u_4\ninst✝ : Nonempty ι\nK : ι → Subalgebra R A\ndir : Directed (fun x1 x2 ↦ x1 ≤ x2) K\nf : (i : ι) → ↥(K i) →ₐ[R] B\nhf...
[]
by let compat : ∀ (i j) (x : A) (hxi : x ∈ (K i : Set A)) (hxj : x ∈ (K j : Set A)), f i ⟨x, hxi⟩ = f j ⟨x, hxj⟩ := by intro i j x hxi hxj rcases dir i j with ⟨k, hik, hjk⟩ simp [hf i k hik, hf j k hjk] let liftSup : ((iSup K : Subalgebra R A)) →ₐ[R] B := { toFun := Set.iUnionL...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dimension.Constructions
{ "line": 177, "column": 25 }
{ "line": 177, "column": 72 }
{ "line": 177, "column": 73 }
[ { "pp": "R : Type u\nM : Type v\ninst✝⁴ : Semiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : StrongRankCondition R\ninst✝ : Free R M\nι : Type w\nfst✝ : Type v\nbs : Basis fst✝ R M\n⊢ Module.rank R (ι →₀ M) = lift.{v, w} #ι * lift.{w, v} #fst✝", "ppTerm": "?m.53", "assigned": true, ...
[ "R : Type u\nM : Type v\ninst✝⁴ : Semiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : StrongRankCondition R\ninst✝ : Free R M\nι : Type w\nfst✝ : Type v\nbs : Basis fst✝ R M\n⊢ #((_ : ι) × fst✝) = lift.{v, w} #ι * lift.{w, v} #fst✝" ]
← (Finsupp.basis fun _ : ι => bs).mk_eq_rank'',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.Dimension.Constructions
{ "line": 610, "column": 64 }
{ "line": 612, "column": 58 }
{ "line": 614, "column": 0 }
[ { "pp": "R : Type u_2\nV : Type u_3\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup V\ninst✝ : Module R V\nW : Submodule R V\nm : Type u_4\nn : Type u_5\nbW : Basis m R ↥W\nbQ : Basis n R (V ⧸ W)\nj : n\n⊢ Submodule.Quotient.mk ((bW.sumQuot bQ) (Sum.inr j)) = bQ j", "ppTerm": "?m.35", "assigned": true, ...
[]
by simpa only [sumQuot, Basis.coe_mk, Sum.elim_inr, Function.comp_apply, ← W.mkQ_apply] using Function.rightInverse_surjInv W.mkQ_surjective _
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition
{ "line": 296, "column": 7 }
{ "line": 296, "column": 41 }
{ "line": 296, "column": 42 }
[ { "pp": "F : Type u_1\nE : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : StrongRankCondition F\ninst✝² : Ring E\ninst✝¹ : Algebra F E\ninst✝ : Free F E\na✝ : Nontrivial E\nh : finrank F E = 1\n⊢ Function.Surjective ⇑(algebraMap F E)", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ "Eq.mpr",...
[ "F : Type u_1\nE : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : StrongRankCondition F\ninst✝² : Ring E\ninst✝¹ : Algebra F E\ninst✝ : Free F E\na✝ : Nontrivial E\nh : finrank F E = 1\n⊢ ⊤ = ⊥" ]
Algebra.surjective_algebraMap_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.MonoidAlgebra.NoZeroDivisors
{ "line": 117, "column": 13 }
{ "line": 117, "column": 21 }
{ "line": 117, "column": 22 }
[ { "pp": "case H.inr\nR : Type u_1\nA : Type u_2\ninst✝⁴ : Semiring R\ninst✝³ : IsCancelAdd R\ninst✝² : IsLeftCancelMulZero R\ninst✝¹ : Mul A\ninst✝ : UniqueProds A\nf g₁ g₂ : R[A]\nih :\n ∀ s ∈ g₁.coeff.support ∪ g₂.coeff.support,\n ∀ {g₁_1 g₂_1 : R[A]},\n (fun x ↦ f * x) g₁_1 = (fun x ↦ f * x) g₂_1 →\...
[ "case H.inr\nR : Type u_1\nA : Type u_2\ninst✝⁴ : Semiring R\ninst✝³ : IsCancelAdd R\ninst✝² : IsLeftCancelMulZero R\ninst✝¹ : Mul A\ninst✝ : UniqueProds A\nf g₁ g₂ : R[A]\nih :\n ∀ s ∈ g₁.coeff.support ∪ g₂.coeff.support,\n ∀ {g₁_1 g₂_1 : R[A]},\n (fun x ↦ f * x) g₁_1 = (fun x ↦ f * x) g₂_1 →\n g₁_...
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.FreeAlgebra
{ "line": 288, "column": 8 }
{ "line": 288, "column": 19 }
{ "line": 288, "column": 20 }
[ { "pp": "case e_a\nR✝ : Type u_1\nX : Type u_2\ninst✝⁷ : CommSemiring R✝\nR : Type u_3\nS : Type u_4\nA : Type u_5\ninst✝⁶ : CommSemiring R\ninst✝⁵ : CommSemiring S\ninst✝⁴ : CommSemiring A\ninst✝³ : SMul R S\ninst✝² : Algebra R A\ninst✝¹ : Algebra S A\ninst✝ : IsScalarTower R S A\nr : R\ns : S\nx : FreeAlgebra...
[ "case e_a\nR✝ : Type u_1\nX : Type u_2\ninst✝⁷ : CommSemiring R✝\nR : Type u_3\nS : Type u_4\nA : Type u_5\ninst✝⁶ : CommSemiring R\ninst✝⁵ : CommSemiring S\ninst✝⁴ : CommSemiring A\ninst✝³ : SMul R S\ninst✝² : Algebra R A\ninst✝¹ : Algebra S A\ninst✝ : IsScalarTower R S A\nr : R\ns : S\nx : FreeAlgebra A X\n⊢ r • ...
smul_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Finset.Sort
{ "line": 97, "column": 2 }
{ "line": 97, "column": 25 }
{ "line": 99, "column": 0 }
[ { "pp": "α : Type u_1\nr : α → α → Prop\ninst✝⁴ : DecidableRel r\ninst✝³ : IsTrans α r\ninst✝² : Std.Antisymm r\ninst✝¹ : Std.Total r\ninst✝ : DecidableEq α\nl : List α\nhl : l.Nodup\nh : l.toFinset.sort r = l\n⊢ List.Pairwise r (l.toFinset.sort r)", "ppTerm": "?m.50", "assigned": true, "usedConstan...
[]
exact pairwise_sort _ r
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Data.Finset.Sort
{ "line": 92, "column": 44 }
{ "line": 97, "column": 25 }
{ "line": 99, "column": 0 }
[ { "pp": "α : Type u_1\nr : α → α → Prop\ninst✝⁴ : DecidableRel r\ninst✝³ : IsTrans α r\ninst✝² : Std.Antisymm r\ninst✝¹ : Std.Total r\ninst✝ : DecidableEq α\nl : List α\nhl : l.Nodup\n⊢ l.toFinset.sort r = l ↔ List.Pairwise r l", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr"...
[]
by refine ⟨?_, ((sort_perm_toList _ r).trans (List.toFinset_toList hl)).eq_of_pairwise' (pairwise_sort _ _)⟩ intro h rw [← h] exact pairwise_sort _ r
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 468, "column": 57 }
{ "line": 470, "column": 5 }
{ "line": 472, "column": 0 }
[ { "pp": "R : Type u\nσ : Type u_1\na : R\ns : σ →₀ ℕ\ninst✝ : CommSemiring R\nh : Decidable (a = 0)\n⊢ ((monomial s) a).support = if a = 0 then ∅ else {s}", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.instMulZeroClass", "Semiring.toModule", "instSub...
[]
by rw [← Subsingleton.elim (Classical.decEq R a 0) h] rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 600, "column": 25 }
{ "line": 600, "column": 44 }
{ "line": 600, "column": 44 }
[ { "pp": "R : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nm : σ →₀ ℕ\nh : m ≠ 0\na : R\n⊢ (if 0 = m then a else 0) = 0", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.instMulZeroClass", "congrArg", "CommSemiring.toSemiring", "Classical.propDeci...
[ "R : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nm : σ →₀ ℕ\nh : m ≠ 0\na : R\n⊢ 0 = 0" ]
ite_eq_right h.symm
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 805, "column": 2 }
{ "line": 807, "column": 23 }
{ "line": 808, "column": 2 }
[ { "pp": "case mp\nR : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nr : R\nφ : MvPolynomial σ R\n⊢ C r ∣ φ → ∀ (i : σ →₀ ℕ), r ∣ φ.coeff i", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Finsupp.instAddZeroClass", "Finsupp.instFunLike", "Eq.mpr", "Nat.instMulZeroClas...
[ "case mpr\nR : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nr : R\nφ : MvPolynomial σ R\n⊢ (∀ (i : σ →₀ ℕ), r ∣ φ.coeff i) → C r ∣ φ" ]
· rintro ⟨φ, rfl⟩ c rw [coeff_C_mul] apply dvd_mul_right
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.MvPolynomial.Eval
{ "line": 315, "column": 2 }
{ "line": 320, "column": 13 }
{ "line": 322, "column": 0 }
[ { "pp": "R : Type u\nσ : Type u_1\ninst✝¹ : CommSemiring R\nS : Type u_2\nτ : Type u_3\nx : τ → S\ninst✝ : CommSemiring S\nf : R →+* MvPolynomial τ S\ng : σ → MvPolynomial τ S\np : MvPolynomial σ R\n⊢ (eval x) (eval₂ f g p) = eval₂ ((eval x).comp f) (fun s ↦ (eval x) (g s)) p", "ppTerm": "?m.38", "assig...
[]
apply induction_on p · simp · intro p q hp hq simp [hp, hq] · intro p n hp simp [hp]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.MvPolynomial.Eval
{ "line": 315, "column": 2 }
{ "line": 320, "column": 13 }
{ "line": 322, "column": 0 }
[ { "pp": "R : Type u\nσ : Type u_1\ninst✝¹ : CommSemiring R\nS : Type u_2\nτ : Type u_3\nx : τ → S\ninst✝ : CommSemiring S\nf : R →+* MvPolynomial τ S\ng : σ → MvPolynomial τ S\np : MvPolynomial σ R\n⊢ (eval x) (eval₂ f g p) = eval₂ ((eval x).comp f) (fun s ↦ (eval x) (g s)) p", "ppTerm": "?m.38", "assig...
[]
apply induction_on p · simp · intro p q hp hq simp [hp, hq] · intro p n hp simp [hp]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Basic
{ "line": 903, "column": 2 }
{ "line": 904, "column": 38 }
{ "line": 906, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ AddMonoidAlgebra.update n 0 p = AddMonoidAlgebra.erase n p", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "Finsupp.ext", "congrArg", "Polynomial.coeff_erase", "...
[]
ext rw [coeff_update_apply, coeff_erase]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.Basic
{ "line": 903, "column": 2 }
{ "line": 904, "column": 38 }
{ "line": 906, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ AddMonoidAlgebra.update n 0 p = AddMonoidAlgebra.erase n p", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "Finsupp.ext", "congrArg", "Polynomial.coeff_erase", "...
[]
ext rw [coeff_update_apply, coeff_erase]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.CharP.Defs
{ "line": 338, "column": 52 }
{ "line": 338, "column": 92 }
{ "line": 340, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : AddMonoidWithOne R\n⊢ ExpChar R 1 ↔ CharZero R", "ppTerm": "?m.5", "assigned": true, "usedConstants": [ "False", "Nat.Prime", "_private.Mathlib.Algebra.CharP.Defs.0.expChar_one_iff._simp_1_1", "and_true", "congrArg", "_private.Mathli...
[]
by simp [expChar_iff, Nat.not_prime_one]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Nat.Prime.Defs
{ "line": 353, "column": 8 }
{ "line": 353, "column": 59 }
{ "line": 353, "column": 60 }
[ { "pp": "n : ℕ\npos : 0 < n\nnp : n < 2\nh1 : n = n.minFac\n⊢ n.minFac ≤ n / n.minFac", "ppTerm": "?m.146", "assigned": true, "usedConstants": [ "Eq.mpr", "instHDiv", "congrArg", "Nat.succ_le_of_lt", "id", "Nat.minFac", "HDiv.hDiv", "instOfNatNat", ...
[ "n : ℕ\npos : 0 < n\nnp : n < 2\nh1 : n = n.minFac\n⊢ minFac 1 ≤ 1 / minFac 1" ]
le_antisymm (le_of_lt_succ np) (succ_le_of_lt pos),
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 456, "column": 6 }
{ "line": 456, "column": 14 }
{ "line": 456, "column": 15 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\n⊢ (p * (X + ↑n)).comp q = p.comp q * (q + ↑n)", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "AddMonoidAlgebra.semiring", ...
[ "R : Type u\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\n⊢ (p * X + p * ↑n).comp q = p.comp q * (q + ↑n)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Coeff
{ "line": 183, "column": 85 }
{ "line": 183, "column": 94 }
{ "line": 184, "column": 4 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\nk m : ℕ\nhkm : k ≠ m\nx y : R\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ x + y * 0 ≠ 0 ∧ x * 0 + y ≠ 0", "ppTerm": "?m.74", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "congrArg", "id", "Distrib.toAdd", "Ne", "MulZero...
[ "R : Type u\ninst✝ : Semiring R\nk m : ℕ\nhkm : k ≠ m\nx y : R\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ x + 0 ≠ 0 ∧ 0 + y ≠ 0" ]
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Polynomial.Coeff
{ "line": 193, "column": 38 }
{ "line": 193, "column": 47 }
{ "line": 193, "column": 48 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nx y z : R\nhx : x ≠ 0\nhy : y ≠ 0\nhz : z ≠ 0\n⊢ x + y * 0 + z * 0 ≠ 0 ∧ x * 0 + y + z * 0 ≠ 0 ∧ x * 0 + y * 0 + z ≠ 0", "ppTerm": "?m.106", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "co...
[ "R : Type u\ninst✝ : Semiring R\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nx y z : R\nhx : x ≠ 0\nhy : y ≠ 0\nhz : z ≠ 0\n⊢ x + 0 + 0 ≠ 0 ∧ 0 + y + 0 ≠ 0 ∧ 0 + 0 + z ≠ 0" ]
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Polynomial.Coeff
{ "line": 241, "column": 6 }
{ "line": 241, "column": 23 }
{ "line": 241, "column": 24 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ (X * p).coeff (n + 1) = p.coeff n", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "HMul.hMul", "congrArg", "AddMonoidAlgebra.coeff", "id", "instOfNatNat", ...
[ "R : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\n⊢ (p * X).coeff (n + 1) = p.coeff n" ]
(commute_X p).eq,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Coeff
{ "line": 302, "column": 2 }
{ "line": 304, "column": 23 }
{ "line": 305, "column": 2 }
[ { "pp": "case mp\nR : Type u\ninst✝ : Semiring R\nr : R\nφ : R[X]\n⊢ C r ∣ φ → ∀ (i : ℕ), r ∣ φ.coeff i", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "Polynomial.C", "Semigroup.toMul", "Dvd.dvd", "HMul.hMul", "congr...
[ "case mpr\nR : Type u\ninst✝ : Semiring R\nr : R\nφ : R[X]\n⊢ (∀ (i : ℕ), r ∣ φ.coeff i) → C r ∣ φ" ]
· rintro ⟨φ, rfl⟩ c rw [coeff_C_mul] apply dvd_mul_right
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.MvPolynomial.Eval
{ "line": 828, "column": 19 }
{ "line": 828, "column": 37 }
{ "line": 828, "column": 38 }
[ { "pp": "case monomial_add.refine_2\nR : Type u\nσ : Type u_1\ninst✝³ : CommSemiring R\nS : Type u_2\nsubS : Type u_3\ninst✝² : CommSemiring S\ninst✝¹ : SetLike subS S\ninst✝ : SubsemiringClass subS S\nf✝ : R →+* S\ns : subS\nv : σ → S\nhv : ∀ (i : σ), v i ∈ s\na : σ →₀ ℕ\nb : R\nf : MvPolynomial σ R\nha : a ∉ ...
[ "case monomial_add.refine_2\nR : Type u\nσ : Type u_1\ninst✝³ : CommSemiring R\nS : Type u_2\nsubS : Type u_3\ninst✝² : CommSemiring S\ninst✝¹ : SetLike subS S\ninst✝ : SubsemiringClass subS S\nf✝ : R →+* S\ns : subS\nv : σ → S\nhv : ∀ (i : σ), v i ∈ s\na : σ →₀ ℕ\nb : R\nf : MvPolynomial σ R\nha : a ∉ f.coeff.supp...
Finsupp.add_apply,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Degree.Defs
{ "line": 134, "column": 12 }
{ "line": 134, "column": 23 }
{ "line": 134, "column": 23 }
[ { "pp": "case pos\nR : Type u\ninst✝ : Semiring R\np q : R[X]\nh : q.coeff p.natDegree ≠ 0\nhp : p = 0\n⊢ degree 0 ≤ q.degree", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "WithBot.instPreorder", "Eq.mpr", "AddMonoidAlgebra.semiring", "WithBot", "congrArg", ...
[ "case pos\nR : Type u\ninst✝ : Semiring R\np q : R[X]\nh : q.coeff p.natDegree ≠ 0\nhp : p = 0\n⊢ ⊥ ≤ q.degree" ]
degree_zero
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Degree.Defs
{ "line": 202, "column": 53 }
{ "line": 202, "column": 64 }
{ "line": 202, "column": 64 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\nn : ℕ\na : R\nthis : DecidableEq R := Classical.decEq R\nh : a = 0\n⊢ degree 0 ≤ ↑n", "ppTerm": "?m.44", "assigned": true, "usedConstants": [ "WithBot.instPreorder", "Eq.mpr", "AddMonoidAlgebra.semiring", "WithBot", "congrArg", ...
[ "R : Type u\ninst✝ : Semiring R\nn : ℕ\na : R\nthis : DecidableEq R := Classical.decEq R\nh : a = 0\n⊢ ⊥ ≤ ↑n" ]
degree_zero
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Degree.Defs
{ "line": 251, "column": 2 }
{ "line": 251, "column": 36 }
{ "line": 253, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nh : p ≠ 0\n⊢ (↑p.natDegree).succ = p.natDegree + 1", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "WithBot.succ_coe", "Nat.instSuccOrder", "Nat.instPreorder", "Nat", "Polynomial.natDegree", "Nat.instOrd...
[]
exact WithBot.succ_coe p.natDegree
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.Polynomial.Degree.Operations
{ "line": 53, "column": 29 }
{ "line": 53, "column": 40 }
{ "line": 53, "column": 40 }
[ { "pp": "R : Type u\ninst✝¹ : Semiring R\np : R[X]\ninst✝ : Subsingleton R\n⊢ degree 0 = ⊥", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "AddMonoidAlgebra.semiring", "WithBot", "congrArg", "Nat.instAddMonoid", "id", "Bot.bot", "Po...
[ "R : Type u\ninst✝¹ : Semiring R\np : R[X]\ninst✝ : Subsingleton R\n⊢ ⊥ = ⊥" ]
degree_zero
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Degree.Operations
{ "line": 63, "column": 4 }
{ "line": 63, "column": 15 }
{ "line": 65, "column": 0 }
[ { "pp": "R : Type u\nn : ℕ\ninst✝ : Semiring R\nh : (coeff 0) n ≠ 0\n⊢ False", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "AddMonoidAlgebra.semiring", "Nat.instAddMonoid", "AddMonoidAlgebra.coeff", "Polynomial", "Nat", "Ze...
[]
exact h rfl
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.Polynomial.Degree.Defs
{ "line": 411, "column": 10 }
{ "line": 411, "column": 24 }
{ "line": 411, "column": 25 }
[ { "pp": "case succ\nR : Type u\ninst✝ : Semiring R\np : R[X]\na : WithBot ℕ\nhp : p.degree ≤ a\nn : ℕ\nhn : (p ^ n).degree ≤ ↑n * a\n⊢ (p ^ (n + 1)).degree ≤ ↑(n + 1) * a", "ppTerm": "?succ", "assigned": true, "usedConstants": [ "WithBot.addMonoidWithOne", "WithBot.instPreorder", "...
[ "case succ\nR : Type u\ninst✝ : Semiring R\np : R[X]\na : WithBot ℕ\nhp : p.degree ≤ a\nn : ℕ\nhn : (p ^ n).degree ≤ ↑n * a\n⊢ (p ^ (n + 1)).degree ≤ (↑n + 1) * a" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null