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.RingTheory.HahnSeries.HEval | {
"line": 83,
"column": 2
} | {
"line": 83,
"column": 17
} | {
"line": 85,
"column": 0
} | [
{
"pp": "Γ : Type u_1\nR : Type u_2\nV : Type u_3\ninst✝⁵ : AddCommMonoid Γ\ninst✝⁴ : LinearOrder Γ\ninst✝³ : IsOrderedCancelAddMonoid Γ\ninst✝² : CommRing R\ninst✝¹ : CommRing V\ninst✝ : Algebra R V\nx : V⟦Γ⟧\nf : PowerSeries R\nr : R\nn : ℕ\n⊢ (powerSeriesFamily x (r • f)) n = ((HahnSeries.single 0) r • power... | [] | simp [mul_smul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.HahnSeries.HEval | {
"line": 98,
"column": 4
} | {
"line": 98,
"column": 29
} | {
"line": 99,
"column": 4
} | [
{
"pp": "case pos\nΓ : Type u_1\nR : Type u_2\nV : Type u_3\ninst✝⁵ : AddCommMonoid Γ\ninst✝⁴ : LinearOrder Γ\ninst✝³ : IsOrderedCancelAddMonoid Γ\ninst✝² : CommRing R\ninst✝¹ : CommRing V\ninst✝ : Algebra R V\nx : V⟦Γ⟧\na b : PowerSeries R\ng : Γ\nh : 0 < x.orderTop\nn : ℕ\nhn : ((powerSeriesFamily x (a * b)) ... | [
"case pos\nΓ : Type u_1\nR : Type u_2\nV : Type u_3\ninst✝⁵ : AddCommMonoid Γ\ninst✝⁴ : LinearOrder Γ\ninst✝³ : IsOrderedCancelAddMonoid Γ\ninst✝² : CommRing R\ninst✝¹ : CommRing V\ninst✝ : Algebra R V\nx : V⟦Γ⟧\na b : PowerSeries R\ng : Γ\nh : 0 < x.orderTop\nn : ℕ\nhn : ((powerSeriesFamily x (a * b)) n).coeff g ≠... | obtain ⟨c, hcn, hc⟩ := he | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.RingTheory.FormalGroup.Basic | {
"line": 109,
"column": 82
} | {
"line": 109,
"column": 98
} | {
"line": 109,
"column": 98
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nσ : Type u_3\nF : FormalGroup R\ninst✝ : F.IsComm\nf g : MvPowerSeries σ R\nhf : PowerSeries.HasSubst f\nhg : PowerSeries.HasSubst g\n⊢ ∀ (s : Fin (Nat.succ 0).succ), IsNilpotent (constantCoeff (![f, g] s))",
"ppTerm": "?m.71",
"assigned": true,
"usedConst... | [] | by simp [hf, hg] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.HahnSeries.PowerSeries | {
"line": 72,
"column": 4
} | {
"line": 78,
"column": 86
} | {
"line": 80,
"column": 0
} | [
{
"pp": "Γ : Type u_1\nR : Type u_2\ninst✝ : Semiring R\nf g : R⟦ℕ⟧\nn : ℕ\n⊢ ∑ ij ∈ Finset.antidiagonal ⋯ ⋯ n, f.coeff ij.1 * g.coeff ij.2 =\n ∑ x ∈ HasAntidiagonal.antidiagonal n, f.coeff x.1 * g.coeff x.2",
"ppTerm": "?m.77",
"assigned": true,
"usedConstants": [
"HahnSeries.support",
... | [] | refine (sum_filter_ne_zero _).symm.trans <| (sum_congr ?_ fun _ _ ↦ rfl).trans <|
sum_filter_ne_zero _
ext m
simp only [HasAntidiagonal.mem_antidiagonal, Finset.mem_antidiagonal, and_congr_left_iff,
mem_filter, mem_support]
rintro h
rw [and_iff_right (left_ne_zero_of_mul h), and_iff_right (r... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.HahnSeries.PowerSeries | {
"line": 72,
"column": 4
} | {
"line": 78,
"column": 86
} | {
"line": 80,
"column": 0
} | [
{
"pp": "Γ : Type u_1\nR : Type u_2\ninst✝ : Semiring R\nf g : R⟦ℕ⟧\nn : ℕ\n⊢ ∑ ij ∈ Finset.antidiagonal ⋯ ⋯ n, f.coeff ij.1 * g.coeff ij.2 =\n ∑ x ∈ HasAntidiagonal.antidiagonal n, f.coeff x.1 * g.coeff x.2",
"ppTerm": "?m.77",
"assigned": true,
"usedConstants": [
"HahnSeries.support",
... | [] | refine (sum_filter_ne_zero _).symm.trans <| (sum_congr ?_ fun _ _ ↦ rfl).trans <|
sum_filter_ne_zero _
ext m
simp only [HasAntidiagonal.mem_antidiagonal, Finset.mem_antidiagonal, and_congr_left_iff,
mem_filter, mem_support]
rintro h
rw [and_iff_right (left_ne_zero_of_mul h), and_iff_right (r... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.HahnSeries.Summable | {
"line": 788,
"column": 6
} | {
"line": 788,
"column": 14
} | {
"line": 788,
"column": 15
} | [
{
"pp": "Γ : Type u_1\nR : Type u_3\ninst✝³ : AddCommMonoid Γ\ninst✝² : LinearOrder Γ\ninst✝¹ : IsOrderedCancelAddMonoid Γ\ninst✝ : CommRing R\nx y : R⟦Γ⟧\nr : R\nhr : r * x.leadingCoeff = 1\nhxy : x = y + (single x.order) x.leadingCoeff\noinv : Γ\nhxo : oinv + x.order = 0\n⊢ 1 - (single oinv) r * (y + (single ... | [
"Γ : Type u_1\nR : Type u_3\ninst✝³ : AddCommMonoid Γ\ninst✝² : LinearOrder Γ\ninst✝¹ : IsOrderedCancelAddMonoid Γ\ninst✝ : CommRing R\nx y : R⟦Γ⟧\nr : R\nhr : r * x.leadingCoeff = 1\nhxy : x = y + (single x.order) x.leadingCoeff\noinv : Γ\nhxo : oinv + x.order = 0\n⊢ 1 - ((single oinv) r * y + (single oinv) r * (s... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Henselian | {
"line": 193,
"column": 12
} | {
"line": 193,
"column": 36
} | {
"line": 193,
"column": 37
} | [
{
"pp": "case succ\nR : Type u_1\ninst✝¹ : CommRing R\nI : Ideal R\ninst✝ : IsAdicComplete I R\nf : R[X]\nx✝ : f.Monic\na₀ : R\nh₁ : Polynomial.eval a₀ f ∈ I\nh₂ : IsUnit ((Ideal.Quotient.mk I) (Polynomial.eval a₀ (derivative f)))\nf' : R[X] := derivative f\nc : ℕ → R := fun n ↦ Nat.recOn n a₀ fun x b ↦ b - Pol... | [
"case succ\nR : Type u_1\ninst✝¹ : CommRing R\nI : Ideal R\ninst✝ : IsAdicComplete I R\nf : R[X]\nx✝ : f.Monic\na₀ : R\nh₁ : Polynomial.eval a₀ f ∈ I\nh₂ : IsUnit ((Ideal.Quotient.mk I) (Polynomial.eval a₀ (derivative f)))\nf' : R[X] := derivative f\nc : ℕ → R := fun n ↦ Nat.recOn n a₀ fun x b ↦ b - Polynomial.eval... | ← taylor_eval_sub (c n), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Ideal.IsPrincipalPowQuotient | {
"line": 62,
"column": 4
} | {
"line": 68,
"column": 48
} | {
"line": 69,
"column": 2
} | [
{
"pp": "case mpr\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nI : Ideal R\nh : Submodule.IsPrincipal I\nh' : I ≠ ⊥\nn : ℕ\nf : ↥(I ^ n) →ₗ[R] ↥(I ^ n) ⧸ I • ⊤ := (I • ⊤).mkQ\nϖ : R := ⋯.choose\nhI : I = span {ϖ}\nhϖ : ϖ ^ n ∈ I ^ n\ng : R →ₗ[R] ↥(I ^ n) := LinearMap.codRestrict (I ^ n) (LinearMap.mu... | [] | · rw [← pow_succ', hI, Ideal.span_singleton_pow, Ideal.mem_span_singleton] at hx
obtain ⟨y, hy⟩ := hx
rw [mul_comm, pow_succ, mul_assoc, mul_right_inj' (pow_ne_zero _ _)] at hy
· rw [hI, Ideal.mem_span_singleton]
exact ⟨y, hy⟩
· contrapose h'
rw [hI, h', Ideal.span_singleton_eq_b... | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Ideal.UFD | {
"line": 100,
"column": 2
} | {
"line": 100,
"column": 61
} | {
"line": 101,
"column": 2
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝⁵ : CommRing R\ninst✝⁴ : IsDomain R\ninst✝³ : IsNoetherianRing R\nx : R\nhx : Prime x\nS : Type u_2\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\ninst✝ : IsLocalization.Away x S\nthis : IsDomain S\nx✝ : UniqueFactorizationMonoid S\np : Ideal R\nhp : p.IsPrime\nh1 : p.height =... | [
"case neg\nR : Type u_1\ninst✝⁵ : CommRing R\ninst✝⁴ : IsDomain R\ninst✝³ : IsNoetherianRing R\nx : R\nhx : Prime x\nS : Type u_2\ninst✝² : CommRing S\ninst✝¹ : Algebra R S\ninst✝ : IsLocalization.Away x S\nthis : IsDomain S\nx✝ : UniqueFactorizationMonoid S\np : Ideal R\nhp : p.IsPrime\nh1 : p.height = 1\nhxp : x ... | · exact ⟨x, p.eq_span_singleton_of_height_eq_one h1 hxp hx⟩ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.IdealFilter.Basic | {
"line": 144,
"column": 2
} | {
"line": 144,
"column": 36
} | {
"line": 145,
"column": 2
} | [
{
"pp": "A : Type u_1\ninst✝ : Ring A\nF : IdealFilter A\nI J K : Ideal A\nhI : F.IsTorsionQuot I K\nhJ : F.IsTorsionQuot J K\nx : A\nhx : x ∈ K\nI' : Ideal A\nhI'F : I' ∈ F\nhI'x : I' ≤ Submodule.colon I {x}\n⊢ ∃ I_1 ∈ F, I_1 ≤ Submodule.colon (I ⊓ J) {x}",
"ppTerm": "?m.33",
"assigned": true,
"use... | [
"A : Type u_1\ninst✝ : Ring A\nF : IdealFilter A\nI J K : Ideal A\nhI : F.IsTorsionQuot I K\nhJ : F.IsTorsionQuot J K\nx : A\nhx : x ∈ K\nI' : Ideal A\nhI'F : I' ∈ F\nhI'x : I' ≤ Submodule.colon I {x}\nJ' : Ideal A\nhJ'F : J' ∈ F\nhJ'x : J' ≤ Submodule.colon J {x}\n⊢ ∃ I_1 ∈ F, I_1 ≤ Submodule.colon (I ⊓ J) {x}"
] | obtain ⟨J', hJ'F, hJ'x⟩ := hJ x hx | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Topology.Algebra.Category.ProfiniteGrp.Limits | {
"line": 134,
"column": 2
} | {
"line": 135,
"column": 71
} | {
"line": 136,
"column": 2
} | [
{
"pp": "P : ProfiniteGrp.{u}\nx : ↑P.toProfinite.toTop\nh : x ∈ (Hom.hom P.toLimit).ker\nxne1 : ¬x = 1\n⊢ False",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"False",
"InvOneClass.toOne",
"DivInvOneMonoid.toInvOneClass",
"Compl.compl",
"Pro... | [
"P : ProfiniteGrp.{u}\nx : ↑P.toProfinite.toTop\nh : x ∈ (Hom.hom P.toLimit).ker\nxne1 : ¬x = 1\nH : OpenNormalSubgroup ↑P.toProfinite.toTop\nhH : ↑H ⊆ {x}ᶜ\n⊢ False"
] | rcases exist_openNormalSubgroup_sub_open_nhds_of_one (isOpen_compl_singleton)
(Set.mem_compl_singleton_iff.mpr fun a => xne1 a.symm) with ⟨H, hH⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.RingTheory.Ideal.KrullsHeightTheorem | {
"line": 330,
"column": 4
} | {
"line": 333,
"column": 53
} | {
"line": 335,
"column": 0
} | [
{
"pp": "case mpr\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : IsNoetherianRing R\np : Ideal R\ninst✝ : p.IsPrime\nn : ℕ∞\n⊢ (∃ I, p ∈ I.minimalPrimes ∧ Submodule.spanRank I ≤ ↑n) → p.height ≤ n",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"RingHom.instRingHomClass",
"MulOne.... | [] | rintro ⟨I, hp, hI⟩
exact le_trans
(Ideal.height_le_spanRank_toENat_of_mem_minimalPrimes I p hp)
(by simpa using (Cardinal.toENat.monotone' hI)) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Ideal.KrullsHeightTheorem | {
"line": 330,
"column": 4
} | {
"line": 333,
"column": 53
} | {
"line": 335,
"column": 0
} | [
{
"pp": "case mpr\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : IsNoetherianRing R\np : Ideal R\ninst✝ : p.IsPrime\nn : ℕ∞\n⊢ (∃ I, p ∈ I.minimalPrimes ∧ Submodule.spanRank I ≤ ↑n) → p.height ≤ n",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"RingHom.instRingHomClass",
"MulOne.... | [] | rintro ⟨I, hp, hI⟩
exact le_trans
(Ideal.height_le_spanRank_toENat_of_mem_minimalPrimes I p hp)
(by simpa using (Cardinal.toENat.monotone' hI)) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.KrullDimension.Polynomial | {
"line": 57,
"column": 2
} | {
"line": 70,
"column": 80
} | {
"line": 72,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝⁴ : CommRing R\ninst✝³ : IsNoetherianRing R\np : Ideal R\ninst✝² : p.IsMaximal\nP : Ideal R[X]\ninst✝¹ : P.IsMaximal\ninst✝ : P.LiesOver p\n⊢ P.height = p.height + 1",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_ad... | [] | let _ : Field (R ⧸ p) := Quotient.field p
suffices h : (P.map (Ideal.Quotient.mk (Ideal.map (algebraMap R R[X]) p))).height = 1 by
rw [height_eq_height_add_of_liesOver_of_hasGoingDown p, h]
let e : (R[X] ⧸ (p.map (algebraMap R R[X]))) ≃+* (R ⧸ p)[X] :=
(polynomialQuotientEquivQuotientPolynomial p).symm
le... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.KrullDimension.Polynomial | {
"line": 57,
"column": 2
} | {
"line": 70,
"column": 80
} | {
"line": 72,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝⁴ : CommRing R\ninst✝³ : IsNoetherianRing R\np : Ideal R\ninst✝² : p.IsMaximal\nP : Ideal R[X]\ninst✝¹ : P.IsMaximal\ninst✝ : P.LiesOver p\n⊢ P.height = p.height + 1",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_ad... | [] | let _ : Field (R ⧸ p) := Quotient.field p
suffices h : (P.map (Ideal.Quotient.mk (Ideal.map (algebraMap R R[X]) p))).height = 1 by
rw [height_eq_height_add_of_liesOver_of_hasGoingDown p, h]
let e : (R[X] ⧸ (p.map (algebraMap R R[X]))) ≃+* (R ⧸ p)[X] :=
(polynomialQuotientEquivQuotientPolynomial p).symm
le... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.KrullDimension.Polynomial | {
"line": 96,
"column": 2
} | {
"line": 96,
"column": 98
} | {
"line": 97,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommRing R\ninst✝² : IsNoetherianRing R\np : Ideal R\nP : Ideal R[X]\ninst✝¹ : P.IsMaximal\ninst✝ : P.LiesOver p\nthis✝¹ : p.IsPrime\nRₚ : Type u_1 := Localization.AtPrime p\np' : Ideal Rₚ := Ideal.map (algebraMap R Rₚ) p\np'_def : p' = Ideal.map (algebraMap R Rₚ) p\nthis✝ : p'.I... | [
"R : Type u_1\ninst✝³ : CommRing R\ninst✝² : IsNoetherianRing R\np : Ideal R\nP : Ideal R[X]\ninst✝¹ : P.IsMaximal\ninst✝ : P.LiesOver p\nthis✝² : p.IsPrime\nRₚ : Type u_1 := Localization.AtPrime p\np' : Ideal Rₚ := Ideal.map (algebraMap R Rₚ) p\np'_def : p' = Ideal.map (algebraMap R Rₚ) p\nthis✝¹ : p'.IsMaximal\nP... | have : P'.IsMaximal := IsLocalization.isMaximal_of_isMaximal_under (p.primeCompl.map C) Rₚ[X] P' | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.KrullDimension.Regular | {
"line": 40,
"column": 2
} | {
"line": 40,
"column": 9
} | {
"line": 42,
"column": 0
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝² : CommRing R\nM : Type u_2\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nq : LTSeries ↑(support R M)\nhmm : (↑(RelSeries.last q)).asIdeal.IsMaximal\nhm : (↑(RelSeries.last q)).asIdeal ≤ (↑(RelSeries.last q)).asIdeal\n⊢ ∃ p, q.length ≤ p.length ∧ (↑(RelSeries.last p)).asId... | [] | · use q | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.KrullDimension.Regular | {
"line": 191,
"column": 4
} | {
"line": 193,
"column": 62
} | {
"line": 195,
"column": 0
} | [
{
"pp": "case cons\nR : Type u_1\ninst✝⁵ : CommRing R\ninst✝⁴ : IsNoetherianRing R\ninst✝³ : IsLocalRing R\nx : R\nrs' : List R\nih :\n ∀ {M : Type u_2} [inst : AddCommGroup M] [inst_1 : Module R M] [Module.Finite R M],\n Sequence.IsRegular M rs' → supportDim R (M ⧸ ofList rs' • ⊤) + ↑rs'.length = supportDi... | [] | simp [supportDim_eq_of_equiv (Submodule.quotOfListConsSMulTopEquivQuotSMulTopInner M x _),
← supportDim_quotSMulTop_succ_eq_supportDim ((isRegular_cons_iff M _ _).mp reg).1 mem,
← ih ((isRegular_cons_iff M _ _).mp reg).2, ← add_assoc] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.LocalIso | {
"line": 80,
"column": 2
} | {
"line": 80,
"column": 54
} | {
"line": 81,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁸ : CommSemiring R\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nι : Type u_3\nf : ι → S\nh : Ideal.span (Set.range f) = ⊤\nT : ι → Type u_4\ninst✝⁵ : (i : ι) → CommSemiring (T i)\ninst✝⁴ : (i : ι) → Algebra R (T i)\ninst✝³ : (i : ι) → Algebra S (T i)\ninst✝² : ∀ (i :... | [
"R : Type u_1\nS : Type u_2\ninst✝⁸ : CommSemiring R\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nι : Type u_3\nf : ι → S\nh : Ideal.span (Set.range f) = ⊤\nT : ι → Type u_4\ninst✝⁵ : (i : ι) → CommSemiring (T i)\ninst✝⁴ : (i : ι) → Algebra R (T i)\ninst✝³ : (i : ι) → Algebra S (T i)\ninst✝² : ∀ (i : ι), IsScala... | have : ⟨q, hq⟩ ∈ PrimeSpectrum.basicOpen (f i) := hi | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.LocalIso | {
"line": 101,
"column": 74
} | {
"line": 104,
"column": 65
} | {
"line": 106,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\ns : Set S\nh✝ : Ideal.span s = ⊤\nh : ∀ x ∈ s, IsLocalIso R (Localization.Away x)\n⊢ IsLocalIso R S",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Algebra.IsLocalIso.of_span_... | [] | by
have heq : Ideal.span (Set.range fun i : s ↦ i.1) = ⊤ := by simpa
have (i : s) : IsLocalIso R (Localization.Away i.1) := h _ i.property
exact .of_span_range_eq_top _ heq fun i ↦ Localization.Away i.1 | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.LocalProperties.Semilocal | {
"line": 74,
"column": 2
} | {
"line": 75,
"column": 90
} | {
"line": 77,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝¹¹ : CommSemiring R\ninst✝¹⁰ : Finite (MaximalSpectrum R)\nM : Type u_2\ninst✝⁹ : AddCommMonoid M\ninst✝⁸ : Module R M\nRₚ : (P : Ideal R) → [P.IsMaximal] → Type u_3\ninst✝⁷ : (P : Ideal R) → [inst : P.IsMaximal] → CommSemiring (Rₚ P)\ninst✝⁶ : (P : Ideal R) → [inst : P.IsMaximal] → ... | [] | simp_rw [← Module.Finite.iff_fg] at ⊢ H
exact .of_isLocalized_maximal _ _ _ (fun P ↦ N.toLocalized' (Rₚ P) P.primeCompl (f P)) H | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.LocalProperties.Semilocal | {
"line": 74,
"column": 2
} | {
"line": 75,
"column": 90
} | {
"line": 77,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝¹¹ : CommSemiring R\ninst✝¹⁰ : Finite (MaximalSpectrum R)\nM : Type u_2\ninst✝⁹ : AddCommMonoid M\ninst✝⁸ : Module R M\nRₚ : (P : Ideal R) → [P.IsMaximal] → Type u_3\ninst✝⁷ : (P : Ideal R) → [inst : P.IsMaximal] → CommSemiring (Rₚ P)\ninst✝⁶ : (P : Ideal R) → [inst : P.IsMaximal] → ... | [] | simp_rw [← Module.Finite.iff_fg] at ⊢ H
exact .of_isLocalized_maximal _ _ _ (fun P ↦ N.toLocalized' (Rₚ P) P.primeCompl (f P)) H | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.AtPrime.Extension | {
"line": 76,
"column": 2
} | {
"line": 79,
"column": 45
} | {
"line": 81,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝¹⁵ : CommRing R\ninst✝¹⁴ : CommRing S\ninst✝¹³ : Algebra R S\np : Ideal R\ninst✝¹² : p.IsPrime\nRₚ : Type u_3\ninst✝¹¹ : CommRing Rₚ\ninst✝¹⁰ : Algebra R Rₚ\ninst✝⁹ : IsLocalization.AtPrime Rₚ p\ninst✝⁸ : IsLocalRing Rₚ\nSₚ : Type u_4\ninst✝⁷ : CommRing Sₚ\ninst✝⁶ : Alg... | [] | rw [liesOver_iff, eq_comm, ← map_eq_maximalIdeal p, over_def P p]
exact under_map_eq_map_under _
(over_def P p ▸ map_eq_maximalIdeal p Rₚ ▸ maximalIdeal.isMaximal Rₚ)
(isPrime_map_of_liesOver S p Sₚ P).ne_top | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Localization.AtPrime.Extension | {
"line": 76,
"column": 2
} | {
"line": 79,
"column": 45
} | {
"line": 81,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝¹⁵ : CommRing R\ninst✝¹⁴ : CommRing S\ninst✝¹³ : Algebra R S\np : Ideal R\ninst✝¹² : p.IsPrime\nRₚ : Type u_3\ninst✝¹¹ : CommRing Rₚ\ninst✝¹⁰ : Algebra R Rₚ\ninst✝⁹ : IsLocalization.AtPrime Rₚ p\ninst✝⁸ : IsLocalRing Rₚ\nSₚ : Type u_4\ninst✝⁷ : CommRing Sₚ\ninst✝⁶ : Alg... | [] | rw [liesOver_iff, eq_comm, ← map_eq_maximalIdeal p, over_def P p]
exact under_map_eq_map_under _
(over_def P p ▸ map_eq_maximalIdeal p Rₚ ▸ maximalIdeal.isMaximal Rₚ)
(isPrime_map_of_liesOver S p Sₚ P).ne_top | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.AtPrime.Extension | {
"line": 192,
"column": 4
} | {
"line": 193,
"column": 83
} | {
"line": 194,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝¹⁵ : CommRing R\ninst✝¹⁴ : CommRing S\ninst✝¹³ : Algebra R S\np : Ideal R\ninst✝¹² : p.IsPrime\nRₚ : Type u_3\ninst✝¹¹ : CommRing Rₚ\ninst✝¹⁰ : Algebra R Rₚ\ninst✝⁹ : IsLocalization.AtPrime Rₚ p\ninst✝⁸ : IsLocalRing Rₚ\nSₚ : Type u_4\ninst✝⁷ : CommRing Sₚ\ninst✝⁶ : Alg... | [] | rw [← IsLocalization.AtPrime.map_eq_maximalIdeal p, p.map_map, ← IsScalarTower.algebraMap_eq,
IsScalarTower.algebraMap_eq R R₂ R₁, ← p.map_map, comap_map_of_bijective _ h] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.MvPolynomial.Expand | {
"line": 45,
"column": 2
} | {
"line": 50,
"column": 58
} | {
"line": 52,
"column": 0
} | [
{
"pp": "σ : Type u_1\nK : Type u_3\ninst✝¹ : Field K\ninst✝ : Fintype K\nf : MvPolynomial σ K\n⊢ (expand (Fintype.card K)) f = f ^ Fintype.card K",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"PNat.val",
"Finsupp.instAddZeroClass",
"Eq.mpr",
"NonAssocSemiring.toA... | [] | obtain ⟨p, hp⟩ := CharP.exists K
rcases FiniteField.card K p with ⟨⟨n, npos⟩, ⟨hp, hn⟩⟩
have : Fact p.Prime := ⟨hp⟩
dsimp at hn
rw [hn, ← map_iterateFrobenius_expand p, iterateFrobenius_eq_pow,
FiniteField.frobenius_pow hn, RingHom.one_def, map_id] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.MvPolynomial.Expand | {
"line": 45,
"column": 2
} | {
"line": 50,
"column": 58
} | {
"line": 52,
"column": 0
} | [
{
"pp": "σ : Type u_1\nK : Type u_3\ninst✝¹ : Field K\ninst✝ : Fintype K\nf : MvPolynomial σ K\n⊢ (expand (Fintype.card K)) f = f ^ Fintype.card K",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"PNat.val",
"Finsupp.instAddZeroClass",
"Eq.mpr",
"NonAssocSemiring.toA... | [] | obtain ⟨p, hp⟩ := CharP.exists K
rcases FiniteField.card K p with ⟨⟨n, npos⟩, ⟨hp, hn⟩⟩
have : Fact p.Prime := ⟨hp⟩
dsimp at hn
rw [hn, ← map_iterateFrobenius_expand p, iterateFrobenius_eq_pow,
FiniteField.frobenius_pow hn, RingHom.one_def, map_id] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.LaurentSeries | {
"line": 614,
"column": 4
} | {
"line": 614,
"column": 80
} | {
"line": 616,
"column": 0
} | [
{
"pp": "case coe.ofAdd\nK : Type u_2\ninst✝ : Field K\nf : K⸨X⸩\nD : ℤ\nhD : ↑(Multiplicative.ofAdd D) ≠ 0\n⊢ Valued.v f ≤ ↑(Multiplicative.ofAdd D) ↔ ∀ n < -(↑(Multiplicative.ofAdd D)).log, f.coeff n = 0",
"ppTerm": "?coe.ofAdd",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Int.inst... | [] | rw [← exp, ← neg_neg D, valuation_le_iff_coeff_lt_eq_zero, log_exp, neg_neg] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 106,
"column": 72
} | {
"line": 119,
"column": 61
} | {
"line": 121,
"column": 0
} | [
{
"pp": "n m : ℕ\nhmn : m ≤ n\ns : Fin m → ℕ\nhs : Antitone s\nx✝ : Fin m\ni : ℕ\nhi : i < m\n⊢ (accumulate n m) (invAccumulate n m s) ⟨i, hi⟩ = s ⟨i, hi⟩",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"Eq.not_gt",
"Eq.mpr",
"Preorder.toLT",
"Nat.succ_eq_add_one",
... | [] | by
have := Nat.le_sub_one_of_lt hi
revert hi
refine Nat.decreasingInduction' (fun i hi _ ih him ↦ ?_) this fun hm ↦ ?_
· rw [← Nat.pred_eq_sub_one, Nat.lt_pred_iff, Nat.succ_eq_add_one] at hi
rw [accumulate_rec (him.trans_le hmn) hi, ih hi, invAccumulate, dite_eq_left him,
dite_eq_left hi]
simp on... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 183,
"column": 34
} | {
"line": 183,
"column": 68
} | {
"line": 183,
"column": 69
} | [
{
"pp": "case refine_3\nR : Type u_3\nm : ℕ\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\ni : ℕ\nhim : i < m\nthis :\n supDegree (⇑toLex) (esymm (Fin m) R (i + 1)) = supDegree (⇑toLex) ((monomial (∑ j ≤ ⟨i, him⟩, fun₀ | j => 1)) 1) ∧\n leadingCoeff (⇑toLex) (esymm (Fin m) R (i + 1)) =\n leadingCoeff ... | [
"case refine_3\nR : Type u_3\nm : ℕ\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\ni : ℕ\nhim : i < m\nthis :\n supDegree (⇑toLex) (esymm (Fin m) R (i + 1)) =\n supDegree (⇑toLex) ((monomial (Finsupp.indicator (Iic ⟨i, him⟩) fun x x_1 ↦ 1)) 1) ∧\n leadingCoeff (⇑toLex) (esymm (Fin m) R (i + 1)) =\n l... | ← Finsupp.indicator_eq_sum_single, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 763,
"column": 50
} | {
"line": 763,
"column": 94
} | {
"line": 763,
"column": 94
} | [
{
"pp": "K : Type u_2\ninst✝ : Field K\nℱ : Filter K⸨X⸩\nhℱ : Cauchy ℱ\nN₁ : ℤ\nhN₁ : ∀ᶠ (f : K⸨X⸩) in ℱ, ∀ n < N₁, f.coeff n = 0\nN₂ : ℤ\nhN₂ : ∀ n < N₂, coeff hℱ n = 0\nx✝ : K⸨X⸩\nhf : x✝ ∈ {x | (fun f ↦ ∀ n < N₁, f.coeff n = 0) x}\nd : ℤ\nhd : d < min N₁ N₂\n⊢ coeff hℱ d = 0",
"ppTerm": "?m.70",
"ass... | [
"K : Type u_2\ninst✝ : Field K\nℱ : Filter K⸨X⸩\nhℱ : Cauchy ℱ\nN₁ : ℤ\nhN₁ : ∀ᶠ (f : K⸨X⸩) in ℱ, ∀ n < N₁, f.coeff n = 0\nN₂ : ℤ\nhN₂ : ∀ n < N₂, coeff hℱ n = 0\nx✝ : K⸨X⸩\nhf : x✝ ∈ {x | (fun f ↦ ∀ n < N₁, f.coeff n = 0) x}\nd : ℤ\nhd : d < min N₁ N₂\n⊢ 0 = 0"
] | hN₂ d (lt_of_lt_of_le hd (min_le_right _ _)) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPolynomial.Symmetric.Eval | {
"line": 92,
"column": 4
} | {
"line": 92,
"column": 25
} | {
"line": 92,
"column": 25
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\nS : Type u_4\ninst✝³ : Fintype σ\ninst✝² : CommRing R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nm : Multiset S\np : R[X]\nhm : m.card = Fintype.card σ\n⊢ (Multiset.map (fun x ↦ (Polynomial.aeval x) p) (Multiset.map (fun x ↦ x.fst) univ.val)).sum =\n (Multiset.map (fu... | [
"σ : Type u_1\nR : Type u_3\nS : Type u_4\ninst✝³ : Fintype σ\ninst✝² : CommRing R\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nm : Multiset S\np : R[X]\nhm : m.card = Fintype.card σ\n⊢ (Multiset.map (fun x ↦ (Polynomial.aeval x) p) m).sum = (Multiset.map (fun x ↦ (Polynomial.aeval x) p) m).sum"
] | Multiset.map_univ_coe | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 312,
"column": 6
} | {
"line": 312,
"column": 23
} | {
"line": 313,
"column": 4
} | [
{
"pp": "case right.inr.ind.inr.refine_2\nR : Type u_3\ninst✝ : CommRing R\nn : ℕ\np : MvPolynomial (Fin n) R\nhp : p ∈ symmetricSubalgebra (Fin n) R\nh0 : p ≠ 0\nih :\n ∀ y < supDegree (⇑toLex) p,\n ∀ (p : MvPolynomial (Fin n) R) (hp : p ∈ symmetricSubalgebra (Fin n) R),\n p ≠ 0 → supDegree (⇑toLex) p... | [] | rwa [sub_ne_zero] | Lean.Elab.Tactic.evalRwa | Lean.Parser.Tactic.rwa |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 312,
"column": 6
} | {
"line": 312,
"column": 23
} | {
"line": 313,
"column": 4
} | [
{
"pp": "case right.inr.ind.inr.refine_2\nR : Type u_3\ninst✝ : CommRing R\nn : ℕ\np : MvPolynomial (Fin n) R\nhp : p ∈ symmetricSubalgebra (Fin n) R\nh0 : p ≠ 0\nih :\n ∀ y < supDegree (⇑toLex) p,\n ∀ (p : MvPolynomial (Fin n) R) (hp : p ∈ symmetricSubalgebra (Fin n) R),\n p ≠ 0 → supDegree (⇑toLex) p... | [] | rwa [sub_ne_zero] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.MvPolynomial.Symmetric.FundamentalTheorem | {
"line": 312,
"column": 6
} | {
"line": 312,
"column": 23
} | {
"line": 313,
"column": 4
} | [
{
"pp": "case right.inr.ind.inr.refine_2\nR : Type u_3\ninst✝ : CommRing R\nn : ℕ\np : MvPolynomial (Fin n) R\nhp : p ∈ symmetricSubalgebra (Fin n) R\nh0 : p ≠ 0\nih :\n ∀ y < supDegree (⇑toLex) p,\n ∀ (p : MvPolynomial (Fin n) R) (hp : p ∈ symmetricSubalgebra (Fin n) R),\n p ≠ 0 → supDegree (⇑toLex) p... | [] | rwa [sub_ne_zero] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 47,
"column": 2
} | {
"line": 50,
"column": 8
} | {
"line": 52,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nd : σ →₀ ℕ\nr : R\n⊢ (expand p hp) ((monomial d) r) = (monomial (p • d)) r",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"MvPowerSeries.expand",
"Finsupp.instFunLike",
"Eq.mpr",
"Finsupp.s... | [] | rw [expand, substAlgHom_monomial (HasSubst.X_pow hp), monomial_eq', Finsupp.prod,
Finsupp.prod_of_support_subset _ Finsupp.support_smul]
· simp [pow_mul, algebraMap_apply, Algebra.algebraMap_self]
· simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 47,
"column": 2
} | {
"line": 50,
"column": 8
} | {
"line": 52,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_3\ninst✝ : CommRing R\np : ℕ\nhp : p ≠ 0\nd : σ →₀ ℕ\nr : R\n⊢ (expand p hp) ((monomial d) r) = (monomial (p • d)) r",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"MvPowerSeries.expand",
"Finsupp.instFunLike",
"Eq.mpr",
"Finsupp.s... | [] | rw [expand, substAlgHom_monomial (HasSubst.X_pow hp), monomial_eq', Finsupp.prod,
Finsupp.prod_of_support_subset _ Finsupp.support_smul]
· simp [pow_mul, algebraMap_apply, Algebra.algebraMap_self]
· simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Morita.Matrix | {
"line": 197,
"column": 4
} | {
"line": 198,
"column": 80
} | {
"line": 200,
"column": 0
} | [
{
"pp": "R : Type u\nι : Type v\ninst✝² : Ring R\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\ni : ι\nX : ModuleCat R\nx : ι → ↑((𝟭 (ModuleCat R)).obj X)\n⊢ (↑(toModuleCatFromModuleCatLinearEquiv R ((toMatrixModCat R ι).obj X) i).symm ∘ₗ\n LinearMap.mapMatrixModule ι (Hom.hom ((unitIso R i).inv.app X)))\n... | [] | simp [unitIso, toModuleCatFromModuleCatLinearEquiv, fromModuleCatToModuleCatLinearEquiv,
fromModuleCatToModuleCatLinearEquivtoModuleCatObj, Finset.univ_sum_single] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.LaurentSeries | {
"line": 938,
"column": 12
} | {
"line": 938,
"column": 35
} | {
"line": 938,
"column": 36
} | [
{
"pp": "K : Type u_2\ninst✝ : Field K\nS : Set (K⟮X⟯ × K⟮X⟯)\nT : Set (K⸨X⸩ × K⸨X⸩)\npre_T : (fun x ↦ ((algebraMap K⟮X⟯ K⸨X⸩) x.1, (algebraMap K⟮X⟯ K⸨X⸩) x.2)) ⁻¹' T ⊆ S\nR : Set K⸨X⸩\nhR : R ∈ nhds 0\npre_R : (fun x ↦ x.2 - x.1) ⁻¹' R ⊆ T\nd : (↑Valued.v).ValueGroup₀ˣ\nhd : {y | Valued.v.restrict (y - 0) < ↑d... | [
"K : Type u_2\ninst✝ : Field K\nS : Set (K⟮X⟯ × K⟮X⟯)\nT : Set (K⸨X⸩ × K⸨X⸩)\npre_T : (fun x ↦ ((algebraMap K⟮X⟯ K⸨X⸩) x.1, (algebraMap K⟮X⟯ K⸨X⸩) x.2)) ⁻¹' T ⊆ S\nR : Set K⸨X⸩\nhR : R ∈ nhds 0\npre_R : (fun x ↦ x.2 - x.1) ⁻¹' R ⊆ T\nd : (↑Valued.v).ValueGroup₀ˣ\nhd : {y | Valued.v.restrict (y - 0) < ↑d} ⊆ R\nx : K... | Valuation.restrict_def, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.MvPowerSeries.Restricted | {
"line": 85,
"column": 2
} | {
"line": 85,
"column": 33
} | {
"line": 86,
"column": 2
} | [
{
"pp": "M : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝 0... | [
"case isFalse\nM : Type u_3\nS : Type u_4\ninst✝³ : AddMonoid M\ninst✝² : Finset.HasAntidiagonal M\ninst✝¹ : NormedRing S\ninst✝ : IsUltrametricDist S\nC : M → ℝ\nhC : ∀ (a b : M), C (a + b) = C a * C b\nf g : M → S\nhf : Tendsto (fun i ↦ ‖f i‖ * C i) cofinite (𝓝 0)\nhg : Tendsto (fun i ↦ ‖g i‖ * C i) cofinite (𝓝... | wlog hC' : 0 ≤ C generalizing C | Mathlib.Tactic._aux_Mathlib_Tactic_WLOG___elabRules_Mathlib_Tactic_wlog_1 | Mathlib.Tactic.wlog |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 242,
"column": 6
} | {
"line": 242,
"column": 17
} | {
"line": 242,
"column": 18
} | [
{
"pp": "case h\nσ : Type u_1\nR : Type u_3\ninst✝¹ : CommRing R\np : ℕ\nhp : p ≠ 0\ninst✝ : ExpChar R p\nf : MvPowerSeries σ R\nn : σ →₀ ℕ\nthis :\n ↑((MvPolynomial.map (frobenius R p)) ((MvPolynomial.expand p) ((trunc' R (p • n)) f))) =\n (map (frobenius R p)) ↑((MvPolynomial.expand p) ((trunc' R (p • n))... | [
"case h\nσ : Type u_1\nR : Type u_3\ninst✝¹ : CommRing R\np : ℕ\nhp : p ≠ 0\ninst✝ : ExpChar R p\nf : MvPowerSeries σ R\nn : σ →₀ ℕ\nthis :\n ↑((MvPolynomial.map (frobenius R p)) ((MvPolynomial.expand p) ((trunc' R (p • n)) f))) =\n (map (frobenius R p)) ↑((MvPolynomial.expand p) ((trunc' R (p • n)) f))\n⊢ (MvP... | trunc'_map, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.LaurentSeries | {
"line": 949,
"column": 6
} | {
"line": 949,
"column": 36
} | {
"line": 950,
"column": 6
} | [
{
"pp": "case mpr.refine_1\nK : Type u_2\ninst✝ : Field K\nS : Set (K⟮X⟯ × K⟮X⟯)\nw✝ : Set K⟮X⟯\nhT : w✝ ∈ nhds 0\npre_T : (fun x ↦ x.2 - x.1) ⁻¹' w✝ ⊆ S\nd : (↑Valued.v).ValueGroup₀ˣ\nhd : {y | Valued.v.restrict (y - 0) < ↑d} ⊆ w✝\nX : Set K⸨X⸩ := {f | Valued.v f < embedding ↑d}\nX_def : X = {f | Valued.v f < ... | [
"case mpr.refine_1\nK : Type u_2\ninst✝ : Field K\nS : Set (K⟮X⟯ × K⟮X⟯)\nw✝ : Set K⟮X⟯\nhT : w✝ ∈ nhds 0\npre_T : (fun x ↦ x.2 - x.1) ⁻¹' w✝ ⊆ S\nd : (↑Valued.v).ValueGroup₀ˣ\nhd : {y | Valued.v.restrict (y - 0) < ↑d} ⊆ w✝\nX : Set K⸨X⸩ := {f | Valued.v f < embedding ↑d}\nX_def : X = {f | Valued.v f < embedding ↑d... | refine ⟨?_, Set.Subset.refl _⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.MvPowerSeries.Expand | {
"line": 243,
"column": 47
} | {
"line": 243,
"column": 58
} | {
"line": 244,
"column": 4
} | [
{
"pp": "case h\nσ : Type u_1\nR : Type u_3\ninst✝¹ : CommRing R\np : ℕ\nhp : p ≠ 0\ninst✝ : ExpChar R p\nf : MvPowerSeries σ R\nn : σ →₀ ℕ\nthis :\n ↑((MvPolynomial.map (frobenius R p)) ((MvPolynomial.expand p) ((trunc' R (p • n)) f))) =\n (map (frobenius R p)) ↑((MvPolynomial.expand p) ((trunc' R (p • n))... | [
"case h\nσ : Type u_1\nR : Type u_3\ninst✝¹ : CommRing R\np : ℕ\nhp : p ≠ 0\ninst✝ : ExpChar R p\nf : MvPowerSeries σ R\nn : σ →₀ ℕ\nthis :\n ↑((MvPolynomial.map (frobenius R p)) ((MvPolynomial.expand p) ((trunc' R (p • n)) f))) =\n (map (frobenius R p)) ↑((MvPolynomial.expand p) ((trunc' R (p • n)) f))\n⊢ (MvP... | trunc'_map, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Teichmuller | {
"line": 166,
"column": 2
} | {
"line": 168,
"column": 43
} | {
"line": 170,
"column": 0
} | [
{
"pp": "p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\n⊢ (Ideal.Quotient.mk I) ((teichmuller p I) x) = (coeff (R ⧸ I) p 0) x",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [... | [] | have := teichmuller_sModEq <| Ideal.Quotient.mk_out <| coeff _ p 0 x
simp_rw [zero_add, pow_one] at this
simpa [SModEq.idealQuotientMk] using this | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Teichmuller | {
"line": 166,
"column": 2
} | {
"line": 168,
"column": 43
} | {
"line": 170,
"column": 0
} | [
{
"pp": "p : ℕ\ninst✝³ : Fact (Nat.Prime p)\nR : Type u_1\ninst✝² : CommRing R\nI : Ideal R\ninst✝¹ : CharP (R ⧸ I) p\ninst✝ : IsAdicComplete I R\nx : Perfection (R ⧸ I) p\n⊢ (Ideal.Quotient.mk I) ((teichmuller p I) x) = (coeff (R ⧸ I) p 0) x",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [... | [] | have := teichmuller_sModEq <| Ideal.Quotient.mk_out <| coeff _ p 0 x
simp_rw [zero_add, pow_one] at this
simpa [SModEq.idealQuotientMk] using this | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.NoetherNormalization | {
"line": 295,
"column": 2
} | {
"line": 297,
"column": 86
} | {
"line": 298,
"column": 2
} | [
{
"pp": "k : Type u_2\nR : Type u_3\ninst✝² : Field k\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\na : Algebra k R\nfin : Algebra.FiniteType k R\ns : ℕ\ng : MvPolynomial (Fin s) k →ₐ[k] R\ninj : Function.Injective ⇑g\nint : g.IsIntegral\n⊢ ∃ s g, Function.Injective ⇑g ∧ g.Finite",
"ppTerm": "?m.75",
"ass... | [
"k : Type u_2\nR : Type u_3\ninst✝² : Field k\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\na : Algebra k R\nfin : Algebra.FiniteType k R\ns : ℕ\ng : MvPolynomial (Fin s) k →ₐ[k] R\ninj : Function.Injective ⇑g\nint : g.IsIntegral\nh : algebraMap k R = g.comp (algebraMap k (MvPolynomial (Fin s) k))\n⊢ ∃ s g, Function.... | have h : algebraMap k R = g.toRingHom.comp (algebraMap k (MvPolynomial (Fin s) k)) := by
algebraize [g.toRingHom]
rw [IsScalarTower.algebraMap_eq k (MvPolynomial (Fin s) k), algebraMap_toAlgebra'] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.WittVector.Defs | {
"line": 241,
"column": 4
} | {
"line": 242,
"column": 75
} | {
"line": 243,
"column": 2
} | [
{
"pp": "case ind\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nIH : ∀ m < n, 0 < m → (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ m) = 0\nhn : 0 < n\n⊢ C ⅟↑p ^ n - C ↑p ^ 0 * (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ 0) ^ p ^ (n - 0) * C ⅟↑p ^ n = 0",
"ppTerm": "?ind",
"assigned": true,
"usedConstants": [
"one_pow"... | [] | simp only [one_mul, pow_zero]
simp only [one_pow, one_mul, xInTermsOfW_zero, sub_self, bind₁_X_right] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.WittVector.Defs | {
"line": 241,
"column": 4
} | {
"line": 242,
"column": 75
} | {
"line": 243,
"column": 2
} | [
{
"pp": "case ind\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nIH : ∀ m < n, 0 < m → (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ m) = 0\nhn : 0 < n\n⊢ C ⅟↑p ^ n - C ↑p ^ 0 * (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ 0) ^ p ^ (n - 0) * C ⅟↑p ^ n = 0",
"ppTerm": "?ind",
"assigned": true,
"usedConstants": [
"one_pow"... | [] | simp only [one_mul, pow_zero]
simp only [one_pow, one_mul, xInTermsOfW_zero, sub_self, bind₁_X_right] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.WittVector.Defs | {
"line": 243,
"column": 2
} | {
"line": 245,
"column": 91
} | {
"line": 246,
"column": 2
} | [
{
"pp": "case ind.h₀\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nIH : ∀ m < n, 0 < m → (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ m) = 0\nhn : 0 < n\n⊢ ∀ b ∈ Finset.range n, b ≠ 0 → C ↑p ^ b * (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ b) ^ p ^ (n - b) = 0",
"ppTerm": "?ind.h₀",
"assigned": true,
"usedConstants": [
... | [
"case ind.h₁\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nIH : ∀ m < n, 0 < m → (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ m) = 0\nhn : 0 < n\n⊢ 0 ∉ Finset.range n → C ↑p ^ 0 * (bind₁ fun k ↦ 1) (xInTermsOfW p ℚ 0) ^ p ^ (n - 0) = 0"
] | · intro i hin hi0
rw [Finset.mem_range] at hin
rw [IH _ hin (Nat.pos_of_ne_zero hi0), zero_pow (pow_ne_zero _ hp.1.ne_zero), mul_zero] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.WittVector.StructurePolynomial | {
"line": 331,
"column": 2
} | {
"line": 331,
"column": 46
} | {
"line": 333,
"column": 0
} | [
{
"pp": "p : ℕ\nR : Type u_1\nidx : Type u_2\ninst✝ : CommRing R\nhp : Fact (Nat.Prime p)\nΦ : MvPolynomial idx ℤ\nn : ℕ\n⊢ (fun i ↦ (rename (Prod.mk i)) (W_ R n)) = fun i ↦ (map (Int.castRingHom R)) ((rename (Prod.mk i)) (W_ ℤ n))",
"ppTerm": "?m.212",
"assigned": true,
"usedConstants": [
"Fi... | [] | · simp only [map_rename, map_wittPolynomial] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.WittVector.Verschiebung | {
"line": 65,
"column": 43
} | {
"line": 65,
"column": 52
} | {
"line": 65,
"column": 53
} | [
{
"pp": "p : ℕ\nR : Type u_1\ninst✝ : CommRing R\nhp : Fact (Nat.Prime p)\nx : 𝕎 R\nn : ℕ\n⊢ ∑ k ∈ Finset.range (n + 1), ↑p ^ (k + 1) * x.verschiebungFun.coeff (k + 1) ^ p ^ (n + 1 - (k + 1)) + ↑p ^ 0 * 0 =\n ↑p * ∑ i ∈ Finset.range (n + 1), ↑p ^ i * x.coeff i ^ p ^ (n - i)",
"ppTerm": "?m.56",
"ass... | [
"p : ℕ\nR : Type u_1\ninst✝ : CommRing R\nhp : Fact (Nat.Prime p)\nx : 𝕎 R\nn : ℕ\n⊢ ∑ k ∈ Finset.range (n + 1), ↑p ^ (k + 1) * x.verschiebungFun.coeff (k + 1) ^ p ^ (n + 1 - (k + 1)) + 0 =\n ↑p * ∑ i ∈ Finset.range (n + 1), ↑p ^ i * x.coeff i ^ p ^ (n - i)"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.WittVector.Verschiebung | {
"line": 115,
"column": 4
} | {
"line": 115,
"column": 18
} | {
"line": 116,
"column": 4
} | [
{
"pp": "p : ℕ\nR : Type u_1\nS : Type u_2\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nhp : Fact (Nat.Prime p)\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"CommRing",
"WittVector... | [
"case refine_3\np : ℕ\nS : Type u_2\ninst✝ : CommRing S\nhp : Fact (Nat.Prime p)\nR : Type u_1\nR._inst : CommRing R\nx✝ y✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\n⊢ ∀ (n : ℕ), (ghostComponent n) (x✝ + y✝).verschiebungFun = (ghostComponent n) (x✝.verschiebun... | ghost_calc _ _ | WittVector.Tactic._aux_Mathlib_RingTheory_WittVector_IsPoly___elabRules_WittVector_Tactic_ghostCalc_1 | WittVector.Tactic.ghostCalc |
Mathlib.RingTheory.WittVector.MulP | {
"line": 53,
"column": 46
} | {
"line": 53,
"column": 54
} | {
"line": 53,
"column": 55
} | [
{
"pp": "case succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\nx : 𝕎 R\nn : ℕ\nih : ∀ (k : ℕ), (x * ↑n).coeff k = (aeval x.coeff) (wittMulN p n k)\nk : ℕ\n⊢ (x * (↑n + 1)).coeff k = (aeval x.coeff) ((fun k ↦ (bind₁ (Function.uncurry ![wittMulN p n, X])) (wittAdd p k)) k)",
"ppTerm": ... | [
"case succ\np : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\nx : 𝕎 R\nn : ℕ\nih : ∀ (k : ℕ), (x * ↑n).coeff k = (aeval x.coeff) (wittMulN p n k)\nk : ℕ\n⊢ (x * ↑n + x * 1).coeff k = (aeval x.coeff) ((fun k ↦ (bind₁ (Function.uncurry ![wittMulN p n, X])) (wittAdd p k)) k)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.WittVector.Frobenius | {
"line": 154,
"column": 36
} | {
"line": 154,
"column": 44
} | {
"line": 154,
"column": 45
} | [
{
"pp": "p : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nh1 : ↑p ^ n * ⅟↑p ^ n = 1\ni : ℕ\nhi : i < n\n⊢ C (↑p ^ i) *\n (∑ k ∈ range (p ^ (n - i)),\n (C ↑p * (MvPolynomial.map (Int.castRingHom ℚ)) (frobeniusPolyAux p i)) ^ (k + 1) *\n (X i ^ p) ^ (p ^ (n - i) - (k + 1)) *\n ... | [
"p : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\nh1 : ↑p ^ n * ⅟↑p ^ n = 1\ni : ℕ\nhi : i < n\n⊢ (C (↑p ^ i) *\n ∑ k ∈ range (p ^ (n - i)),\n (C ↑p * (MvPolynomial.map (Int.castRingHom ℚ)) (frobeniusPolyAux p i)) ^ (k + 1) *\n (X i ^ p) ^ (p ^ (n - i) - (k + 1)) *\n ↑(... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.WittVector.Frobenius | {
"line": 233,
"column": 17
} | {
"line": 233,
"column": 31
} | {
"line": 233,
"column": 31
} | [
{
"pp": "p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"CommRing",
"HMul.hMul",
"WittVector.instCommRing",
... | [
"case refine_3\np : ℕ\nhp : Fact (Nat.Prime p)\nR : Type u_1\nR._inst : CommRing R\nx✝ y✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\n⊢ ∀ (n : ℕ), (ghostComponent n) (x✝ * y✝).frobeniusFun = (ghostComponent n) (x✝.frobeniusFun * y✝.frobeniusFun)"
] | ghost_calc _ _ | WittVector.Tactic._aux_Mathlib_RingTheory_WittVector_IsPoly___elabRules_WittVector_Tactic_ghostCalc_1 | WittVector.Tactic.ghostCalc |
Mathlib.RingTheory.WittVector.Frobenius | {
"line": 232,
"column": 17
} | {
"line": 232,
"column": 31
} | {
"line": 232,
"column": 31
} | [
{
"pp": "p : ℕ\nR : Type u_1\nhp : Fact (Nat.Prime p)\ninst✝ : CommRing R\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)",
"ppTerm": "?m.89",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toAddCommMonoidWithOne",
"CommRing",
... | [
"case refine_3\np : ℕ\nhp : Fact (Nat.Prime p)\nR : Type u_1\nR._inst : CommRing R\nx✝ y✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\n⊢ ∀ (n : ℕ), (ghostComponent n) (x✝ + y✝).frobeniusFun = (ghostComponent n) (x✝.frobeniusFun + y✝.frobeniusFun)"
] | ghost_calc _ _ | WittVector.Tactic._aux_Mathlib_RingTheory_WittVector_IsPoly___elabRules_WittVector_Tactic_ghostCalc_1 | WittVector.Tactic.ghostCalc |
Mathlib.RingTheory.WittVector.Truncated | {
"line": 102,
"column": 6
} | {
"line": 102,
"column": 9
} | {
"line": 102,
"column": 9
} | [
{
"pp": "p n : ℕ\nR : Type u_1\ninst✝ : CommRing R\nx : TruncatedWittVector p n R\ni : Fin n\n⊢ x.out.coeff ↑i = coeff i x",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"TruncatedWittVector.coeff",
"congrArg",
"CommSemiring.toSemiring",
"Fin.mk",
... | [
"p n : ℕ\nR : Type u_1\ninst✝ : CommRing R\nx : TruncatedWittVector p n R\ni : Fin n\n⊢ (WittVector.mk p fun i ↦ if h : i < n then coeff ⟨i, h⟩ x else 0).coeff ↑i = coeff i x"
] | out | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Perfection | {
"line": 805,
"column": 15
} | {
"line": 805,
"column": 31
} | {
"line": 805,
"column": 31
} | [
{
"pp": "K : Type u₁\ninst✝⁴ : Field K\nv : Valuation K ℝ≥0\nO : Type u₂\ninst✝³ : CommRing O\ninst✝² : Algebra O K\nhv : v.Integers O\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : Fact ¬IsUnit ↑p\nhp : Nat.Prime p\nthis : Nontrivial (PreTilt O p)\na✝ b✝ : PreTilt O p\nhfg : a✝ * b✝ = 0\n⊢ a✝ = 0 ∨ b✝ = 0",
... | [
"K : Type u₁\ninst✝⁴ : Field K\nv : Valuation K ℝ≥0\nO : Type u₂\ninst✝³ : CommRing O\ninst✝² : Algebra O K\nhv : v.Integers O\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : Fact ¬IsUnit ↑p\nhp : Nat.Prime p\nthis : Nontrivial (PreTilt O p)\na✝ b✝ : PreTilt O p\nhfg : (val K v O hv p) (a✝ * b✝) = 0\n⊢ (val K v O hv p... | ← map_eq_zero hv | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.WittVector.Complete | {
"line": 85,
"column": 4
} | {
"line": 85,
"column": 49
} | {
"line": 86,
"column": 4
} | [
{
"pp": "case refine_2\np : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nn : ℕ\nh : ∀ m < n, x.coeff m = 0\n⊢ ∃ c, x = c * ↑p ^ n",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"NonUnitalNonAssocCommRing.to... | [
"case h\np : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝² : CommRing k\ninst✝¹ : CharP k p\ninst✝ : PerfectRing k p\nx : 𝕎 k\nn : ℕ\nh : ∀ m < n, x.coeff m = 0\n⊢ x = (⇑(frobeniusEquiv p k).symm)^[n] (x.shift n) * ↑p ^ n"
] | use (frobeniusEquiv p k).symm^[n] (x.shift n) | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Polynomial.Hermite.Basic | {
"line": 89,
"column": 73
} | {
"line": 89,
"column": 82
} | {
"line": 89,
"column": 83
} | [
{
"pp": "case succ\nn : ℕ\nih : ∀ (k : ℕ), (hermite n).coeff (n + k + 1) = 0\nk : ℕ\nthis : n + k + 1 + 2 = n + (k + 2) + 1\n⊢ 0 - (↑(n + k + 1) + 2) * 0 = 0",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
... | [
"case succ\nn : ℕ\nih : ∀ (k : ℕ), (hermite n).coeff (n + k + 1) = 0\nk : ℕ\nthis : n + k + 1 + 2 = n + (k + 2) + 1\n⊢ 0 - 0 = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.Hermite.Basic | {
"line": 96,
"column": 58
} | {
"line": 96,
"column": 67
} | {
"line": 96,
"column": 68
} | [
{
"pp": "case succ\nn : ℕ\nih : (hermite n).coeff n = 1\n⊢ 1 - (↑n + 2) * 0 = 1",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"HSub.hSub",
"id",
"Int",
"Nat.cast",
"MulZeroClass... | [
"case succ\nn : ℕ\nih : (hermite n).coeff n = 1\n⊢ 1 - 0 = 1",
"case succ\nn : ℕ\nih : (hermite n).coeff n = 1\n⊢ n < n + 2"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.Hermite.Basic | {
"line": 129,
"column": 43
} | {
"line": 129,
"column": 52
} | {
"line": 129,
"column": 53
} | [
{
"pp": "case succ.succ\nn : ℕ\nih : ∀ {k : ℕ}, Odd (n + k) → (hermite n).coeff k = 0\nk : ℕ\nhnk : Odd (n + 1 + (k + 1))\n⊢ 0 - (↑k + 2) * 0 = 0",
"ppTerm": "?succ.succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"HSu... | [
"case succ.succ\nn : ℕ\nih : ∀ {k : ℕ}, Odd (n + k) → (hermite n).coeff k = 0\nk : ℕ\nhnk : Odd (n + 1 + (k + 1))\n⊢ 0 - 0 = 0",
"case succ.succ\nn : ℕ\nih : ∀ {k : ℕ}, Odd (n + k) → (hermite n).coeff k = 0\nk : ℕ\nhnk : Odd (n + 1 + (k + 1))\n⊢ Odd (n + (k + 2))",
"case succ.succ\nn : ℕ\nih : ∀ {k : ℕ}, Odd (n... | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.Hermite.Basic | {
"line": 172,
"column": 6
} | {
"line": 174,
"column": 58
} | {
"line": 175,
"column": 6
} | [
{
"pp": "case e_a.e_a.e_a\nn✝ k✝ : ℕ\nhermite_explicit : ℕ → ℕ → ℤ := fun n k ↦ (-1) ^ n * ↑(2 * n - 1)‼ * ↑((2 * n + k).choose k)\nn k : ℕ\n⊢ (2 * n + 1) * (2 * (n + 1) + (k + 1)).choose (k + 1) =\n (2 * n + 1) * (2 * (n + 1) + k).choose k + (2 * n + (k + 2)).choose (k + 2) * (k + 2)",
"ppTerm": "?e_a.e... | [
"case e_a.e_a.e_a\nn✝ k✝ : ℕ\nhermite_explicit : ℕ → ℕ → ℤ := fun n k ↦ (-1) ^ n * ↑(2 * n - 1)‼ * ↑((2 * n + k).choose k)\nn k : ℕ\n⊢ (2 * n + 1) * (2 * n + 1 + (k + 1) + 1).choose (k + 1) =\n (2 * n + 1) * (2 * n + 1 + (k + 1)).choose k + (2 * n + 1 + (k + 1)).choose (k + 2) * (k + 2)"
] | rw [(by ring : 2 * (n + 1) + (k + 1) = 2 * n + 1 + (k + 1) + 1),
(by ring : 2 * (n + 1) + k = 2 * n + 1 + (k + 1)),
(by ring : 2 * n + (k + 2) = 2 * n + 1 + (k + 1))] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 246,
"column": 12
} | {
"line": 246,
"column": 33
} | {
"line": 246,
"column": 33
} | [
{
"pp": "case pos\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhdp : d ≤ rootMultiplicity 1 p\nhp : p = 0\n⊢ hilbertPoly 0 d = 0",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"congrArg",
"CommSemiring... | [
"case pos\nF : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhdp : d ≤ rootMultiplicity 1 p\nhp : p = 0\n⊢ 0 = 0"
] | hilbertPoly_zero_left | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 249,
"column": 6
} | {
"line": 249,
"column": 65
} | {
"line": 250,
"column": 6
} | [
{
"pp": "F : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhdp : d ≤ rootMultiplicity 1 p\nhp : ¬p = 0\nq : F[X]\nhq1 : p = (X - C 1) ^ rootMultiplicity 1 p * q\nhq2 : ¬X - C 1 ∣ q\n⊢ p = q * (-1) ^ rootMultiplicity 1 p * (1 - X) ^ rootMultiplicity 1 p",
"ppTerm": "?m.102",
"assigned"... | [
"F : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhdp : d ≤ rootMultiplicity 1 p\nhp : ¬p = 0\nq : F[X]\nhq1 : p = (X - C 1) ^ rootMultiplicity 1 p * q\nhq2 : ¬X - C 1 ∣ q\n⊢ p = q * (X - 1) ^ rootMultiplicity 1 p"
] | simp only [mul_assoc, ← mul_pow, neg_mul, one_mul, neg_sub] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Polynomial.HilbertPoly | {
"line": 259,
"column": 4
} | {
"line": 259,
"column": 63
} | {
"line": 260,
"column": 4
} | [
{
"pp": "F : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhp : p ≠ 0\nhpd : rootMultiplicity 1 p < d\nq : F[X]\nhq1 : p = (X - C 1) ^ rootMultiplicity 1 p * q\nhq2 : ¬X - C 1 ∣ q\n⊢ p = q * (-1) ^ rootMultiplicity 1 p * (1 - X) ^ rootMultiplicity 1 p",
"ppTerm": "?m.102",
"assigned":... | [
"F : Type u_1\ninst✝¹ : Field F\ninst✝ : CharZero F\np : F[X]\nd : ℕ\nhp : p ≠ 0\nhpd : rootMultiplicity 1 p < d\nq : F[X]\nhq1 : p = (X - C 1) ^ rootMultiplicity 1 p * q\nhq2 : ¬X - C 1 ∣ q\n⊢ p = q * (X - 1) ^ rootMultiplicity 1 p"
] | simp only [mul_assoc, ← mul_pow, neg_mul, one_mul, neg_sub] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.PolynomialLaw.Basic | {
"line": 467,
"column": 2
} | {
"line": 467,
"column": 69
} | {
"line": 468,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝⁴ : CommSemiring R\nM : Type u_1\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\nS : Type v\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nt : S ⊗[R] M\ns : S\nA : Subalgebra R S\nhA : A.FG\nht : t ∈ (rTensor M A.val.toLinearMap).range\nhB : (A ⊔ Algebra.adjoin R ↑{s}).FG\ngen : Finset... | [
"R : Type u\ninst✝⁴ : CommSemiring R\nM : Type u_1\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\nS : Type v\ninst✝¹ : CommSemiring S\ninst✝ : Algebra R S\nt : S ⊗[R] M\ns : S\nA : Subalgebra R S\nhA : A.FG\nht : t ∈ (rTensor M A.val.toLinearMap).range\nhB : (A ⊔ Algebra.adjoin R ↑{s}).FG\ngen : Finset S\nhgen : (... | have hAB : A ≤ A ⊔ Algebra.adjoin R ({s} : Finset S) := le_sup_left | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation | {
"line": 265,
"column": 16
} | {
"line": 265,
"column": 25
} | {
"line": 265,
"column": 26
} | [
{
"pp": "A : Type u_1\ninst✝ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\nf : A⟦X⟧\n⊢ 0 + (mk fun i ↦ (coeff (i + ((map (Ideal.Quotient.mk I)) g).order.toNat)) (f - g * 0)) * ↑⋯.unit⁻¹ =\n (mk fun i ↦ (coeff (i + ((map (Ideal.Quotient.mk I)) g).order.toNat)) f) * ↑⋯.unit⁻¹",
"ppTe... | [
"A : Type u_1\ninst✝ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\nf : A⟦X⟧\n⊢ 0 + (mk fun i ↦ (coeff (i + ((map (Ideal.Quotient.mk I)) g).order.toNat)) (f - 0)) * ↑⋯.unit⁻¹ =\n (mk fun i ↦ (coeff (i + ((map (Ideal.Quotient.mk I)) g).order.toNat)) f) * ↑⋯.unit⁻¹"
] | mul_zero, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation | {
"line": 325,
"column": 12
} | {
"line": 325,
"column": 21
} | {
"line": 325,
"column": 22
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\ninst✝ : IsHausdorff I A\nq : A⟦X⟧\nr : A[X]\nhdeg : r.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nheq : g * 0 = ↑r\nthis : ∀ (k i : ℕ), (coeff i) q ∈ I ^ k\nhq : q = 0\n⊢ q = 0 ∧ r = 0",
"ppTerm": "... | [
"A : Type u_1\ninst✝¹ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\ninst✝ : IsHausdorff I A\nq : A⟦X⟧\nr : A[X]\nhdeg : r.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nheq : 0 = ↑r\nthis : ∀ (k i : ℕ), (coeff i) q ∈ I ^ k\nhq : q = 0\n⊢ q = 0 ∧ r = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation | {
"line": 365,
"column": 2
} | {
"line": 365,
"column": 89
} | {
"line": 366,
"column": 2
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\ninst✝ : IsHausdorff I A\nq q' : A⟦X⟧\nr r' : A[X]\nhr : r.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nhr' : r'.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nheq : g * (q - q') = ↑(r' - r)\n⊢ q ... | [
"A : Type u_1\ninst✝¹ : CommRing A\ng : A⟦X⟧\nI : Ideal A\nH : g.IsWeierstrassDivisorAt I\ninst✝ : IsHausdorff I A\nq q' : A⟦X⟧\nr r' : A[X]\nhr : r.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nhr' : r'.degree < ↑((map (Ideal.Quotient.mk I)) g).order.toNat\nheq : g * (q - q') = ↑(r' - r)\nh : q - q' = 0 ∧... | have h := H.eq_zero_of_mul_eq (lt_of_le_of_lt (r'.degree_sub_le r) (max_lt hr' hr)) heq | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation | {
"line": 464,
"column": 4
} | {
"line": 484,
"column": 86
} | {
"line": 485,
"column": 2
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ng✝ : A⟦X⟧\nI✝ : Ideal A\ng : A[X]\nI : Ideal A\nH : g.IsDistinguishedAt I\ninst✝ : IsAdicComplete I A\nf : A[X] ⧸ Ideal.span {g}\n⊢ (⇑(Ideal.Quotient.mk (Ideal.span {g})) ∘ ⇑⋯.mod')\n ((↑↑(Ideal.quotientMapₐ (Ideal.span {↑g}) (Polynomial.coeToPowerSeries.algHom A... | [] | rcases subsingleton_or_nontrivial A with _ | _
· have : Subsingleton A[X] := inferInstance
have : Subsingleton (A[X] ⧸ Ideal.span {g}) := Quot.Subsingleton
exact Subsingleton.elim _ _
have hI : I ≠ ⊤ := by
rintro rfl
exact not_subsingleton _ ‹IsAdicComplete ⊤ A›.toIsHausdorff.subsingleto... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.PowerSeries.WeierstrassPreparation | {
"line": 464,
"column": 4
} | {
"line": 484,
"column": 86
} | {
"line": 485,
"column": 2
} | [
{
"pp": "A : Type u_1\ninst✝¹ : CommRing A\ng✝ : A⟦X⟧\nI✝ : Ideal A\ng : A[X]\nI : Ideal A\nH : g.IsDistinguishedAt I\ninst✝ : IsAdicComplete I A\nf : A[X] ⧸ Ideal.span {g}\n⊢ (⇑(Ideal.Quotient.mk (Ideal.span {g})) ∘ ⇑⋯.mod')\n ((↑↑(Ideal.quotientMapₐ (Ideal.span {↑g}) (Polynomial.coeToPowerSeries.algHom A... | [] | rcases subsingleton_or_nontrivial A with _ | _
· have : Subsingleton A[X] := inferInstance
have : Subsingleton (A[X] ⧸ Ideal.span {g}) := Quot.Subsingleton
exact Subsingleton.elim _ _
have hI : I ≠ ⊤ := by
rintro rfl
exact not_subsingleton _ ‹IsAdicComplete ⊤ A›.toIsHausdorff.subsingleto... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.SimpleModule.Isotypic | {
"line": 130,
"column": 2
} | {
"line": 133,
"column": 50
} | {
"line": 135,
"column": 0
} | [
{
"pp": "R : Type u_2\nM : Type u\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nN : Submodule R M\n⊢ IsIsotypic R ↥N ↔ ∀ m ≤ N, ∀ [IsSimpleModule R ↥m], IsIsotypicOfType R ↥N ↥m",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Submo... | [] | rw [Subtype.forall', ← (Submodule.MapSubtype.orderIso N).forall_congr_right]
have e := Submodule.equivMapOfInjective _ N.subtype_injective
simp_rw [Submodule.MapSubtype.orderIso, Equiv.coe_fn_mk, ← (e _).isSimpleModule_iff,
← (e _).isIsotypicOfType_iff_type, IsIsotypic] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.SimpleModule.Isotypic | {
"line": 130,
"column": 2
} | {
"line": 133,
"column": 50
} | {
"line": 135,
"column": 0
} | [
{
"pp": "R : Type u_2\nM : Type u\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nN : Submodule R M\n⊢ IsIsotypic R ↥N ↔ ∀ m ≤ N, ∀ [IsSimpleModule R ↥m], IsIsotypicOfType R ↥N ↥m",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Submo... | [] | rw [Subtype.forall', ← (Submodule.MapSubtype.orderIso N).forall_congr_right]
have e := Submodule.equivMapOfInjective _ N.subtype_injective
simp_rw [Submodule.MapSubtype.orderIso, Equiv.coe_fn_mk, ← (e _).isSimpleModule_iff,
← (e _).isIsotypicOfType_iff_type, IsIsotypic] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Smooth.Quotient | {
"line": 66,
"column": 6
} | {
"line": 66,
"column": 25
} | {
"line": 66,
"column": 25
} | [
{
"pp": "R : Type u_1\ninst✝¹⁰ : CommRing R\nS : Type u_2\ninst✝⁹ : CommRing S\nR' : Type u_3\nS' : Type u_4\ninst✝⁸ : CommRing R'\ninst✝⁷ : CommRing S'\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra R R'\ninst✝⁴ : Algebra R' S'\ninst✝³ : Algebra S S'\ninst✝² : Algebra R S'\ninst✝¹ : IsScalarTower R S S'\ninst✝ : IsSc... | [
"R : Type u_1\ninst✝¹⁰ : CommRing R\nS : Type u_2\ninst✝⁹ : CommRing S\nR' : Type u_3\nS' : Type u_4\ninst✝⁸ : CommRing R'\ninst✝⁷ : CommRing S'\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra R R'\ninst✝⁴ : Algebra R' S'\ninst✝³ : Algebra S S'\ninst✝² : Algebra R S'\ninst✝¹ : IsScalarTower R S S'\ninst✝ : IsScalarTower R ... | ← RingHom.comap_ker | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Smooth.Quotient | {
"line": 133,
"column": 2
} | {
"line": 133,
"column": 62
} | {
"line": 134,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝¹¹ : CommRing R\nS : Type u_2\ninst✝¹⁰ : CommRing S\nR' : Type u_3\nS' : Type u_4\ninst✝⁹ : CommRing R'\ninst✝⁸ : CommRing S'\ninst✝⁷ : Algebra R S\ninst✝⁶ : Algebra R R'\ninst✝⁵ : Algebra R' S'\ninst✝⁴ : Algebra S S'\ninst✝³ : Algebra R S'\ninst✝² : IsScalarTower R S S'\ninst✝¹ : Is... | [
"R : Type u_1\ninst✝¹¹ : CommRing R\nS : Type u_2\ninst✝¹⁰ : CommRing S\nR' : Type u_3\nS' : Type u_4\ninst✝⁹ : CommRing R'\ninst✝⁸ : CommRing S'\ninst✝⁷ : Algebra R S\ninst✝⁶ : Algebra R R'\ninst✝⁵ : Algebra R' S'\ninst✝⁴ : Algebra S S'\ninst✝³ : Algebra R S'\ninst✝² : IsScalarTower R S S'\ninst✝¹ : IsScalarTower ... | apply (Algebra.FormallySmooth.iff_split_injection surjP).mpr | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.RingTheory.Valuation.Extension | {
"line": 101,
"column": 4
} | {
"line": 101,
"column": 63
} | {
"line": 103,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nΓR : Type u_3\nΓA : Type u_4\ninst✝⁴ : CommRing R\ninst✝³ : Ring A\ninst✝² : LinearOrderedCommMonoidWithZero ΓR\ninst✝¹ : LinearOrderedCommMonoidWithZero ΓA\ninst✝ : Algebra R A\nvR : Valuation R ΓR\nvA : Valuation A ΓA\n⊢ vR.IsEquiv (comap (algebraMap R R) vR)",
"ppTerm... | [] | simp only [Algebra.algebraMap_self, comap_id, IsEquiv.refl] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Valuation.Extension | {
"line": 101,
"column": 4
} | {
"line": 101,
"column": 63
} | {
"line": 103,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nΓR : Type u_3\nΓA : Type u_4\ninst✝⁴ : CommRing R\ninst✝³ : Ring A\ninst✝² : LinearOrderedCommMonoidWithZero ΓR\ninst✝¹ : LinearOrderedCommMonoidWithZero ΓA\ninst✝ : Algebra R A\nvR : Valuation R ΓR\nvA : Valuation A ΓA\n⊢ vR.IsEquiv (comap (algebraMap R R) vR)",
"ppTerm... | [] | simp only [Algebra.algebraMap_self, comap_id, IsEquiv.refl] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Valuation.Extension | {
"line": 101,
"column": 4
} | {
"line": 101,
"column": 63
} | {
"line": 103,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\nΓR : Type u_3\nΓA : Type u_4\ninst✝⁴ : CommRing R\ninst✝³ : Ring A\ninst✝² : LinearOrderedCommMonoidWithZero ΓR\ninst✝¹ : LinearOrderedCommMonoidWithZero ΓA\ninst✝ : Algebra R A\nvR : Valuation R ΓR\nvA : Valuation A ΓA\n⊢ vR.IsEquiv (comap (algebraMap R R) vR)",
"ppTerm... | [] | simp only [Algebra.algebraMap_self, comap_id, IsEquiv.refl] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.WittVector.DiscreteValuationRing | {
"line": 69,
"column": 4
} | {
"line": 69,
"column": 81
} | {
"line": 70,
"column": 4
} | [
{
"pp": "case a\np : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝¹ : CommRing k\ninst✝ : CharP k p\na : kˣ\nA : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\nhA : A.coeff 0 = ↑a\nn : ℕ\na✝ : (A * mk p (inverseCoeff a A)).coeff n = coeff 1 n\nH_coeff : k :=\n ... | [
"case a\np : ℕ\nhp : Fact (Nat.Prime p)\nk : Type u_1\ninst✝¹ : CommRing k\ninst✝ : CharP k p\na : kˣ\nA : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\nhA : A.coeff 0 = ↑a\nn : ℕ\na✝ : (A * mk p (inverseCoeff a A)).coeff n = coeff 1 n\nH_coeff : k :=\n A.coeff (n ... | have ha_inv : (↑a⁻¹ : k) ^ p ^ (n + 1) = ↑(a ^ p ^ (n + 1))⁻¹ := by norm_cast | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.WittVector.MulCoeff | {
"line": 117,
"column": 4
} | {
"line": 126,
"column": 43
} | {
"line": 127,
"column": 2
} | [
{
"pp": "case e'_2\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\n⊢ ∑ i ∈ range (n + 1), ↑p ^ i * wittMul p i ^ p ^ (n - i) =\n (bind₁ (wittStructureInt p (X 0 * X 1))) (wittPolynomial p ℤ n)",
"ppTerm": "?e'_2",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Finsupp.instF... | [] | simp only [wittPolynomial, wittMul]
rw [map_sum]
congr 1 with i
congr 1
have hsupp : (Finsupp.single i (p ^ (n - i))).support = {i} := by
rw [Finsupp.support_eq_singleton]
simp only [and_true, Finsupp.single_eq_same, Ne]
exact pow_ne_zero _ hp.out.ne_zero
simp only [bind₁_monomial,... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.WittVector.MulCoeff | {
"line": 117,
"column": 4
} | {
"line": 126,
"column": 43
} | {
"line": 127,
"column": 2
} | [
{
"pp": "case e'_2\np : ℕ\nhp : Fact (Nat.Prime p)\nn : ℕ\n⊢ ∑ i ∈ range (n + 1), ↑p ^ i * wittMul p i ^ p ^ (n - i) =\n (bind₁ (wittStructureInt p (X 0 * X 1))) (wittPolynomial p ℤ n)",
"ppTerm": "?e'_2",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"Finsupp.instF... | [] | simp only [wittPolynomial, wittMul]
rw [map_sum]
congr 1 with i
congr 1
have hsupp : (Finsupp.single i (p ^ (n - i))).support = {i} := by
rw [Finsupp.support_eq_singleton]
simp only [and_true, Finsupp.single_eq_same, Ne]
exact pow_ne_zero _ hp.out.ne_zero
simp only [bind₁_monomial,... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.SetTheory.Cardinal.EventuallyConst | {
"line": 39,
"column": 38
} | {
"line": 39,
"column": 48
} | {
"line": 40,
"column": 2
} | [
{
"pp": "α : Type u\nβ : Type v\ninst✝¹ : LinearOrder α\ninst✝ : PartialOrder β\nf : α → β\nhf : Monotone f\nhα : lift.{u, v} #β < lift.{v, u} (cof α)\nthis : IsEmpty α\n⊢ False",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"NonAssocSemiring.toAddCommMo... | [] | simp at hα | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.SetTheory.Lists | {
"line": 157,
"column": 2
} | {
"line": 157,
"column": 41
} | {
"line": 158,
"column": 2
} | [
{
"pp": "α : Type u_1\na : Lists α\nl₁ l₂ l₁' : Lists' α true\nh' : cons a l₁ = l₁'\nh : l₁' ⊆ l₂\n⊢ a ∈ l₂ ∧ l₁ ⊆ l₂",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants": [
"Lists'.Subset.cons",
"Lists'.toList",
"HEq.refl",
"Lists",
"Membership.mem",
"Lists'.in... | [
"case nil\nα : Type u_1\na : Lists α\nl₁ l₂ : Lists' α true\nh' : cons a l₁ = nil\n⊢ a ∈ l₂ ∧ l₁ ⊆ l₂",
"case cons\nα : Type u_1\na : Lists α\nl₁ l₂ : Lists' α true\na' a'✝ : Lists α\nl✝ : Lists' α true\ne : a' ~ a'✝\nh' : cons a l₁ = cons a' l✝\nm : a'✝ ∈ l₂.toList\ns : l✝.Subset l₂\n⊢ a ∈ l₂ ∧ l₁ ⊆ l₂"
] | obtain - | @⟨a', _, _, _, e, m, s⟩ := h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.SetTheory.Ordinal.Commute | {
"line": 39,
"column": 22
} | {
"line": 39,
"column": 30
} | {
"line": 39,
"column": 31
} | [
{
"pp": "case right\no₁ o₂ : Ordinal.{u_1}\nhcomm : AddCommute o₁ o₂\nih : ∀ y < o₁ + o₂, ∀ {o₁ o₂ : Ordinal.{u_1}}, AddCommute o₁ o₂ → o₁ + o₂ = y → ∃ o n₁ n₂, o * ↑n₁ = o₁ ∧ o * ↑n₂ = o₂\nhle : o₁ ≤ o₂\nh₁ : o₁ ≠ 0\no₃ : Ordinal.{u_1} := o₂ - o₁\nhsub : o₁ + o₃ = o₂\nhcomm' : AddCommute o₁ o₃\nhlt : o₁ + o₃ <... | [
"case right\no₁ o₂ : Ordinal.{u_1}\nhcomm : AddCommute o₁ o₂\nih : ∀ y < o₁ + o₂, ∀ {o₁ o₂ : Ordinal.{u_1}}, AddCommute o₁ o₂ → o₁ + o₂ = y → ∃ o n₁ n₂, o * ↑n₁ = o₁ ∧ o * ↑n₂ = o₂\nhle : o₁ ≤ o₂\nh₁ : o₁ ≠ 0\no₃ : Ordinal.{u_1} := o₂ - o₁\nhsub : o₁ + o₃ = o₂\nhcomm' : AddCommute o₁ o₃\nhlt : o₁ + o₃ < o₁ + o₂\no ... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 122,
"column": 87
} | {
"line": 127,
"column": 14
} | {
"line": 129,
"column": 0
} | [
{
"pp": "b o : Ordinal.{u}\nx : Ordinal.{u} × Ordinal.{u}\n⊢ x ∈ CNF b o → 0 < x.2",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"False",
"Preorder.toLT",
"instHDiv",
"Ordinal.partialOrder",
"congrArg",
"Ordinal.div_opow_log_pos",
... | [] | by
refine CNF.rec b (by simp) (fun o ho IH ↦ ?_) o
rw [CNF.ne_zero ho]
rintro (h | ⟨_, h⟩)
· exact div_opow_log_pos b ho
· exact IH h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.SetTheory.Ordinal.FixedPointApproximants | {
"line": 183,
"column": 2
} | {
"line": 183,
"column": 68
} | {
"line": 184,
"column": 2
} | [
{
"pp": "α : Type u\ninst✝ : CompleteLattice α\nf : α →o α\nx : α\nh_ninj : ¬Set.InjOn (lfpApprox f x) (Set.Iio (SuccOrder.succ #α).ord)\n⊢ ∃ a < (succ #α).ord, ∃ b < (succ #α).ord, a ≠ b ∧ lfpApprox f x a = lfpApprox f x b",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"SuccOrder.s... | [
"α : Type u\ninst✝ : CompleteLattice α\nf : α →o α\nx : α\nh_ninj :\n ∃ a b,\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) a =\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) b ∧\n a ≠ b\n⊢ ∃ a < (succ #α).ord, ∃ b < (succ #α).ord, a ≠ b ∧ lfpApprox f x a = lfpAppro... | rw [Set.injOn_iff_injective, Function.not_injective_iff] at h_ninj | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.SetTheory.Ordinal.FixedPointApproximants | {
"line": 188,
"column": 16
} | {
"line": 188,
"column": 44
} | {
"line": 188,
"column": 44
} | [
{
"pp": "case h.left\nα : Type u\ninst✝ : CompleteLattice α\nf : α →o α\nx : α\nh_ninj :\n ∃ a b,\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) a =\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) b ∧\n a ≠ b\na b : ↑(Set.Iio (SuccOrder.succ #α).ord)\nh_fab :\n ... | [
"case h.left\nα : Type u\ninst✝ : CompleteLattice α\nf : α →o α\nx : α\nh_ninj :\n ∃ a b,\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) a =\n (Set.Iio (SuccOrder.succ #α).ord).domRestrict (lfpApprox f x) b ∧\n a ≠ b\na b : ↑(Set.Iio (SuccOrder.succ #α).ord)\nh_fab :\n (Set.Iio (Su... | rw [Subtype.coe_inj] at h_eq | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Topology.Order.SuccPred | {
"line": 104,
"column": 4
} | {
"line": 106,
"column": 9
} | {
"line": 108,
"column": 0
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝³ : LinearOrder α\ninst✝² : TopologicalSpace α\ninst✝¹ : SuccOrder α\ninst✝ : OrderTopology α\na : α\ns : Set α\nha : ¬IsMin a\n⊢ (∃ᶠ (y : α) in 𝓝 a, y ≠ a ∧ y ∈ s) ↔ ¬IsMin a ∧ ∀ b < a, (s ∩ Ioo b a).Nonempty",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstan... | [] | rw [not_isMin_iff] at ha ⊢
simp_rw [(hasBasis_nhds_Ioc_of_exists_lt ha).frequently_iff, Set.Nonempty, mem_inter_iff]
grind | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Order.SuccPred | {
"line": 104,
"column": 4
} | {
"line": 106,
"column": 9
} | {
"line": 108,
"column": 0
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝³ : LinearOrder α\ninst✝² : TopologicalSpace α\ninst✝¹ : SuccOrder α\ninst✝ : OrderTopology α\na : α\ns : Set α\nha : ¬IsMin a\n⊢ (∃ᶠ (y : α) in 𝓝 a, y ≠ a ∧ y ∈ s) ↔ ¬IsMin a ∧ ∀ b < a, (s ∩ Ioo b a).Nonempty",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstan... | [] | rw [not_isMin_iff] at ha ⊢
simp_rw [(hasBasis_nhds_Ioc_of_exists_lt ha).frequently_iff, Set.Nonempty, mem_inter_iff]
grind | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 302,
"column": 4
} | {
"line": 308,
"column": 16
} | {
"line": 310,
"column": 0
} | [
{
"pp": "case single_add\nb : Ordinal.{u_1}\nf₂ : Ordinal.{u_1} →₀ Ordinal.{u_1}\ne₁ x : Ordinal.{u_1}\nf₁ : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf₁ : ∀ c ∈ f₁.support, c < e₁\nhx : x ≠ 0\nIH : (∀ e₁ ∈ f₁.support, ∀ e₂ ∈ f₂.support, e₂ ≤ e₁) → eval b (f₁ + f₂) = eval b f₁ + eval b f₂\nh : ∀ e₁_1 ∈ (single e₁ x + f₁... | [] | rw [add_assoc, eval_single_add, eval_single_add' _ hf₁, IH, add_assoc]
· simp_all
· intro e₂ he₂
obtain he₂ | he₂ := Finset.mem_union.1 <| support_add he₂
· exact (hf₁ _ he₂).le
· apply h _ _ _ he₂
simp_all | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 302,
"column": 4
} | {
"line": 308,
"column": 16
} | {
"line": 310,
"column": 0
} | [
{
"pp": "case single_add\nb : Ordinal.{u_1}\nf₂ : Ordinal.{u_1} →₀ Ordinal.{u_1}\ne₁ x : Ordinal.{u_1}\nf₁ : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf₁ : ∀ c ∈ f₁.support, c < e₁\nhx : x ≠ 0\nIH : (∀ e₁ ∈ f₁.support, ∀ e₂ ∈ f₂.support, e₂ ≤ e₁) → eval b (f₁ + f₂) = eval b f₁ + eval b f₂\nh : ∀ e₁_1 ∈ (single e₁ x + f₁... | [] | rw [add_assoc, eval_single_add, eval_single_add' _ hf₁, IH, add_assoc]
· simp_all
· intro e₂ he₂
obtain he₂ | he₂ := Finset.mem_union.1 <| support_add he₂
· exact (hf₁ _ he₂).le
· apply h _ _ _ he₂
simp_all | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 318,
"column": 8
} | {
"line": 318,
"column": 29
} | {
"line": 318,
"column": 29
} | [
{
"pp": "case single_add\nb e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1... | [
"case single_add\nb e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1 < b\nhe : ∀... | eval_single_add' _ hf | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 323,
"column": 10
} | {
"line": 323,
"column": 28
} | {
"line": 323,
"column": 29
} | [
{
"pp": "b e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1 < b\nhe : ∀ e'_1... | [
"b e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1 < b\nhe : ∀ e'_1 ∈ (single e... | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 328,
"column": 12
} | {
"line": 328,
"column": 30
} | {
"line": 328,
"column": 31
} | [
{
"pp": "case pos\nb e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1 < b\nh... | [
"case pos\nb e' x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf : ∀ c ∈ f.support, c < e'\nhx : x ≠ 0\nIH : ∀ {e : Ordinal.{u_1}}, (∀ (e' : Ordinal.{u_1}), f e' < b) → (∀ e' ∈ f.support, e' < e) → eval b f < b ^ e\ne : Ordinal.{u_1}\nhb : ∀ (e'_1 : Ordinal.{u_1}), (single e' x + f) e'_1 < b\nhe : ∀ e'_1 ∈... | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 352,
"column": 12
} | {
"line": 352,
"column": 30
} | {
"line": 352,
"column": 31
} | [
{
"pp": "case pos\nb : Ordinal.{u_1}\nhb : 1 < b\ne x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf' : ∀ c ∈ f.support, c < e\nhx : x ≠ 0\nIH : (∀ (e : Ordinal.{u_1}), f e < b) → coeff b (eval b f) = f\nhf : ∀ (e_1 : Ordinal.{u_1}), (single e x + f) e_1 < b\ne' : Ordinal.{u_1}\nhe' : e' ∈ f.support\n⊢... | [
"case pos\nb : Ordinal.{u_1}\nhb : 1 < b\ne x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf' : ∀ c ∈ f.support, c < e\nhx : x ≠ 0\nIH : (∀ (e : Ordinal.{u_1}), f e < b) → coeff b (eval b f) = f\nhf : ∀ (e_1 : Ordinal.{u_1}), (single e x + f) e_1 < b\ne' : Ordinal.{u_1}\nhe' : e' ∈ f.support\n⊢ (single e x... | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.CantorNormalForm | {
"line": 358,
"column": 10
} | {
"line": 358,
"column": 28
} | {
"line": 358,
"column": 29
} | [
{
"pp": "case single_add.hxb\nb : Ordinal.{u_1}\nhb : 1 < b\ne x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf' : ∀ c ∈ f.support, c < e\nhx : x ≠ 0\nIH : (∀ (e : Ordinal.{u_1}), f e < b) → coeff b (eval b f) = f\nhf : ∀ (e_1 : Ordinal.{u_1}), (single e x + f) e_1 < b\nIH' : ∀ (e' : Ordinal.{u_1}), f ... | [
"case single_add.hxb\nb : Ordinal.{u_1}\nhb : 1 < b\ne x : Ordinal.{u_1}\nf : Ordinal.{u_1} →₀ Ordinal.{u_1}\nhf' : ∀ c ∈ f.support, c < e\nhx : x ≠ 0\nIH : (∀ (e : Ordinal.{u_1}), f e < b) → coeff b (eval b f) = f\nhf : ∀ (e_1 : Ordinal.{u_1}), (single e x + f) e_1 < b\nIH' : ∀ (e' : Ordinal.{u_1}), f e' < b\n⊢ (s... | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.SetTheory.Ordinal.Notation | {
"line": 316,
"column": 17
} | {
"line": 316,
"column": 41
} | {
"line": 317,
"column": 6
} | [
{
"pp": "o₁ e₁ a₁ o₂ : ONote\nn₂ : ℕ+\na₂ : ONote\nh✝¹ : o₂ = e₁.oadd n₂ a₂\nh₂ : (namedPattern o₂ (e₁.oadd n₂ a₂) h✝¹).NF\nh✝ : o₁ = e₁.oadd n₂ a₁\nh₁ : (namedPattern o₁ (e₁.oadd n₂ a₁) h✝).NF\nnhl : ↑n₂ ≤ ↑n₂\nnhr : ¬↑n₂ < ↑n₂ ∧ Ordering.eq = Ordering.eq\nIHa : a₁ < a₂\n⊢ (Ordering.eq.then (Ordering.eq.then O... | [] | exact oadd_lt_oadd_3 IHa | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.SetTheory.Ordinal.Notation | {
"line": 316,
"column": 17
} | {
"line": 316,
"column": 41
} | {
"line": 317,
"column": 6
} | [
{
"pp": "o₁ e₁ a₁ o₂ : ONote\nn₂ : ℕ+\na₂ : ONote\nh✝¹ : o₂ = e₁.oadd n₂ a₂\nh₂ : (namedPattern o₂ (e₁.oadd n₂ a₂) h✝¹).NF\nh✝ : o₁ = e₁.oadd n₂ a₁\nh₁ : (namedPattern o₁ (e₁.oadd n₂ a₁) h✝).NF\nnhl : ↑n₂ ≤ ↑n₂\nnhr : ¬↑n₂ < ↑n₂ ∧ Ordering.eq = Ordering.eq\nIHa : a₁ < a₂\n⊢ (Ordering.eq.then (Ordering.eq.then O... | [] | exact oadd_lt_oadd_3 IHa | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.SetTheory.Ordinal.Notation | {
"line": 316,
"column": 17
} | {
"line": 316,
"column": 41
} | {
"line": 317,
"column": 6
} | [
{
"pp": "o₁ e₁ a₁ o₂ : ONote\nn₂ : ℕ+\na₂ : ONote\nh✝¹ : o₂ = e₁.oadd n₂ a₂\nh₂ : (namedPattern o₂ (e₁.oadd n₂ a₂) h✝¹).NF\nh✝ : o₁ = e₁.oadd n₂ a₁\nh₁ : (namedPattern o₁ (e₁.oadd n₂ a₁) h✝).NF\nnhl : ↑n₂ ≤ ↑n₂\nnhr : ¬↑n₂ < ↑n₂ ∧ Ordering.eq = Ordering.eq\nIHa : a₁ < a₂\n⊢ (Ordering.eq.then (Ordering.eq.then O... | [] | exact oadd_lt_oadd_3 IHa | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.