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.LieRinehartAlgebra.Subalgebra | {
"line": 40,
"column": 29
} | {
"line": 40,
"column": 63
} | {
"line": 40,
"column": 63
} | [
{
"pp": "A : Type u_1\nL : Type u_2\ninst✝² : CommRing A\ninst✝¹ : LieRing L\ninst✝ : Module A L\nx y : L\nhx : x ∈ (Submodule.toAddSubmonoid 0).carrier\n_hy : y ∈ (Submodule.toAddSubmonoid 0).carrier\n⊢ ⁅x, y⁆ ∈ (Submodule.toAddSubmonoid 0).carrier",
"ppTerm": "?m.20",
"assigned": true,
"usedConsta... | [] | simp [(Submodule.mem_bot A).mp hx] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.LieRinehartAlgebra.Subalgebra | {
"line": 40,
"column": 29
} | {
"line": 40,
"column": 63
} | {
"line": 40,
"column": 63
} | [
{
"pp": "A : Type u_1\nL : Type u_2\ninst✝² : CommRing A\ninst✝¹ : LieRing L\ninst✝ : Module A L\nx y : L\nhx : x ∈ (Submodule.toAddSubmonoid 0).carrier\n_hy : y ∈ (Submodule.toAddSubmonoid 0).carrier\n⊢ ⁅x, y⁆ ∈ (Submodule.toAddSubmonoid 0).carrier",
"ppTerm": "?m.20",
"assigned": true,
"usedConsta... | [] | simp [(Submodule.mem_bot A).mp hx] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.LieRinehartAlgebra.Subalgebra | {
"line": 40,
"column": 29
} | {
"line": 40,
"column": 63
} | {
"line": 40,
"column": 63
} | [
{
"pp": "A : Type u_1\nL : Type u_2\ninst✝² : CommRing A\ninst✝¹ : LieRing L\ninst✝ : Module A L\nx y : L\nhx : x ∈ (Submodule.toAddSubmonoid 0).carrier\n_hy : y ∈ (Submodule.toAddSubmonoid 0).carrier\n⊢ ⁅x, y⁆ ∈ (Submodule.toAddSubmonoid 0).carrier",
"ppTerm": "?m.20",
"assigned": true,
"usedConsta... | [] | simp [(Submodule.mem_bot A).mp hx] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Lie.LieTheorem | {
"line": 188,
"column": 4
} | {
"line": 188,
"column": 64
} | {
"line": 189,
"column": 2
} | [
{
"pp": "k : Type u_1\ninst✝¹⁰ : Field k\nL : Type u_2\ninst✝⁹ : LieRing L\ninst✝⁸ : LieAlgebra k L\nV : Type u_3\ninst✝⁷ : AddCommGroup V\ninst✝⁶ : Module k V\ninst✝⁵ : LieRingModule L V\ninst✝⁴ : LieModule k L V\ninst✝³ : CharZero k\ninst✝² : Module.Finite k V\ninst✝¹ : IsTriangularizable k L V\nA : LieIdeal ... | [] | simpa [W, weightSpaceOfIsLieTower, mem_weightSpace] using hv | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.FractionalIdeal.Basic | {
"line": 267,
"column": 31
} | {
"line": 267,
"column": 82
} | {
"line": 267,
"column": 82
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝¹ : CommRing P\ninst✝ : Algebra R P\nI : Ideal R\n⊢ coeSubmodule P I ≤ 1",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Submodule",
"Semiring.toModule",
"congrArg",
"CommSemiring.toSem... | [] | by simpa using coeSubmodule_mono P (le_top : I ≤ ⊤) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.FractionalIdeal.Basic | {
"line": 531,
"column": 4
} | {
"line": 533,
"column": 8
} | {
"line": 534,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝¹ : CommRing P\ninst✝ : Algebra R P\nI : Submodule R P\nx✝ : IsFractional S I\n⊢ IsFractional S (0 • I)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Submodule.instAd... | [] | rw [zero_smul]
convert ((0 : Ideal R) : FractionalIdeal S P).isFractional
simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.FractionalIdeal.Basic | {
"line": 531,
"column": 4
} | {
"line": 533,
"column": 8
} | {
"line": 534,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝¹ : CommRing P\ninst✝ : Algebra R P\nI : Submodule R P\nx✝ : IsFractional S I\n⊢ IsFractional S (0 • I)",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Submodule.instAd... | [] | rw [zero_smul]
convert ((0 : Ideal R) : FractionalIdeal S P).isFractional
simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.FractionalIdeal.Basic | {
"line": 553,
"column": 8
} | {
"line": 553,
"column": 78
} | {
"line": 554,
"column": 8
} | [
{
"pp": "case refine_1\nR : Type u_1\ninst✝² : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝¹ : CommRing P\ninst✝ : Algebra R P\nI J : Submodule R P\naI : R\nhaI : aI ∈ S\nhI : ∀ b ∈ I, IsInteger R (aI • b)\naJ : R\nhaJ : aJ ∈ S\nhJ : ∀ b ∈ J, IsInteger R (aJ • b)\nb : P\nhb : b ∈ I * J\nm : P\nhm : m ∈ I\nn... | [
"case refine_1\nR : Type u_1\ninst✝² : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝¹ : CommRing P\ninst✝ : Algebra R P\nI J : Submodule R P\naI : R\nhaI : aI ∈ S\nhI : ∀ b ∈ I, IsInteger R (aI • b)\naJ : R\nhaJ : aJ ∈ S\nhJ : ∀ b ∈ J, IsInteger R (aJ • b)\nb : P\nhb : b ∈ I * J\nm : P\nhm : m ∈ I\nn : P\nhn : n... | rw [mul_smul, mul_comm m, ← smul_mul_assoc, ← hn', ← Algebra.smul_def] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.ChainOfDivisors | {
"line": 231,
"column": 8
} | {
"line": 231,
"column": 78
} | {
"line": 231,
"column": 78
} | [
{
"pp": "M : Type u_1\ninst✝³ : CommMonoidWithZero M\ninst✝² : IsCancelMulZero M\nN : Type u_2\ninst✝¹ : CommMonoidWithZero N\ninst✝ : IsCancelMulZero N\nm u : Associates M\nn : Associates N\nhu' : u ≤ m\nd : ↑(Set.Iic m) ≃o ↑(Set.Iic n)\nhu : ↑(d ⟨u, hu'⟩) = 1\n⊢ u = ↑(d.symm ⟨↑(d ⟨u, hu'⟩), ⋯⟩)",
"ppTerm"... | [] | simp only [Subtype.coe_eta, OrderIso.symm_apply_apply, Subtype.coe_mk] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.ChainOfDivisors | {
"line": 231,
"column": 8
} | {
"line": 231,
"column": 78
} | {
"line": 231,
"column": 78
} | [
{
"pp": "M : Type u_1\ninst✝³ : CommMonoidWithZero M\ninst✝² : IsCancelMulZero M\nN : Type u_2\ninst✝¹ : CommMonoidWithZero N\ninst✝ : IsCancelMulZero N\nm u : Associates M\nn : Associates N\nhu' : u ≤ m\nd : ↑(Set.Iic m) ≃o ↑(Set.Iic n)\nhu : ↑(d ⟨u, hu'⟩) = 1\n⊢ u = ↑(d.symm ⟨↑(d ⟨u, hu'⟩), ⋯⟩)",
"ppTerm"... | [] | simp only [Subtype.coe_eta, OrderIso.symm_apply_apply, Subtype.coe_mk] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.ChainOfDivisors | {
"line": 231,
"column": 8
} | {
"line": 231,
"column": 78
} | {
"line": 231,
"column": 78
} | [
{
"pp": "M : Type u_1\ninst✝³ : CommMonoidWithZero M\ninst✝² : IsCancelMulZero M\nN : Type u_2\ninst✝¹ : CommMonoidWithZero N\ninst✝ : IsCancelMulZero N\nm u : Associates M\nn : Associates N\nhu' : u ≤ m\nd : ↑(Set.Iic m) ≃o ↑(Set.Iic n)\nhu : ↑(d ⟨u, hu'⟩) = 1\n⊢ u = ↑(d.symm ⟨↑(d ⟨u, hu'⟩), ⋯⟩)",
"ppTerm"... | [] | simp only [Subtype.coe_eta, OrderIso.symm_apply_apply, Subtype.coe_mk] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.DedekindDomain.Ideal.Basic | {
"line": 270,
"column": 2
} | {
"line": 270,
"column": 73
} | {
"line": 271,
"column": 2
} | [
{
"pp": "A : Type u_2\ninst✝¹ : CommRing A\ninst✝ : IsDomain A\nh : IsDedekindDomainInv A\nthis : CommGroupWithZero (FractionalIdeal A⁰ (FractionRing A)) := commGroupWithZero (FractionRing A) h\n⊢ IsIntegrallyClosed A",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"... | [
"A : Type u_2\ninst✝¹ : CommRing A\ninst✝ : IsDomain A\nh : IsDedekindDomainInv A\nthis : CommGroupWithZero (FractionalIdeal A⁰ (FractionRing A)) := commGroupWithZero (FractionRing A) h\nx : FractionRing A\nhx : IsIntegral A x\n⊢ ∃ y, (algebraMap A (FractionRing A)) y = x"
] | refine (isIntegrallyClosed_iff (FractionRing A)).mpr (fun {x hx} => ?_) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas | {
"line": 251,
"column": 8
} | {
"line": 251,
"column": 74
} | {
"line": 252,
"column": 6
} | [
{
"pp": "case refine_2.refine_3\nA : Type u_2\nK : Type u_3\ninst✝⁴ : CommRing A\ninst✝³ : Field K\ninst✝² : IsDedekindDomain A\ninst✝¹ : Algebra A K\ninst✝ : IsFractionRing A K\nJ : Ideal A\nhJ : J ≠ ⊤\nι : Type u_4\ns : Finset ι\nf : ι → K\nj : ι\nhjs : j ∈ s\nhjf : f j ≠ 0\nI : FractionalIdeal A⁰ K := spanFi... | [] | intro x y _ _ hx hy; rw [mul_add]; exact Submodule.add_mem _ hx hy | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas | {
"line": 251,
"column": 8
} | {
"line": 251,
"column": 74
} | {
"line": 252,
"column": 6
} | [
{
"pp": "case refine_2.refine_3\nA : Type u_2\nK : Type u_3\ninst✝⁴ : CommRing A\ninst✝³ : Field K\ninst✝² : IsDedekindDomain A\ninst✝¹ : Algebra A K\ninst✝ : IsFractionRing A K\nJ : Ideal A\nhJ : J ≠ ⊤\nι : Type u_4\ns : Finset ι\nf : ι → K\nj : ι\nhjs : j ∈ s\nhjf : f j ≠ 0\nI : FractionalIdeal A⁰ K := spanFi... | [] | intro x y _ _ hx hy; rw [mul_add]; exact Submodule.add_mem _ hx hy | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.DedekindDomain.Ideal.Basic | {
"line": 352,
"column": 4
} | {
"line": 352,
"column": 24
} | {
"line": 353,
"column": 2
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nK : Type u_3\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing A\ninst✝³ : Field K\ninst✝² : IsDedekindDomain A\ninst✝¹ : Algebra A K\ninst✝ : IsFractionRing A K\nthis : CommGroupWithZero (FractionalIdeal A⁰ K) :=\n @IsDedekindDomainInv.commGroupWithZero A K inst✝⁴ inst✝³ inst✝¹ inst... | [] | exact div_eq_mul_inv | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.FractionalIdeal.Operations | {
"line": 692,
"column": 2
} | {
"line": 704,
"column": 34
} | {
"line": 706,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝⁶ : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝⁵ : CommRing P\ninst✝⁴ : Algebra R P\ninst✝³ : IsLocalization S P\nP' : Type u_5\ninst✝² : CommRing P'\ninst✝¹ : Algebra R P'\ninst✝ : IsLocalization S P'\nx : P\n⊢ (canonicalEquiv S P P') ((spanSingleton S) x) = (spanSingleton S) (... | [] | apply SetLike.ext_iff.mpr
intro y
constructor <;> intro h
· rw [mem_spanSingleton]
obtain ⟨x', hx', rfl⟩ := (mem_canonicalEquiv_apply _ _ _).mp h
obtain ⟨z, rfl⟩ := (mem_spanSingleton _).mp hx'
use z
rw [IsLocalization.map_smul, RingHom.id_apply]
· rw [mem_canonicalEquiv_apply]
obtain ⟨z, rf... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.FractionalIdeal.Operations | {
"line": 692,
"column": 2
} | {
"line": 704,
"column": 34
} | {
"line": 706,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝⁶ : CommRing R\nS : Submonoid R\nP : Type u_2\ninst✝⁵ : CommRing P\ninst✝⁴ : Algebra R P\ninst✝³ : IsLocalization S P\nP' : Type u_5\ninst✝² : CommRing P'\ninst✝¹ : Algebra R P'\ninst✝ : IsLocalization S P'\nx : P\n⊢ (canonicalEquiv S P P') ((spanSingleton S) x) = (spanSingleton S) (... | [] | apply SetLike.ext_iff.mpr
intro y
constructor <;> intro h
· rw [mem_spanSingleton]
obtain ⟨x', hx', rfl⟩ := (mem_canonicalEquiv_apply _ _ _).mp h
obtain ⟨z, rfl⟩ := (mem_spanSingleton _).mp hx'
use z
rw [IsLocalization.map_smul, RingHom.id_apply]
· rw [mem_canonicalEquiv_apply]
obtain ⟨z, rf... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas | {
"line": 401,
"column": 8
} | {
"line": 401,
"column": 45
} | {
"line": 401,
"column": 45
} | [
{
"pp": "case a.left\nT : Type u_4\ninst✝¹ : CommRing T\ninst✝ : IsDedekindDomain T\nI J : Ideal T\nhI : I ≠ ⊥\nhJ : J ≠ ⊥\nthis : (normalizedFactors I ∩ normalizedFactors J).prod ≠ 0\n⊢ normalizedFactors (normalizedFactors I ∩ normalizedFactors J).prod ≤ normalizedFactors I",
"ppTerm": "?a.left✝",
"ass... | [
"case a.left\nT : Type u_4\ninst✝¹ : CommRing T\ninst✝ : IsDedekindDomain T\nI J : Ideal T\nhI : I ≠ ⊥\nhJ : J ≠ ⊥\nthis : (normalizedFactors I ∩ normalizedFactors J).prod ≠ 0\n⊢ normalizedFactors I ∩ normalizedFactors J ≤ normalizedFactors I"
] | normalizedFactors_prod_inter_eq_inter | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas | {
"line": 401,
"column": 8
} | {
"line": 401,
"column": 45
} | {
"line": 401,
"column": 45
} | [
{
"pp": "case a.right\nT : Type u_4\ninst✝¹ : CommRing T\ninst✝ : IsDedekindDomain T\nI J : Ideal T\nhI : I ≠ ⊥\nhJ : J ≠ ⊥\nthis : (normalizedFactors I ∩ normalizedFactors J).prod ≠ 0\n⊢ normalizedFactors (normalizedFactors I ∩ normalizedFactors J).prod ≤ normalizedFactors J",
"ppTerm": "?a.right✝",
"a... | [
"case a.right\nT : Type u_4\ninst✝¹ : CommRing T\ninst✝ : IsDedekindDomain T\nI J : Ideal T\nhI : I ≠ ⊥\nhJ : J ≠ ⊥\nthis : (normalizedFactors I ∩ normalizedFactors J).prod ≠ 0\n⊢ normalizedFactors I ∩ normalizedFactors J ≤ normalizedFactors J"
] | normalizedFactors_prod_inter_eq_inter | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.FractionalIdeal.Operations | {
"line": 908,
"column": 2
} | {
"line": 908,
"column": 59
} | {
"line": 909,
"column": 2
} | [
{
"pp": "case neg\nR₁ : Type u_3\ninst✝⁴ : CommRing R₁\nK : Type u_4\ninst✝³ : Field K\ninst✝² : Algebra R₁ K\ninst✝¹ : IsFractionRing R₁ K\ninst✝ : IsDomain R₁\nx : R₁\nI : FractionalIdeal R₁⁰ K\nhI : ∀ J ≤ I, (↑J).FG\nhx : ¬x = 0\nh_gx : (algebraMap R₁ K) x ≠ 0\nh_spanx : (spanSingleton R₁⁰) ((algebraMap R₁ K... | [
"case neg\nR₁ : Type u_3\ninst✝⁴ : CommRing R₁\nK : Type u_4\ninst✝³ : Field K\ninst✝² : Algebra R₁ K\ninst✝¹ : IsFractionRing R₁ K\ninst✝ : IsDomain R₁\nx : R₁\nI : FractionalIdeal R₁⁰ K\nhI : ∀ J ≤ I, (↑J).FG\nhx : ¬x = 0\nh_gx : (algebraMap R₁ K) x ≠ 0\nh_spanx : (spanSingleton R₁⁰) ((algebraMap R₁ K) x) ≠ 0\nJ ... | rw [← div_spanSingleton, le_div_iff_mul_le h_spanx] at hJ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas | {
"line": 626,
"column": 64
} | {
"line": 626,
"column": 71
} | {
"line": 627,
"column": 6
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nK : Type u_3\ninst✝³ : CommRing R\ninst✝² : CommRing A\ninst✝¹ : Field K\ninst✝ : IsDedekindDomain A\nI : Ideal R\nJ : Ideal A\nf : R ⧸ I →+* A ⧸ J\nhf : Function.Surjective ⇑f\nX : Ideal R\nhX : X ∣ I\nY : Ideal R\nhY : Y ∣ I\nh : X ≤ Y\n⊢ X ≤ Y ⊔ RingHom.ker (Ideal.Quotien... | [
"R : Type u_1\nA : Type u_2\nK : Type u_3\ninst✝³ : CommRing R\ninst✝² : CommRing A\ninst✝¹ : Field K\ninst✝ : IsDedekindDomain A\nI : Ideal R\nJ : Ideal A\nf : R ⧸ I →+* A ⧸ J\nhf : Function.Surjective ⇑f\nX : Ideal R\nhX : X ∣ I\nY : Ideal R\nhY : Y ∣ I\nh : X ≤ Y\n⊢ X ≤ Y ⊔ I"
] | mk_ker, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Module.FinitePresentation | {
"line": 87,
"column": 2
} | {
"line": 92,
"column": 81
} | {
"line": 94,
"column": 0
} | [
{
"pp": "R : Type u\nM : Type u_1\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nfp : FinitePresentation R M\n⊢ ∃ n K x, K.FG",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Submodule.comap_equiv_eq_map_symm",
"Eq.mpr",
"Pi.Function.module",
"Submod... | [] | have ⟨ι, ⟨hι₁, hι₂⟩⟩ := fp
refine ⟨_, LinearMap.ker (linearCombination R Subtype.val ∘ₗ
(lcongr ι.equivFin (.refl ..) ≪≫ₗ linearEquivFunOnFinite R R _).symm.toLinearMap),
(LinearMap.quotKerEquivOfSurjective _ <| LinearMap.range_eq_top.mp ?_).symm, ?_⟩
· simpa [range_linearCombination] using hι₁
· simpa [L... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Module.FinitePresentation | {
"line": 87,
"column": 2
} | {
"line": 92,
"column": 81
} | {
"line": 94,
"column": 0
} | [
{
"pp": "R : Type u\nM : Type u_1\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nfp : FinitePresentation R M\n⊢ ∃ n K x, K.FG",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Submodule.comap_equiv_eq_map_symm",
"Eq.mpr",
"Pi.Function.module",
"Submod... | [] | have ⟨ι, ⟨hι₁, hι₂⟩⟩ := fp
refine ⟨_, LinearMap.ker (linearCombination R Subtype.val ∘ₗ
(lcongr ι.equivFin (.refl ..) ≪≫ₗ linearEquivFunOnFinite R R _).symm.toLinearMap),
(LinearMap.quotKerEquivOfSurjective _ <| LinearMap.range_eq_top.mp ?_).symm, ?_⟩
· simpa [range_linearCombination] using hι₁
· simpa [L... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Module.LocalizedModule.Away | {
"line": 46,
"column": 2
} | {
"line": 46,
"column": 7
} | {
"line": 47,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁴ : CommSemiring R\nM : Type u_4\nN : Type u_5\ninst✝³ : AddCommGroup M\ninst✝² : AddCommGroup N\ninst✝¹ : Module R M\ninst✝ : Module R N\nf : M →ₗ[R] N\nr : R\nh₁ : IsUnit ((algebraMap R (Module.End R N)) r)\nh₂ : ∀ (x : N), ∃ n y, r ^ n • x = f y\nh₃ : ∀ (x : M), f x = 0 → ∃ n, r ^... | [
"case h\nR : Type u_1\ninst✝⁴ : CommSemiring R\nM : Type u_4\nN : Type u_5\ninst✝³ : AddCommGroup M\ninst✝² : AddCommGroup N\ninst✝¹ : Module R M\ninst✝ : Module R N\nf : M →ₗ[R] N\nr : R\nh₁ : IsUnit ((algebraMap R (Module.End R N)) r)\nh₂ : ∀ (x : N), ∃ n y, r ^ n • x = f y\nh₃ : ∀ (x : M), f x = 0 → ∃ n, r ^ n •... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.Algebra.Module.LocalizedModule.Away | {
"line": 77,
"column": 4
} | {
"line": 77,
"column": 9
} | {
"line": 78,
"column": 4
} | [
{
"pp": "case refine_3\nR : Type u_1\ninst✝⁵ : CommSemiring R\nM : Type u_2\nN : Type u_3\ninst✝⁴ : AddCommMonoid M\ninst✝³ : AddCommMonoid N\ninst✝² : Module R M\ninst✝¹ : Module R N\nf : M →ₗ[R] N\nr : R\ninst✝ : IsLocalizedModule.Away r f\nu : Rˣ\nx y : M\nhxy : f x = f y\nn : ℕ\nhn : r ^ n • x = r ^ n • y\n... | [
"case h\nR : Type u_1\ninst✝⁵ : CommSemiring R\nM : Type u_2\nN : Type u_3\ninst✝⁴ : AddCommMonoid M\ninst✝³ : AddCommMonoid N\ninst✝² : Module R M\ninst✝¹ : Module R N\nf : M →ₗ[R] N\nr : R\ninst✝ : IsLocalizedModule.Away r f\nu : Rˣ\nx y : M\nhxy : f x = f y\nn : ℕ\nhn : r ^ n • x = r ^ n • y\n⊢ (↑u * r) ^ n • x ... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.LinearAlgebra.TensorProduct.Vanishing | {
"line": 139,
"column": 2
} | {
"line": 140,
"column": 66
} | {
"line": 143,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁵ : CommRing R\nM : Type u_2\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nN : Type u_3\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nι : Type u_4\ninst✝ : Fintype ι\nm : ι → M\nn : ι → N\nhm : span R (Set.range m) = ⊤\nhmn : ∑ i, m i ⊗ₜ[R] n i = 0\nG : (ι →₀ R) →ₗ[R] M := linearCo... | [
"R : Type u_1\ninst✝⁵ : CommRing R\nM : Type u_2\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nN : Type u_3\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nι : Type u_4\ninst✝ : Fintype ι\nm : ι → M\nn : ι → N\nhm : span R (Set.range m) = ⊤\nhmn : ∑ i, m i ⊗ₜ[R] n i = 0\nG : (ι →₀ R) →ₗ[R] M := linearCombination R ... | have exact_rTensor_ker_subtype : Exact (rTensor N (ker G).subtype) (rTensor N G) :=
rTensor_exact (M := ↥(ker G)) N exact_ker_subtype G_surjective | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.LinearAlgebra.TensorProduct.Vanishing | {
"line": 254,
"column": 4
} | {
"line": 255,
"column": 59
} | {
"line": 256,
"column": 2
} | [
{
"pp": "case mp\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nN : Type u_3\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\n⊢ (∀ {l : ℕ} {m : Fin l → M} {n : Fin l → N}, ∑ i, m i ⊗ₜ[R] n i = 0 → VanishesTrivially R m n) →\n ∀ (M' : Submodule R M), Injective ⇑(r... | [] | intro h
exact rTensor_injective_of_forall_vanishesTrivially R h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.TensorProduct.Vanishing | {
"line": 254,
"column": 4
} | {
"line": 255,
"column": 59
} | {
"line": 256,
"column": 2
} | [
{
"pp": "case mp\nR : Type u_1\ninst✝⁴ : CommRing R\nM : Type u_2\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\nN : Type u_3\ninst✝¹ : AddCommGroup N\ninst✝ : Module R N\n⊢ (∀ {l : ℕ} {m : Fin l → M} {n : Fin l → N}, ∑ i, m i ⊗ₜ[R] n i = 0 → VanishesTrivially R m n) →\n ∀ (M' : Submodule R M), Injective ⇑(r... | [] | intro h
exact rTensor_injective_of_forall_vanishesTrivially R h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.Finiteness | {
"line": 73,
"column": 36
} | {
"line": 73,
"column": 44
} | {
"line": 73,
"column": 45
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\nM : Submonoid R\nS' : Type u_4\ninst✝⁵ : CommSemiring S'\ninst✝⁴ : Algebra S S'\ninst✝³ : Algebra R S\ninst✝² : Algebra R S'\ninst✝¹ : IsScalarTower R S S'\ninst✝ : IsLocalization (Submonoid.map (algebraMap R S) M) S'\nx : S\... | [
"R : Type u_1\nS : Type u_2\ninst✝⁷ : CommSemiring R\ninst✝⁶ : CommSemiring S\nM : Submonoid R\nS' : Type u_4\ninst✝⁵ : CommSemiring S'\ninst✝⁴ : Algebra S S'\ninst✝³ : Algebra R S\ninst✝² : Algebra R S'\ninst✝¹ : IsScalarTower R S S'\ninst✝ : IsLocalization (Submonoid.map (algebraMap R S) M) S'\nx : S\ns : Finset ... | g_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Localization.Finiteness | {
"line": 316,
"column": 2
} | {
"line": 317,
"column": 53
} | {
"line": 318,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommSemiring R\nI : Ideal R\nt : Set R\nht : span t = ⊤\nH : ∀ (g : ↑t), (map (algebraMap R (Localization.Away ↑g)) I).FG\n⊢ Module.Finite R ↥I",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Semiring.toModule",
"instSMulOfMul",
"IsScalarTowe... | [
"R : Type u\ninst✝ : CommSemiring R\nI : Ideal R\nt : Set R\nht : span t = ⊤\nH : ∀ (g : ↑t), (map (algebraMap R (Localization.Away ↑g)) I).FG\nk : (g : ↑t) → ↥I →ₗ[R] ↥(map (algebraMap R (Localization.Away ↑g)) I) :=\n fun g ↦ Algebra.idealMap (Localization.Away ↑g) I\n⊢ Module.Finite R ↥I"
] | let k (g : t) : I →ₗ[R] (I.map (algebraMap R (Localization.Away g.val))) :=
Algebra.idealMap I (S := Localization.Away g.val) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.RingTheory.Ideal.AssociatedPrime.Basic | {
"line": 176,
"column": 6
} | {
"line": 176,
"column": 11
} | {
"line": 177,
"column": 6
} | [
{
"pp": "case pos.refine_1\nR : Type u_1\ninst✝⁶ : CommSemiring R\nM : Type u_2\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nM' : Type u_3\ninst✝³ : AddCommMonoid M'\ninst✝² : Module R M'\nf : M →ₗ[R] M'\nM'' : Type u_4\ninst✝¹ : AddCommMonoid M''\ninst✝ : Module R M''\ng : M' →ₗ[R] M''\nhf : Function.Inject... | [
"case h\nR : Type u_1\ninst✝⁶ : CommSemiring R\nM : Type u_2\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nM' : Type u_3\ninst✝³ : AddCommMonoid M'\ninst✝² : Module R M'\nf : M →ₗ[R] M'\nM'' : Type u_4\ninst✝¹ : AddCommMonoid M''\ninst✝ : Module R M''\ng : M' →ₗ[R] M''\nhf : Function.Injective ⇑f\nhfg : Function.... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.Algebra.Module.MinimalGenerators | {
"line": 80,
"column": 4
} | {
"line": 80,
"column": 42
} | {
"line": 81,
"column": 2
} | [
{
"pp": "case refine_3\nR : Type u_1\ninst✝⁹ : CommRing R\nM : Type u_2\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nF₁ : Type u_3\nF₂ : Type u_4\ninst✝⁶ : AddCommGroup F₁\ninst✝⁵ : Module R F₁\ninst✝⁴ : AddCommGroup F₂\ninst✝³ : Module R F₂\ninst✝² : IsLocalRing R\ninst✝¹ : Module.Free R F₁\ninst✝ : Module.F... | [] | simp [Submodule.spanFinrank_top, hrk1] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Module.MinimalGenerators | {
"line": 80,
"column": 4
} | {
"line": 80,
"column": 42
} | {
"line": 81,
"column": 2
} | [
{
"pp": "case refine_3\nR : Type u_1\ninst✝⁹ : CommRing R\nM : Type u_2\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nF₁ : Type u_3\nF₂ : Type u_4\ninst✝⁶ : AddCommGroup F₁\ninst✝⁵ : Module R F₁\ninst✝⁴ : AddCommGroup F₂\ninst✝³ : Module R F₂\ninst✝² : IsLocalRing R\ninst✝¹ : Module.Free R F₁\ninst✝ : Module.F... | [] | simp [Submodule.spanFinrank_top, hrk1] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Module.MinimalGenerators | {
"line": 80,
"column": 4
} | {
"line": 80,
"column": 42
} | {
"line": 81,
"column": 2
} | [
{
"pp": "case refine_3\nR : Type u_1\ninst✝⁹ : CommRing R\nM : Type u_2\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nF₁ : Type u_3\nF₂ : Type u_4\ninst✝⁶ : AddCommGroup F₁\ninst✝⁵ : Module R F₁\ninst✝⁴ : AddCommGroup F₂\ninst✝³ : Module R F₂\ninst✝² : IsLocalRing R\ninst✝¹ : Module.Free R F₁\ninst✝ : Module.F... | [] | simp [Submodule.spanFinrank_top, hrk1] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.LocalRing.Module | {
"line": 350,
"column": 6
} | {
"line": 352,
"column": 86
} | {
"line": 353,
"column": 6
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : Module R M\ninst✝⁴ : Module R N\ninst✝³ : IsLocalRing R\ninst✝² : Module.Finite R M\ninst✝¹ : Module.Finite R N\ninst✝ : Free R N\nl : M →ₗ[R] N\nh : Function.Injective ⇑(LinearMap.... | [
"R : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : Module R M\ninst✝⁴ : Module R N\ninst✝³ : IsLocalRing R\ninst✝² : Module.Finite R M\ninst✝¹ : Module.Finite R N\ninst✝ : Free R N\nl : M →ₗ[R] N\nh : Function.Injective ⇑(LinearMap.lTensor k l)... | have : Function.Exact (LinearMap.ker l).subtype
(l.codRestrict (LinearMap.range l) (LinearMap.mem_range_self l)) := by
rw [LinearMap.exact_iff, LinearMap.ker_rangeRestrict, Submodule.range_subtype] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Algebra.MvPolynomial.PDeriv | {
"line": 74,
"column": 4
} | {
"line": 74,
"column": 33
} | {
"line": 75,
"column": 2
} | [
{
"pp": "case refine_1\nR : Type u\nσ : Type v\na : R\ns : σ →₀ ℕ\ninst✝ : CommSemiring R\ni j : σ\nx✝ : j ∈ s.support\nhne : j ≠ i\n⊢ (fun a_1 b ↦ (monomial (s - single a_1 1)) (a * ↑b) * Pi.single i 1 a_1) j (s j) = 0",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finsupp.ins... | [] | simp [Pi.single_eq_of_ne hne] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.MvPolynomial.PDeriv | {
"line": 74,
"column": 4
} | {
"line": 74,
"column": 33
} | {
"line": 75,
"column": 2
} | [
{
"pp": "case refine_1\nR : Type u\nσ : Type v\na : R\ns : σ →₀ ℕ\ninst✝ : CommSemiring R\ni j : σ\nx✝ : j ∈ s.support\nhne : j ≠ i\n⊢ (fun a_1 b ↦ (monomial (s - single a_1 1)) (a * ↑b) * Pi.single i 1 a_1) j (s j) = 0",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finsupp.ins... | [] | simp [Pi.single_eq_of_ne hne] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.MvPolynomial.PDeriv | {
"line": 74,
"column": 4
} | {
"line": 74,
"column": 33
} | {
"line": 75,
"column": 2
} | [
{
"pp": "case refine_1\nR : Type u\nσ : Type v\na : R\ns : σ →₀ ℕ\ninst✝ : CommSemiring R\ni j : σ\nx✝ : j ∈ s.support\nhne : j ≠ i\n⊢ (fun a_1 b ↦ (monomial (s - single a_1 1)) (a * ↑b) * Pi.single i 1 a_1) j (s j) = 0",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Finsupp.ins... | [] | simp [Pi.single_eq_of_ne hne] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.ClassGroup.Basic | {
"line": 385,
"column": 39
} | {
"line": 387,
"column": 74
} | {
"line": 389,
"column": 0
} | [
{
"pp": "R : Type u_1\nK : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : Field K\ninst✝³ : Algebra R K\ninst✝² : IsFractionRing R K\ninst✝¹ : IsDomain R\ninst✝ : Subsingleton (ClassGroup R)\nI : FractionalIdeal R⁰ K\nhI : IsUnit I\n⊢ (↑I).IsPrincipal",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants":... | [] | by
rcases hI with ⟨I, rfl⟩
rw [← ClassGroup.mk_eq_one_iff, Subsingleton.elim (ClassGroup.mk K I) 1] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.LocalProperties.Projective | {
"line": 114,
"column": 4
} | {
"line": 115,
"column": 88
} | {
"line": 116,
"column": 4
} | [
{
"pp": "case mpr\nR : Type u_1\nN : Type u_2\nM : Type uM\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nf : M →ₗ[R] N\ninst✝ : Module.FinitePresentation R N\nH : ∀ (I : Ideal R) (x : I.IsMaximal), ∃ g, (LocalizedModule.map I.primeCompl) f ∘ₗ g... | [
"case mpr\nR : Type u_1\nN : Type u_2\nM : Type uM\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nf : M →ₗ[R] N\ninst✝ : Module.FinitePresentation R N\nH : ∀ (I : Ideal R) (x : I.IsMaximal), ∃ g, (LocalizedModule.map I.primeCompl) f ∘ₗ g = id\nI : I... | obtain ⟨⟨g, s⟩, rfl⟩ :=
IsLocalizedModule.mk'_surjective I.primeCompl (LocalizedModule.map I.primeCompl) g | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.LinearAlgebra.PiTensorProduct.Basic | {
"line": 400,
"column": 26
} | {
"line": 400,
"column": 64
} | {
"line": 400,
"column": 64
} | [
{
"pp": "ι : Type u_1\nι₂ : Type u_2\nι₃ : Type u_3\nR : Type u_4\ninst✝⁸ : CommSemiring R\nR₁ : Type u_5\nR₂ : Type u_6\ns : ι → Type u_7\ninst✝⁷ : (i : ι) → AddCommMonoid (s i)\ninst✝⁶ : (i : ι) → Module R (s i)\nM : Type u_8\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nE : Type u_9\ninst✝³ : AddCommMonoid... | [] | simp_rw [← smul_add, φ.map_update_add] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.LinearAlgebra.PiTensorProduct.Basic | {
"line": 400,
"column": 26
} | {
"line": 400,
"column": 64
} | {
"line": 400,
"column": 64
} | [
{
"pp": "ι : Type u_1\nι₂ : Type u_2\nι₃ : Type u_3\nR : Type u_4\ninst✝⁸ : CommSemiring R\nR₁ : Type u_5\nR₂ : Type u_6\ns : ι → Type u_7\ninst✝⁷ : (i : ι) → AddCommMonoid (s i)\ninst✝⁶ : (i : ι) → Module R (s i)\nM : Type u_8\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nE : Type u_9\ninst✝³ : AddCommMonoid... | [] | simp_rw [← smul_add, φ.map_update_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.PiTensorProduct.Basic | {
"line": 400,
"column": 26
} | {
"line": 400,
"column": 64
} | {
"line": 400,
"column": 64
} | [
{
"pp": "ι : Type u_1\nι₂ : Type u_2\nι₃ : Type u_3\nR : Type u_4\ninst✝⁸ : CommSemiring R\nR₁ : Type u_5\nR₂ : Type u_6\ns : ι → Type u_7\ninst✝⁷ : (i : ι) → AddCommMonoid (s i)\ninst✝⁶ : (i : ι) → Module R (s i)\nM : Type u_8\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\nE : Type u_9\ninst✝³ : AddCommMonoid... | [] | simp_rw [← smul_add, φ.map_update_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.PiTensorProduct.Basic | {
"line": 401,
"column": 26
} | {
"line": 401,
"column": 36
} | {
"line": 401,
"column": 36
} | [
{
"pp": "ι : Type u_1\nι₂ : Type u_2\nι₃ : Type u_3\nR : Type u_4\ninst✝⁷ : CommSemiring R\nR₁ : Type u_5\nR₂ : Type u_6\ns : ι → Type u_7\ninst✝⁶ : (i : ι) → AddCommMonoid (s i)\ninst✝⁵ : (i : ι) → Module R (s i)\nM : Type u_8\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nE : Type u_9\ninst✝² : AddCommMonoid... | [
"ι : Type u_1\nι₂ : Type u_2\nι₃ : Type u_3\nR : Type u_4\ninst✝⁷ : CommSemiring R\nR₁ : Type u_5\nR₂ : Type u_6\ns : ι → Type u_7\ninst✝⁶ : (i : ι) → AddCommMonoid (s i)\ninst✝⁵ : (i : ι) → Module R (s i)\nM : Type u_8\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nE : Type u_9\ninst✝² : AddCommMonoid E\ninst✝¹ :... | ← add_smul | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Spectrum.Prime.FreeLocus | {
"line": 287,
"column": 45
} | {
"line": 292,
"column": 29
} | {
"line": 294,
"column": 0
} | [
{
"pp": "R : Type uR\nM : Type uM\ninst✝⁴ : CommRing R\ninst✝³ : AddCommGroup M\ninst✝² : Module R M\ninst✝¹ : Flat R M\ninst✝ : Module.Finite R M\np : PrimeSpectrum R\n⊢ rankAtStalk M p = 0 ↔ p ∉ support R M",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Module.Finite.instLocaliza... | [] | by
rw [notMem_support_iff]
refine ⟨fun h ↦ ?_, fun h ↦ Module.finrank_zero_of_subsingleton⟩
apply subsingleton_of_rank_zero (R := Localization.AtPrime p.asIdeal)
dsimp [rankAtStalk] at h
simp [← finrank_eq_rank, h] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.LocalRing.Length | {
"line": 108,
"column": 4
} | {
"line": 116,
"column": 79
} | {
"line": 117,
"column": 2
} | [
{
"pp": "case pos\nA : Type u_1\nB : Type u_2\nM : Type u_3\ninst✝⁸ : CommRing A\ninst✝⁷ : CommRing B\ninst✝⁶ : IsLocalRing A\ninst✝⁵ : IsLocalRing B\ninst✝⁴ : Algebra A B\ninst✝³ : IsLocalHom (algebraMap A B)\ninst✝² : AddCommGroup M\ninst✝¹ : Module A M\ninst✝ : Flat A B\nh : IsFiniteLength A M\n⊢ length B (B... | [] | obtain ⟨s, hs_bot, hs_top⟩ := isFiniteLength_iff_exists_compositionSeries.mp h
rw [← length_compositionSeries s hs_bot hs_top]
suffices ∀ k, length B ((s k).baseChange B) =
k * length B (B ⧸ (maximalIdeal A).map (algebraMap A B)) by
rw [← Fin.val_last s.length, ← this, ← RelSeries.last, hs_top, ba... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.LocalRing.Length | {
"line": 108,
"column": 4
} | {
"line": 116,
"column": 79
} | {
"line": 117,
"column": 2
} | [
{
"pp": "case pos\nA : Type u_1\nB : Type u_2\nM : Type u_3\ninst✝⁸ : CommRing A\ninst✝⁷ : CommRing B\ninst✝⁶ : IsLocalRing A\ninst✝⁵ : IsLocalRing B\ninst✝⁴ : Algebra A B\ninst✝³ : IsLocalHom (algebraMap A B)\ninst✝² : AddCommGroup M\ninst✝¹ : Module A M\ninst✝ : Flat A B\nh : IsFiniteLength A M\n⊢ length B (B... | [] | obtain ⟨s, hs_bot, hs_top⟩ := isFiniteLength_iff_exists_compositionSeries.mp h
rw [← length_compositionSeries s hs_bot hs_top]
suffices ∀ k, length B ((s k).baseChange B) =
k * length B (B ⧸ (maximalIdeal A).map (algebraMap A B)) by
rw [← Fin.val_last s.length, ← this, ← RelSeries.last, hs_top, ba... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.FieldTheory.PrimitiveElement | {
"line": 111,
"column": 4
} | {
"line": 121,
"column": 64
} | {
"line": 122,
"column": 2
} | [
{
"pp": "F : Type u_1\ninst✝⁴ : Field F\ninst✝³ : Infinite F\nE : Type u_2\ninst✝² : Field E\nα β : E\ninst✝¹ : Algebra F E\ninst✝ : Algebra.IsSeparable F E\nhα : IsIntegral F α\nhβ : IsIntegral F β\nf : F[X] := minpoly F α\ng : F[X] := minpoly F β\nιFE : F →+* E := algebraMap F E\nιEE' : E →+* (Polynomial.map ... | [] | use γ
apply le_antisymm
· rw [adjoin_le_iff]
have α_in_Fγ : α ∈ F⟮γ⟯ := by
rw [← add_sub_cancel_right α (c • β)]
exact F⟮γ⟯.sub_mem (mem_adjoin_simple_self F γ) (F⟮γ⟯.toSubalgebra.smul_mem β_in_Fγ c)
rintro x (rfl | rfl) <;> assumption
· rw [adjoin_simple_le_iff]
have α_in_... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.PrimitiveElement | {
"line": 111,
"column": 4
} | {
"line": 121,
"column": 64
} | {
"line": 122,
"column": 2
} | [
{
"pp": "F : Type u_1\ninst✝⁴ : Field F\ninst✝³ : Infinite F\nE : Type u_2\ninst✝² : Field E\nα β : E\ninst✝¹ : Algebra F E\ninst✝ : Algebra.IsSeparable F E\nhα : IsIntegral F α\nhβ : IsIntegral F β\nf : F[X] := minpoly F α\ng : F[X] := minpoly F β\nιFE : F →+* E := algebraMap F E\nιEE' : E →+* (Polynomial.map ... | [] | use γ
apply le_antisymm
· rw [adjoin_le_iff]
have α_in_Fγ : α ∈ F⟮γ⟯ := by
rw [← add_sub_cancel_right α (c • β)]
exact F⟮γ⟯.sub_mem (mem_adjoin_simple_self F γ) (F⟮γ⟯.toSubalgebra.smul_mem β_in_Fγ c)
rintro x (rfl | rfl) <;> assumption
· rw [adjoin_simple_le_iff]
have α_in_... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.Solvable | {
"line": 259,
"column": 2
} | {
"line": 261,
"column": 41
} | {
"line": 263,
"column": 0
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : IsSolvable G\nH : Subgroup G\nhH : H ≠ ⊥\n⊢ ⁅H, H⁆ < H",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Nontrivial",
"Eq.mpr",
"MonoidHom.range",
"Preorder.toLT",
"Subgroup.map",
"congrArg",
"Subgrou... | [] | rw [← nontrivial_iff_ne_bot] at hH
rw [← H.range_subtype, MonoidHom.range_eq_map, ← map_commutator, map_subtype_lt_map_subtype]
exact commutator_lt_top_of_nontrivial H | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.Solvable | {
"line": 259,
"column": 2
} | {
"line": 261,
"column": 41
} | {
"line": 263,
"column": 0
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : IsSolvable G\nH : Subgroup G\nhH : H ≠ ⊥\n⊢ ⁅H, H⁆ < H",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Nontrivial",
"Eq.mpr",
"MonoidHom.range",
"Preorder.toLT",
"Subgroup.map",
"congrArg",
"Subgrou... | [] | rw [← nontrivial_iff_ne_bot] at hH
rw [← H.range_subtype, MonoidHom.range_eq_map, ← map_commutator, map_subtype_lt_map_subtype]
exact commutator_lt_top_of_nontrivial H | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Matroid.Basic | {
"line": 433,
"column": 20
} | {
"line": 433,
"column": 55
} | {
"line": 433,
"column": 56
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nB₁ B₂ : Set α\nhB₁ : M.IsBase B₁\nhB₂ : M.IsBase B₂\n⊢ B₁.encard.toNat = B₂.ncard",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.encard",
"Matroid.IsBase.encard_eq_encard_of_isBase",
"congrArg",
"id",
... | [
"α : Type u_1\nM : Matroid α\nB₁ B₂ : Set α\nhB₁ : M.IsBase B₁\nhB₂ : M.IsBase B₂\n⊢ B₂.encard.toNat = B₂.ncard"
] | hB₁.encard_eq_encard_of_isBase hB₂, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Combinatorics.Matroid.Basic | {
"line": 798,
"column": 21
} | {
"line": 800,
"column": 27
} | {
"line": 801,
"column": 2
} | [
{
"pp": "α : Type u_1\nM✝ M : Matroid α\nE : Set α\nIsBase Indep : Set α → Prop\nhE : E = M.E\nhB : ∀ (B : Set α), IsBase B ↔ M.IsBase B\nhI : ∀ (I : Set α), Indep I ↔ M.Indep I\n⊢ ExchangeProperty IsBase",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matroid.Exchan... | [] | by
simp_rw [show IsBase = M.IsBase from funext (by simp [hB])]
exact M.isBase_exchange | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Normal.Closure | {
"line": 167,
"column": 69
} | {
"line": 170,
"column": 54
} | {
"line": 172,
"column": 0
} | [
{
"pp": "F : Type u_1\nK : Type u_2\nL : Type u_3\ninst✝⁴ : Field F\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra F K\ninst✝ : Algebra F L\nh : Normal F L\n⊢ Normal F ↥(normalClosure F K L)",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"IntermediateField.ins... | [] | by
obtain _ | φ := isEmpty_or_nonempty (K →ₐ[F] L)
· rw [normalClosure, iSup_of_empty]; exact Normal.of_algEquiv (botEquiv F L).symm
· exact (isNormalClosure_normalClosure F K L).normal | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Normal.Closure | {
"line": 247,
"column": 4
} | {
"line": 247,
"column": 32
} | {
"line": 249,
"column": 0
} | [
{
"pp": "case refine_2\nF : Type u_1\nL : Type u_3\ninst✝³ : Field F\ninst✝² : Field L\ninst✝¹ : Algebra F L\nK : IntermediateField F L\ninst✝ : Normal F L\nf : Gal(L/F)\n⊢ map (↑f) K ≤ ⨆ f, map f K",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"IntermediateField.instPartialOrd... | [] | exact le_iSup_of_le f le_rfl | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.FieldTheory.Normal.Closure | {
"line": 247,
"column": 4
} | {
"line": 247,
"column": 32
} | {
"line": 249,
"column": 0
} | [
{
"pp": "case refine_2\nF : Type u_1\nL : Type u_3\ninst✝³ : Field F\ninst✝² : Field L\ninst✝¹ : Algebra F L\nK : IntermediateField F L\ninst✝ : Normal F L\nf : Gal(L/F)\n⊢ map (↑f) K ≤ ⨆ f, map f K",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"IntermediateField.instPartialOrd... | [] | exact le_iSup_of_le f le_rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.Normal.Closure | {
"line": 247,
"column": 4
} | {
"line": 247,
"column": 32
} | {
"line": 249,
"column": 0
} | [
{
"pp": "case refine_2\nF : Type u_1\nL : Type u_3\ninst✝³ : Field F\ninst✝² : Field L\ninst✝¹ : Algebra F L\nK : IntermediateField F L\ninst✝ : Normal F L\nf : Gal(L/F)\n⊢ map (↑f) K ≤ ⨆ f, map f K",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"IntermediateField.instPartialOrd... | [] | exact le_iSup_of_le f le_rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Matroid.IndepAxioms | {
"line": 303,
"column": 4
} | {
"line": 303,
"column": 9
} | {
"line": 304,
"column": 4
} | [
{
"pp": "α : Type u_1\nP : Set α → Prop\nX : Set α\nn : ℕ\nI : Set α\nhI : P I\nhIX : I ⊆ X\nhP : ∀ (Y : Set α), P Y → ∃ n₀, Y.encard = ↑n₀ ∧ n₀ ≤ n\n⊢ ∃ x, ∀ y ∈ ncard '' {Y | P Y ∧ I ⊆ Y ∧ Y ⊆ X}, y ≤ x",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"Set.ofPred",
"Preorder.t... | [
"case h\nα : Type u_1\nP : Set α → Prop\nX : Set α\nn : ℕ\nI : Set α\nhI : P I\nhIX : I ⊆ X\nhP : ∀ (Y : Set α), P Y → ∃ n₀, Y.encard = ↑n₀ ∧ n₀ ≤ n\n⊢ ∀ y ∈ ncard '' {Y | P Y ∧ I ⊆ Y ∧ Y ⊆ X}, y ≤ n"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.Combinatorics.Matroid.Minor.Restrict | {
"line": 364,
"column": 97
} | {
"line": 365,
"column": 39
} | {
"line": 367,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI : Set α\nN : Matroid α\nhI : M.Indep I\nhNM : N ≤r M\nhIN : I ⊆ N.E\n⊢ N.Indep I",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Matroid.E",
"Matroid.Indep",
"id",
"LE.le",
"Matroid.IsRe... | [] | by
obtain ⟨R, -, rfl⟩ := hNM; simpa [hI] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.Matroid.Dual | {
"line": 176,
"column": 2
} | {
"line": 176,
"column": 64
} | {
"line": 178,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nB : Set α\nh : M.IsBase B\n⊢ M✶.IsBase (M.E \\ B)",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSup",
"CompleteBooleanAlgebra.toCompleteDistribLattice",
"congrArg",
"Matroid.E",
"sdif... | [] | rwa [dual_isBase_iff, sdiff_sdiff_cancel_left h.subset_ground] | Lean.Elab.Tactic.evalRwa | Lean.Parser.Tactic.rwa |
Mathlib.Combinatorics.Matroid.Dual | {
"line": 176,
"column": 2
} | {
"line": 176,
"column": 64
} | {
"line": 178,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nB : Set α\nh : M.IsBase B\n⊢ M✶.IsBase (M.E \\ B)",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSup",
"CompleteBooleanAlgebra.toCompleteDistribLattice",
"congrArg",
"Matroid.E",
"sdif... | [] | rwa [dual_isBase_iff, sdiff_sdiff_cancel_left h.subset_ground] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Matroid.Dual | {
"line": 176,
"column": 2
} | {
"line": 176,
"column": 64
} | {
"line": 178,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nB : Set α\nh : M.IsBase B\n⊢ M✶.IsBase (M.E \\ B)",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSup",
"CompleteBooleanAlgebra.toCompleteDistribLattice",
"congrArg",
"Matroid.E",
"sdif... | [] | rwa [dual_isBase_iff, sdiff_sdiff_cancel_left h.subset_ground] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Matroid.Minor.Restrict | {
"line": 444,
"column": 19
} | {
"line": 444,
"column": 49
} | {
"line": 444,
"column": 49
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI X J : Set α\ne : α\nhIX : M.IsBasis I X\nhJX : M.IsBasis J X\nhe : e ∈ I \\ J\ny : α\nhy : y ∈ J \\ I\nh : (M ↾ X).IsBase (insert y (I \\ {e}))\n⊢ M.IsBasis (insert y (I \\ {e})) X",
"ppTerm": "?m.59",
"assigned": true,
"usedConstants": [
"Matroid.IsBasi... | [] | rwa [isBase_restrict_iff] at h | Lean.Elab.Tactic.evalRwaAt | Lean.Parser.Tactic.rwaAt |
Mathlib.Combinatorics.Matroid.Minor.Restrict | {
"line": 444,
"column": 19
} | {
"line": 444,
"column": 49
} | {
"line": 444,
"column": 49
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI X J : Set α\ne : α\nhIX : M.IsBasis I X\nhJX : M.IsBasis J X\nhe : e ∈ I \\ J\ny : α\nhy : y ∈ J \\ I\nh : (M ↾ X).IsBase (insert y (I \\ {e}))\n⊢ M.IsBasis (insert y (I \\ {e})) X",
"ppTerm": "?m.59",
"assigned": true,
"usedConstants": [
"Matroid.IsBasi... | [] | rwa [isBase_restrict_iff] at h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Matroid.Minor.Restrict | {
"line": 444,
"column": 19
} | {
"line": 444,
"column": 49
} | {
"line": 444,
"column": 49
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nI X J : Set α\ne : α\nhIX : M.IsBasis I X\nhJX : M.IsBasis J X\nhe : e ∈ I \\ J\ny : α\nhy : y ∈ J \\ I\nh : (M ↾ X).IsBase (insert y (I \\ {e}))\n⊢ M.IsBasis (insert y (I \\ {e})) X",
"ppTerm": "?m.59",
"assigned": true,
"usedConstants": [
"Matroid.IsBasi... | [] | rwa [isBase_restrict_iff] at h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.FieldTheory.Normal.Basic | {
"line": 114,
"column": 2
} | {
"line": 114,
"column": 34
} | {
"line": 116,
"column": 0
} | [
{
"pp": "F : Type u_1\nK : Type u_2\ninst✝² : Field F\ninst✝¹ : Field K\ninst✝ : Algebra F K\nι : Type u_3\nt : ι → IntermediateField F K\nh : ∀ (i : ι), Normal F ↥(t i)\nx : ↥(⨆ i, t i)\ns : Finset ((i : ι) × ↥(t i))\nhx : ↑x ∈ ⨆ i ∈ s, adjoin F ((minpoly F i.snd).rootSet K)\nE : IntermediateField F K := ⨆ i ∈... | [] | rwa [Polynomial.map_map] at this | Lean.Elab.Tactic.evalRwaAt | Lean.Parser.Tactic.rwaAt |
Mathlib.Combinatorics.Matroid.Map | {
"line": 347,
"column": 35
} | {
"line": 347,
"column": 99
} | {
"line": 347,
"column": 99
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf✝ : α → β\nE I✝ : Set α\nM✝ : Matroid α\nN : Matroid β\nM : Matroid α\nf : α → β\nhf : InjOn f M.E\nI : Set β\n⊢ (∃ I₀, M.Indep (Subtype.val '' I₀) ∧ I = f '' Subtype.val '' I₀) ↔ ∃ I₀, M.Indep I₀ ∧ I = f '' I₀",
"ppTerm": "?m.37",
"assigned": true,
"usedConstan... | [
"α : Type u_1\nβ : Type u_2\nf✝ : α → β\nE I✝ : Set α\nM✝ : Matroid α\nN : Matroid β\nM : Matroid α\nf : α → β\nhf : InjOn f M.E\nI : Set β\n⊢ (∃ s ⊆ M.E, M.Indep s ∧ I = f '' s) ↔ ∃ I₀, M.Indep I₀ ∧ I = f '' I₀"
] | Subtype.exists_set_subtype (p := fun J ↦ M.Indep J ∧ I = f '' J) | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Combinatorics.Matroid.Map | {
"line": 421,
"column": 2
} | {
"line": 421,
"column": 20
} | {
"line": 422,
"column": 2
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nM : Matroid α\nI X : Set α\nf : α → β\nhf : InjOn f M.E\nhI : I ⊆ M.E\nhX : X ⊆ M.E\nh : (M.map f hf).IsBasis (f '' I) (f '' X)\nI' : Set α\nhI' : M.Indep I'\nhII' : I = I'\n⊢ M.IsBasis I X",
"ppTerm": "?m.70",
"assigned": true,
"usedConstants": [
"Matroid.... | [
"α : Type u_1\nβ : Type u_2\nM : Matroid α\nI X : Set α\nf : α → β\nhf : InjOn f M.E\nhI : I ⊆ M.E\nhX : X ⊆ M.E\nh : (M.map f hf).IsBasis (f '' I) (f '' X)\nhI' : M.Indep I\n⊢ M.IsBasis I X"
] | obtain rfl := hII' | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Combinatorics.Matroid.Circuit | {
"line": 423,
"column": 2
} | {
"line": 427,
"column": 91
} | {
"line": 428,
"column": 2
} | [
{
"pp": "case inr\nα : Type u_1\nM : Matroid α\nι : Type u_2\nJ : Set α\nx : ι → α\nI : ι → Set α\nz : α\nhxI : ∀ (i : ι), x i ∉ I i\nhC : ∀ (i : ι), M.IsCircuit (insert (x i) (I i))\nhJx : M.IsCircuit (J ∪ range x)\nhzJ : z ∈ J\nhzI : ∀ (i : ι), z ∉ I i\nhι : Nonempty ι\n⊢ ∃ C' ⊆ J ∪ ⋃ i, I i, M.IsCircuit C' ∧... | [
"case inr\nα : Type u_1\nM : Matroid α\nι : Type u_2\nJ : Set α\nx : ι → α\nI : ι → Set α\nz : α\nhxI : ∀ (i : ι), x i ∉ I i\nhC : ∀ (i : ι), M.IsCircuit (insert (x i) (I i))\nhJx : M.IsCircuit (J ∪ range x)\nhzJ : z ∈ J\nhzI : ∀ (i : ι), z ∉ I i\nhι : Nonempty ι\n⊢ z ∈ M.closure ((⋃ i, I i) ∪ J \\ {z})"
] | suffices hcl : z ∈ M.closure ((⋃ i, I i) ∪ (J \ {z})) by
rw [mem_closure_iff_exists_isCircuit (by simp [hzI])] at hcl
obtain ⟨C', hC'ss, hC', hzC'⟩ := hcl
refine ⟨C', ?_, hC', hzC'⟩
rwa [union_comm, ← insert_union, insert_sdiff_singleton, insert_eq_of_mem hzJ] at hC'ss | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1 | Lean.Parser.Tactic.tacticSuffices_ |
Mathlib.Combinatorics.Matroid.Loop | {
"line": 250,
"column": 13
} | {
"line": 250,
"column": 26
} | {
"line": 250,
"column": 26
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nE : Set α\nh : M = loopyOn E\n⊢ M.loops = E ∧ M.E = E",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Matroid.loopyOn",
"congrArg",
"Matroid.E",
"id",
"And",
"Set.instEmptyCollection",
"Matroid... | [
"α : Type u_1\nM : Matroid α\nE : Set α\nh : M = loopyOn E\n⊢ (loopyOn E).closure ∅ = E ∧ (loopyOn E).E = E"
] | rw [h, loops] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Combinatorics.Matroid.Closure | {
"line": 374,
"column": 4
} | {
"line": 374,
"column": 18
} | {
"line": 374,
"column": 18
} | [
{
"pp": "α : Type u_2\nM : Matroid α\nI : Set α\nx : α\nhI : M.Indep I\n⊢ ¬M.Indep (insert x I) ∧ x ∈ M.E ∨ x ∈ I ↔ x ∈ M.E ∧ (M.Indep (insert x I) → x ∈ I)",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Matroid.E",
"Membership.mem",
"M... | [
"α : Type u_2\nM : Matroid α\nI : Set α\nx : α\nhI : M.Indep I\n⊢ ¬M.Indep (insert x I) ∧ x ∈ M.E ∨ x ∈ I ↔ x ∈ M.E ∧ (¬M.Indep (insert x I) ∨ x ∈ I)"
] | imp_iff_not_or | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Combinatorics.Matroid.Loop | {
"line": 402,
"column": 11
} | {
"line": 402,
"column": 57
} | {
"line": 402,
"column": 58
} | [
{
"pp": "case inr\nα : Type u_1\nM : Matroid α\ne f : α\nhe : M.IsNonloop e\nhf : M.IsNonloop f\nhne : e ≠ f\n⊢ M.closure {e} = M.closure {f} ↔ e = f ∨ ¬M.Indep {e, f}",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Matroid.Indep",
"Set.instSin... | [
"case inr\nα : Type u_1\nM : Matroid α\ne f : α\nhe : M.IsNonloop e\nhf : M.IsNonloop f\nhne : e ≠ f\n⊢ M.IsCircuit {e, f} ↔ e = f ∨ ¬M.Indep {e, f}"
] | he.closure_eq_closure_iff_isCircuit_of_ne hne, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Combinatorics.Matroid.Closure | {
"line": 513,
"column": 2
} | {
"line": 513,
"column": 21
} | {
"line": 514,
"column": 2
} | [
{
"pp": "α : Type u_2\nM : Matroid α\nι : Type u_4\nA : Set ι\nhA : A.Nonempty\nI : ι → Set α\nh : M.Indep (⋃ i ∈ A, I i)\n⊢ M.closure (⋂ i ∈ A, I i) = ⋂ i ∈ A, M.closure (I i)",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Set.Elem",
"Set.Nonempty.coe_sort",
"Nonempty"... | [
"α : Type u_2\nM : Matroid α\nι : Type u_4\nA : Set ι\nhA : A.Nonempty\nI : ι → Set α\nh : M.Indep (⋃ i ∈ A, I i)\nthis : Nonempty ↑A\n⊢ M.closure (⋂ i ∈ A, I i) = ⋂ i ∈ A, M.closure (I i)"
] | have := hA.coe_sort | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Combinatorics.Matroid.Circuit | {
"line": 653,
"column": 4
} | {
"line": 657,
"column": 50
} | {
"line": 658,
"column": 2
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nC : Set α\ne : α\nK : Set α\nhC : M.IsCircuit C\nhe : C ∩ K = {e}\nheC : e ∈ C\nhK : ¬M.Spanning (M.E \\ K) ∧ ∀ ⦃t : Set α⦄, t ⊂ K → M.Spanning (M.E \\ t)\nhKe : M.Spanning (M.E \\ (K \\ {e}))\n⊢ M.closure (M.E \\ K ∪ {e}) ⊆ M.closure (M.E \\ K)",
"ppTerm": "?m.89",
... | [] | refine (M.closure_subset_closure (subset_union_left (t := C))).trans ?_
rw [union_assoc, singleton_union, insert_eq_of_mem heC, ← closure_union_congr_right
(hC.closure_sdiff_singleton_eq e), union_eq_self_of_subset_right]
rw [← he, sdiff_self_inter]
exact sdiff_subset_sdiff_left hC.subset_ground | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Matroid.Circuit | {
"line": 653,
"column": 4
} | {
"line": 657,
"column": 50
} | {
"line": 658,
"column": 2
} | [
{
"pp": "α : Type u_1\nM : Matroid α\nC : Set α\ne : α\nK : Set α\nhC : M.IsCircuit C\nhe : C ∩ K = {e}\nheC : e ∈ C\nhK : ¬M.Spanning (M.E \\ K) ∧ ∀ ⦃t : Set α⦄, t ⊂ K → M.Spanning (M.E \\ t)\nhKe : M.Spanning (M.E \\ (K \\ {e}))\n⊢ M.closure (M.E \\ K ∪ {e}) ⊆ M.closure (M.E \\ K)",
"ppTerm": "?m.89",
... | [] | refine (M.closure_subset_closure (subset_union_left (t := C))).trans ?_
rw [union_assoc, singleton_union, insert_eq_of_mem heC, ← closure_union_congr_right
(hC.closure_sdiff_singleton_eq e), union_eq_self_of_subset_right]
rw [← he, sdiff_self_inter]
exact sdiff_subset_sdiff_left hC.subset_ground | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Matroid.Closure | {
"line": 950,
"column": 45
} | {
"line": 950,
"column": 59
} | {
"line": 950,
"column": 59
} | [
{
"pp": "α : Type u_2\nM M' : Matroid α\nh : M.E = M'.E\nhsp : ∀ S ⊆ M.E, M.Spanning S ↔ M'.Spanning S\nS : Set α\nhSE : S ⊆ M.E\n⊢ M.Spanning S ↔ M'.Spanning S",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Iff.rfl",
"id",
"Iff",
... | [] | rw [hsp _ hSE] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Combinatorics.Matroid.Closure | {
"line": 950,
"column": 45
} | {
"line": 950,
"column": 59
} | {
"line": 950,
"column": 59
} | [
{
"pp": "α : Type u_2\nM M' : Matroid α\nh : M.E = M'.E\nhsp : ∀ S ⊆ M.E, M.Spanning S ↔ M'.Spanning S\nS : Set α\nhSE : S ⊆ M.E\n⊢ M.Spanning S ↔ M'.Spanning S",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Iff.rfl",
"id",
"Iff",
... | [] | rw [hsp _ hSE] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Matroid.Closure | {
"line": 950,
"column": 45
} | {
"line": 950,
"column": 59
} | {
"line": 950,
"column": 59
} | [
{
"pp": "α : Type u_2\nM M' : Matroid α\nh : M.E = M'.E\nhsp : ∀ S ⊆ M.E, M.Spanning S ↔ M'.Spanning S\nS : Set α\nhSE : S ⊆ M.E\n⊢ M.Spanning S ↔ M'.Spanning S",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Iff.rfl",
"id",
"Iff",
... | [] | rw [hsp _ hSE] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Matroid.Rank.Cardinal | {
"line": 303,
"column": 4
} | {
"line": 303,
"column": 28
} | {
"line": 303,
"column": 29
} | [
{
"pp": "α : Type u\nM : Matroid α\ninst✝ : M.InvariantCardinalRank\nX Y Ii : Set α\nhIi : M.IsBasis' Ii (X ∩ Y)\nIX : Set α\nhIX : M.IsBasis' IX X\nhIX' : Ii ⊆ IX\nIY : Set α\nhIY : M.IsBasis' IY Y\nhIY' : Ii ⊆ IY\n⊢ #↑Ii + M.cRk (IX ∪ IY) ≤ #↑IX + M.cRk Y",
"ppTerm": "?m.142",
"assigned": true,
"u... | [
"α : Type u\nM : Matroid α\ninst✝ : M.InvariantCardinalRank\nX Y Ii : Set α\nhIi : M.IsBasis' Ii (X ∩ Y)\nIX : Set α\nhIX : M.IsBasis' IX X\nhIX' : Ii ⊆ IX\nIY : Set α\nhIY : M.IsBasis' IY Y\nhIY' : Ii ⊆ IY\n⊢ #↑Ii + M.cRk (IX ∪ IY) ≤ #↑IX + #↑IY"
] | ← hIY.cardinalMk_eq_cRk, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.AlgebraicIndependent.Transcendental | {
"line": 93,
"column": 54
} | {
"line": 93,
"column": 71
} | {
"line": 93,
"column": 71
} | [
{
"pp": "R : Type u_3\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\n⊢ ¬trdeg R A = 0 ↔ ¬Algebra.IsAlgebraic R A",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Cardinal",
"congrArg",
"id",
"Algebra.IsAlgebraic",
"... | [
"R : Type u_3\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\n⊢ ¬Algebra.IsAlgebraic R A ↔ ¬Algebra.IsAlgebraic R A"
] | trdeg_eq_zero_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.SeparableDegree | {
"line": 113,
"column": 2
} | {
"line": 120,
"column": 44
} | {
"line": 122,
"column": 0
} | [
{
"pp": "F : Type u_1\ninst✝¹ : Field F\nq : ℕ\nhq : NeZero q\ninst✝ : CharP F q\ng g' : F[X]\nm m' : ℕ\nh_expand : (expand F (q ^ m)) g = (expand F (q ^ m')) g'\nhg : g.Separable\nhg' : g'.Separable\n⊢ g.natDegree = g'.natDegree",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mp... | [] | wlog hm : m ≤ m'
· exact (this q g' g m' m h_expand.symm hg' hg (le_of_not_ge hm)).symm
obtain ⟨s, rfl⟩ := exists_add_of_le hm
rw [pow_add, expand_mul, expand_inj (pow_pos (NeZero.pos q) m)] at h_expand
subst h_expand
rcases isUnit_or_eq_zero_of_separable_expand q s (NeZero.pos q) hg with (h | rfl)
· rw [na... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.SeparableDegree | {
"line": 113,
"column": 2
} | {
"line": 120,
"column": 44
} | {
"line": 122,
"column": 0
} | [
{
"pp": "F : Type u_1\ninst✝¹ : Field F\nq : ℕ\nhq : NeZero q\ninst✝ : CharP F q\ng g' : F[X]\nm m' : ℕ\nh_expand : (expand F (q ^ m)) g = (expand F (q ^ m')) g'\nhg : g.Separable\nhg' : g'.Separable\n⊢ g.natDegree = g'.natDegree",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mp... | [] | wlog hm : m ≤ m'
· exact (this q g' g m' m h_expand.symm hg' hg (le_of_not_ge hm)).symm
obtain ⟨s, rfl⟩ := exists_add_of_le hm
rw [pow_add, expand_mul, expand_inj (pow_pos (NeZero.pos q) m)] at h_expand
subst h_expand
rcases isUnit_or_eq_zero_of_separable_expand q s (NeZero.pos q) hg with (h | rfl)
· rw [na... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.AlgebraicIndependent.Transcendental | {
"line": 231,
"column": 2
} | {
"line": 231,
"column": 71
} | {
"line": 232,
"column": 2
} | [
{
"pp": "ι : Type u_1\nR : Type u_3\nA : Type v\nx : ι → A\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\nhx : AlgebraicIndependent R x\ns : Set ι\ni : ι\nhi : i ∉ s\n⊢ Transcendental (↥(adjoin R (x '' s))) (x i)",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Subal... | [
"ι : Type u_1\nR : Type u_3\nA : Type v\nx : ι → A\ninst✝² : CommRing R\ninst✝¹ : CommRing A\ninst✝ : Algebra R A\nhx : AlgebraicIndependent R x\ns : Set ι\ni : ι\nhi : i ∉ s\n⊢ (AlgebraicIndependent ↥(adjoin R (x '' s)) fun i_1 ↦ x ↑i_1) ↔ Transcendental (↥(adjoin R (x '' s))) (x i)"
] | convert ← hx.adjoin_of_disjoint (Set.disjoint_singleton_right.mpr hi) | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convert_1 | Mathlib.Tactic.convert |
Mathlib.FieldTheory.SeparableClosure | {
"line": 104,
"column": 61
} | {
"line": 106,
"column": 38
} | {
"line": 108,
"column": 0
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nK : Type w\ninst✝¹ : Field K\ninst✝ : Algebra F K\ni : E →ₐ[F] K\n⊢ comap i (separableClosure F K) = separableClosure F E",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"map_mem_separableClosu... | [] | by
ext x
exact map_mem_separableClosure_iff i | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.SeparableClosure | {
"line": 361,
"column": 4
} | {
"line": 361,
"column": 48
} | {
"line": 362,
"column": 4
} | [
{
"pp": "F : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\ninst✝ : Algebra.EssFiniteType F E\nd : Finset E → ℕ := fun s ↦ finInsepDegree (↥(adjoin F ↑s)) E\n⊢ {s | IsTranscendenceBasis F Subtype.val}.Nonempty",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
... | [
"F : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\ninst✝ : Algebra.EssFiniteType F E\nd : Finset E → ℕ := fun s ↦ finInsepDegree (↥(adjoin F ↑s)) E\ns : Finset E\nhs : adjoin F ↑s = ⊤\n⊢ {s | IsTranscendenceBasis F Subtype.val}.Nonempty"
] | have ⟨s, hs⟩ := IntermediateField.fg_top F E | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis | {
"line": 418,
"column": 6
} | {
"line": 418,
"column": 25
} | {
"line": 418,
"column": 26
} | [
{
"pp": "ι : Type u\nR : Type u_1\nA : Type w\nx : ι → A\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors A\nhx : IsTranscendenceBasis R x\nthis : FaithfulSMul R A\n⊢ lift.{w, u} #ι = lift.{u, w} (trdeg R A)",
"ppTerm": "?m.37",
"assigned": t... | [
"ι : Type u\nR : Type u_1\nA : Type w\nx : ι → A\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors A\nhx : IsTranscendenceBasis R x\nthis : FaithfulSMul R A\n⊢ lift.{w, u} #ι = lift.{u, w} (matroid R A).cRank"
] | ← matroid_cRank_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis | {
"line": 513,
"column": 6
} | {
"line": 513,
"column": 25
} | {
"line": 513,
"column": 26
} | [
{
"pp": "ι : Type u\nR : Type u_1\nA : Type w\nx : ι → A\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors A\nhx : AlgebraicIndependent R x\nfin : trdeg R A < ℵ₀\nle : lift.{u, w} (trdeg R A) ≤ lift.{w, u} #ι\nthis : FaithfulSMul R A\n⊢ IsTranscendenc... | [
"ι : Type u\nR : Type u_1\nA : Type w\nx : ι → A\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial R\ninst✝ : NoZeroDivisors A\nhx : AlgebraicIndependent R x\nle : lift.{u, w} (trdeg R A) ≤ lift.{w, u} #ι\nthis : FaithfulSMul R A\nfin : (matroid R A).cRank < ℵ₀\n⊢ IsTranscendenceB... | ← matroid_cRank_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis | {
"line": 546,
"column": 41
} | {
"line": 548,
"column": 31
} | {
"line": 550,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type v\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : Algebra R S\ninst✝⁷ : Nontrivial R\nA : Type v\ninst✝⁶ : CommRing A\ninst✝⁵ : NoZeroDivisors A\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra S A\ninst✝² : FaithfulSMul R S\ninst✝¹ : FaithfulSMul S A\ninst✝ : IsScalarTower R S A\n⊢ ... | [] | by
rw [← (trdeg R S).lift_id, ← (trdeg S A).lift_id, ← (trdeg R A).lift_id]
exact lift_trdeg_add_eq R S A | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.SeparableDegree | {
"line": 581,
"column": 4
} | {
"line": 581,
"column": 38
} | {
"line": 582,
"column": 4
} | [
{
"pp": "case zero\nF : Type u\ninst✝² : Field F\nf : F[X]\nhm : f.Monic\nhi : Irreducible f\nh : f.natSepDegree = 1\nn : ℕ\ny : F\ninst✝¹ : CharZero F\ninst✝ : ExpChar F 1\nhf : f = X ^ 1 ^ n - C y\n⊢ ∃ n y, (n = 0 ∨ y ∉ (frobenius F 1).range) ∧ f = X ^ 1 ^ n - C y",
"ppTerm": "?zero",
"assigned": true... | [
"case zero\nF : Type u\ninst✝² : Field F\nf : F[X]\nhm : f.Monic\nhi : Irreducible f\nh : f.natSepDegree = 1\nn : ℕ\ny : F\ninst✝¹ : CharZero F\ninst✝ : ExpChar F 1\nhf : f = X - C y\n⊢ ∃ n y, (n = 0 ∨ y ∉ (frobenius F 1).range) ∧ f = X - C y"
] | simp_rw [one_pow, pow_one] at hf ⊢ | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.FieldTheory.Galois.Basic | {
"line": 111,
"column": 36
} | {
"line": 111,
"column": 38
} | {
"line": 111,
"column": 38
} | [
{
"pp": "F : Type u_1\ninst✝⁴ : Field F\nE : Type u_2\ninst✝³ : Field E\ninst✝² : Algebra F E\ninst✝¹ : FiniteDimensional F E\ninst✝ : IsGalois F E\nα : E\nhα : F⟮α⟯ = ⊤\ne : E\n⊢ e ∈ F⟮α⟯",
"ppTerm": "?m.60",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSup",
... | [
"F : Type u_1\ninst✝⁴ : Field F\nE : Type u_2\ninst✝³ : Field E\ninst✝² : Algebra F E\ninst✝¹ : FiniteDimensional F E\ninst✝ : IsGalois F E\nα : E\nhα : F⟮α⟯ = ⊤\ne : E\n⊢ e ∈ ⊤"
] | hα | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.FieldTheory.PurelyInseparable.Basic | {
"line": 680,
"column": 6
} | {
"line": 680,
"column": 11
} | {
"line": 681,
"column": 6
} | [
{
"pp": "case inl.tmul\nk : Type u_1\nK : Type u_2\nR : Type u_3\ninst✝⁶ : Field k\ninst✝⁵ : Field K\ninst✝⁴ : Algebra k K\ninst✝³ : CommRing R\ninst✝² : Algebra k R\ninst✝¹ : IsPurelyInseparable k K\nq : ℕ\ninst✝ : ExpChar k q\na✝ : Nontrivial (R ⊗[k] K)\nhq : Nat.Prime q\nx : R\ny : K\nn : ℕ\na : k\nha : (alg... | [
"case h\nk : Type u_1\nK : Type u_2\nR : Type u_3\ninst✝⁶ : Field k\ninst✝⁵ : Field K\ninst✝⁴ : Algebra k K\ninst✝³ : CommRing R\ninst✝² : Algebra k R\ninst✝¹ : IsPurelyInseparable k K\nq : ℕ\ninst✝ : ExpChar k q\na✝ : Nontrivial (R ⊗[k] K)\nhq : Nat.Prime q\nx : R\ny : K\nn : ℕ\na : k\nha : (algebraMap k K) a = y ... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.FieldTheory.SeparableDegree | {
"line": 676,
"column": 4
} | {
"line": 676,
"column": 9
} | {
"line": 677,
"column": 4
} | [
{
"pp": "case refine_1\nF : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Ring E\ninst✝¹ : IsDomain E\ninst✝ : Algebra F E\nq : ℕ\nhF : ExpChar F q\nx : E\nthis✝ : ExpChar E q\nthis : ExpChar E[X] q\nh✝ : (minpoly F x).natSepDegree = 1\nn : ℕ\ny : F\nh : minpoly F x = X ^ q ^ n - C y\nhx : (algebraMap F E) y =... | [
"case h\nF : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Ring E\ninst✝¹ : IsDomain E\ninst✝ : Algebra F E\nq : ℕ\nhF : ExpChar F q\nx : E\nthis✝ : ExpChar E q\nthis : ExpChar E[X] q\nh✝ : (minpoly F x).natSepDegree = 1\nn : ℕ\ny : F\nh : minpoly F x = X ^ q ^ n - C y\nhx : (algebraMap F E) y = x ^ q ^ n\n⊢ Polyn... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.FieldTheory.Galois.Basic | {
"line": 656,
"column": 67
} | {
"line": 662,
"column": 86
} | {
"line": 664,
"column": 0
} | [
{
"pp": "F : Type u_1\nE : Type u_2\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\nK L : IntermediateField F E\ninst✝ : Normal F ↥K\nh : K ⊔ L = ⊤\n⊢ Function.Injective ⇑(restrictRestrictAlgEquivMapHom F (↥K) (↥L) E)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Iff.mp... | [] | by
refine (injective_iff_map_eq_one _).mpr fun φ hφ ↦ ?_
suffices h : MulSemiringAction.toAlgAut Gal(E/L) F E φ = 1 by
rw [AlgEquiv.ext_iff] at h ⊢
assumption
rw [← Subgroup.mem_bot, ← fixingSubgroup_top, ← h, fixingSubgroup_sup]
exact ⟨fun x ↦ (hφ ▸ restrictRestrictAlgEquivMapHom_apply K L φ x).symm, φ... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Galois.Basic | {
"line": 715,
"column": 8
} | {
"line": 715,
"column": 51
} | {
"line": 715,
"column": 51
} | [
{
"pp": "case isFalse\nF : Type u_1\nE' : Type u_3\ninst✝³ : Field F\ninst✝² : Field E'\ninst✝¹ : Algebra F E'\nL : IntermediateField F E'\ninst✝ : IsGalois F E'\nthis : ∀ (L : IntermediateField F E'), FiniteDimensional F ↥L → finrank F ↥L = L.fixingSubgroup.index\nhnfd : ¬FiniteDimensional F ↥L\n⊢ finrank F ↥L... | [
"case isFalse\nF : Type u_1\nE' : Type u_3\ninst✝³ : Field F\ninst✝² : Field E'\ninst✝¹ : Algebra F E'\nL : IntermediateField F E'\ninst✝ : IsGalois F E'\nthis : ∀ (L : IntermediateField F E'), FiniteDimensional F ↥L → finrank F ↥L = L.fixingSubgroup.index\nhnfd : ¬FiniteDimensional F ↥L\n⊢ 0 = L.fixingSubgroup.ind... | Module.finrank_of_infinite_dimensional hnfd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Unramified.Basic | {
"line": 219,
"column": 49
} | {
"line": 219,
"column": 98
} | {
"line": 219,
"column": 98
} | [
{
"pp": "R : Type u_1\ninst✝¹⁰ : CommRing R\nA : Type u_2\ninst✝⁹ : CommRing A\ninst✝⁸ : Algebra R A\nB : Type u_3\ninst✝⁷ : CommRing B\ninst✝⁶ : Algebra R B\ninst✝⁵ : Algebra A B\ninst✝⁴ : IsScalarTower R A B\ninst✝³ : FormallyUnramified R A\ninst✝² : FormallyUnramified A B\nC : Type u_3\ninst✝¹ : CommRing C\n... | [] | by rw [← AlgHom.comp_assoc, e, AlgHom.comp_assoc] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Unramified.Finite | {
"line": 80,
"column": 40
} | {
"line": 80,
"column": 45
} | {
"line": 80,
"column": 45
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\ninst✝ : EssFiniteType R S\nthis : ∀ (t : S ⊗[R] S), (TensorProduct.lmul' R) t = 1 ↔ 1 - t ∈ KaehlerDifferential.ideal R S\ne : S ⊗[R] S\nhe₁ : IsIdempotentElem e\nhe₂ : Ideal.span (Set.range fun s ↦ 1 ⊗ₜ[R] s - ... | [
"R : Type u_1\nS : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\ninst✝ : EssFiniteType R S\nthis : ∀ (t : S ⊗[R] S), (TensorProduct.lmul' R) t = 1 ↔ 1 - t ∈ KaehlerDifferential.ideal R S\ne : S ⊗[R] S\nhe₁ : IsIdempotentElem e\nhe₂ : Ideal.span (Set.range fun s ↦ 1 ⊗ₜ[R] s - s ⊗ₜ[R] 1) =... | ← he₂ | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Smooth.Basic | {
"line": 173,
"column": 2
} | {
"line": 173,
"column": 65
} | {
"line": 174,
"column": 2
} | [
{
"pp": "R : Type u\nA : Type v\ninst✝⁷ : CommRing R\ninst✝⁶ : CommRing A\ninst✝⁵ : Algebra R A\nB : Type u_1\ninst✝⁴ : CommRing B\ninst✝³ : Algebra R B\nC : Type u_4\ninst✝² : CommRing C\ninst✝¹ : Algebra R C\ninst✝ : FormallySmooth R A\nf : A →ₐ[R] C\ng : B →ₐ[R] C\nhg : Function.Surjective ⇑g\nhg' : IsNilpot... | [
"R : Type u\nA : Type v\ninst✝⁷ : CommRing R\ninst✝⁶ : CommRing A\ninst✝⁵ : Algebra R A\nB : Type u_1\ninst✝⁴ : CommRing B\ninst✝³ : Algebra R B\nC : Type u_4\ninst✝² : CommRing C\ninst✝¹ : Algebra R C\ninst✝ : FormallySmooth R A\nf : A →ₐ[R] C\ng : B →ₐ[R] C\nhg : Function.Surjective ⇑g\nhg' : IsNilpotent (RingHom... | apply (Ideal.quotientKerAlgEquivOfSurjective hg).symm.injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.GroupTheory.Submonoid.Inverses | {
"line": 137,
"column": 91
} | {
"line": 138,
"column": 26
} | {
"line": 138,
"column": 27
} | [
{
"pp": "M : Type u_1\ninst✝ : CommMonoid M\nS : Submonoid M\nx y : ↥S.leftInv\n⊢ ↑y * (↑x * (↑(S.fromLeftInv x) * ↑(S.fromLeftInv y))) = 1",
"ppTerm": "?m.50",
"assigned": true,
"usedConstants": [
"Submonoid.fromLeftInv",
"Eq.mpr",
"MulOne.toOne",
"Semigroup.toMul",
"H... | [
"M : Type u_1\ninst✝ : CommMonoid M\nS : Submonoid M\nx y : ↥S.leftInv\n⊢ ↑y * (↑x * ↑(S.fromLeftInv x) * ↑(S.fromLeftInv y)) = 1"
] | ←
mul_assoc (x : M), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Smooth.Kaehler | {
"line": 165,
"column": 4
} | {
"line": 167,
"column": 70
} | {
"line": 168,
"column": 4
} | [
{
"pp": "R : Type u_1\nP : Type u_2\nS : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing P\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R P\ninst✝² : Algebra P S\nl : S ⊗[P] Ω[P⁄R] →ₗ[P] ↥(RingHom.ker (algebraMap P S))\nhl : l ∘ₗ kerToTensor R P S = LinearMap.id\nσ : S → P\nhσ : ∀ (x : S), (algebraMap P S) (σ x) = x... | [
"R : Type u_1\nP : Type u_2\nS : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing P\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R P\ninst✝² : Algebra P S\nl : S ⊗[P] Ω[P⁄R] →ₗ[P] ↥(RingHom.ker (algebraMap P S))\nhl : l ∘ₗ kerToTensor R P S = LinearMap.id\nσ : S → P\nhσ : ∀ (x : S), (algebraMap P S) (σ x) = x\ninst✝¹ : A... | simp only [sectionOfRetractionKerToTensorAux_prop l hl (σ (a * b)) (σ a * σ b) (by simp [hσ]),
Derivation.leibniz, tmul_add, tmul_smul, map_add, map_smul, Submodule.coe_add,
SetLike.val_smul, smul_eq_mul, mul_sub, sub_mul, this, sub_zero] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Smooth.Kaehler | {
"line": 357,
"column": 4
} | {
"line": 362,
"column": 65
} | {
"line": 363,
"column": 2
} | [
{
"pp": "case refine_4\nR : Type u_1\nP : Type u_2\nS : Type u_3\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing P\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R P\ninst✝² : Algebra P S\ninst✝¹ : Algebra R S\ninst✝ : IsScalarTower R P S\nhf' : RingHom.ker (algebraMap P S) ^ 2 = ⊥\nhf : Surjective ⇑(algebraMap P S)\nP' : Type... | [] | intro f
ext x
simp only [AlgebraTensorModule.curry_apply, Derivation.coe_comp, LinearMap.coe_comp,
LinearMap.coe_restrictScalars, Derivation.coeFn_coe, Function.comp_apply, curry_apply,
LinearEquiv.coe_coe, LinearMap.coe_mk, AddHom.coe_coe,
LinearEquiv.apply_symm_apply, LinearEquiv.symm_apply_... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.