module stringlengths 17 90 | startPos dict | endPos dict | nextStartPos dict | goals listlengths 0 96 | goalsAfter listlengths 0 96 | ppTac stringlengths 1 12.3k | elaborator stringclasses 379
values | kind stringclasses 383
values |
|---|---|---|---|---|---|---|---|---|
Mathlib.LinearAlgebra.Center | {
"line": 181,
"column": 4
} | {
"line": 181,
"column": 65
} | {
"line": 181,
"column": 66
} | [
{
"pp": "case refine_1\nR : Type u_1\nV : Type u_2\ninst✝⁴ : Ring R\ninst✝³ : IsDomain R\ninst✝² : AddCommGroup V\ninst✝¹ : Module R V\nf : V →ₗ[R] V\nι : Type u_3\ninst✝ : Nontrivial ι\nb : Basis ι R V\nh : ∀ (v : V), ¬LinearIndependent R ![v, f v]\nh' : ∀ (i j : ι), i ≠ j → ∀ (r : R), (b.coord i) (f (b i)) * ... | [
"case refine_1\nR : Type u_1\nV : Type u_2\ninst✝⁴ : Ring R\ninst✝³ : IsDomain R\ninst✝² : AddCommGroup V\ninst✝¹ : Module R V\nf : V →ₗ[R] V\nι : Type u_3\ninst✝ : Nontrivial ι\nb : Basis ι R V\nh : ∀ (v : V), ¬LinearIndependent R ![v, f v]\nh' : ∀ (i j : ι), i ≠ j → ∀ (r : R), (b.coord i) (f (b i)) * r = r * (b.c... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Center | {
"line": 183,
"column": 2
} | {
"line": 183,
"column": 32
} | {
"line": 183,
"column": 33
} | [
{
"pp": "case refine_2\nR : Type u_1\nV : Type u_2\ninst✝⁴ : Ring R\ninst✝³ : IsDomain R\ninst✝² : AddCommGroup V\ninst✝¹ : Module R V\nf : V →ₗ[R] V\nι : Type u_3\ninst✝ : Nontrivial ι\nb : Basis ι R V\nh : ∀ (v : V), ¬LinearIndependent R ![v, f v]\nh' : ∀ (i j : ι), i ≠ j → ∀ (r : R), (b.coord i) (f (b i)) * ... | [
"case refine_2\nR : Type u_1\nV : Type u_2\ninst✝⁴ : Ring R\ninst✝³ : IsDomain R\ninst✝² : AddCommGroup V\ninst✝¹ : Module R V\nf : V →ₗ[R] V\nι : Type u_3\ninst✝ : Nontrivial ι\nb : Basis ι R V\nh : ∀ (v : V), ¬LinearIndependent R ![v, f v]\nh' : ∀ (i j : ι), i ≠ j → ∀ (r : R), (b.coord i) (f (b i)) * r = r * (b.c... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Transvection.Basic | {
"line": 476,
"column": 10
} | {
"line": 476,
"column": 71
} | {
"line": 476,
"column": 72
} | [
{
"pp": "V : Type u_2\ninst✝³ : AddCommGroup V\nK : Type u_3\ninst✝² : DivisionRing K\ninst✝¹ : Module K V\ninst✝ : Module.Finite K V\ne : V ≃ₗ[K] V\nx✝ : e ∈ dilatransvections K V ∧ e.fixedReduce = 1\nhe : finrank K (V ⧸ (↑e).fixedSubmodule) ≤ 1\nhe' : e.fixedReduce = 1\nhe_one : ¬e = 1\nhefixed_ne_top : (↑e).... | [
"V : Type u_2\ninst✝³ : AddCommGroup V\nK : Type u_3\ninst✝² : DivisionRing K\ninst✝¹ : Module K V\ninst✝ : Module.Finite K V\ne : V ≃ₗ[K] V\nx✝ : e ∈ dilatransvections K V ∧ e.fixedReduce = 1\nhe : finrank K (V ⧸ (↑e).fixedSubmodule) ≤ 1\nhe' : e.fixedReduce = 1\nhe_one : ¬e = 1\nhefixed_ne_top : (↑e).fixedSubmodu... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.CliffordAlgebra.BaseChange | {
"line": 53,
"column": 4
} | {
"line": 54,
"column": 39
} | {
"line": 56,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nV : Type u_3\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing A\ninst✝³ : AddCommGroup V\ninst✝² : Algebra R A\ninst✝¹ : Module R V\ninst✝ : Invertible 2\nQ : QuadraticForm R V\nv : V\n⊢ (algebraMap A (CliffordAlgebra (QuadraticForm.baseChange A Q))) ((QuadraticForm.baseChange A Q) (... | [] | rw [QuadraticForm.baseChange_tmul, one_mul, ← Algebra.algebraMap_eq_smul_one,
← IsScalarTower.algebraMap_apply] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.CliffordAlgebra.BaseChange | {
"line": 99,
"column": 43
} | {
"line": 99,
"column": 79
} | {
"line": 99,
"column": 80
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nV : Type u_3\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing A\ninst✝³ : AddCommGroup V\ninst✝² : Algebra R A\ninst✝¹ : Module R V\ninst✝ : Invertible 2\nQ : QuadraticForm R V\nthis✝ : Invertible 2 := (Invertible.map (algebraMap R A) 2).copy 2 ⋯\nthis : Invertible 2 := (Invertible.m... | [
"R : Type u_1\nA : Type u_2\nV : Type u_3\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing A\ninst✝³ : AddCommGroup V\ninst✝² : Algebra R A\ninst✝¹ : Module R V\ninst✝ : Invertible 2\nQ : QuadraticForm R V\nthis✝ : Invertible 2 := (Invertible.map (algebraMap R A) 2).copy 2 ⋯\nthis : Invertible 2 := (Invertible.map (algebraM... | LinearMap.BilinForm.baseChange_tmul, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.QuadraticForm.TensorProduct | {
"line": 162,
"column": 8
} | {
"line": 162,
"column": 20
} | {
"line": 162,
"column": 21
} | [
{
"pp": "R : Type uR\nA : Type uA\nM₂ : Type uM₂\nN₁ : Type uN₁\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : AddCommGroup M₂\ninst✝⁵ : AddCommGroup N₁\ninst✝⁴ : Algebra R A\ninst✝³ : Module R N₁\ninst✝² : Module A N₁\ninst✝¹ : IsScalarTower R A N₁\ninst✝ : Module R M₂\nQ₁ Q₂ : QuadraticMap A (A ⊗[R] M₂) ... | [
"R : Type uR\nA : Type uA\nM₂ : Type uM₂\nN₁ : Type uN₁\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : AddCommGroup M₂\ninst✝⁵ : AddCommGroup N₁\ninst✝⁴ : Algebra R A\ninst✝³ : Module R N₁\ninst✝² : Module A N₁\ninst✝¹ : IsScalarTower R A N₁\ninst✝ : Module R M₂\nQ₁ Q₂ : QuadraticMap A (A ⊗[R] M₂) N₁\nh : ∀ (m... | ← mul_one a, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Transvection.Basic | {
"line": 628,
"column": 2
} | {
"line": 628,
"column": 56
} | {
"line": 628,
"column": 57
} | [
{
"pp": "R : Type u_3\nV : Type u_4\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup V\ninst✝³ : Module R V\ninst✝² : Free R V\ninst✝¹ : Module.Finite R V\ninst✝ : IsDomain R\nf : Dual R V\nv : V\nK : Type u_3 := FractionRing R\nthis✝ : Field K := inferInstance\nthis : (algebraMap R K) (LinearMap.det (transvection f... | [
"R : Type u_3\nV : Type u_4\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup V\ninst✝³ : Module R V\ninst✝² : Free R V\ninst✝¹ : Module.Finite R V\ninst✝ : IsDomain R\nf : Dual R V\nv : V\nK : Type u_3 := FractionRing R\nthis✝ : Field K := inferInstance\nthis : (algebraMap R K) (LinearMap.det (transvection f v)) = ↑1 + ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Equivs | {
"line": 297,
"column": 14
} | {
"line": 297,
"column": 25
} | {
"line": 299,
"column": 0
} | [
{
"pp": "case hl\nR : Type u_1\ninst✝ : CommRing R\nc₁ c₂ : R\n⊢ ((ofQuaternion.comp toQuaternion).toLinearMap ∘ₗ ι (Q c₁ c₂)) ∘ₗ LinearMap.inl R R R =\n ((AlgHom.id R (CliffordAlgebra (Q c₁ c₂))).toLinearMap ∘ₗ ι (Q c₁ c₂)) ∘ₗ LinearMap.inl R R R",
"ppTerm": "?hl",
"assigned": true,
"usedConstan... | [] | (ext; simp) | Lean.Elab.Tactic.evalParen | Lean.Parser.Tactic.paren |
Mathlib.LinearAlgebra.CliffordAlgebra.Equivs | {
"line": 297,
"column": 14
} | {
"line": 297,
"column": 25
} | {
"line": 299,
"column": 0
} | [
{
"pp": "case hr\nR : Type u_1\ninst✝ : CommRing R\nc₁ c₂ : R\n⊢ ((ofQuaternion.comp toQuaternion).toLinearMap ∘ₗ ι (Q c₁ c₂)) ∘ₗ LinearMap.inr R R R =\n ((AlgHom.id R (CliffordAlgebra (Q c₁ c₂))).toLinearMap ∘ₗ ι (Q c₁ c₂)) ∘ₗ LinearMap.inr R R R",
"ppTerm": "?hr",
"assigned": true,
"usedConstan... | [] | (ext; simp) | Lean.Elab.Tactic.evalParen | Lean.Parser.Tactic.paren |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 131,
"column": 6
} | {
"line": 131,
"column": 23
} | {
"line": 131,
"column": 24
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\na : M\nb : CliffordAlgebra Q\n⊢ (contractRight (b * (ι Q) a)) d = d a • b - (contractRight b) d * (ι Q) a",
"ppTerm": "?m.57",
"assigned": true,
"usedConst... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\na : M\nb : CliffordAlgebra Q\n⊢ reverse ((contractLeft d) (reverse (b * (ι Q) a))) = d a • b - (contractRight b) d * (ι Q) a"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 162,
"column": 6
} | {
"line": 162,
"column": 23
} | {
"line": 162,
"column": 24
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : M\n⊢ (contractRight ((ι Q) x)) d = (algebraMap R (CliffordAlgebra Q)) (d x)",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"CliffordAl... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : M\n⊢ reverse ((contractLeft d) (reverse ((ι Q) x))) = (algebraMap R (CliffordAlgebra Q)) (d x)"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 172,
"column": 6
} | {
"line": 172,
"column": 23
} | {
"line": 172,
"column": 24
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nr : R\n⊢ (contractRight ((algebraMap R (CliffordAlgebra Q)) r)) d = 0",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"CliffordAlgebra.cont... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nr : R\n⊢ reverse ((contractLeft d) (reverse ((algebraMap R (CliffordAlgebra Q)) r))) = 0"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 176,
"column": 2
} | {
"line": 176,
"column": 28
} | {
"line": 176,
"column": 29
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\n⊢ (contractLeft d) 1 = 0",
"ppTerm": "?m.28",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\n⊢ (contractLeft d) 1 = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 180,
"column": 2
} | {
"line": 180,
"column": 28
} | {
"line": 180,
"column": 29
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\n⊢ (contractRight 1) d = 0",
"ppTerm": "?m.27",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\n⊢ (contractRight 1) d = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 194,
"column": 6
} | {
"line": 194,
"column": 23
} | {
"line": 194,
"column": 24
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ (contractRight ((contractRight x) d)) d = 0",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"CliffordAlgebra.contr... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d) (reverse ((contractRight x) d))) = 0"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 194,
"column": 24
} | {
"line": 194,
"column": 41
} | {
"line": 194,
"column": 42
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d) (reverse ((contractRight x) d))) = 0",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Cl... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d) (reverse (reverse ((contractLeft d) (reverse x))))) = 0"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 207,
"column": 6
} | {
"line": 207,
"column": 23
} | {
"line": 207,
"column": 24
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ (contractRight ((contractRight x) d)) d' = -(contractRight ((contractRight x) d')) d",
"ppTerm": "?m.40",
"assigned": true,
"us... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse ((contractRight x) d))) = -(contractRight ((contractRight x) d')) d"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 207,
"column": 24
} | {
"line": 207,
"column": 41
} | {
"line": 207,
"column": 42
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse ((contractRight x) d))) = -(contractRight ((contractRight x) d')) d",
"ppTerm": "?m.49",
"assig... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse (reverse ((contractLeft d) (reverse x))))) =\n -(contractRight ((contractRight x) d')) d"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 207,
"column": 42
} | {
"line": 207,
"column": 59
} | {
"line": 207,
"column": 60
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse (reverse ((contractLeft d) (reverse x))))) =\n -(contractRight ((contractRight x) d')) d",
"ppTe... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse (reverse ((contractLeft d) (reverse x))))) =\n -reverse ((contractLeft d) (reverse ((contractRight x) d')))"
] | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 207,
"column": 60
} | {
"line": 207,
"column": 77
} | {
"line": 207,
"column": 78
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse (reverse ((contractLeft d) (reverse x))))) =\n -reverse ((contractLeft d) (reverse ((contractRight x... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ : QuadraticForm R M\nd d' : Module.Dual R M\nx : CliffordAlgebra Q\n⊢ reverse ((contractLeft d') (reverse (reverse ((contractLeft d) (reverse x))))) =\n -reverse ((contractLeft d) (reverse (reverse ((contractLeft d') (... | contractRight_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.CliffordAlgebra.Contraction | {
"line": 271,
"column": 2
} | {
"line": 271,
"column": 13
} | {
"line": 271,
"column": 14
} | [
{
"pp": "R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ Q' : QuadraticForm R M\nB : BilinForm R M\nh : BilinMap.toQuadraticMap B = Q' - Q\n⊢ (changeForm h) 1 = 1",
"ppTerm": "?m.63",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"used... | [
"R : Type u1\ninst✝² : CommRing R\nM : Type u2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nQ Q' : QuadraticForm R M\nB : BilinForm R M\nh : BilinMap.toQuadraticMap B = Q' - Q\n⊢ (changeForm h) 1 = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.CliffordAlgebra.SpinGroup | {
"line": 90,
"column": 6
} | {
"line": 90,
"column": 34
} | {
"line": 90,
"column": 35
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nM : Type u_2\ninst✝² : AddCommGroup M\ninst✝¹ : Module R M\nQ : QuadraticForm R M\nx : (CliffordAlgebra Q)ˣ\ninst✝ : Invertible 2\ny z : (CliffordAlgebra Q)ˣ\nhx✝ : y ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy✝ : z ∈ Subgroup.closure (Units.val ⁻¹' Set.ra... | [
"R : Type u_1\ninst✝³ : CommRing R\nM : Type u_2\ninst✝² : AddCommGroup M\ninst✝¹ : Module R M\nQ : QuadraticForm R M\nx : (CliffordAlgebra Q)ˣ\ninst✝ : Invertible 2\ny z : (CliffordAlgebra Q)ˣ\nhx✝ : y ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy✝ : z ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.TensorProduct.Graded.Internal | {
"line": 132,
"column": 47
} | {
"line": 134,
"column": 59
} | {
"line": 136,
"column": 0
} | [
{
"pp": "R : Type u_1\nι : Type u_2\nA : Type u_3\nB : Type u_4\ninst✝⁸ : CommSemiring ι\ninst✝⁷ : DecidableEq ι\ninst✝⁶ : CommRing R\ninst✝⁵ : Ring A\ninst✝⁴ : Ring B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\n𝒜 : ι → Submodule R A\nℬ : ι → Submodule R B\ninst✝¹ : GradedAlgebra 𝒜\ninst✝ : GradedAlgebra ℬ\n... | [] | by
rw [← of_one, Algebra.TensorProduct.one_def, auxEquiv_tmul 𝒜 ℬ, DirectSum.decompose_one,
DirectSum.decompose_one, Algebra.TensorProduct.one_def] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.CliffordAlgebra.SpinGroup | {
"line": 121,
"column": 6
} | {
"line": 121,
"column": 34
} | {
"line": 121,
"column": 35
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\nM : Type u_2\ninst✝² : AddCommGroup M\ninst✝¹ : Module R M\nQ : QuadraticForm R M\ninst✝ : Invertible 2\nx y z : (CliffordAlgebra Q)ˣ\nhx✝ : y ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy✝ : z ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy : ∀ (b :... | [
"R : Type u_1\ninst✝³ : CommRing R\nM : Type u_2\ninst✝² : AddCommGroup M\ninst✝¹ : Module R M\nQ : QuadraticForm R M\ninst✝ : Invertible 2\nx y z : (CliffordAlgebra Q)ˣ\nhx✝ : y ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy✝ : z ∈ Subgroup.closure (Units.val ⁻¹' Set.range ⇑(ι Q))\nhy : ∀ (b : M), involut... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Domain | {
"line": 100,
"column": 2
} | {
"line": 100,
"column": 13
} | {
"line": 100,
"column": 14
} | [
{
"pp": "R : Type u_1\nS : Type v\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : NoZeroDivisors S\ninst✝⁷ : Algebra R S\nFS : Type u_2\ninst✝⁶ : CommRing FS\ninst✝⁵ : Algebra S FS\ninst✝⁴ : IsFractionRing S FS\nh : IsLocalization (algebraMapSubmonoid S R⁰) FS\nM₁ : Type v\ninst✝³ : AddCommGroup M₁\ninst✝²... | [
"R : Type u_1\nS : Type v\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : NoZeroDivisors S\ninst✝⁷ : Algebra R S\nFS : Type u_2\ninst✝⁶ : CommRing FS\ninst✝⁵ : Algebra S FS\ninst✝⁴ : IsFractionRing S FS\nh : IsLocalization (algebraMapSubmonoid S R⁰) FS\nM₁ : Type v\ninst✝³ : AddCommGroup M₁\ninst✝² : Module R ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Domain | {
"line": 110,
"column": 2
} | {
"line": 110,
"column": 23
} | {
"line": 111,
"column": 4
} | [
{
"pp": "R : Type u_1\nS : Type v\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : NoZeroDivisors S\ninst✝⁷ : Algebra R S\nFS : Type u_2\ninst✝⁶ : CommRing FS\ninst✝⁵ : Algebra S FS\ninst✝⁴ : IsFractionRing S FS\nh : IsLocalization (algebraMapSubmonoid S R⁰) FS\nM : Type w\ninst✝³ : AddCommGroup M\ninst✝² :... | [
"R : Type u_1\nS : Type v\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : NoZeroDivisors S\ninst✝⁷ : Algebra R S\nFS : Type u_2\ninst✝⁶ : CommRing FS\ninst✝⁵ : Algebra S FS\ninst✝⁴ : IsFractionRing S FS\nh : IsLocalization (algebraMapSubmonoid S R⁰) FS\nM : Type w\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Domain | {
"line": 184,
"column": 4
} | {
"line": 184,
"column": 15
} | {
"line": 184,
"column": 16
} | [
{
"pp": "case pos\nR : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\nh : FaithfulSMul R S\na✝¹ : Nontrivial R... | [
"case pos\nR : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\nh : FaithfulSMul R S\na✝¹ : Nontrivial R\nthis✝⁴ : N... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Domain | {
"line": 185,
"column": 48
} | {
"line": 185,
"column": 59
} | {
"line": 185,
"column": 60
} | [
{
"pp": "R : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\nh : FaithfulSMul R S\na✝¹ : Nontrivial R\nthis✝¹ :... | [
"R : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\nh : FaithfulSMul R S\na✝¹ : Nontrivial R\nthis✝¹ : NoZeroDivis... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Domain | {
"line": 197,
"column": 2
} | {
"line": 197,
"column": 23
} | {
"line": 197,
"column": 24
} | [
{
"pp": "R : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\n⊢ finrank R S * finrank S M = finrank R M",
"p... | [
"R : Type u_1\nS : Type v\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing S\ninst✝⁶ : NoZeroDivisors S\ninst✝⁵ : Algebra R S\nM : Type w\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module S M\ninst✝¹ : IsScalarTower R S M\ninst✝ : IsTorsionFree S M\n⊢ toNat (rank R S) * toNat (rank S M) = toNat (rank R M)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Dimension.Torsion.Finite | {
"line": 21,
"column": 28
} | {
"line": 21,
"column": 58
} | {
"line": 21,
"column": 59
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nh : IsTorsion R M\nh' : Module.rank R M ≠ 0\n⊢ ?m.22",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Cardinal.instOne",
"Cardinal",
"congrArg",
... | [
"R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nh : IsTorsion R M\nh'✝ : Module.rank R M ≠ 0\nh' : 1 ≤ Module.rank R M\n⊢ ?m.22"
] | ← Cardinal.one_le_iff_ne_zero, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.LinearAlgebra.Dimension.Torsion.Finite | {
"line": 22,
"column": 2
} | {
"line": 22,
"column": 59
} | {
"line": 22,
"column": 60
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nh : IsTorsion R M\nh' : Module.rank R M ≠ 0\nf : R →ₗ[R] M\nhf : Function.Injective ⇑f\n⊢ False",
"ppTerm": "?m.46",
"assigned": false,
"usedConstants": [],
"usedFVars":... | [
"R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nh : IsTorsion R M\nh' : Module.rank R M ≠ 0\nf : R →ₗ[R] M\nhf : Function.Injective ⇑f\n⊢ False"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.Basis | {
"line": 58,
"column": 2
} | {
"line": 58,
"column": 45
} | {
"line": 58,
"column": 46
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nm n : ℕ\nI : Type u_3\ninst✝³ : LinearOrder I\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nb : Basis I R M\ns : ↑(powersetCard I m)\nt : ↑(powersetCard I n)\nh : ¬Disjoint ↑s ↑t\n⊢ b.ExteriorAlgebra ↑s * b.ExteriorAlgebra ↑t = 0",
"ppTerm": "?m.38",... | [
"R : Type u_1\nM : Type u_2\nm n : ℕ\nI : Type u_3\ninst✝³ : LinearOrder I\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nb : Basis I R M\ns : ↑(powersetCard I m)\nt : ↑(powersetCard I n)\nh : ¬Disjoint ↑s ↑t\n⊢ ιMulti_family R m (⇑b) s * ιMulti_family R n (⇑b) t = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.Basis | {
"line": 63,
"column": 2
} | {
"line": 63,
"column": 45
} | {
"line": 63,
"column": 46
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nm n : ℕ\nI : Type u_3\ninst✝³ : LinearOrder I\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nb : Basis I R M\ns : ↑(powersetCard I m)\nt : ↑(powersetCard I n)\nh : Disjoint ↑s ↑t\n⊢ b.ExteriorAlgebra ↑s * b.ExteriorAlgebra ↑t = Equiv.Perm.sign (permOfDisj... | [
"R : Type u_1\nM : Type u_2\nm n : ℕ\nI : Type u_3\ninst✝³ : LinearOrder I\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nb : Basis I R M\ns : ↑(powersetCard I m)\nt : ↑(powersetCard I n)\nh : Disjoint ↑s ↑t\n⊢ ιMulti_family R m (⇑b) s * ιMulti_family R n (⇑b) t =\n Equiv.Perm.sign (permOfDis... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.Grading | {
"line": 37,
"column": 36
} | {
"line": 37,
"column": 62
} | {
"line": 37,
"column": 63
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : M\n⊢ (ι R) m ∈ ⋀[R]^1 M",
"ppTerm": "?m.68",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Semiring.toModule",
"QuadraticMap.instZero",
"ExteriorAlg... | [
"R : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : M\n⊢ (ι R) m ∈ (ι R).range"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.Grading | {
"line": 42,
"column": 19
} | {
"line": 42,
"column": 45
} | {
"line": 42,
"column": 46
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : M\n⊢ (ι R) m ∈ ⋀[R]^1 M",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Semiring.toModule",
"QuadraticMap.instZero",
"ExteriorAlg... | [
"R : Type u_1\nM : Type u_2\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : M\n⊢ (ι R) m ∈ (ι R).range"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorPower.WedgePairing | {
"line": 100,
"column": 2
} | {
"line": 100,
"column": 13
} | {
"line": 100,
"column": 14
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nvol : ↥(⋀[R]^(finrank R M) M) ≃ₗ[R] R\nι : Type u_3\ninst✝² : LinearOrder ι\nb : Basis ι R M\ninst✝¹ : Fintype ι\ninst✝ : Nontrivial R\nthis : Unique ↑(powersetCard ι (finrank R M))\nx : ↥(⋀[R]^(finrank R M) ... | [
"R : Type u_1\nM : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nvol : ↥(⋀[R]^(finrank R M) M) ≃ₗ[R] R\nι : Type u_3\ninst✝² : LinearOrder ι\nb : Basis ι R M\ninst✝¹ : Fintype ι\ninst✝ : Nontrivial R\nthis : Unique ↑(powersetCard ι (finrank R M))\nx : ↥(⋀[R]^(finrank R M) M)\nhx : vol... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.ModN | {
"line": 41,
"column": 65
} | {
"line": 41,
"column": 76
} | {
"line": 41,
"column": 77
} | [
{
"pp": "G : Type u_1\nH : Type u_2\nM : Type u_3\ninst✝¹ : AddCommGroup G\nn : ℕ\ninst✝ : AddMonoid M\nφ : { φ // ∀ (g : G), n • φ g = 0 }\ng : G\n⊢ ((LinearMap.lsmul ℤ G) ↑n) g ∈ (↑φ).ker",
"ppTerm": "?m.133",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHSMul",
"ModN._pro... | [
"G : Type u_1\nH : Type u_2\nM : Type u_3\ninst✝¹ : AddCommGroup G\nn : ℕ\ninst✝ : AddMonoid M\nφ : { φ // ∀ (g : G), n • φ g = 0 }\ng : G\n⊢ n • ↑φ g = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.Int | {
"line": 96,
"column": 21
} | {
"line": 104,
"column": 25
} | {
"line": 105,
"column": 6
} | [
{
"pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\nn : ℕ\ninst✝³ : CommRing R\ninst✝² : AddCommGroup M\ninst✝¹ : Fintype ι\ninst✝ : Module R M\nN : Submodule R M\nbM : Basis ι R M\nbN : Basis (Fin n) R ↥N\nf : Fin n ↪ ι\na : Fin n → R\nsnf : ∀ (i : Fin n), ↑(bN i) = a i • bM (f i)\nN' : Submodule R (ι → R) := S... | [] | by
simp only [hj.choose_spec, ↓reduceIte]
rw [mul_comm]
conv_rhs =>
rw [← hj.choose_spec, (h (f hj.choose)).choose_spec]
simp only [EmbeddingLike.apply_eq_iff_eq, exists_eq, ↓reduceDIte, Classical.choose_eq]
congr!
· exa... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.FreeProduct.Basic | {
"line": 211,
"column": 2
} | {
"line": 212,
"column": 33
} | {
"line": 214,
"column": 0
} | [
{
"pp": "I : Type u\ninst✝⁵ : DecidableEq I\ni : I\nR : Type v\ninst✝⁴ : CommSemiring R\nA : I → Type w\ninst✝³ : (i : I) → Semiring (A i)\ninst✝² : (i : I) → Algebra R (A i)\nB : Type w'\ninst✝¹ : Semiring B\ninst✝ : Algebra R B\nmaps : {i : I} → A i →ₐ[R] B\n⊢ ((lift R A) fun {i} ↦ maps) ∘ₐ ι R A i = maps",
... | [] | ext a
simp [lift_apply, ι, ← ι_apply] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.FreeProduct.Basic | {
"line": 211,
"column": 2
} | {
"line": 212,
"column": 33
} | {
"line": 214,
"column": 0
} | [
{
"pp": "I : Type u\ninst✝⁵ : DecidableEq I\ni : I\nR : Type v\ninst✝⁴ : CommSemiring R\nA : I → Type w\ninst✝³ : (i : I) → Semiring (A i)\ninst✝² : (i : I) → Algebra R (A i)\nB : Type w'\ninst✝¹ : Semiring B\ninst✝ : Algebra R B\nmaps : {i : I} → A i →ₐ[R] B\n⊢ ((lift R A) fun {i} ↦ maps) ∘ₐ ι R A i = maps",
... | [] | ext a
simp [lift_apply, ι, ← ι_apply] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.LinearIndependent.BaseChange | {
"line": 58,
"column": 25
} | {
"line": 58,
"column": 52
} | {
"line": 58,
"column": 53
} | [
{
"pp": "ι : Type u_1\nι' : Type u_2\ninst✝⁵ : Finite ι'\nR : Type u_3\nS : Type u_4\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : FaithfulSMul R S\ninst✝ : IsDomain S\nv✝ : ι → ι' → R\nh : LinearIndependent R v✝\nthis : IsDomain R\nK : Type u_3 := FractionRing R\nL : Type u_4 := Fra... | [
"ι : Type u_1\nι' : Type u_2\ninst✝⁵ : Finite ι'\nR : Type u_3\nS : Type u_4\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : FaithfulSMul R S\ninst✝ : IsDomain S\nv✝ : ι → ι' → R\nh : LinearIndependent R v✝\nthis : IsDomain R\nK : Type u_3 := FractionRing R\nL : Type u_4 := FractionRing S\... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Goursat | {
"line": 112,
"column": 4
} | {
"line": 112,
"column": 73
} | {
"line": 113,
"column": 6
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : Ring R\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\nL : Submodule R (M × N)\nM' : Submodule R M := map (LinearMap.fst R M N) L\nN' : Submodule R N := map (LinearMap.snd R M N) L\nP : ↥L →ₗ[R] ↥M' := (Linea... | [
"R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : Ring R\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\nL : Submodule R (M × N)\nM' : Submodule R M := map (LinearMap.fst R M N) L\nN' : Submodule R N := map (LinearMap.snd R M N) L\nP : ↥L →ₗ[R] ↥M' := (LinearMap.fst R M... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Goursat | {
"line": 116,
"column": 4
} | {
"line": 116,
"column": 73
} | {
"line": 117,
"column": 6
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : Ring R\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\nL : Submodule R (M × N)\nM' : Submodule R M := map (LinearMap.fst R M N) L\nN' : Submodule R N := map (LinearMap.snd R M N) L\nP : ↥L →ₗ[R] ↥M' := (Linea... | [
"R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁴ : Ring R\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\nL : Submodule R (M × N)\nM' : Submodule R M := map (LinearMap.fst R M N) L\nN' : Submodule R N := map (LinearMap.snd R M N) L\nP : ↥L →ₗ[R] ↥M' := (LinearMap.fst R M... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.CharP | {
"line": 26,
"column": 73
} | {
"line": 26,
"column": 98
} | {
"line": 27,
"column": 4
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\ninst✝¹ : AddMonoidWithOne R\np : ℕ\ninst✝ : CharP R p\nk : ℕ\n⊢ ((diagonal fun x ↦ ↑k) = diagonal fun x ↦ 0) ↔ p ∣ k",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Dvd.dvd",
"out... | [
"n : Type u_1\nR : Type u_2\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\ninst✝¹ : AddMonoidWithOne R\np : ℕ\ninst✝ : CharP R p\nk : ℕ\n⊢ (∀ (i : n), ↑k = 0) ↔ p ∣ k"
] | diagonal_eq_diagonal_iff, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.LinearAlgebra.Matrix.CharP | {
"line": 32,
"column": 4
} | {
"line": 32,
"column": 38
} | {
"line": 32,
"column": 39
} | [
{
"pp": "n : Type u_1\nR : Type u_2\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\ninst✝¹ : AddMonoidWithOne R\ninst✝ : CharZero R\nx✝¹ x✝ : ℕ\nh : ↑x✝¹ = ↑x✝\ninhabited_h : Inhabited n\n⊢ x✝¹ = x✝",
"ppTerm": "?m.11",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
... | [
"n : Type u_1\nR : Type u_2\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\ninst✝¹ : AddMonoidWithOne R\ninst✝ : CharZero R\nx✝¹ x✝ : ℕ\nh : ↑x✝¹ = ↑x✝\ninhabited_h : Inhabited n\n⊢ x✝¹ = x✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.BaseChange | {
"line": 44,
"column": 6
} | {
"line": 44,
"column": 81
} | {
"line": 45,
"column": 8
} | [
{
"pp": "case refine_1.refine_2\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nS : Type u_3\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx y c d : S ⊗[R] M\nhc :\n ∀ (x : S) (y : M),\n (baseChangeι R M S) (x ⊗ₜ[R] y) * (baseChangeι R M S) c + (baseChangeι R M S... | [
"case refine_1.refine_2\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nS : Type u_3\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx y c d : S ⊗[R] M\nhc :\n ∀ (x : S) (y : M),\n (baseChangeι R M S) (x ⊗ₜ[R] y) * (baseChangeι R M S) c + (baseChangeι R M S) c * (baseC... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.ExteriorAlgebra.BaseChange | {
"line": 46,
"column": 4
} | {
"line": 46,
"column": 79
} | {
"line": 47,
"column": 6
} | [
{
"pp": "case refine_2\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nS : Type u_3\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx y a b : S ⊗[R] M\nha : (baseChangeι R M S) a * (baseChangeι R M S) y + (baseChangeι R M S) y * (baseChangeι R M S) a = 0\nhb : (baseCha... | [
"case refine_2\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nS : Type u_3\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx y a b : S ⊗[R] M\nha : (baseChangeι R M S) a * (baseChangeι R M S) y + (baseChangeι R M S) y * (baseChangeι R M S) a = 0\nhb : (baseChangeι R M S) ... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.Int | {
"line": 157,
"column": 24
} | {
"line": 157,
"column": 35
} | {
"line": 157,
"column": 36
} | [
{
"pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\nn : ℕ\ninst✝⁴ : CommRing R\ninst✝³ : AddCommGroup M\ninst✝² : Fintype ι\ninst✝¹ : Infinite R\ninst✝ : Module R M\nN : Submodule R M\nsnf : SmithNormalForm N ι n\nh : ¬n = Fintype.card ι\n⊢ n ≤ Fintype.card ι",
"ppTerm": "?m.82",
"assigned": false,
"... | [
"ι : Type u_1\nR : Type u_2\nM : Type u_3\nn : ℕ\ninst✝⁴ : CommRing R\ninst✝³ : AddCommGroup M\ninst✝² : Fintype ι\ninst✝¹ : Infinite R\ninst✝ : Module R M\nN : Submodule R M\nsnf : SmithNormalForm N ι n\nh : ¬n = Fintype.card ι\n⊢ n ≤ Fintype.card ι"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.Int | {
"line": 172,
"column": 4
} | {
"line": 172,
"column": 20
} | {
"line": 172,
"column": 21
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\nn : ℕ\ninst✝¹ : AddCommGroup M\ninst✝ : Fintype ι\nN : Submodule ℤ M\nbM : Basis ι ℤ M\nbN : Basis (Fin n) ℤ ↥N\nf : Fin n ↪ ι\na : Fin n → ℤ\ni : Fin n\nsnf : ↑(bN i) = a i • bM (f i)\nhi : a i = 0\n⊢ bN i = 0",
"ppTerm": "?m.67",
"assigned": false,
"usedConstan... | [
"ι : Type u_1\nM : Type u_3\nn : ℕ\ninst✝¹ : AddCommGroup M\ninst✝ : Fintype ι\nN : Submodule ℤ M\nbM : Basis ι ℤ M\nbN : Basis (Fin n) ℤ ↥N\nf : Fin n ↪ ι\na : Fin n → ℤ\ni : Fin n\nsnf : ↑(bN i) = a i • bM (f i)\nhi : a i = 0\n⊢ bN i = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.Int | {
"line": 174,
"column": 2
} | {
"line": 175,
"column": 34
} | {
"line": 175,
"column": 35
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\nn : ℕ\ninst✝¹ : AddCommGroup M\ninst✝ : Fintype ι\nN : Submodule ℤ M\nbM : Basis ι ℤ M\nbN : Basis (Fin n) ℤ ↥N\nf : Fin n ↪ ι\na : Fin n → ℤ\nsnf : ∀ (i : Fin n), ↑(bN i) = a i • bM (f i)\nha : ∀ (i : Fin n), a i ≠ 0\nh : n = Fintype.card ι\n⊢ ¬∏ x, (Submodule.toAddSubgroup... | [
"ι : Type u_1\nM : Type u_3\nn : ℕ\ninst✝¹ : AddCommGroup M\ninst✝ : Fintype ι\nN : Submodule ℤ M\nbM : Basis ι ℤ M\nbN : Basis (Fin n) ℤ ↥N\nf : Fin n ↪ ι\na : Fin n → ℤ\nsnf : ∀ (i : Fin n), ↑(bN i) = a i • bM (f i)\nha : ∀ (i : Fin n), a i ≠ 0\nh : n = Fintype.card ι\n⊢ ∀ (x : Fin n), ¬a x = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.FreeModule.Int | {
"line": 193,
"column": 4
} | {
"line": 193,
"column": 15
} | {
"line": 193,
"column": 16
} | [
{
"pp": "case refine_2\nι : Type u_1\ninst✝ : Finite ι\nN : Submodule ℤ (ι → ℤ)\nn : ℕ\nthis : Fintype ι\nbN : Module.Basis (Fin n) ℤ ↥N\nx✝ : Nonempty (↥N ≃ₗ[ℤ] ι → ℤ)\ne : ↥N ≃ₗ[ℤ] ι → ℤ\nhc : Fintype.card (Fin n) = Fintype.card ι\n⊢ n = Fintype.card ι",
"ppTerm": "?refine_2",
"assigned": false,
"... | [
"case refine_2\nι : Type u_1\ninst✝ : Finite ι\nN : Submodule ℤ (ι → ℤ)\nn : ℕ\nthis : Fintype ι\nbN : Module.Basis (Fin n) ℤ ↥N\nx✝ : Nonempty (↥N ≃ₗ[ℤ] ι → ℤ)\ne : ↥N ≃ₗ[ℤ] ι → ℤ\nhc : Fintype.card (Fin n) = Fintype.card ι\n⊢ n = Fintype.card ι"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg | {
"line": 54,
"column": 35
} | {
"line": 54,
"column": 46
} | {
"line": 54,
"column": 47
} | [
{
"pp": "ι : Type u_1\nκ : Type u_2\nR : Type u_3\ninst✝³ : PartialOrder ι\ninst✝² : PartialOrder κ\ninst✝¹ : CommRing R\ninst✝ : PartialOrder R\nM : Matrix ι ι R\nf g : κ → ι\nhM : M.IsTotallyNonneg\nhf : StrictMono f\nhg : StrictMono g\nn : ℕ\nrows cols : Fin n → κ\nhrows : StrictMono rows\nhcols : StrictMono... | [
"ι : Type u_1\nκ : Type u_2\nR : Type u_3\ninst✝³ : PartialOrder ι\ninst✝² : PartialOrder κ\ninst✝¹ : CommRing R\ninst✝ : PartialOrder R\nM : Matrix ι ι R\nf g : κ → ι\nhM : M.IsTotallyNonneg\nhf : StrictMono f\nhg : StrictMono g\nn : ℕ\nrows cols : Fin n → κ\nhrows : StrictMono rows\nhcols : StrictMono cols\n⊢ 0 ≤... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg | {
"line": 73,
"column": 51
} | {
"line": 73,
"column": 62
} | {
"line": 73,
"column": 63
} | [
{
"pp": "ι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\nM : Matrix ι ι R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\nx✝ : Mᴴ.IsTotallyNonneg\n⊢ M.IsTotallyNonneg",
"ppTerm": "?m.22",
"assigned": false,
"usedConstants": [],
"usedFVars": [],... | [
"ι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\nM : Matrix ι ι R\ninst✝¹ : StarRing R\ninst✝ : StarOrderedRing R\nx✝ : Mᴴ.IsTotallyNonneg\n⊢ M.IsTotallyNonneg"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg | {
"line": 86,
"column": 4
} | {
"line": 86,
"column": 97
} | {
"line": 87,
"column": 4
} | [
{
"pp": "case pos\nι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\ninst✝¹ : IsOrderedRing R\ninst✝ : DecidableEq ι\nf : ι → R\nhf : 0 ≤ f\nn : ℕ\nrows cols : Fin n → ι\nhrows : StrictMono rows\nhcols : StrictMono cols\nh_range : Set.range rows = Set.range cols\... | [
"case pos\nι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\ninst✝¹ : IsOrderedRing R\ninst✝ : DecidableEq ι\nf : ι → R\nhf : 0 ≤ f\nn : ℕ\nrows cols : Fin n → ι\nhrows : StrictMono rows\nhcols : StrictMono cols\nh_range : Set.range rows = Set.range cols\n⊢ 0 ≤ ∏ i, ... | rw [hrows.eq_of_range_eq hcols h_range, submatrix_diagonal _ _ hcols.injective, det_diagonal] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyUnimodular | {
"line": 67,
"column": 4
} | {
"line": 67,
"column": 63
} | {
"line": 68,
"column": 2
} | [
{
"pp": "case mp\nm : Type u_1\nn : Type u_3\nR : Type u_5\ninst✝² : CommRing R\nA : Matrix m n R\nι : Type w\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nf : ι → m\ng : ι → n\nhA : (A.submatrix (f ∘ ⇑(Fintype.equivFin ι).symm) (g ∘ ⇑(Fintype.equivFin ι).symm)).det ∈ Set.range SignType.cast\n⊢ (A.submatrix f g).... | [] | rwa [← submatrix_submatrix, det_submatrix_equiv_self] at hA | Lean.Elab.Tactic.evalRwaAt | Lean.Parser.Tactic.rwaAt |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg | {
"line": 96,
"column": 17
} | {
"line": 96,
"column": 28
} | {
"line": 96,
"column": 29
} | [
{
"pp": "ι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\ninst✝¹ : IsOrderedRing R\ninst✝ : DecidableEq ι\nf : ι → R\nhM : (diagonal f).IsTotallyNonneg\ni : ι\n⊢ 0 i ≤ f i",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"CommSemiring.... | [
"ι : Type u_1\nR : Type u_3\ninst✝⁴ : PartialOrder ι\ninst✝³ : CommRing R\ninst✝² : PartialOrder R\ninst✝¹ : IsOrderedRing R\ninst✝ : DecidableEq ι\nf : ι → R\nhM : (diagonal f).IsTotallyNonneg\ni : ι\n⊢ 0 ≤ f i"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyUnimodular | {
"line": 70,
"column": 4
} | {
"line": 70,
"column": 63
} | {
"line": 72,
"column": 0
} | [
{
"pp": "case mpr\nm : Type u_1\nn : Type u_3\nR : Type u_5\ninst✝ : CommRing R\nA : Matrix m n R\nk : ℕ\nf : Fin k → m\ng : Fin k → n\nhA : (A.submatrix (f ∘ ⇑Equiv.ulift) (g ∘ ⇑Equiv.ulift)).det ∈ Set.range SignType.cast\n⊢ (A.submatrix f g).det ∈ Set.range SignType.cast",
"ppTerm": "?mpr",
"assigned"... | [] | rwa [← submatrix_submatrix, det_submatrix_equiv_self] at hA | Lean.Elab.Tactic.evalRwaAt | Lean.Parser.Tactic.rwaAt |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyUnimodular | {
"line": 75,
"column": 2
} | {
"line": 75,
"column": 13
} | {
"line": 75,
"column": 14
} | [
{
"pp": "m : Type u_1\nn : Type u_3\nR : Type u_5\ninst✝ : CommRing R\nA : Matrix m n R\nhA : ∀ (k : ℕ) (f : Fin k → m) (g : Fin k → n), (A.submatrix f g).det ∈ Set.range SignType.cast\ni : m\nj : n\n⊢ A i j ∈ Set.range SignType.cast",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"S... | [
"m : Type u_1\nn : Type u_3\nR : Type u_5\ninst✝ : CommRing R\nA : Matrix m n R\nhA : ∀ (k : ℕ) (f : Fin k → m) (g : Fin k → n), (A.submatrix f g).det ∈ Set.range SignType.cast\ni : m\nj : n\n⊢ ∃ y, ↑y = A i j"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg | {
"line": 114,
"column": 4
} | {
"line": 114,
"column": 36
} | {
"line": 114,
"column": 37
} | [
{
"pp": "case mp\nι : Type u_1\ninst✝³ : PartialOrder ι\nR : Type u_4\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nM : Matrix ι ι R\nc : R\nhc : 0 < c\nhM : (c • M).IsTotallyNonneg\nn✝ : ℕ\nrows✝ cols✝ : Fin n✝ → ι\nhrows : StrictMono rows✝\nhcols : StrictMono cols✝\n⊢ 0 ≤ (M.sub... | [
"case mp\nι : Type u_1\ninst✝³ : PartialOrder ι\nR : Type u_4\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nM : Matrix ι ι R\nc : R\nhc : 0 < c\nhM : (c • M).IsTotallyNonneg\nn✝ : ℕ\nrows✝ cols✝ : Fin n✝ → ι\nhrows : StrictMono rows✝\nhcols : StrictMono cols✝\n⊢ 0 ≤ (M.submatrix rows✝... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyUnimodular | {
"line": 101,
"column": 16
} | {
"line": 101,
"column": 49
} | {
"line": 101,
"column": 50
} | [
{
"pp": "m : Type u_1\nm' : Type u_2\nn : Type u_3\nn' : Type u_4\nR : Type u_5\ninst✝ : CommRing R\nA : Matrix m n R\nem : m ≃ m'\nen : n ≃ n'\nhA : ((reindex em en) A).IsTotallyUnimodular\n⊢ A.IsTotallyUnimodular",
"ppTerm": "?m.18",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
... | [
"m : Type u_1\nm' : Type u_2\nn : Type u_3\nn' : Type u_4\nR : Type u_5\ninst✝ : CommRing R\nA : Matrix m n R\nem : m ≃ m'\nen : n ≃ n'\nhA : ((reindex em en) A).IsTotallyUnimodular\n⊢ A.IsTotallyUnimodular"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Swap | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 35
} | {
"line": 43,
"column": 0
} | [
{
"pp": "R : Type u_1\nn : Type u_2\ninst✝² : Zero R\ninst✝¹ : One R\ninst✝ : DecidableEq n\ni j : n\n⊢ swap R i j = swap R j i",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"One",
"congrArg",
"Equiv.swap_comm",
"Matrix",
"Equiv.swap",
"Equiv.Perm.perm... | [] | simp only [swap, Equiv.swap_comm] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.Matrix.Swap | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 35
} | {
"line": 43,
"column": 0
} | [
{
"pp": "R : Type u_1\nn : Type u_2\ninst✝² : Zero R\ninst✝¹ : One R\ninst✝ : DecidableEq n\ni j : n\n⊢ swap R i j = swap R j i",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"One",
"congrArg",
"Equiv.swap_comm",
"Matrix",
"Equiv.swap",
"Equiv.Perm.perm... | [] | simp only [swap, Equiv.swap_comm] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.Swap | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 35
} | {
"line": 43,
"column": 0
} | [
{
"pp": "R : Type u_1\nn : Type u_2\ninst✝² : Zero R\ninst✝¹ : One R\ninst✝ : DecidableEq n\ni j : n\n⊢ swap R i j = swap R j i",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"One",
"congrArg",
"Equiv.swap_comm",
"Matrix",
"Equiv.swap",
"Equiv.Perm.perm... | [] | simp only [swap, Equiv.swap_comm] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.Determinant.Misc | {
"line": 95,
"column": 8
} | {
"line": 95,
"column": 19
} | {
"line": 95,
"column": 20
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nn : ℕ\nM : Matrix (Fin (n + 1)) (Fin (n + 1)) R\ni₀ j₀ : Fin (n + 1)\nhv : ∀ (i : Fin (n + 1)), i ≠ i₀ → ∑ j, M i j = 0\n⊢ ∀ (j : Fin (n + 1)), j ≠ i₀ → ∑ i, Mᵀ i j = 0",
"ppTerm": "?m.92",
"assigned": true,
"usedConstants": [
"Finset.univ",
"Co... | [
"R : Type u_1\ninst✝ : CommRing R\nn : ℕ\nM : Matrix (Fin (n + 1)) (Fin (n + 1)) R\ni₀ j₀ : Fin (n + 1)\nhv : ∀ (i : Fin (n + 1)), i ≠ i₀ → ∑ j, M i j = 0\n⊢ ∀ (j : Fin (n + 1)), ¬j = i₀ → ∑ i, M j i = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Determinant.TotallyUnimodular | {
"line": 155,
"column": 8
} | {
"line": 155,
"column": 26
} | {
"line": 155,
"column": 27
} | [
{
"pp": "case h\nm : Type u_1\nm' : Type u_2\nn : Type u_3\nR : Type u_5\ninst✝¹ : CommRing R\ninst✝ : DecidableEq n\nA : Matrix m n R\nB : Matrix m' n R\nhA : A.IsTotallyUnimodular\nhB : ∀ (i : m'), ∃ j s, B i = Pi.single j ↑s\nk : ℕ\nih :\n ∀ (f : Fin k → m ⊕ m') (g : Fin k → n),\n Function.Injective f → ... | [
"case h\nm : Type u_1\nm' : Type u_2\nn : Type u_3\nR : Type u_5\ninst✝¹ : CommRing R\ninst✝ : DecidableEq n\nA : Matrix m n R\nB : Matrix m' n R\nhA : A.IsTotallyUnimodular\nhB : ∀ (i : m'), ∃ j s, B i = Pi.single j ↑s\nk : ℕ\nih :\n ∀ (f : Fin k → m ⊕ m') (g : Fin k → n),\n Function.Injective f → Function.Inj... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.ElementaryRowOperations | {
"line": 101,
"column": 4
} | {
"line": 101,
"column": 15
} | {
"line": 101,
"column": 16
} | [
{
"pp": "R : Type u_1\nm : Type u_2\nn : Type u_3\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\ni j : m\nh : i ≠ j\nc : R\n⊢ Matrix.transvection i j c * Matrix.transvection i j (-c) = 1",
"ppTerm": "?m.19",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoal... | [
"R : Type u_1\nm : Type u_2\nn : Type u_3\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\ni j : m\nh : i ≠ j\nc : R\n⊢ Matrix.transvection i j c * Matrix.transvection i j (-c) = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.ElementaryRowOperations | {
"line": 103,
"column": 4
} | {
"line": 103,
"column": 26
} | {
"line": 103,
"column": 27
} | [
{
"pp": "R : Type u_1\nm : Type u_2\nn : Type u_3\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\ni j : m\nh : i ≠ j\nc : R\n⊢ Matrix.transvection i j (-c) * Matrix.transvection i j c = 1",
"ppTerm": "?m.36",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoal... | [
"R : Type u_1\nm : Type u_2\nn : Type u_3\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\ni j : m\nh : i ≠ j\nc : R\n⊢ Matrix.transvection i j (-c) * Matrix.transvection i j c = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.ElementaryRowOperations | {
"line": 120,
"column": 4
} | {
"line": 120,
"column": 15
} | {
"line": 120,
"column": 16
} | [
{
"pp": "case mpr\nR : Type u_1\nm : Type u_2\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\nA B : Matrix m m R\nu : (Matrix m m R)ᵐᵒᵖˣ\nh : MulOpposite.op A * ↑u = MulOpposite.op B\n⊢ (fun m_1 ↦ m_1 • A) (MulOpposite.unop (Units.opEquiv u)) = B",
"ppTerm": "?mpr",
"assigned": true,
... | [
"case mpr\nR : Type u_1\nm : Type u_2\ninst✝² : DecidableEq m\ninst✝¹ : CommRing R\ninst✝ : Fintype m\nA B : Matrix m m R\nu : (Matrix m m R)ᵐᵒᵖˣ\nh : MulOpposite.op A * ↑u = MulOpposite.op B\n⊢ MulOpposite.unop ↑u * A = B"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Card | {
"line": 50,
"column": 42
} | {
"line": 50,
"column": 77
} | {
"line": 50,
"column": 78
} | [
{
"pp": "case zero\nK : Type u_1\nV : Type u_2\ninst✝⁴ : DivisionRing K\ninst✝³ : AddCommGroup V\ninst✝² : Module K V\ninst✝¹ : Fintype K\ninst✝ : Finite V\nhk : 0 ≤ n\nthis : Unique { s // ⊤ = ⊥ }\n⊢ card { s // (Finsupp.linearCombination K s).ker = ⊥ } = ∏ i, (q ^ n - q ^ ↑i)",
"ppTerm": "?zero",
"ass... | [
"case zero\nK : Type u_1\nV : Type u_2\ninst✝⁴ : DivisionRing K\ninst✝³ : AddCommGroup V\ninst✝² : Module K V\ninst✝¹ : Fintype K\ninst✝ : Finite V\nhk : 0 ≤ n\nthis : Unique { s // ⊤ = ⊥ }\n⊢ card { s // ker 0 = ⊥ } = ∏ i, (q ^ n - q ^ ↑i)"
] | Finsupp.linearCombination_fin_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 131,
"column": 2
} | {
"line": 131,
"column": 56
} | {
"line": 131,
"column": 57
} | [
{
"pp": "m : ℤ\nA : FixedDetMatrix (Fin 2) ℤ m\nha : ↑A 1 0 = 0\n⊢ ↑A 0 0 * ↑A 1 1 = m",
"ppTerm": "?m.32",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"m : ℤ\nA : FixedDetMatrix (Fin 2) ℤ m\nha : ↑A 1 0 = 0\n⊢ ↑A 0 0 * ↑A 1 1 = m"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Card | {
"line": 75,
"column": 2
} | {
"line": 77,
"column": 9
} | {
"line": 77,
"column": 10
} | [
{
"pp": "n : Type u_1\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Nonempty n\nR : Type u_2\ninst✝ : CommRing R\n⊢ Nat.card (SpecialLinearGroup n R) * Nat.card Rˣ = Nat.card (GL n R)",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"CommR... | [
"n : Type u_1\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Nonempty n\nR : Type u_2\ninst✝ : CommRing R\n⊢ Nat.card { x // GeneralLinearGroup.det x = 1 } * Nat.card Rˣ = Nat.card (GL n R)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Card | {
"line": 84,
"column": 8
} | {
"line": 84,
"column": 30
} | {
"line": 84,
"column": 31
} | [
{
"pp": "n : Type u_1\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : Finite Rˣ\n⊢ Nat.card Rˣ * Nat.card (SpecialLinearGroup n R) = Nat.card (GL n R)",
"ppTerm": "?m.24",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"u... | [
"n : Type u_1\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq n\ninst✝² : Nonempty n\nR : Type u_2\ninst✝¹ : CommRing R\ninst✝ : Finite Rˣ\n⊢ Nat.card Rˣ * Nat.card (SpecialLinearGroup n R) = Nat.card (GL n R)"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 166,
"column": 2
} | {
"line": 166,
"column": 37
} | {
"line": 166,
"column": 38
} | [
{
"pp": "n : Type u_1\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type u_2\ninst✝ : CommRing R\nm k : ℤ\nH : Finset ℤ := Finset.Icc (-|k|) |k|\nH4 : Type := Fin 2 → Fin 2 → ↥H\nM N : ↑(reps k)\nh : (fun M i j ↦ ⟨↑↑M i j, ⋯⟩) M = (fun M i j ↦ ⟨↑↑M i j, ⋯⟩) N\ni j : Fin 2\n⊢ ↑↑M i j = ↑↑N i j",
"ppTerm":... | [
"n : Type u_1\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type u_2\ninst✝ : CommRing R\nm k : ℤ\nH : Finset ℤ := Finset.Icc (-|k|) |k|\nH4 : Type := Fin 2 → Fin 2 → ↥H\nM N : ↑(reps k)\nh : (fun M i j ↦ ⟨↑↑M i j, ⋯⟩) M = (fun M i j ↦ ⟨↑↑M i j, ⋯⟩) N\ni j : Fin 2\n⊢ ↑↑M i j = ↑↑N i j"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 179,
"column": 20
} | {
"line": 179,
"column": 59
} | {
"line": 179,
"column": 60
} | [
{
"pp": "case step\nm : ℤ\nhm : m ≠ 0\nA : FixedDetMatrix (Fin 2) ℤ m\nh1 : ↑A 1 0 ≠ 0\nh2 : reduce (reduceStep A) ∈ reps m\n⊢ reduce A ∈ reps m",
"ppTerm": "?step",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case step\nm : ℤ\nhm : m ≠ 0\nA : FixedDetMatrix (Fin 2) ℤ m\nh1 : ↑A 1 0 ≠ 0\nh2 : reduce (reduceStep A) ∈ reps m\n⊢ reduce A ∈ reps m"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 179,
"column": 20
} | {
"line": 179,
"column": 62
} | {
"line": 180,
"column": 2
} | [
{
"pp": "case step\nm : ℤ\nhm : m ≠ 0\nA : FixedDetMatrix (Fin 2) ℤ m\nh1 : ↑A 1 0 ≠ 0\nh2 : reduce (reduceStep A) ∈ reps m\n⊢ reduce A ∈ reps m",
"ppTerm": "?step",
"assigned": true,
"usedConstants": [
"FixedDetMatrices.reduce_reduceStep",
"congrArg",
"instDecidableEqFin",
"... | [] | simpa only [reduce_reduceStep h1] using h2 | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 179,
"column": 20
} | {
"line": 179,
"column": 62
} | {
"line": 180,
"column": 2
} | [
{
"pp": "case step\nm : ℤ\nhm : m ≠ 0\nA : FixedDetMatrix (Fin 2) ℤ m\nh1 : ↑A 1 0 ≠ 0\nh2 : reduce (reduceStep A) ∈ reps m\n⊢ reduce A ∈ reps m",
"ppTerm": "?step",
"assigned": true,
"usedConstants": [
"FixedDetMatrices.reduce_reduceStep",
"congrArg",
"instDecidableEqFin",
"... | [] | simpa only [reduce_reduceStep h1] using h2 | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 179,
"column": 20
} | {
"line": 179,
"column": 62
} | {
"line": 180,
"column": 2
} | [
{
"pp": "case step\nm : ℤ\nhm : m ≠ 0\nA : FixedDetMatrix (Fin 2) ℤ m\nh1 : ↑A 1 0 ≠ 0\nh2 : reduce (reduceStep A) ∈ reps m\n⊢ reduce A ∈ reps m",
"ppTerm": "?step",
"assigned": true,
"usedConstants": [
"FixedDetMatrices.reduce_reduceStep",
"congrArg",
"instDecidableEqFin",
"... | [] | simpa only [reduce_reduceStep h1] using h2 | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 65,
"column": 7
} | {
"line": 65,
"column": 18
} | {
"line": 65,
"column": 19
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ Aᴴ * Aᴴᴴ = ↑(Fintype.card n) • 1",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matrix.smul",
"NonA... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ Aᴴ * A = ↑(Fintype.card n) • 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 66,
"column": 7
} | {
"line": 66,
"column": 18
} | {
"line": 66,
"column": 19
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ Aᴴᴴ * Aᴴ = ↑(Fintype.card n) • 1",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matrix.smul",
"NonA... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ A * Aᴴ = ↑(Fintype.card n) • 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 70,
"column": 16
} | {
"line": 70,
"column": 27
} | {
"line": 70,
"column": 28
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : Aᴴ.IsHadamard\n⊢ A.IsHadamard",
"ppTerm": "?m.21",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : Aᴴ.IsHadamard\n⊢ A.IsHadamard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 82,
"column": 15
} | {
"line": 82,
"column": 26
} | {
"line": 82,
"column": 27
} | [
{
"pp": "m : Type u_1\nn : Type u_2\nR : Type u_3\ninst✝⁵ : Fintype m\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ne₁ e₂ : m ≃ n\nh : (A.submatrix ⇑e₁ ⇑e₂).IsHadamard\n⊢ A.IsHadamard",
"ppTerm": "?m.24",
"assigned": false... | [
"m : Type u_1\nn : Type u_2\nR : Type u_3\ninst✝⁵ : Fintype m\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ne₁ e₂ : m ≃ n\nh : (A.submatrix ⇑e₁ ⇑e₂).IsHadamard\n⊢ A.IsHadamard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 83,
"column": 16
} | {
"line": 83,
"column": 43
} | {
"line": 83,
"column": 44
} | [
{
"pp": "m : Type u_1\nn : Type u_2\nR : Type u_3\ninst✝⁵ : Fintype m\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ne₁ e₂ : m ≃ n\nh : A.IsHadamard\n⊢ (A.submatrix ⇑e₁ ⇑e₂).IsHadamard",
"ppTerm": "?m.27",
"assigned": false... | [
"m : Type u_1\nn : Type u_2\nR : Type u_3\ninst✝⁵ : Fintype m\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ne₁ e₂ : m ≃ n\nh : A.IsHadamard\n⊢ (A.submatrix ⇑e₁ ⇑e₂).IsHadamard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Cartan.Realisation | {
"line": 89,
"column": 4
} | {
"line": 89,
"column": 50
} | {
"line": 89,
"column": 51
} | [
{
"pp": "n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\nv : n → R\nhv : ∑ i, v ... | [
"n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\nv : n → R\nhv : ∑ i, v i • rl.sRoot... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 87,
"column": 69
} | {
"line": 107,
"column": 58
} | {
"line": 109,
"column": 0
} | [
{
"pp": "m : Type u_1\nn : Type u_2\nR : Type u_3\ninst✝⁵ : Fintype m\ninst✝⁴ : Fintype n\ninst✝³ : DecidableEq m\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix m m R\nB : Matrix n n R\nhA : A.IsHadamard\nhB : B.IsHadamard\n⊢ (kroneckerMap (fun x1 x2 ↦ x1 * x2) A B).IsHadamard",
... | [] | by
refine ⟨fun _ _ ↦ mul_mem (hA.apply_mem _ _) (hB.apply_mem _ _), ?_, ?_⟩ <;> ext ⟨i, i'⟩ ⟨j, j'⟩
· calc
_ = ∑ x₁, ∑ x₂, A i x₁ * (B i' x₂ * Bᴴ x₂ j') * Aᴴ x₁ j := by
simp [conjTranspose_kronecker', Matrix.mul_apply, mul_assoc, ← Finset.sum_product']
_ = if i' = j' then ∑ x, A i x * (Fintype.c... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 121,
"column": 4
} | {
"line": 121,
"column": 43
} | {
"line": 121,
"column": 44
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhcol : ∀ (j : n), ∑ i, A i j = s\nj : n\n⊢ (1 ᵥ* A) j = (s • 1) j",
"ppTerm": "?m.50",
"assigned": tr... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhcol : ∀ (j : n), ∑ i, A i j = s\nj : n\n⊢ ∑ x, A x j = s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Cartan.Realisation | {
"line": 92,
"column": 4
} | {
"line": 92,
"column": 15
} | {
"line": 92,
"column": 16
} | [
{
"pp": "n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\nv : n → R\nA : Matrix n... | [
"n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\nv : n → R\nA : Matrix n n R := (Int... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 133,
"column": 4
} | {
"line": 133,
"column": 25
} | {
"line": 133,
"column": 26
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhcol : ∀ (j : n), ∑ i, A i j = s\nhvcol : 1 ᵥ* A = s • 1\nhconjcol : Aᴴ *ᵥ 1 = star s • 1\nhleft : 1 ᵥ* (A * ... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhcol : ∀ (j : n), ∑ i, A i j = s\nhvcol : 1 ᵥ* A = s • 1\nhconjcol : Aᴴ *ᵥ 1 = star s • 1\nhleft : 1 ᵥ* (A * Aᴴ) ⬝ᵥ 1 = ↑... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 142,
"column": 2
} | {
"line": 142,
"column": 13
} | {
"line": 142,
"column": 14
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhrow : ∀ (i : n), ∑ j, A i j = s\nhcol : ∀ (j : n), ∑ i, Aᴴ i j = star s\n⊢ ↑(Fintype.card n) = star s * s",
... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Semiring R\ninst✝ : StarRing R\nA : Matrix n n R\ns : R\nhA : A.IsHadamard\nhcard : IsRegular ↑(Fintype.card n)\nhrow : ∀ (i : n), ∑ j, A i j = s\nhcol : ∀ (j : n), ∑ i, Aᴴ i j = star s\n⊢ ↑(Fintype.card n) = star s * s"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 164,
"column": 16
} | {
"line": 164,
"column": 27
} | {
"line": 164,
"column": 28
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : CommSemiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : Aᵀ.IsHadamard\n⊢ A.IsHadamard",
"ppTerm": "?m.20",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : CommSemiring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : Aᵀ.IsHadamard\n⊢ A.IsHadamard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 173,
"column": 2
} | {
"line": 173,
"column": 47
} | {
"line": 173,
"column": 48
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Ring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ (-A).IsHadamard",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Eq.mpr",
"NegZeroC... | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Ring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : A.IsHadamard\n⊢ (∀ (i j : n), star (A i j) * A i j = 1 ∧ A i j * star (A i j) = 1) ∧\n A * Aᴴ = ↑(Fintype.card n) • 1 ∧ Aᴴ * A = ↑(Fintype.card n) • 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 178,
"column": 16
} | {
"line": 178,
"column": 27
} | {
"line": 178,
"column": 28
} | [
{
"pp": "n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Ring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : (-A).IsHadamard\n⊢ A.IsHadamard",
"ppTerm": "?m.19",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"n : Type u_2\nR : Type u_3\ninst✝³ : Fintype n\ninst✝² : DecidableEq n\ninst✝¹ : Ring R\ninst✝ : StarRing R\nA : Matrix n n R\nhA : (-A).IsHadamard\n⊢ A.IsHadamard"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.HadamardMatrix | {
"line": 248,
"column": 4
} | {
"line": 248,
"column": 39
} | {
"line": 248,
"column": 40
} | [
{
"pp": "n : Type u_2\ninst✝¹ : Fintype n\ninst✝ : DecidableEq n\nA : Matrix n n ℤ\nhA : A.IsHadamard\nhcard : 2 < Fintype.card n\nhpm : ∀ (i j : n), A i j = 1 ∨ A i j = -1\nr s t : n\nhrs : r ≠ s\nhrt : r ≠ t\nhst : s ≠ t\ni k : n\nhik : i ≠ k\n⊢ ∑ j, A i j * A k j = 0",
"ppTerm": "?m.105",
"assigned":... | [
"n : Type u_2\ninst✝¹ : Fintype n\ninst✝ : DecidableEq n\nA : Matrix n n ℤ\nhA : A.IsHadamard\nhcard : 2 < Fintype.card n\nhpm : ∀ (i j : n), A i j = 1 ∨ A i j = -1\nr s t : n\nhrs : r ≠ s\nhrt : r ≠ t\nhst : s ≠ t\ni k : n\nhik : i ≠ k\n⊢ ∑ j, A i j * A k j = 0"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.FixedDetMatrices | {
"line": 246,
"column": 2
} | {
"line": 246,
"column": 68
} | {
"line": 246,
"column": 69
} | [
{
"pp": "case step\nm : ℤ\nC : FixedDetMatrix (Fin 2) ℤ m → Prop\nA✝ : FixedDetMatrix (Fin 2) ℤ m\nhm : m ≠ 0\nh0 : ∀ (A : FixedDetMatrix (Fin 2) ℤ m), ↑A 1 0 = 0 → 0 < ↑A 0 0 → 0 ≤ ↑A 0 1 → |↑A 0 1| < |↑A 1 1| → C A\nhS : ∀ (B : FixedDetMatrix (Fin 2) ℤ m), C B → C (S • B)\nhT : ∀ (B : FixedDetMatrix (Fin 2) ℤ... | [
"case step\nm : ℤ\nC : FixedDetMatrix (Fin 2) ℤ m → Prop\nA✝ : FixedDetMatrix (Fin 2) ℤ m\nhm : m ≠ 0\nh0 : ∀ (A : FixedDetMatrix (Fin 2) ℤ m), ↑A 1 0 = 0 → 0 < ↑A 0 0 → 0 ≤ ↑A 0 1 → |↑A 0 1| < |↑A 1 1| → C A\nhS : ∀ (B : FixedDetMatrix (Fin 2) ℤ m), C B → C (S • B)\nhT : ∀ (B : FixedDetMatrix (Fin 2) ℤ m), C B → C... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Integer | {
"line": 100,
"column": 30
} | {
"line": 100,
"column": 55
} | {
"line": 100,
"column": 56
} | [
{
"pp": "m : Type u_2\nn : Type u_3\ninst✝¹ : Fintype m\ninst✝ : Fintype n\nA : Matrix m n ℚ\nx✝ : ℕ\n⊢ Aᵀ.den ∣ x✝ ↔ A.den ∣ x✝",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Dvd.dvd",
"congrArg",
"Rat",
"semigroupDvd",
"_private.Mathlib.Lin... | [
"m : Type u_2\nn : Type u_3\ninst✝¹ : Fintype m\ninst✝ : Fintype n\nA : Matrix m n ℚ\nx✝ : ℕ\n⊢ (∀ (i : n) (j : m), (A j i).den ∣ x✝) ↔ ∀ (i : m) (j : n), (A i j).den ∣ x✝"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Integer | {
"line": 131,
"column": 2
} | {
"line": 131,
"column": 34
} | {
"line": 131,
"column": 35
} | [
{
"pp": "m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℕ\n⊢ (↑a).den = 1",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Matrix",
"Rat",
"id",
"Matrix.instNatCastOfZero",
"instOfNatNat",
"Nat.cast",
"Nat",
"Matrix.den",
"... | [
"m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℕ\n⊢ (diagonal fun x ↦ ↑a).den = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Integer | {
"line": 135,
"column": 2
} | {
"line": 135,
"column": 34
} | {
"line": 135,
"column": 35
} | [
{
"pp": "m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℕ\n⊢ (↑a).num = ↑a",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Matrix",
"Rat",
"id",
"Matrix.instNatCastOfZero",
"Int",
"Nat.cast",
"Matrix.num",
"instNatCastInt",
... | [
"m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℕ\n⊢ (diagonal fun x ↦ ↑a).num = diagonal fun x ↦ ↑a"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Integer | {
"line": 149,
"column": 2
} | {
"line": 149,
"column": 34
} | {
"line": 149,
"column": 35
} | [
{
"pp": "m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℤ\n⊢ (↑a).den = 1",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Int.cast",
"Matrix.instIntCastOfZero",
"Matrix",
"Rat",
"Rat.instIntCast",
"id",
"instOfNatNat",
"Nat",
... | [
"m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℤ\n⊢ (diagonal fun x ↦ ↑a).den = 1"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Integer | {
"line": 153,
"column": 2
} | {
"line": 153,
"column": 34
} | {
"line": 153,
"column": 35
} | [
{
"pp": "m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℤ\n⊢ (↑a).num = ↑a",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Int.cast",
"Matrix.instIntCastOfZero",
"Matrix",
"Rat",
"Rat.instIntCast",
"id",
"Int",
"Matrix.num",
... | [
"m : Type u_2\ninst✝¹ : Fintype m\ninst✝ : DecidableEq m\na : ℤ\n⊢ (diagonal fun x ↦ ↑a).num = diagonal fun x ↦ a"
] | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Cartan.Realisation | {
"line": 179,
"column": 4
} | {
"line": 179,
"column": 15
} | {
"line": 179,
"column": 16
} | [
{
"pp": "n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\ny₁ y₂ : N\nhy✝ : y₁ - y... | [
"n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\ny₁ y₂ : N\nhy✝ : y₁ - y₂ ∈ span R (... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Mathlib.LinearAlgebra.Matrix.Cartan.Realisation | {
"line": 181,
"column": 2
} | {
"line": 181,
"column": 58
} | {
"line": 181,
"column": 59
} | [
{
"pp": "n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\ny₁ y₂ : N\nhy✝ : y₁ - y... | [
"n : Type u_1\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : Fintype n\ninst✝⁷ : DecidableEq n\ninst✝⁶ : CommRing R\ninst✝⁵ : AddCommGroup M\ninst✝⁴ : Module R M\ninst✝³ : AddCommGroup N\ninst✝² : Module R N\nrl : Realisation n R M N\ninst✝¹ : CharZero R\ninst✝ : IsDomain R\ny₁ y₂ : N\nhy✝ : y₁ - y₂ ∈ span R (... | simpa using | Lean.Elab.Tactic.Simpa.evalSimpa | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.