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.Star.StarRingHom
{ "line": 145, "column": 49 }
{ "line": 147, "column": 5 }
{ "line": 149, "column": 0 }
[ { "pp": "A : Type u_1\nB : Type u_2\ninst✝³ : NonUnitalNonAssocSemiring A\ninst✝² : Star A\ninst✝¹ : NonUnitalNonAssocSemiring B\ninst✝ : Star B\nf : A →⋆ₙ+* B\nh₁ : ∀ (x y : A), f (x * y) = f x * f y\nh₂ : { toFun := ⇑f, map_mul' := h₁ }.toFun 0 = 0\nh₃ :\n ∀ (x y : A),\n { toFun := ⇑f, map_mul' := h₁ }.to...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Basis.SMul
{ "line": 81, "column": 2 }
{ "line": 81, "column": 40 }
{ "line": 82, "column": 2 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_4\ninst✝⁶ : Semiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nG : Type u_5\ninst✝³ : Group G\ninst✝² : SMul G R\ninst✝¹ : MulAction G M\ninst✝ : IsScalarTower G R M\nv : ι → M\nhv : span R (range v) = ⊤\nw : ι → G\nj : M\nhj : ∀ (p : Submodule R M), range...
[ "ι : Type u_1\nR : Type u_2\nM : Type u_4\ninst✝⁶ : Semiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nG : Type u_5\ninst✝³ : Group G\ninst✝² : SMul G R\ninst✝¹ : MulAction G M\ninst✝ : IsScalarTower G R M\nv : ι → M\nhv : span R (range v) = ⊤\nw : ι → G\nj : M\nhj : ∀ (p : Submodule R M), range v ⊆ ↑p → j ...
refine fun p hp => hj p fun u hu => ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 88, "column": 68 }
{ "line": 90, "column": 5 }
{ "line": 92, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\ninst✝ : Add α\nv w : m → α\n⊢ replicateCol ι (v + w) = replicateCol ι v + replicateCol ι w", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Matrix.add", "Matrix", "Matrix.replicateCol", "instHAdd", "Pi.instAdd",...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 94, "column": 53 }
{ "line": 96, "column": 5 }
{ "line": 98, "column": 0 }
[ { "pp": "m : Type u_2\nR : Type u_5\nα : Type v\nι : Type u_6\ninst✝ : SMul R α\nx : R\nv : m → α\n⊢ replicateCol ι (x • v) = x • replicateCol ι v", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Matrix.smul", "instHSMul", "Matrix", "Matrix.replicateCol", "Fun...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 115, "column": 68 }
{ "line": 117, "column": 5 }
{ "line": 119, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\ninst✝ : Add α\nv w : m → α\n⊢ replicateRow ι (v + w) = replicateRow ι v + replicateRow ι w", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Matrix.add", "Matrix", "instHAdd", "Pi.instAdd", "HAdd.hAdd", "Eq...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 121, "column": 53 }
{ "line": 123, "column": 5 }
{ "line": 125, "column": 0 }
[ { "pp": "m : Type u_2\nR : Type u_5\nα : Type v\nι : Type u_6\ninst✝ : SMul R α\nx : R\nv : m → α\n⊢ replicateRow ι (x • v) = x • replicateRow ι v", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Matrix.smul", "instHSMul", "Matrix", "Function.hasSMul", "Eq.ref...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 126, "column": 87 }
{ "line": 128, "column": 5 }
{ "line": 130, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\nv : m → α\n⊢ (replicateCol ι v)ᵀ = replicateRow ι v", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Matrix.replicateCol", "Matrix.transpose", "Eq.refl", "Matrix.replicateRow", "Matrix.ext" ], "usedFVars"...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 131, "column": 87 }
{ "line": 133, "column": 5 }
{ "line": 135, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\nv : m → α\n⊢ (replicateRow ι v)ᵀ = replicateCol ι v", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Matrix.replicateCol", "Matrix.transpose", "Eq.refl", "Matrix.replicateRow", "Matrix.ext" ], "usedFVars"...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 137, "column": 53 }
{ "line": 139, "column": 5 }
{ "line": 141, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\ninst✝ : Star α\nv : m → α\n⊢ (replicateCol ι v)ᴴ = replicateRow ι (star v)", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Pi.instStarForall", "Matrix.replicateCol", "Eq.refl", "Matrix.replicateRow", "Matrix.co...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 143, "column": 53 }
{ "line": 145, "column": 5 }
{ "line": 147, "column": 0 }
[ { "pp": "m : Type u_2\nα : Type v\nι : Type u_6\ninst✝ : Star α\nv : m → α\n⊢ (replicateRow ι v)ᴴ = replicateCol ι (star v)", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Pi.instStarForall", "Matrix.replicateCol", "Eq.refl", "Matrix.replicateRow", "Matrix.co...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 149, "column": 68 }
{ "line": 151, "column": 5 }
{ "line": 153, "column": 0 }
[ { "pp": "m : Type u_2\nn : Type u_3\nα : Type v\nι : Type u_6\ninst✝¹ : Fintype m\ninst✝ : NonUnitalNonAssocSemiring α\nM : Matrix m n α\nv : m → α\n⊢ replicateRow ι (v ᵥ* M) = replicateRow ι v * M", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "HMul.hMul", "Matrix", "Ma...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 154, "column": 71 }
{ "line": 156, "column": 5 }
{ "line": 158, "column": 0 }
[ { "pp": "m : Type u_2\nn : Type u_3\nα : Type v\nι : Type u_6\ninst✝¹ : Fintype m\ninst✝ : NonUnitalNonAssocSemiring α\nM : Matrix m n α\nv : m → α\n⊢ replicateCol ι (v ᵥ* M) = (replicateRow ι v * M)ᵀ", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "HMul.hMul", "Matrix", ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Star.StarAlgHom
{ "line": 155, "column": 57 }
{ "line": 157, "column": 5 }
{ "line": 159, "column": 0 }
[ { "pp": "R : Type u_1\nA : Type u_2\nB : Type u_3\ninst✝⁶ : Monoid R\ninst✝⁵ : NonUnitalNonAssocSemiring A\ninst✝⁴ : DistribMulAction R A\ninst✝³ : Star A\ninst✝² : NonUnitalNonAssocSemiring B\ninst✝¹ : DistribMulAction R B\ninst✝ : Star B\nf : A →⋆ₙₐ[R] B\nh₁ : ∀ (m : R) (x : A), f (m • x) = (MonoidHom.id R) m...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 160, "column": 68 }
{ "line": 162, "column": 5 }
{ "line": 164, "column": 0 }
[ { "pp": "m : Type u_2\nn : Type u_3\nα : Type v\nι : Type u_6\ninst✝¹ : Fintype n\ninst✝ : NonUnitalNonAssocSemiring α\nM : Matrix m n α\nv : n → α\n⊢ replicateCol ι (M *ᵥ v) = M * replicateCol ι v", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "HMul.hMul", "Matrix", "Ma...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 165, "column": 71 }
{ "line": 167, "column": 5 }
{ "line": 169, "column": 0 }
[ { "pp": "m : Type u_2\nn : Type u_3\nα : Type v\nι : Type u_6\ninst✝¹ : Fintype n\ninst✝ : NonUnitalNonAssocSemiring α\nM : Matrix m n α\nv : n → α\n⊢ replicateRow ι (M *ᵥ v) = (M * replicateCol ι v)ᵀ", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "HMul.hMul", "Matrix", ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 238, "column": 4 }
{ "line": 238, "column": 39 }
{ "line": 240, "column": 0 }
[ { "pp": "case neg\nm : Type u_2\nn : Type u_3\nα : Type v\nM : Matrix m n α\ni : m\nj : n\nc : m → α\ninst✝ : DecidableEq n\nj' : n\nh : ¬j' = j\n⊢ M.updateCol j c i j' = if j' = j then c i else M i j'", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[]
rw [updateCol_ne h, ite_eq_right h]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 238, "column": 4 }
{ "line": 238, "column": 39 }
{ "line": 240, "column": 0 }
[ { "pp": "case neg\nm : Type u_2\nn : Type u_3\nα : Type v\nM : Matrix m n α\ni : m\nj : n\nc : m → α\ninst✝ : DecidableEq n\nj' : n\nh : ¬j' = j\n⊢ M.updateCol j c i j' = if j' = j then c i else M i j'", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[]
rw [updateCol_ne h, ite_eq_right h]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Matrix.RowCol
{ "line": 238, "column": 4 }
{ "line": 238, "column": 39 }
{ "line": 240, "column": 0 }
[ { "pp": "case neg\nm : Type u_2\nn : Type u_3\nα : Type v\nM : Matrix m n α\ni : m\nj : n\nc : m → α\ninst✝ : DecidableEq n\nj' : n\nh : ¬j' = j\n⊢ M.updateCol j c i j' = if j' = j then c i else M i j'", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[]
rw [updateCol_ne h, ite_eq_right h]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Star.StarAlgHom
{ "line": 385, "column": 62 }
{ "line": 387, "column": 5 }
{ "line": 389, "column": 0 }
[ { "pp": "R : Type u_2\nA : Type u_3\nB : Type u_4\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Algebra R A\ninst✝³ : Star A\ninst✝² : Semiring B\ninst✝¹ : Algebra R B\ninst✝ : Star B\nf : A →⋆ₐ[R] B\nh₁ : f 1 = 1\nh₂ :\n ∀ (x y : A),\n { toFun := ⇑f, map_one' := h₁ }.toFun (x * y) =\n { toFu...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Field.Subfield.Defs
{ "line": 148, "column": 28 }
{ "line": 148, "column": 73 }
{ "line": 150, "column": 0 }
[ { "pp": "K : Type u\ninst✝ : DivisionRing K\np q : Subfield K\nh : (fun s ↦ s.carrier) p = (fun s ↦ s.carrier) q\n⊢ p = q", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Subring.toSubsemiring", "GroupWithZero.toDivisionMonoid", "Subring.instSetLike", "DivInvOneMono...
[]
cases p; cases q; congr; exact SetLike.ext' h
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Field.Subfield.Defs
{ "line": 148, "column": 28 }
{ "line": 148, "column": 73 }
{ "line": 150, "column": 0 }
[ { "pp": "K : Type u\ninst✝ : DivisionRing K\np q : Subfield K\nh : (fun s ↦ s.carrier) p = (fun s ↦ s.carrier) q\n⊢ p = q", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Subring.toSubsemiring", "GroupWithZero.toDivisionMonoid", "Subring.instSetLike", "DivInvOneMono...
[]
cases p; cases q; congr; exact SetLike.ext' h
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.FreeModule.PID
{ "line": 220, "column": 4 }
{ "line": 220, "column": 35 }
{ "line": 221, "column": 2 }
[ { "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 ...
[]
exact ⟨⟨x, N_le_M xN⟩, hx, rfl⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 383, "column": 4 }
{ "line": 428, "column": 91 }
{ "line": 430, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : UniqueProds G\nA B : Finset G\nhc : 1 < #A * #B\n⊢ ∃ p1 ∈ A ×ˢ B, ∃ p2 ∈ A ×ˢ B, p1 ≠ p2 ∧ UniqueMul A B p1.1 p1.2 ∧ UniqueMul A B p2.1 p2.2", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "_private.Math...
[]
simp_rw [Nat.one_lt_mul_iff, card_pos] at hc obtain ⟨a, ha, b, hb, hu⟩ := uniqueMul_of_nonempty hc.1 hc.2.1 let C := A.map ⟨_, mul_right_injective a⁻¹⟩ -- C = a⁻¹A let D := B.map ⟨_, mul_left_injective b⁻¹⟩ -- D = Bb⁻¹ have hcard : 1 < #C ∨ 1 < #D := by simp_rw [C, D, card_map]; exact hc.2.2 have h...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 383, "column": 4 }
{ "line": 428, "column": 91 }
{ "line": 430, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : UniqueProds G\nA B : Finset G\nhc : 1 < #A * #B\n⊢ ∃ p1 ∈ A ×ˢ B, ∃ p2 ∈ A ×ˢ B, p1 ≠ p2 ∧ UniqueMul A B p1.1 p1.2 ∧ UniqueMul A B p2.1 p2.2", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "_private.Math...
[]
simp_rw [Nat.one_lt_mul_iff, card_pos] at hc obtain ⟨a, ha, b, hb, hu⟩ := uniqueMul_of_nonempty hc.1 hc.2.1 let C := A.map ⟨_, mul_right_injective a⁻¹⟩ -- C = a⁻¹A let D := B.map ⟨_, mul_left_injective b⁻¹⟩ -- D = Bb⁻¹ have hcard : 1 < #C ∨ 1 < #D := by simp_rw [C, D, card_map]; exact hc.2.2 have h...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Field.Subfield.Basic
{ "line": 340, "column": 18 }
{ "line": 340, "column": 77 }
{ "line": 341, "column": 6 }
[ { "pp": "K : Type u\ninst✝ : DivisionRing K\ns : Set K\nmotive : (x : K) → x ∈ closure s → Prop\nmem : ∀ (x : K) (hx : x ∈ s), motive x ⋯\none : motive 1 ⋯\nadd : ∀ (x y : K) (hx : x ∈ closure s) (hy : y ∈ closure s), motive x hx → motive y hy → motive (x + y) ⋯\nneg : ∀ (x : K) (hx : x ∈ closure s), motive x h...
[]
by rintro _ _ ⟨_, hx⟩ ⟨_, hy⟩; exact ⟨_, mul _ _ _ _ hx hy⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 721, "column": 85 }
{ "line": 722, "column": 55 }
{ "line": 724, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁵ : CommSemiring R\nm : Type u_3\nn : Type u_4\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq n\nM₂ : Type u_6\ninst✝² : AddCommMonoid M₂\ninst✝¹ : Module R M₂\ninst✝ : Finite m\nv₁ : Basis n R R\nv₂ : Basis m R M₂\nx : M₂\n⊢ (toMatrix v₁ v₂) (toSpanSingleton R M₂ x) = vecMulVec ⇑(v₂.repr...
[]
by ext; simp [toMatrix_apply, vecMulVec_apply, mul_comm]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 741, "column": 2 }
{ "line": 742, "column": 48 }
{ "line": 743, "column": 2 }
[ { "pp": "case h₀\nR : Type u_1\ninst✝⁷ : CommSemiring R\nm : Type u_3\nn : Type u_4\ninst✝⁶ : Fintype n\ninst✝⁵ : DecidableEq n\nM₁ : Type u_5\nM₂ : Type u_6\ninst✝⁴ : AddCommMonoid M₁\ninst✝³ : AddCommMonoid M₂\ninst✝² : Module R M₁\ninst✝¹ : Module R M₂\nv₁ : Basis n R M₁\nv₂ : Basis m R M₂\ninst✝ : Fintype m...
[ "case h₁\nR : Type u_1\ninst✝⁷ : CommSemiring R\nm : Type u_3\nn : Type u_4\ninst✝⁶ : Fintype n\ninst✝⁵ : DecidableEq n\nM₁ : Type u_5\nM₂ : Type u_6\ninst✝⁴ : AddCommMonoid M₁\ninst✝³ : AddCommMonoid M₂\ninst✝² : Module R M₁\ninst✝¹ : Module R M₂\nv₁ : Basis n R M₁\nv₂ : Basis m R M₂\ninst✝ : Fintype m\nM : Matrix...
· intro i' _ i'_ne rw [Finsupp.single_eq_of_ne i'_ne, mul_zero]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.Field.Subfield.Basic
{ "line": 592, "column": 26 }
{ "line": 600, "column": 77 }
{ "line": 601, "column": 2 }
[ { "pp": "K✝ : Type u\nL : Type v\nM : Type w\ninst✝³ : DivisionRing K✝\ninst✝² : DivisionRing L\ninst✝¹ : DivisionRing M\ns✝¹ : Set K✝\nK : Type u\ninst✝ : Field K\ns✝ : Subfield K\ns : Set K\na✝ b✝ : K\nx_mem : a✝ ∈ {z | ∃ x ∈ Subring.closure s, ∃ y ∈ Subring.closure s, x / y = z}\ny_mem : b✝ ∈ {z | ∃ x ∈ Subr...
[]
by -- Use `id` in the next 2 `obtain`s so that assumptions stay there for the `rwa`s below obtain ⟨nx, hnx, dx, hdx, rfl⟩ := id x_mem obtain ⟨ny, hny, dy, hdy, rfl⟩ := id y_mem by_cases hx0 : dx = 0; · rwa [hx0, div_zero, zero_add] by_cases hy0 : dy = 0; · rwa [hy0, div_zero, add_zero] exact ...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 1206, "column": 12 }
{ "line": 1207, "column": 92 }
{ "line": 1208, "column": 2 }
[ { "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\nι : Type u_5\ninst✝¹ : Finite ι\n...
[ "ι✝ : 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\nι : Type u_5\ninst✝¹ : Finite ι\ninst✝ : IsSt...
rw [← MulOpposite.isStablyFiniteRing_iff, ← RingEquiv.isStablyFiniteRing_iff (matrixRingEquivEndVecMulOpposite (ι := ι) (A := A))]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 1206, "column": 12 }
{ "line": 1207, "column": 92 }
{ "line": 1208, "column": 2 }
[ { "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\nι : Type u_5\ninst✝¹ : Finite ι\n...
[ "ι✝ : 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\nι : Type u_5\ninst✝¹ : Finite ι\ninst✝ : IsSt...
rw [← MulOpposite.isStablyFiniteRing_iff, ← RingEquiv.isStablyFiniteRing_iff (matrixRingEquivEndVecMulOpposite (ι := ι) (A := A))]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Matrix.ToLin
{ "line": 1206, "column": 12 }
{ "line": 1207, "column": 92 }
{ "line": 1208, "column": 2 }
[ { "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\nι : Type u_5\ninst✝¹ : Finite ι\n...
[ "ι✝ : 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\nι : Type u_5\ninst✝¹ : Finite ι\ninst✝ : IsSt...
rw [← MulOpposite.isStablyFiniteRing_iff, ← RingEquiv.isStablyFiniteRing_iff (matrixRingEquivEndVecMulOpposite (ι := ι) (A := A))]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.List.Cycle
{ "line": 205, "column": 14 }
{ "line": 205, "column": 31 }
{ "line": 205, "column": 32 }
[ { "pp": "case cons\nα : Type u_1\ninst✝ : DecidableEq α\nx y z : α\nhy : x ≠ y\nhz : x = z\nhead✝ : α\ntail✝ : List α\nh : x ∈ y :: z :: head✝ :: tail✝\n⊢ (if hx : x = y then (z :: head✝ :: tail✝).getLast ⋯ else if x = z then y else (z :: head✝ :: tail✝).prev x ⋯) = y", "ppTerm": "?cons", "assigned": tr...
[ "case cons\nα : Type u_1\ninst✝ : DecidableEq α\nx y z : α\nhy : x ≠ y\nhz : x = z\nhead✝ : α\ntail✝ : List α\nh : x ∈ y :: z :: head✝ :: tail✝\n⊢ (if x = z then y else (z :: head✝ :: tail✝).prev x ⋯) = y" ]
dite_eq_right hy,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.List.Cycle
{ "line": 215, "column": 14 }
{ "line": 215, "column": 31 }
{ "line": 215, "column": 32 }
[ { "pp": "case cons\nα : Type u_1\ninst✝ : DecidableEq α\nx y z : α\nhy : x ≠ y\nhz : x ≠ z\nhead✝ : α\ntail✝ : List α\nh : x ∈ y :: z :: head✝ :: tail✝\n⊢ (if hx : x = y then (z :: head✝ :: tail✝).getLast ⋯ else if x = z then y else (z :: head✝ :: tail✝).prev x ⋯) =\n (z :: head✝ :: tail✝).prev x ⋯", "pp...
[ "case cons\nα : Type u_1\ninst✝ : DecidableEq α\nx y z : α\nhy : x ≠ y\nhz : x ≠ z\nhead✝ : α\ntail✝ : List α\nh : x ∈ y :: z :: head✝ :: tail✝\n⊢ (if x = z then y else (z :: head✝ :: tail✝).prev x ⋯) = (z :: head✝ :: tail✝).prev x ⋯" ]
dite_eq_right hy,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.List.Cycle
{ "line": 373, "column": 4 }
{ "line": 375, "column": 48 }
{ "line": 376, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nl : List α\nh : l.Nodup\nk : ℕ\nhk : k < l.length\nhx : l[k] ∈ l\nlpos : 0 < l.length\nkey : l.length - 1 - k < l.length\n⊢ (pmap l.reverse.prev l.reverse ⋯)[l.length - 1 - k] = (l.rotate 1)[k]", "ppTerm": "?m.105", "assigned": true, "usedConstants": [ ...
[ "α : Type u_1\ninst✝ : DecidableEq α\nl : List α\nh : l.Nodup\nk : ℕ\nhk : k < l.length\nhx : l[k] ∈ l\nlpos : 0 < l.length\nkey : l.length - 1 - k < l.length\n⊢ (l.rotate (Nat.succ 0)).reverse[l.length - 1 - k] = (l.rotate 1)[k]" ]
simp_rw [pmap_prev_eq_rotate_length_sub_one _ (nodup_reverse.mpr h), rotate_reverse, length_reverse, Nat.mod_eq_of_lt (Nat.sub_lt lpos Nat.succ_pos'), Nat.sub_sub_self (Nat.succ_le_of_lt lpos)]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 161, "column": 4 }
{ "line": 161, "column": 27 }
{ "line": 162, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\nf : α → α\nx : α\nm n✝ n : ℕ\nx✝ : IsPeriodicPt f 0 x\nhn : IsPeriodicPt f n x\n⊢ IsPeriodicPt f (Nat.gcd 0 n) x", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Nat.gcd", "Eq.mpr", "congrArg", "id", "instOfNatNat", ...
[]
rwa [Nat.gcd_zero_left]
Lean.Elab.Tactic.evalRwa
Lean.Parser.Tactic.rwa
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 161, "column": 4 }
{ "line": 161, "column": 27 }
{ "line": 162, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\nf : α → α\nx : α\nm n✝ n : ℕ\nx✝ : IsPeriodicPt f 0 x\nhn : IsPeriodicPt f n x\n⊢ IsPeriodicPt f (Nat.gcd 0 n) x", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Nat.gcd", "Eq.mpr", "congrArg", "id", "instOfNatNat", ...
[]
rwa [Nat.gcd_zero_left]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 161, "column": 4 }
{ "line": 161, "column": 27 }
{ "line": 162, "column": 2 }
[ { "pp": "case refine_1\nα : Type u_1\nf : α → α\nx : α\nm n✝ n : ℕ\nx✝ : IsPeriodicPt f 0 x\nhn : IsPeriodicPt f n x\n⊢ IsPeriodicPt f (Nat.gcd 0 n) x", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Nat.gcd", "Eq.mpr", "congrArg", "id", "instOfNatNat", ...
[]
rwa [Nat.gcd_zero_left]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 162, "column": 4 }
{ "line": 163, "column": 27 }
{ "line": 165, "column": 0 }
[ { "pp": "case refine_2\nα : Type u_1\nf : α → α\nx : α\nm✝ n✝ m n : ℕ\nx✝ : 0 < m\nih : IsPeriodicPt f (n % m) x → IsPeriodicPt f m x → IsPeriodicPt f ((n % m).gcd m) x\nhm : IsPeriodicPt f m x\nhn : IsPeriodicPt f n x\n⊢ IsPeriodicPt f (m.gcd n) x", "ppTerm": "?refine_2", "assigned": true, "usedCon...
[]
rw [Nat.gcd_rec] exact ih (hn.mod hm) hm
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 162, "column": 4 }
{ "line": 163, "column": 27 }
{ "line": 165, "column": 0 }
[ { "pp": "case refine_2\nα : Type u_1\nf : α → α\nx : α\nm✝ n✝ m n : ℕ\nx✝ : 0 < m\nih : IsPeriodicPt f (n % m) x → IsPeriodicPt f m x → IsPeriodicPt f ((n % m).gcd m) x\nhm : IsPeriodicPt f m x\nhn : IsPeriodicPt f n x\n⊢ IsPeriodicPt f (m.gcd n) x", "ppTerm": "?refine_2", "assigned": true, "usedCon...
[]
rw [Nat.gcd_rec] exact ih (hn.mod hm) hm
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 469, "column": 40 }
{ "line": 469, "column": 56 }
{ "line": 469, "column": 57 }
[ { "pp": "case pos\nα : Type u_1\nr : α → α → Prop\nf : α → α\nx : α\nhx : x ∈ periodicPts f\nhx' : 0 < minimalPeriod f x\nhM : minimalPeriod f x - succ 0 + succ 0 = minimalPeriod f x\n⊢ Cycle.Chain r (Cycle.map (fun n ↦ f^[n] x) ↑(List.range (minimalPeriod f x))) ↔\n ∀ n < minimalPeriod f x, r (f^[n] x) (f^[...
[ "case pos\nα : Type u_1\nr : α → α → Prop\nf : α → α\nx : α\nhx : x ∈ periodicPts f\nhx' : 0 < minimalPeriod f x\nhM : minimalPeriod f x - succ 0 + succ 0 = minimalPeriod f x\n⊢ Cycle.Chain (fun a b ↦ r (f^[a] x) (f^[b] x)) ↑(List.range (minimalPeriod f x)) ↔\n ∀ n < minimalPeriod f x, r (f^[n] x) (f^[n + 1] x)"...
Cycle.chain_map,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Dynamics.PeriodicPts.Defs
{ "line": 606, "column": 18 }
{ "line": 606, "column": 57 }
{ "line": 606, "column": 58 }
[ { "pp": "α : Type v\nG : Type u\ninst✝¹ : Group G\ninst✝ : MulAction G α\nj : ℤ\ng : G\na : α\n| g ^ j • a", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Int.instDiv", "instHSMul", "instHDiv", "HMul.hMul", "congrArg", "DivInvMonoid.toZPow", "HDiv...
[ "α : Type v\nG : Type u\ninst✝¹ : Group G\ninst✝ : MulAction G α\nj : ℤ\ng : G\na : α\n| g ^ (j % ↑(period g a) + ↑(period g a) * (j / ↑(period g a))) • a" ]
← Int.emod_add_mul_ediv j (period g a),
Lean.Elab.Tactic.Conv.evalRewrite
null
Mathlib.Algebra.Group.UniqueProds.Basic
{ "line": 602, "column": 6 }
{ "line": 602, "column": 99 }
{ "line": 604, "column": 0 }
[ { "pp": "case refine_2.inr.inr\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'...
[]
· exact ((he1 ▸ he ▸ mul_lt_mul_right hl a).not_ge <| min'_le _ _ <| mul_mem_mul ha hb1).elim
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.GroupTheory.MonoidLocalization.MonoidWithZero
{ "line": 69, "column": 2 }
{ "line": 69, "column": 29 }
{ "line": 71, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝ : CommMonoidWithZero M\nS : Submonoid M\np : Type u_4\nf : M → ↥S → p\nH : ∀ {a c : M} {b d : ↥S}, (r S) (a, b) (c, d) → f a b = f c d\n⊢ liftOn 0 f H = f 0 1", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid", "Eq.mpr...
[]
rw [← mk_zero 1, liftOn_mk]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.GroupTheory.MonoidLocalization.MonoidWithZero
{ "line": 69, "column": 2 }
{ "line": 69, "column": 29 }
{ "line": 71, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝ : CommMonoidWithZero M\nS : Submonoid M\np : Type u_4\nf : M → ↥S → p\nH : ∀ {a c : M} {b d : ↥S}, (r S) (a, b) (c, d) → f a b = f c d\n⊢ liftOn 0 f H = f 0 1", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid", "Eq.mpr...
[]
rw [← mk_zero 1, liftOn_mk]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.MonoidLocalization.MonoidWithZero
{ "line": 69, "column": 2 }
{ "line": 69, "column": 29 }
{ "line": 71, "column": 0 }
[ { "pp": "M : Type u_1\ninst✝ : CommMonoidWithZero M\nS : Submonoid M\np : Type u_4\nf : M → ↥S → p\nH : ∀ {a c : M} {b d : ↥S}, (r S) (a, b) (c, d) → f a b = f c d\n⊢ liftOn 0 f H = f 0 1", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid", "Eq.mpr...
[]
rw [← mk_zero 1, liftOn_mk]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 188, "column": 4 }
{ "line": 188, "column": 93 }
{ "line": 190, "column": 0 }
[ { "pp": "case c.c.c.e_a.e_a\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₃ : ↥S\nra : R\nsa : ↥S\nha : ↑sa * ↑s₁ = ra * ↑s₂\nrc : R\nsc : ↥S\nhc : ↑sc * ↑(sa * s₁) = rc * ↑s₃\n⊢ ...
[]
rw [OreLocalization.expand r₃ s₃ rc (hc.symm ▸ (sc * (sa * s₁)).2)]; congr; ext; exact hc
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 188, "column": 4 }
{ "line": 188, "column": 93 }
{ "line": 190, "column": 0 }
[ { "pp": "case c.c.c.e_a.e_a\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₃ : ↥S\nra : R\nsa : ↥S\nha : ↑sa * ↑s₁ = ra * ↑s₂\nrc : R\nsc : ↥S\nhc : ↑sc * ↑(sa * s₁) = rc * ↑s₃\n⊢ ...
[]
rw [OreLocalization.expand r₃ s₃ rc (hc.symm ▸ (sc * (sa * s₁)).2)]; congr; ext; exact hc
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 197, "column": 6 }
{ "line": 197, "column": 20 }
{ "line": 197, "column": 21 }
[ { "pp": "case c\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\n⊢ 0 + r✝ /ₒ s✝ = r✝ /ₒ s✝", "ppTerm": "?c", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "OreLocali...
[ "case c\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\n⊢ 0 /ₒ ?c✝ + r✝ /ₒ s✝ = r✝ /ₒ s✝", "case c\nR : Type u_1\ninst✝³ : Monoid R\nS : Submonoid R\ninst✝² : OreSet S\nX : Type u_2\ninst✝¹ : AddMonoid X\ninst...
← zero_oreDiv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.OreLocalization.Basic
{ "line": 201, "column": 6 }
{ "line": 201, "column": 20 }
{ "line": 201, "column": 21 }
[ { "pp": "case c\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\n⊢ r✝ /ₒ s✝ + 0 = r✝ /ₒ s✝", "ppTerm": "?c", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "OreLocali...
[ "case c\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\n⊢ r✝ /ₒ s✝ + 0 /ₒ ?c✝ = r✝ /ₒ s✝", "case c\nR : Type u_1\ninst✝³ : Monoid R\nS : Submonoid R\ninst✝² : OreSet S\nX : Type u_2\ninst✝¹ : AddMonoid X\ninst...
← zero_oreDiv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Localization.Defs
{ "line": 415, "column": 28 }
{ "line": 415, "column": 46 }
{ "line": 417, "column": 0 }
[ { "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 y : ↥M\n⊢ mk' S (↑y * ↑x) (y * x) = 1", "ppTerm": "?m.46", "assigned": true, "usedConstants": [ "HMul.hMul", "CommSemiring.toNonUnit...
[]
exact mk'_self _ _
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Localization.Basic
{ "line": 285, "column": 12 }
{ "line": 288, "column": 8 }
{ "line": 289, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝² : CommSemiring R\nS : Type u_2\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nM : Submonoid R\nhM : Algebra.algebraMapSubmonoid S M ≤ IsUnit.submonoid S\nh : Bijective ⇑(algebraMap R S)\ny : S\n⊢ ∃ x, y * (algebraMap R S) ↑x.2 = (algebraMap R S) x.1", "ppTerm": "?m.51", "as...
[]
by obtain ⟨x, rfl⟩ := h.surjective y use ⟨x, 1⟩ simp
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Localization.FractionRing
{ "line": 74, "column": 24 }
{ "line": 77, "column": 9 }
{ "line": 79, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁴ : CommRing R\nM : Submonoid R\nS : Type u_2\ninst✝³ : CommRing S\ninst✝² : Algebra R S\nP : Type u_3\ninst✝¹ : CommRing P\nA : Type u_4\ninst✝ : CommRing A\nK : Type u_5\nx y : ℤ\n⊢ (algebraMap ℤ ℚ) x = (algebraMap ℤ ℚ) y → ∃ c, ↑c * x = ↑c * y", "ppTerm": "?m.17", "assigne...
[]
by rw [eq_intCast, eq_intCast, Int.cast_inj] rintro rfl use 1
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Localization.FractionRing
{ "line": 318, "column": 2 }
{ "line": 319, "column": 93 }
{ "line": 321, "column": 0 }
[ { "pp": "A : Type u_4\ninst✝¹⁹ : CommRing A\nB : Type u_6\ninst✝¹⁸ : CommRing B\ninst✝¹⁷ : Algebra A B\nK₁ : Type u_8\nK₂ : Type u_9\ninst✝¹⁶ : Field K₁\ninst✝¹⁵ : Field K₂\ninst✝¹⁴ : Algebra A K₁\ninst✝¹³ : Algebra A K₂\ninst✝¹² : IsFractionRing A K₁\nL₁ : Type u_10\nL₂ : Type u_11\ninst✝¹¹ : Field L₁\ninst✝¹⁰...
[]
simp_rw [map_div₀, AlgHom.commutes, ← IsScalarTower.algebraMap_apply, IsScalarTower.algebraMap_apply A B L₁, AlgHom.commutes, ← IsScalarTower.algebraMap_apply]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.RingTheory.TensorProduct.Finite
{ "line": 66, "column": 2 }
{ "line": 66, "column": 80 }
{ "line": 67, "column": 2 }
[ { "pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : AddCommMonoid N\ninst✝¹ : Module R M\ninst✝ : Module R N\nI : Submodule R N\ns : Set (↥I ⊗[R] M)\nhs : s.Finite\n⊢ ∃ J, ∃ (_ : J.FG) (hle : J ≤ I), s ⊆ ↑(rTensor M (inclusion hle)).range", "ppTerm"...
[ "R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : AddCommMonoid N\ninst✝¹ : Module R M\ninst✝ : Module R N\nI : Submodule R N\ns : Set (↥I ⊗[R] M)\nhs : s.Finite\nJ : ↥I ⊗[R] M → Submodule R N\nfg : ∀ (x : ↥I ⊗[R] M), (J x).FG\nhle : ∀ (x : ↥I ⊗[R] M), J x ≤ I\ny...
choose J fg hle y eq using exists_fg_le_eq_rTensor_inclusion (M := M) (I := I)
Mathlib.Tactic.Choose._aux_Mathlib_Tactic_Choose___elabRules_Mathlib_Tactic_Choose_choose_1
Mathlib.Tactic.Choose.choose
Mathlib.RingTheory.TensorProduct.Basic
{ "line": 387, "column": 4 }
{ "line": 392, "column": 39 }
{ "line": 393, "column": 4 }
[ { "pp": "case refine_1\nR : 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✝³ : CommSemiring A\ninst✝² : Algebra R A\ninst✝¹ : CommSemiring B\ninst✝ : Algebra R B\nx y : A ⊗[R] B\n⊢ ∀ (x : A) (y_1 : B), x ⊗ₜ[R] y_1 * y = y * x ⊗ₜ[R] y_1", ...
[ "case refine_2\nR : 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✝³ : CommSemiring A\ninst✝² : Algebra R A\ninst✝¹ : CommSemiring B\ninst✝ : Algebra R B\nx y : A ⊗[R] B\n⊢ ∀ (x y_1 : A ⊗[R] B), x * y = y * x → y_1 * y = y * y_1 → (x + y_1) * y ...
· intro a₁ b₁ refine TensorProduct.inductionOn y ?_ ?_ · intro a₂ b₂ simp [mul_comm] · intro a₂ b₂ ha hb simp [mul_add, add_mul, ha, hb]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.Star.Pointwise
{ "line": 98, "column": 6 }
{ "line": 98, "column": 25 }
{ "line": 98, "column": 26 }
[ { "pp": "α : Type u_1\ninst✝ : InvolutiveStar α\ns t : Set α\n⊢ s⋆ ⊆ t ↔ s ⊆ t⋆", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.star", "congrArg", "id", "LE.le", "Iff", "Set.instLE", "propext", "Set.star_subset_star", ...
[ "α : Type u_1\ninst✝ : InvolutiveStar α\ns t : Set α\n⊢ s⋆⋆ ⊆ t⋆ ↔ s ⊆ t⋆" ]
← star_subset_star,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Spectrum.Basic
{ "line": 319, "column": 4 }
{ "line": 319, "column": 98 }
{ "line": 321, "column": 0 }
[ { "pp": "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\na : A\nx : R\n⊢ x ∈ resolventSet R (-a) ↔ x ∈ -resolventSet R a", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "NegZeroClass.toNeg", "_private.Mathlib.Algebra.Algebra.Spectrum.Basic.0.r...
[]
simp only [mem_neg, mem_resolventSet_iff, map_neg, ← neg_add', IsUnit.neg_iff, sub_neg_eq_add]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Algebra.Spectrum.Basic
{ "line": 319, "column": 4 }
{ "line": 319, "column": 98 }
{ "line": 321, "column": 0 }
[ { "pp": "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\na : A\nx : R\n⊢ x ∈ resolventSet R (-a) ↔ x ∈ -resolventSet R a", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "NegZeroClass.toNeg", "_private.Mathlib.Algebra.Algebra.Spectrum.Basic.0.r...
[]
simp only [mem_neg, mem_resolventSet_iff, map_neg, ← neg_add', IsUnit.neg_iff, sub_neg_eq_add]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Spectrum.Basic
{ "line": 319, "column": 4 }
{ "line": 319, "column": 98 }
{ "line": 321, "column": 0 }
[ { "pp": "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\na : A\nx : R\n⊢ x ∈ resolventSet R (-a) ↔ x ∈ -resolventSet R a", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "NegZeroClass.toNeg", "_private.Mathlib.Algebra.Algebra.Spectrum.Basic.0.r...
[]
simp only [mem_neg, mem_resolventSet_iff, map_neg, ← neg_add', IsUnit.neg_iff, sub_neg_eq_add]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 594, "column": 2 }
{ "line": 594, "column": 13 }
{ "line": 596, "column": 0 }
[ { "pp": "R : Type uR\nA : Type uA\nB : Type uB\nC : Type uC\nD : Type uD\ninst✝⁸ : CommSemiring R\ninst✝⁷ : Semiring A\ninst✝⁶ : Algebra R A\ninst✝⁵ : Semiring B\ninst✝⁴ : Algebra R B\ninst✝³ : Semiring C\ninst✝² : Algebra R C\ninst✝¹ : Semiring D\ninst✝ : Algebra R D\nf : A →ₐ[R] C\ng : B →ₐ[R] D\n⊢ (↑(TensorP...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 594, "column": 2 }
{ "line": 594, "column": 13 }
{ "line": 596, "column": 0 }
[ { "pp": "R : Type uR\nA : Type uA\nB : Type uB\nC : Type uC\nD : Type uD\ninst✝⁸ : CommSemiring R\ninst✝⁷ : Semiring A\ninst✝⁶ : Algebra R A\ninst✝⁵ : Semiring B\ninst✝⁴ : Algebra R B\ninst✝³ : Semiring C\ninst✝² : Algebra R C\ninst✝¹ : Semiring D\ninst✝ : Algebra R D\nf : A →ₐ[R] C\ng : B →ₐ[R] D\n⊢ (↑(TensorP...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 594, "column": 2 }
{ "line": 594, "column": 13 }
{ "line": 596, "column": 0 }
[ { "pp": "R : Type uR\nA : Type uA\nB : Type uB\nC : Type uC\nD : Type uD\ninst✝⁸ : CommSemiring R\ninst✝⁷ : Semiring A\ninst✝⁶ : Algebra R A\ninst✝⁵ : Semiring B\ninst✝⁴ : Algebra R B\ninst✝³ : Semiring C\ninst✝² : Algebra R C\ninst✝¹ : Semiring D\ninst✝ : Algebra R D\nf : A →ₐ[R] C\ng : B →ₐ[R] D\n⊢ (↑(TensorP...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 782, "column": 67 }
{ "line": 782, "column": 78 }
{ "line": 784, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ (lmul' R).comp (map f g) = lift f g ⋯", "ppTerm": "?m.95",...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 782, "column": 67 }
{ "line": 782, "column": 78 }
{ "line": 784, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ (lmul' R).comp (map f g) = lift f g ⋯", "ppTerm": "?m.95",...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 782, "column": 67 }
{ "line": 782, "column": 78 }
{ "line": 784, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ (lmul' R).comp (map f g) = lift f g ⋯", "ppTerm": "?m.95",...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 806, "column": 2 }
{ "line": 806, "column": 13 }
{ "line": 808, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ productMap f g = (lmul' R).comp (map f g)", "ppTerm": "?m....
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 806, "column": 2 }
{ "line": 806, "column": 13 }
{ "line": 808, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ productMap f g = (lmul' R).comp (map f g)", "ppTerm": "?m....
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.TensorProduct.Maps
{ "line": 806, "column": 2 }
{ "line": 806, "column": 13 }
{ "line": 808, "column": 0 }
[ { "pp": "R : Type uR\nS : Type uS\nA : Type uA\nB : Type uB\ninst✝⁶ : CommSemiring R\ninst✝⁵ : Semiring A\ninst✝⁴ : Semiring B\ninst✝³ : CommSemiring S\ninst✝² : Algebra R A\ninst✝¹ : Algebra R B\ninst✝ : Algebra R S\nf : A →ₐ[R] S\ng : B →ₐ[R] S\n⊢ productMap f g = (lmul' R).comp (map f g)", "ppTerm": "?m....
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Algebra.Unitization
{ "line": 740, "column": 17 }
{ "line": 740, "column": 76 }
{ "line": 741, "column": 2 }
[ { "pp": "S : 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\ninst✝³ : DistribMu...
[]
simp only [fst_one, map_one, snd_one, φ.map_zero, add_zero]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Algebra.Unitization
{ "line": 740, "column": 17 }
{ "line": 740, "column": 76 }
{ "line": 741, "column": 2 }
[ { "pp": "S : 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\ninst✝³ : DistribMu...
[]
simp only [fst_one, map_one, snd_one, φ.map_zero, add_zero]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Unitization
{ "line": 740, "column": 17 }
{ "line": 740, "column": 76 }
{ "line": 741, "column": 2 }
[ { "pp": "S : 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\ninst✝³ : DistribMu...
[]
simp only [fst_one, map_one, snd_one, φ.map_zero, add_zero]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Order.Star.Basic
{ "line": 248, "column": 46 }
{ "line": 249, "column": 62 }
{ "line": 251, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝³ : NonUnitalSemiring R\ninst✝² : PartialOrder R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\na : R\nha : 0 ≤ a\nc : R\nhc : IsSelfAdjoint c\n⊢ 0 ≤ c * a * c", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "congrArg",...
[]
by nth_rewrite 2 [← hc]; exact star_right_conjugate_nonneg ha c
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Star.NonUnitalSubalgebra
{ "line": 662, "column": 44 }
{ "line": 662, "column": 59 }
{ "line": 662, "column": 60 }
[ { "pp": "R' : Type u'\nR : Type u\nA : Type v\nB : Type w\nC : Type w'\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : StarRing R\ninst✝⁸ : NonUnitalSemiring A\ninst✝⁷ : StarRing A\ninst✝⁶ : Module R A\ninst✝⁵ : NonUnitalSemiring B\ninst✝⁴ : StarRing B\ninst✝³ : Module R B\ninst✝² : IsScalarTower R A A\ninst✝¹ : SMulCommCl...
[ "R' : Type u'\nR : Type u\nA : Type v\nB : Type w\nC : Type w'\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : StarRing R\ninst✝⁸ : NonUnitalSemiring A\ninst✝⁷ : StarRing A\ninst✝⁶ : Module R A\ninst✝⁵ : NonUnitalSemiring B\ninst✝⁴ : StarRing B\ninst✝³ : Module R B\ninst✝² : IsScalarTower R A A\ninst✝¹ : SMulCommClass R A A\ni...
Set.union_star,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 66, "column": 14 }
{ "line": 66, "column": 32 }
{ "line": 68, "column": 0 }
[ { "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✝ :...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 66, "column": 14 }
{ "line": 66, "column": 32 }
{ "line": 68, "column": 0 }
[ { "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✝ :...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 66, "column": 14 }
{ "line": 66, "column": 32 }
{ "line": 68, "column": 0 }
[ { "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✝ :...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 84, "column": 2 }
{ "line": 84, "column": 20 }
{ "line": 86, "column": 0 }
[ { "pp": "R : 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✝ : DecidableEq ...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 84, "column": 2 }
{ "line": 84, "column": 20 }
{ "line": 86, "column": 0 }
[ { "pp": "R : 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✝ : DecidableEq ...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.DirectSum.Finsupp
{ "line": 84, "column": 2 }
{ "line": 84, "column": 20 }
{ "line": 86, "column": 0 }
[ { "pp": "R : 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✝ : DecidableEq ...
[]
simp [finsuppLeft]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Algebra.Subalgebra.Directed
{ "line": 76, "column": 19 }
{ "line": 78, "column": 88 }
{ "line": 79, "column": 6 }
[ { "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 dsimp exact Set.iUnionLift_const _ (fun i : ι => (0 : K i)) (fun _ => rfl) _ (by simp)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition
{ "line": 131, "column": 32 }
{ "line": 131, "column": 43 }
{ "line": 131, "column": 43 }
[ { "pp": "K : Type u\nV : Type v\ninst✝⁴ : Ring K\ninst✝³ : StrongRankCondition K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ns : Submodule K V\ninst✝ : Free K ↥s\nx✝ : ∃ v₀, v₀ ≠ 0 ∧ ∀ (v : ↥s), ∃ r, r • v₀ = v\nv₀ : V\nhv₀ : v₀ ∈ s\nh : ∀ (v : ↥s), ∃ r, r • ⟨v₀, hv₀⟩ = v\nh' : v₀ = 0\nH : ¬⟨0, ⋯⟩ = 0\n⊢ Fal...
[]
exact H rfl
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.LinearAlgebra.Dimension.Constructions
{ "line": 481, "column": 2 }
{ "line": 481, "column": 56 }
{ "line": 482, "column": 2 }
[ { "pp": "R : Type u\nM : Type v\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : StrongRankCondition R\ns : Finset M\nhs : LinearIndepOn R id ↑s\n⊢ finrank R ↥(span R ↑s) = s.card", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "finrank_span_set_eq_card", ...
[ "R : Type u\nM : Type v\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : StrongRankCondition R\ns : Finset M\nhs : LinearIndepOn R id ↑s\n⊢ s = (↑s).toFinset" ]
convert finrank_span_set_eq_card (s := (s : Set M)) hs
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1
Mathlib.Tactic.convert
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition
{ "line": 239, "column": 4 }
{ "line": 239, "column": 53 }
{ "line": 240, "column": 4 }
[ { "pp": "case pos\nF : Type u_1\nE : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : StrongRankCondition F\ninst✝² : Ring E\ninst✝¹ : Algebra F E\nS : Subalgebra F E\nh : Module.rank F ↥S ≤ 1\ninst✝ : Free F ↥S\na✝ : Nontrivial E\nκ : Type u_2\nb : Basis κ F ↥S\nh1 : Module.rank F ↥S = 1\n⊢ S = ⊥", "ppTerm": "?pos✝...
[ "case pos\nF : Type u_1\nE : Type u_2\ninst✝⁴ : CommRing F\ninst✝³ : StrongRankCondition F\ninst✝² : Ring E\ninst✝¹ : Algebra F E\nS : Subalgebra F E\nh : Module.rank F ↥S ≤ 1\ninst✝ : Free F ↥S\na✝ : Nontrivial E\nκ : Type u_2\nb : Basis κ F ↥S\nh1 : Module.rank F ↥S = 1\nx : E\nhx : x ∈ S\n⊢ x ∈ range ⇑(algebraMa...
refine bot_unique fun x hx ↦ Algebra.mem_bot.2 ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 251, "column": 94 }
{ "line": 252, "column": 56 }
{ "line": 254, "column": 0 }
[ { "pp": "R : Type u\nσ : Type u_1\na : R\ne : ℕ\nn : σ\ns : σ →₀ ℕ\ninst✝ : CommSemiring R\n⊢ (monomial (s + Finsupp.single n e)) a = (monomial s) a * X n ^ e", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "MulOne.toOn...
[]
by rw [X_pow_eq_monomial, monomial_mul_monomial, mul_one]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 324, "column": 4 }
{ "line": 324, "column": 32 }
{ "line": 325, "column": 4 }
[ { "pp": "case zero\nR : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nmotive : MvPolynomial σ R → Prop\nC : ∀ (a : R), motive (MvPolynomial.C a)\nmul_X : ∀ (p : MvPolynomial σ R) (n : σ), motive p → motive (p * X n)\ns : σ →₀ ℕ\na : R\n⊢ motive ((monomial 0) a)", "ppTerm": "?zero", "assigned": true, ...
[ "case zero\nR : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\nmotive : MvPolynomial σ R → Prop\nC : ∀ (a : R), motive (MvPolynomial.C a)\nmul_X : ∀ (p : MvPolynomial σ R) (n : σ), motive p → motive (p * X n)\ns : σ →₀ ℕ\na : R\n⊢ motive ((monomial 0) a)" ]
change motive (monomial 0 a)
Lean.Elab.Tactic.evalChange
Lean.Parser.Tactic.change
Mathlib.Algebra.Group.AddChar
{ "line": 252, "column": 60 }
{ "line": 253, "column": 78 }
{ "line": 255, "column": 0 }
[ { "pp": "A : Type u_1\nB : Type u_2\nM : Type u_3\ninst✝² : AddMonoid A\ninst✝¹ : AddMonoid B\ninst✝ : Monoid M\nf : A →+ B\nhf : Surjective ⇑f\n⊢ Injective fun ψ ↦ ψ.compAddMonoidHom f", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "DFunLike.ext'_i...
[]
by rintro ψ χ h; rw [DFunLike.ext'_iff] at h ⊢; exact hf.injective_comp_right h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MvPolynomial.Eval
{ "line": 120, "column": 4 }
{ "line": 120, "column": 16 }
{ "line": 121, "column": 4 }
[ { "pp": "case C\nR : Type u\nS₁ : Type v\nσ : Type u_1\ninst✝¹ : CommSemiring R\ninst✝ : CommSemiring S₁\np : MvPolynomial σ R\nf : R →+* S₁\ng : σ → S₁\n⊢ ∀ (a : R) {s : σ →₀ ℕ} {a_1 : R},\n eval₂ f g (C a * (monomial s) a_1) = eval₂ f g (C a) * f a_1 * s.prod fun n e ↦ g n ^ e", "ppTerm": "?C", "as...
[ "case C\nR : Type u\nS₁ : Type v\nσ : Type u_1\ninst✝¹ : CommSemiring R\ninst✝ : CommSemiring S₁\np : MvPolynomial σ R\nf : R →+* S₁\ng : σ → S₁\na' : R\ns : σ →₀ ℕ\na : R\n⊢ eval₂ f g (C a' * (monomial s) a) = eval₂ f g (C a') * f a * s.prod fun n e ↦ g n ^ e" ]
intro a' s a
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 549, "column": 28 }
{ "line": 549, "column": 63 }
{ "line": 552, "column": 0 }
[ { "pp": "R : Type u\nσ : Type u_1\ninst✝ : CommSemiring R\ni : σ\nh : Finsupp.single i 1 = 0\n⊢ False", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "False", "Nat.instMulZeroClass", "HEq.refl", "False.elim", "Finsupp.single_eq_zero", "noConfusion_of_Nat...
[]
by cases Finsupp.single_eq_zero.1 h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Polynomial.Basic
{ "line": 356, "column": 16 }
{ "line": 356, "column": 43 }
{ "line": 357, "column": 4 }
[ { "pp": "R : Type u\na b : R\nm n : ℕ\ninst✝ : Semiring R\np q : R[X]\n⊢ (monomial 0).toFun 1 = 1", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Nat.instMulZeroClass", "Polynomial", "AddMonoidAlgebra.zero", "Nat", "eq_self", "of_eq_true", "One.to...
[]
by simp [monomial_zero_one]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MvPolynomial.Basic
{ "line": 1052, "column": 4 }
{ "line": 1052, "column": 55 }
{ "line": 1053, "column": 4 }
[ { "pp": "case refine_1\nR : Type u_2\nS : Type u_3\nσ : Type u_4\ninst✝² : CommSemiring R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nM N : Submodule R S\nr : S\nhr : r ∈ M * N\ns : σ →₀ ℕ\n⊢ (monomial s) r ∈ coeffsIn σ M * coeffsIn σ N", "ppTerm": "?refine_1", "assigned": true, "usedConstants": ...
[]
induction hr using Submodule.mul_induction_on' with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Data.Nat.Prime.Defs
{ "line": 89, "column": 2 }
{ "line": 94, "column": 18 }
{ "line": 96, "column": 0 }
[ { "pp": "p : ℕ\npp : Prime p\nm : ℕ\nhm : m ∣ p\n⊢ m = 1 ∨ m = p", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Dvd.dvd", "HMul.hMul", "congrArg", "Nat.instMonoid", "IsUnit", "Nat.instMulOneClass", "Eq.mp", ...
[]
obtain ⟨n, hn⟩ := hm have := pp.isUnit_or_isUnit hn rw [Nat.isUnit_iff, Nat.isUnit_iff] at this apply Or.imp_right _ this rintro rfl rw [hn, mul_one]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Nat.Prime.Defs
{ "line": 89, "column": 2 }
{ "line": 94, "column": 18 }
{ "line": 96, "column": 0 }
[ { "pp": "p : ℕ\npp : Prime p\nm : ℕ\nhm : m ∣ p\n⊢ m = 1 ∨ m = p", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Dvd.dvd", "HMul.hMul", "congrArg", "Nat.instMonoid", "IsUnit", "Nat.instMulOneClass", "Eq.mp", ...
[]
obtain ⟨n, hn⟩ := hm have := pp.isUnit_or_isUnit hn rw [Nat.isUnit_iff, Nat.isUnit_iff] at this apply Or.imp_right _ this rintro rfl rw [hn, mul_one]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 256, "column": 2 }
{ "line": 257, "column": 5 }
{ "line": 259, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nx : R\n⊢ eval x p = p.sum fun e a ↦ a * x ^ e", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.eval", "HMul.hMul", "congrArg", "Polynomial.sum", "RingHom", "id", "Polynom...
[]
rw [eval, eval₂_eq_sum] rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 256, "column": 2 }
{ "line": 257, "column": 5 }
{ "line": 259, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Semiring R\np : R[X]\nx : R\n⊢ eval x p = p.sum fun e a ↦ a * x ^ e", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.eval", "HMul.hMul", "congrArg", "Polynomial.sum", "RingHom", "id", "Polynom...
[]
rw [eval, eval₂_eq_sum] rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.CharP.Defs
{ "line": 283, "column": 28 }
{ "line": 283, "column": 45 }
{ "line": 284, "column": 6 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonAssocSemiring R\ninst✝ : CharP R 1\nr : R\n⊢ 1 * r = ↑1 * r", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "congrArg", "id", "AddMonoidWithOne.toNatCast...
[]
rw [Nat.cast_one]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.CharP.Defs
{ "line": 283, "column": 28 }
{ "line": 283, "column": 45 }
{ "line": 284, "column": 6 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonAssocSemiring R\ninst✝ : CharP R 1\nr : R\n⊢ 1 * r = ↑1 * r", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "congrArg", "id", "AddMonoidWithOne.toNatCast...
[]
rw [Nat.cast_one]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.CharP.Defs
{ "line": 283, "column": 28 }
{ "line": 283, "column": 45 }
{ "line": 284, "column": 6 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonAssocSemiring R\ninst✝ : CharP R 1\nr : R\n⊢ 1 * r = ↑1 * r", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "congrArg", "id", "AddMonoidWithOne.toNatCast...
[]
rw [Nat.cast_one]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 786, "column": 2 }
{ "line": 786, "column": 95 }
{ "line": 788, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nn : ℕ\n⊢ (p * (X - ↑n)).comp q = p.comp q * (q - ↑n)", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Nat.cast_comm", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "mul_sub", "AddGroupW...
[]
rw [mul_sub, sub_comp, mul_X_comp, ← Nat.cast_comm, natCast_mul_comp, Nat.cast_comm, mul_sub]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 786, "column": 2 }
{ "line": 786, "column": 95 }
{ "line": 788, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nn : ℕ\n⊢ (p * (X - ↑n)).comp q = p.comp q * (q - ↑n)", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Nat.cast_comm", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "mul_sub", "AddGroupW...
[]
rw [mul_sub, sub_comp, mul_X_comp, ← Nat.cast_comm, natCast_mul_comp, Nat.cast_comm, mul_sub]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.Eval.Defs
{ "line": 786, "column": 2 }
{ "line": 786, "column": 95 }
{ "line": 788, "column": 0 }
[ { "pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nn : ℕ\n⊢ (p * (X - ↑n)).comp q = p.comp q * (q - ↑n)", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Nat.cast_comm", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "mul_sub", "AddGroupW...
[]
rw [mul_sub, sub_comp, mul_X_comp, ← Nat.cast_comm, natCast_mul_comp, Nat.cast_comm, mul_sub]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq