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.Topology.Algebra.Nonarchimedean.Bases | {
"line": 167,
"column": 6
} | {
"line": 174,
"column": 24
} | {
"line": 174,
"column": 24
} | [
{
"pp": "case mpr\nA : Type u_1\nι : Type u_2\ninst✝¹ : Ring A\ninst✝ : Nonempty ι\nB : ι → AddSubgroup A\nhB : RingSubgroupsBasis B\na : A\ns : Set A\n⊢ (∃ i, {b | b - a ∈ B i} ⊆ s) → ∃ i ∈ hB.toRingFilterBasis.toAddGroupFilterBasis, (fun y ↦ a + y) '' i ⊆ s",
"ppTerm": "?mpr",
"assigned": true,
"u... | [] | rintro ⟨i, hi⟩
use B i
constructor
· use i
· rw [image_subset_iff]
rintro b b_in
apply hi
simpa using b_in | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Topology.Algebra.Valued.ValuationTopology | {
"line": 309,
"column": 2
} | {
"line": 309,
"column": 31
} | {
"line": 311,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝¹ : Ring R\nΓ₀ : Type v\ninst✝ : LinearOrderedCommGroupWithZero Γ₀\n_i : Valued R Γ₀\n⊢ IsClosed[_i.toTopologicalSpace] {x | v.restrict x ≤ 1}",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"GroupWithZero.toMonoidWithZero",
"LinearOrderedCommGroupWith... | [] | exact isClosed_closedBall _ _ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Valuation.ValuativeRel.Basic | {
"line": 529,
"column": 6
} | {
"line": 529,
"column": 50
} | {
"line": 530,
"column": 4
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝¹ : Semiring R\ninst✝ : ValuativeRel R\nx✝ x' y✝ y' z✝ x y z w : R\nt s u v : ↥(posSubmonoid R)\nh₁ : x * ↑t ≤ᵥ y * ↑s\nh₂ : y * ↑s ≤ᵥ x * ↑t\nh₃ : z * ↑u ≤ᵥ w * ↑v\nh₄ : w * ↑v ≤ᵥ z * ↑u\nhw : ¬w ≤ᵥ 0\nhz : z ≤ᵥ 0\n⊢ w * ↑v ≤ᵥ 0 * ↑v",
"ppTerm": "?pos✝",
"assigned"... | [] | simpa using h₄.trans (mul_vle_mul_left hz u) | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.Valuation.ValuativeRel.Basic | {
"line": 559,
"column": 4
} | {
"line": 559,
"column": 32
} | {
"line": 560,
"column": 4
} | [
{
"pp": "case mk.mk.mk\nR : Type u_1\ninst✝¹ : Semiring R\ninst✝ : ValuativeRel R\nx x' y y' z a₁ : R\na₂ : ↥(posSubmonoid R)\nb₁ : R\nb₂ : ↥(posSubmonoid R)\nhab : a₁ * ↑b₂ ≤ᵥ b₁ * ↑a₂\nc₁ : R\nc₂ : ↥(posSubmonoid R)\nhbc : b₁ * ↑c₂ ≤ᵥ c₁ * ↑b₂\n⊢ a₁ * ↑c₂ ≤ᵥ c₁ * ↑a₂",
"ppTerm": "?mk.mk.mk",
"assigned... | [
"case mk.mk.mk\nR : Type u_1\ninst✝¹ : Semiring R\ninst✝ : ValuativeRel R\nx x' y y' z a₁ : R\na₂ : ↥(posSubmonoid R)\nb₁ : R\nb₂ : ↥(posSubmonoid R)\nhab : a₁ * ↑b₂ ≤ᵥ b₁ * ↑a₂\nc₁ : R\nc₂ : ↥(posSubmonoid R)\nhbc : b₁ * ↑c₂ ≤ᵥ c₁ * ↑b₂\n⊢ a₁ * ↑c₂ * ↑b₂ ≤ᵥ c₁ * ↑a₂ * ↑b₂"
] | apply vle_mul_cancel b₂.prop | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Topology.Algebra.Valued.WithVal | {
"line": 433,
"column": 4
} | {
"line": 437,
"column": 28
} | {
"line": 439,
"column": 0
} | [
{
"pp": "R✝ : Type u_1\nΓ₀ : Type u_2\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₀\nR : Type u_3\ninst✝ : Ring R\nv : Valuation R Γ₀\na b : (↑Valued.v).ValueGroup₀\n⊢ (WithZero.map' ↑(valueGroupEquiv v)) a ≤ (WithZero.map' ↑(valueGroupEquiv v)) b ↔ a ≤ b",
"ppTerm": "?m.103",
"assigned": true,
"usedC... | [] | match a, b with
| 0, 0 => simp
| 0, .coe _ => simp
| .coe _, 0 => simp
| .coe a, .coe b => simp | Lean.Elab.Tactic.evalMatch | Lean.Parser.Tactic.match |
Mathlib.Topology.Algebra.Valued.WithVal | {
"line": 433,
"column": 4
} | {
"line": 437,
"column": 28
} | {
"line": 439,
"column": 0
} | [
{
"pp": "R✝ : Type u_1\nΓ₀ : Type u_2\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₀\nR : Type u_3\ninst✝ : Ring R\nv : Valuation R Γ₀\na b : (↑Valued.v).ValueGroup₀\n⊢ (WithZero.map' ↑(valueGroupEquiv v)) a ≤ (WithZero.map' ↑(valueGroupEquiv v)) b ↔ a ≤ b",
"ppTerm": "?m.103",
"assigned": true,
"usedC... | [] | match a, b with
| 0, 0 => simp
| 0, .coe _ => simp
| .coe _, 0 => simp
| .coe a, .coe b => simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Algebra.Valued.WithVal | {
"line": 433,
"column": 4
} | {
"line": 437,
"column": 28
} | {
"line": 439,
"column": 0
} | [
{
"pp": "R✝ : Type u_1\nΓ₀ : Type u_2\ninst✝¹ : LinearOrderedCommGroupWithZero Γ₀\nR : Type u_3\ninst✝ : Ring R\nv : Valuation R Γ₀\na b : (↑Valued.v).ValueGroup₀\n⊢ (WithZero.map' ↑(valueGroupEquiv v)) a ≤ (WithZero.map' ↑(valueGroupEquiv v)) b ↔ a ≤ b",
"ppTerm": "?m.103",
"assigned": true,
"usedC... | [] | match a, b with
| 0, 0 => simp
| 0, .coe _ => simp
| .coe _, 0 => simp
| .coe a, .coe b => simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Valuation.ValuativeRel.Basic | {
"line": 1055,
"column": 2
} | {
"line": 1055,
"column": 48
} | {
"line": 1056,
"column": 2
} | [
{
"pp": "case neg\nR : Type u_1\ninst✝³ : Semiring R\ninst✝² : ValuativeRel R\ninst✝¹ : IsDiscrete R\ninst✝ : IsNontrivial R\na : ValueGroupWithZero R\nha : ¬a = 0\n⊢ (uniformizer R)⁻¹ ≤ a ↔ 1 < a",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"ValuativeRel.instLine... | [
"case neg\nR : Type u_1\ninst✝³ : Semiring R\ninst✝² : ValuativeRel R\ninst✝¹ : IsDiscrete R\ninst✝ : IsNontrivial R\na : ValueGroupWithZero R\nha : 0 < a\n⊢ (uniformizer R)⁻¹ ≤ a ↔ 1 < a"
] | replace ha : 0 < a := bot_lt_iff_ne_bot.mpr ha | Lean.Elab.Tactic.evalReplace | Lean.Parser.Tactic.replace |
Mathlib.Basic.Real.Embedding | {
"line": 93,
"column": 2
} | {
"line": 93,
"column": 7
} | {
"line": 94,
"column": 2
} | [
{
"pp": "M : Type u_1\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : LinearOrder M\ninst✝⁴ : IsOrderedAddMonoid M\ninst✝³ : One M\ninst✝² : ZeroLEOneClass M\ninst✝¹ : NeZero 1\ninst✝ : Archimedean M\nx : M\nn : ℕ\nhn : x ≤ n • 1\n⊢ BddAbove (ratLt x)",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
... | [
"case h\nM : Type u_1\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : LinearOrder M\ninst✝⁴ : IsOrderedAddMonoid M\ninst✝³ : One M\ninst✝² : ZeroLEOneClass M\ninst✝¹ : NeZero 1\ninst✝ : Archimedean M\nx : M\nn : ℕ\nhn : x ≤ n • 1\n⊢ ↑n ∈ upperBounds (ratLt x)"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.Topology.Algebra.Valued.ValuedField | {
"line": 212,
"column": 17
} | {
"line": 212,
"column": 18
} | {
"line": 212,
"column": 18
} | [
{
"pp": "K : Type u_1\ninst✝¹ : Field K\nΓ₀ : Type u_2\ninst✝ : LinearOrderedCommGroupWithZero Γ₀\nhv : Valued K Γ₀\nx₀ : hat K\nh : x₀ ≠ 0\npreimage_one : ⇑v ⁻¹' {1} ∈ 𝓝 1\nV : Set (hat K)\nV_in : V ∈ 𝓝 1\nhV : ∀ (x : K), ↑x ∈ V → v x = 1\n| Tendsto (fun p ↦ p.1 * p.2⁻¹) (𝓝 (1, 1)) (𝓝 1)",
"ppTerm": "?... | [
"K : Type u_1\ninst✝¹ : Field K\nΓ₀ : Type u_2\ninst✝ : LinearOrderedCommGroupWithZero Γ₀\nhv : Valued K Γ₀\nx₀ : hat K\nh : x₀ ≠ 0\npreimage_one : ⇑v ⁻¹' {1} ∈ 𝓝 1\nV : Set (hat K)\nV_in : V ∈ 𝓝 1\nhV : ∀ (x : K), ↑x ∈ V → v x = 1\n| 𝓝 1"
] | 3 | Lean.Elab.Tactic.Conv.evalEnter | null |
Mathlib.RingTheory.DedekindDomain.AdicValuation.Completion | {
"line": 405,
"column": 19
} | {
"line": 406,
"column": 17
} | {
"line": 407,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁵ : CommRing R\ninst✝⁴ : IsDedekindDomain R\nK : Type u_2\nS : Type u_3\ninst✝³ : Field K\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R K\ninst✝ : IsFractionRing R K\nv : HeightOneSpectrum R\nr : R\nx : ↥(adicCompletionIntegers K v)\n⊢ { toFun := fun r ↦ ⟨adicCompletion.ofCompletion ↑... | [] | by
rw [mul_comm] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.DedekindDomain.AdicValuation.Completion | {
"line": 467,
"column": 4
} | {
"line": 468,
"column": 13
} | {
"line": 469,
"column": 2
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝⁴ : CommRing R\ninst✝³ : IsDedekindDomain R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R K\ninst✝ : IsFractionRing R K\nv : HeightOneSpectrum R\na : adicCompletion K v\nha : a ∈ adicCompletionIntegers K v\n⊢ ∃ b ∈ R⁰, a * ↑b ∈ adicCompletionIntegers K v",
"ppTerm... | [] | use 1
simp [ha] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.DedekindDomain.AdicValuation.Completion | {
"line": 467,
"column": 4
} | {
"line": 468,
"column": 13
} | {
"line": 469,
"column": 2
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝⁴ : CommRing R\ninst✝³ : IsDedekindDomain R\nK : Type u_2\ninst✝² : Field K\ninst✝¹ : Algebra R K\ninst✝ : IsFractionRing R K\nv : HeightOneSpectrum R\na : adicCompletion K v\nha : a ∈ adicCompletionIntegers K v\n⊢ ∃ b ∈ R⁰, a * ↑b ∈ adicCompletionIntegers K v",
"ppTerm... | [] | use 1
simp [ha] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Basic.Real.Embedding | {
"line": 183,
"column": 6
} | {
"line": 183,
"column": 19
} | {
"line": 183,
"column": 20
} | [
{
"pp": "M : Type u_1\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : LinearOrder M\ninst✝⁴ : IsOrderedAddMonoid M\ninst✝³ : One M\ninst✝² : ZeroLEOneClass M\ninst✝¹ : NeZero 1\ninst✝ : Archimedean M\nx y : M\n⊢ embedRealFun (x + y) = embedRealFun x + embedRealFun y",
"ppTerm": "?m.33",
"assigned": true,
"usedCo... | [
"M : Type u_1\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : LinearOrder M\ninst✝⁴ : IsOrderedAddMonoid M\ninst✝³ : One M\ninst✝² : ZeroLEOneClass M\ninst✝¹ : NeZero 1\ninst✝ : Archimedean M\nx y : M\n⊢ sSup (ratLt' (x + y)) = embedRealFun x + embedRealFun y"
] | embedRealFun, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Basic.Real.Embedding | {
"line": 195,
"column": 4
} | {
"line": 195,
"column": 79
} | {
"line": 196,
"column": 2
} | [
{
"pp": "M : Type u_1\ninst✝⁶ : AddCommGroup M\ninst✝⁵ : LinearOrder M\ninst✝⁴ : IsOrderedAddMonoid M\ninst✝³ : One M\ninst✝² : ZeroLEOneClass M\ninst✝¹ : NeZero 1\ninst✝ : Archimedean M\nx y : M\nh : x < y\nhyz : 0 < y - x\nhy : y = y - x + x\nn : ℕ\nhn : 1 ≤ n • (y - x)\n⊢ ↑{ num := 1, den := n + 1, den_nz :=... | [] | simpa using hn.trans_lt <| nsmul_lt_nsmul_left hyz (show n < n + 1 by simp) | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Data.ZMod.ValMinAbs | {
"line": 131,
"column": 4
} | {
"line": 131,
"column": 36
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case inr.refine_1\nn : ℕ\na : ZMod n\nha : 2 * a.val ≠ n\nh : NeZero n\n⊢ -a = ↑(-a.valMinAbs)",
"ppTerm": "?inr.refine_1",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Int.cast_neg",
"Int.cast",
"Eq.mpr",
"NegZeroClass.toNeg",
"Z... | [] | rw [Int.cast_neg, coe_valMinAbs] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Data.ZMod.ValMinAbs | {
"line": 131,
"column": 4
} | {
"line": 131,
"column": 36
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case inr.refine_1\nn : ℕ\na : ZMod n\nha : 2 * a.val ≠ n\nh : NeZero n\n⊢ -a = ↑(-a.valMinAbs)",
"ppTerm": "?inr.refine_1",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Int.cast_neg",
"Int.cast",
"Eq.mpr",
"NegZeroClass.toNeg",
"Z... | [] | rw [Int.cast_neg, coe_valMinAbs] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.ZMod.ValMinAbs | {
"line": 131,
"column": 4
} | {
"line": 131,
"column": 36
} | {
"line": 132,
"column": 2
} | [
{
"pp": "case inr.refine_1\nn : ℕ\na : ZMod n\nha : 2 * a.val ≠ n\nh : NeZero n\n⊢ -a = ↑(-a.valMinAbs)",
"ppTerm": "?inr.refine_1",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Int.cast_neg",
"Int.cast",
"Eq.mpr",
"NegZeroClass.toNeg",
"Z... | [] | rw [Int.cast_neg, coe_valMinAbs] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.FreeModule.Determinant | {
"line": 30,
"column": 96
} | {
"line": 33,
"column": 57
} | {
"line": 34,
"column": 0
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : Module.Free R M\ninst✝¹ : Module.Finite R M\ninst✝ : Nontrivial M\n⊢ LinearMap.det 0 = 0",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Nontrivial",
"LinearMap.det... | [] | by
let : Nonempty (Module.Free.ChooseBasisIndex R M) := (Module.Free.chooseBasis R M).index_nonempty
nontriviality R
exact LinearMap.det_zero' (Module.Free.chooseBasis R M) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.UniqueFactorizationDomain.Multiplicative | {
"line": 121,
"column": 2
} | {
"line": 121,
"column": 36
} | {
"line": 122,
"column": 2
} | [
{
"pp": "case pos\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : UniqueFactorizationMonoid α\nβ : Type u_2\ninst✝ : CommMonoidWithZero β\nf : α → β\na b : α\nh0 : f 0 = 0\nh1 : ∀ {x y : α}, IsUnit y → f (x * y) = f x * f y\nhpr : ∀ {p : α} (i : ℕ), Prime p → f (p ^ i) = f p ^ i\nhcp : ∀ {x y : α}, IsRel... | [
"case neg\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : UniqueFactorizationMonoid α\nβ : Type u_2\ninst✝ : CommMonoidWithZero β\nf : α → β\na b : α\nh0 : f 0 = 0\nh1 : ∀ {x y : α}, IsUnit y → f (x * y) = f x * f y\nhpr : ∀ {p : α} (i : ℕ), Prime p → f (p ^ i) = f p ^ i\nhcp : ∀ {x y : α}, IsRelPrime x y → ... | · rw [ha0, zero_mul, h0, zero_mul] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.FieldTheory.Finite.Basic | {
"line": 200,
"column": 4
} | {
"line": 200,
"column": 56
} | {
"line": 201,
"column": 2
} | [
{
"pp": "case e_s\nK : Type u_1\ninst✝² : CommRing K\ninst✝¹ : NoZeroDivisors K\nG : Subgroup Kˣ\ninst✝ : Fintype ↥G\nk : ℕ\nk_pos : k ≠ 0\nk_lt_card_G : k < Nat.card ↥G\na✝ : Nontrivial K\nthis : IsDomain K\na : ↥G\nha : a ^ k ≠ 1\nas_comp : (fun x ↦ (↑↑x * ↑↑a) ^ k) = (fun x ↦ ↑↑x ^ k) ∘ fun x ↦ x * a\n⊢ Mult... | [] | exact Multiset.map_univ_val_equiv (Equiv.mulRight a) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Norm.Basic | {
"line": 97,
"column": 4
} | {
"line": 97,
"column": 40
} | {
"line": 98,
"column": 4
} | [
{
"pp": "case mp\nR : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : Ring S\ninst✝⁴ : Algebra R S\ninst✝³ : IsDomain R\ninst✝² : IsDomain S\ninst✝¹ : Free R S\ninst✝ : Module.Finite R S\nx : S\n⊢ (norm R) x = 0 → x = 0",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"CommSemirin... | [
"case mp\nR : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : Ring S\ninst✝⁴ : Algebra R S\ninst✝³ : IsDomain R\ninst✝² : IsDomain S\ninst✝¹ : Free R S\ninst✝ : Module.Finite R S\nx : S\nb : Basis (Free.ChooseBasisIndex R S) R S := Free.chooseBasis R S\n⊢ (norm R) x = 0 → x = 0"
] | let b := Module.Free.chooseBasis R S | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.RingTheory.Norm.Basic | {
"line": 93,
"column": 28
} | {
"line": 107,
"column": 50
} | {
"line": 109,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : Ring S\ninst✝⁴ : Algebra R S\ninst✝³ : IsDomain R\ninst✝² : IsDomain S\ninst✝¹ : Free R S\ninst✝ : Module.Finite R S\nx : S\n⊢ (norm R) x = 0 ↔ x = 0",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLik... | [] | by
constructor
swap
· rintro rfl; exact norm_zero
· let b := Module.Free.chooseBasis R S
let decEq := Classical.decEq (Module.Free.ChooseBasisIndex R S)
rw [norm_eq_matrix_det b, ← Matrix.exists_mulVec_eq_zero_iff]
rintro ⟨v, v_ne, hv⟩
rw [← b.equivFun.apply_symm_apply v, b.equivFun_symm_apply, ... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Finite.Basic | {
"line": 258,
"column": 2
} | {
"line": 258,
"column": 27
} | {
"line": 259,
"column": 2
} | [
{
"pp": "K : Type u_1\ninst✝² : Field K\ninst✝¹ : Fintype K\np : ℕ\ninst✝ : CharP K p\nhp : Fact (Nat.Prime p)\nthis : Module (ZMod p) K :=\n let __src := (ZMod.castHom ⋯ K).toModule;\n __src\nn : ℕ\nh : q = p ^ n\n⊢ ∃ n, Nat.Prime p ∧ q = p ^ ↑n",
"ppTerm": "?m.61",
"assigned": true,
"usedConstan... | [
"K : Type u_1\ninst✝² : Field K\ninst✝¹ : Fintype K\np : ℕ\ninst✝ : CharP K p\nhp : Fact (Nat.Prime p)\nthis : Module (ZMod p) K :=\n let __src := (ZMod.castHom ⋯ K).toModule;\n __src\nn : ℕ\nh : q = p ^ n\n⊢ 0 < n"
] | refine ⟨⟨n, ?_⟩, hp.1, h⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.RingTheory.Norm.Basic | {
"line": 148,
"column": 41
} | {
"line": 154,
"column": 67
} | {
"line": 156,
"column": 0
} | [
{
"pp": "K : Type u_4\nL : Type u_5\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nx : L\nhx : ¬IsIntegral K x\n⊢ (norm K) (AdjoinSimple.gen K x) = 1",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Set.mem_singleton",
"Eq.mpr",
"Submodule",
... | [] | by
rw [norm_eq_one_of_not_exists_basis]
contrapose hx
obtain ⟨s, ⟨b⟩⟩ := hx
refine .of_mem_of_fg K⟮x⟯.toSubalgebra ?_ x ?_
· exact (Submodule.fg_iff_finiteDimensional _).mpr (b.finiteDimensional_of_finite)
· exact IntermediateField.subset_adjoin K _ (Set.mem_singleton x) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.FieldTheory.Finite.Basic | {
"line": 640,
"column": 6
} | {
"line": 640,
"column": 30
} | {
"line": 640,
"column": 31
} | [
{
"pp": "p : ℕ\nhp : Prime p\nn : ℕ\nhpn : n.Coprime p\n⊢ n ^ (p - 1) ≡ 1 [MOD p]",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Nat.instMonoid",
"HSub.hSub",
"Int.natCast_modEq_iff",
"id",
"instSubNat",
"instOfNatNat"... | [
"p : ℕ\nhp : Prime p\nn : ℕ\nhpn : n.Coprime p\n⊢ ↑(n ^ (p - 1)) ≡ ↑1 [ZMOD ↑p]"
] | ← Int.natCast_modEq_iff, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.RamificationInertia.Inertia | {
"line": 177,
"column": 4
} | {
"line": 177,
"column": 22
} | {
"line": 178,
"column": 4
} | [
{
"pp": "case pos\nR : Type u_1\nS : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R S\nq : Ideal S\nG : Type u_4\ninst✝² : Group G\ninst✝¹ : MulSemiringAction G S\ninst✝ : SMulCommClass G R S\ng : G\nhq : q.IsPrime\n⊢ (g • q).inertiaDeg R = q.inertiaDeg R",
"ppTerm": "?pos✝",
"as... | [
"case pos\nR : Type u_1\nS : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R S\nq : Ideal S\nG : Type u_4\ninst✝² : Group G\ninst✝¹ : MulSemiringAction G S\ninst✝ : SMulCommClass G R S\ng : G\nhq : q.IsPrime\np : Ideal R := under R q\n⊢ (g • q).inertiaDeg R = q.inertiaDeg R"
] | let p := q.under R | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.Analysis.Normed.Group.Ultra | {
"line": 396,
"column": 4
} | {
"line": 396,
"column": 12
} | {
"line": 397,
"column": 4
} | [
{
"pp": "case cons.inr\nM : Type u_1\nι : Type u_2\ninst✝¹ : SeminormedCommGroup M\ninst✝ : IsUltrametricDist M\nf : ι → M\na : ι\ns : Finset ι\nha : a ∉ s\nIH : ‖∏ i ∈ s, f i‖₊ = s.sup fun i ↦ ‖f i‖₊\nhs : (↑(Finset.cons a s ha)).Pairwise fun i j ↦ ‖f i‖₊ ≠ ‖f j‖₊\nhs' : s.Nonempty\nj : ι\nhj : j ∈ s\nhj' : ‖∏... | [
"case cons.inr\nM : Type u_1\nι : Type u_2\ninst✝¹ : SeminormedCommGroup M\ninst✝ : IsUltrametricDist M\nf : ι → M\na : ι\ns : Finset ι\nha : a ∉ s\nIH : ‖∏ i ∈ s, f i‖₊ = s.sup fun i ↦ ‖f i‖₊\nhs : (↑(Finset.cons a s ha)).Pairwise fun i j ↦ ‖f i‖₊ ≠ ‖f j‖₊\nhs' : s.Nonempty\nj : ι\nhj : j ∈ s\nhj' : ‖∏ i ∈ s, f i‖... | rw [hj'] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.MvPowerSeries.LexOrder | {
"line": 61,
"column": 2
} | {
"line": 61,
"column": 23
} | {
"line": 63,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder σ\ninst✝ : WellFoundedGT σ\n⊢ (if h : 0 = 0 then ⊤\n else\n have ne := ⋯;\n ↑(⋯.min (⇑toLex '' Function.support 0) ne)) =\n ⊤",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [] | rw [dite_eq_left rfl] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Topology.Algebra.Valued.NormedValued | {
"line": 164,
"column": 59
} | {
"line": 164,
"column": 92
} | {
"line": 165,
"column": 4
} | [
{
"pp": "L : Type u_1\ninst✝¹ : Field L\nΓ₀ : Type u_2\ninst✝ : LinearOrderedCommGroupWithZero Γ₀\nval : Valued L Γ₀\nhv : v.RankOne\nx y : L\n⊢ ↑((RankLeOne.hom' v) (v.restrict (x - y))) = ↑((RankLeOne.hom' v) (v.restrict (y - x)))",
"ppTerm": "?m.99",
"assigned": true,
"usedConstants": [
"Eq... | [] | rw [← neg_sub, Valuation.map_neg] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.MvPowerSeries.LexOrder | {
"line": 111,
"column": 9
} | {
"line": 111,
"column": 13
} | {
"line": 111,
"column": 13
} | [
{
"pp": "case mpr\nσ : Type u_1\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder σ\ninst✝ : WellFoundedGT σ\nφ : MvPowerSeries σ R\nw : WithTop (Lex (σ →₀ ℕ))\nh : ∀ (d : σ →₀ ℕ), ↑(toLex d) < w → (coeff d) φ = 0\nh' : φ.lexOrder < w\nhφ : φ ≠ 0\nd : σ →₀ ℕ\nhd : φ.lexOrder = ↑(toLex d)\n⊢ ↑(toLex d) < ... | [
"case mpr\nσ : Type u_1\nR : Type u_2\ninst✝² : Semiring R\ninst✝¹ : LinearOrder σ\ninst✝ : WellFoundedGT σ\nφ : MvPowerSeries σ R\nw : WithTop (Lex (σ →₀ ℕ))\nh : ∀ (d : σ →₀ ℕ), ↑(toLex d) < w → (coeff d) φ = 0\nh' : φ.lexOrder < w\nhφ : φ ≠ 0\nd : σ →₀ ℕ\nhd : φ.lexOrder = ↑(toLex d)\n⊢ φ.lexOrder < w"
] | ← hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Topology.Algebra.Valued.NormedValued | {
"line": 191,
"column": 8
} | {
"line": 200,
"column": 62
} | {
"line": 201,
"column": 6
} | [
{
"pp": "case refine_2\nL : Type u_1\ninst✝¹ : Field L\nΓ₀ : Type u_2\ninst✝ : LinearOrderedCommGroupWithZero Γ₀\nval : Valued L Γ₀\nhv : v.RankOne\nthis : Nonempty { ε // ε > 0 }\nU : Set (L × L)\nx✝ : ∃ a, 0 < a ∧ {p | v.norm (p.1 - p.2) < a} ⊆ U\nr : ℝ\nhr_pos : 0 < r\nhr : {p | v.norm (p.1 - p.2) < r} ⊆ U\n... | [] | · have : Nontrivial Γ₀ˣ := (nontrivial_iff_exists_ne (1 : Γ₀ˣ)).mpr
⟨RankOne.unit val.v, RankOne.unit_ne_one val.v⟩
obtain ⟨u, hu⟩ := Real.exists_lt_of_strictMono hv.strictMono hr_pos
use u
apply subset_trans _ hr
intro x hx
simp only [Valuation.norm, mem_of... | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.MvPowerSeries.LexOrder | {
"line": 158,
"column": 2
} | {
"line": 168,
"column": 78
} | {
"line": 170,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝³ : Semiring R\ninst✝² : LinearOrder σ\ninst✝¹ : WellFoundedGT σ\ninst✝ : NoZeroDivisors R\nφ ψ : MvPowerSeries σ R\n⊢ (φ * ψ).lexOrder = φ.lexOrder + ψ.lexOrder",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MvPowerSeries.c... | [] | obtain rfl | hφ := eq_or_ne φ 0
· simp
obtain rfl | hψ := eq_or_ne ψ 0
· simp
rcases exists_finsupp_eq_lexOrder_of_ne_zero hφ with ⟨p, hp⟩
rcases exists_finsupp_eq_lexOrder_of_ne_zero hψ with ⟨q, hq⟩
apply le_antisymm _ (lexOrder_mul_ge φ ψ)
rw [hp, hq]
apply lexOrder_le_of_coeff_ne_zero (d := p + q)
... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.MvPowerSeries.LexOrder | {
"line": 158,
"column": 2
} | {
"line": 168,
"column": 78
} | {
"line": 170,
"column": 0
} | [
{
"pp": "σ : Type u_1\nR : Type u_2\ninst✝³ : Semiring R\ninst✝² : LinearOrder σ\ninst✝¹ : WellFoundedGT σ\ninst✝ : NoZeroDivisors R\nφ ψ : MvPowerSeries σ R\n⊢ (φ * ψ).lexOrder = φ.lexOrder + ψ.lexOrder",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MvPowerSeries.c... | [] | obtain rfl | hφ := eq_or_ne φ 0
· simp
obtain rfl | hψ := eq_or_ne ψ 0
· simp
rcases exists_finsupp_eq_lexOrder_of_ne_zero hφ with ⟨p, hp⟩
rcases exists_finsupp_eq_lexOrder_of_ne_zero hψ with ⟨q, hq⟩
apply le_antisymm _ (lexOrder_mul_ge φ ψ)
rw [hp, hq]
apply lexOrder_le_of_coeff_ne_zero (d := p + q)
... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Sites.CoproductSheafCondition | {
"line": 97,
"column": 2
} | {
"line": 98,
"column": 46
} | {
"line": 99,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\nS : C\nι : Type u_3\nX : ι → C\nf : (i : ι) → X i ⟶ S\ninst✝⁴ : (ofArrows X f).HasPairwisePullbacks\nc : Cofan X\nhc : IsColimit c\nhc' : IsUniversalColimit c\ninst✝³ : HasPullback (Cofan.IsColimit.desc hc f) (Cofan.IsColimit.desc hc f)\ninst✝² : ∀ (i : ι),... | [
"C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\nS : C\nι : Type u_3\nX : ι → C\nf : (i : ι) → X i ⟶ S\ninst✝⁴ : (ofArrows X f).HasPairwisePullbacks\nc : Cofan X\nhc : IsColimit c\nhc' : IsUniversalColimit c\ninst✝³ : HasPullback (Cofan.IsColimit.desc hc f) (Cofan.IsColimit.desc hc f)\ninst✝² : ∀ (i : ι), HasPullback... | have (i : E.I₀) : HasPullback (E.f i) ((E.sigmaOfIsColimit hc).f PUnit.unit) := by
dsimp [sigmaOfIsColimit_f]; infer_instance | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.AlgebraicGeometry.Morphisms.Etale | {
"line": 136,
"column": 51
} | {
"line": 136,
"column": 82
} | {
"line": 136,
"column": 82
} | [
{
"pp": "X Y : Scheme\nf : X ⟶ Y\n⊢ (∀ {U : Y.Opens},\n IsAffineOpen U →\n ∀ {V : X.Opens}, IsAffineOpen V → ∀ (e : V ≤ f ⁻¹ᵁ U), (CommRingCat.Hom.hom (Scheme.Hom.appLE f U V e)).Etale) ↔\n (∀ {U : Y.Opens},\n IsAffineOpen U →\n ∀ {V : X.Opens},\n IsAffineOpen V → ∀ (e ... | [
"X Y : Scheme\nf : X ⟶ Y\n⊢ (∀ {U : Y.Opens},\n IsAffineOpen U →\n ∀ {V : X.Opens}, IsAffineOpen V → ∀ (e : V ≤ f ⁻¹ᵁ U), (CommRingCat.Hom.hom (Scheme.Hom.appLE f U V e)).Etale) ↔\n (∀ {U : Y.Opens},\n IsAffineOpen U →\n ∀ {V : X.Opens},\n IsAffineOpen V → ∀ (e : V ≤ f ⁻¹ᵁ ... | locallyOfFinitePresentation_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.MorphismProperty.Descent | {
"line": 112,
"column": 4
} | {
"line": 112,
"column": 54
} | {
"line": 113,
"column": 4
} | [
{
"pp": "case hfst\nC : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\nP✝ Q✝ W : MorphismProperty C\nA X✝ Y✝ Z✝ : C\nfst : A ⟶ X✝\nsnd : A ⟶ Y✝\nf✝ : X✝ ⟶ Z✝\ng✝ : Y✝ ⟶ Z✝\ninst✝⁴ : HasPullbacks C\nP Q : MorphismProperty C\ninst✝³ : P.DescendsAlong Q\ninst✝² : P.RespectsIso\ninst✝¹ : Q.IsStableUnderBaseChange\nX Y Z... | [
"case hfst\nC : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\nP✝ Q✝ W : MorphismProperty C\nA X✝ Y✝ Z✝ : C\nfst : A ⟶ X✝\nsnd : A ⟶ Y✝\nf✝ : X✝ ⟶ Z✝\ng✝ : Y✝ ⟶ Z✝\ninst✝⁴ : HasPullbacks C\nP Q : MorphismProperty C\ninst✝³ : P.DescendsAlong Q\ninst✝² : P.RespectsIso\ninst✝¹ : Q.IsStableUnderBaseChange\nX Y Z : C\nf : X ... | iterate 4 rw [cancel_left_of_respectsIso (P := P)] | Lean.Parser.Tactic._aux_Init_TacticsExtra___macroRules_Lean_Parser_Tactic_tacticIterate_____1 | Lean.Parser.Tactic.tacticIterate____ |
Mathlib.CategoryTheory.MorphismProperty.Descent | {
"line": 202,
"column": 4
} | {
"line": 202,
"column": 82
} | {
"line": 204,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nP Q : MorphismProperty C\ninst✝ : P.RespectsIso\nH : ∀ {X Y Z : C} {f : Z ⟶ X} {g : Z ⟶ Y} [inst : HasPushout f g], Q f → P (pushout.inl f g) → P g\nA X Y Z : C\nf : A ⟶ X\ng : A ⟶ Y\ninl : X ⟶ Z\ninr : Y ⟶ Z\nh : IsPushout f g inl inr\nhf : Q f\nhfst : P i... | [] | rwa [← P.cancel_right_of_respectsIso _ h.isoPushout.inv, h.inl_isoPushout_inv] | Lean.Elab.Tactic.evalRwa | Lean.Parser.Tactic.rwa |
Mathlib.AlgebraicGeometry.Morphisms.FlatDescent | {
"line": 157,
"column": 4
} | {
"line": 158,
"column": 93
} | {
"line": 159,
"column": 4
} | [
{
"pp": "X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : HasPullback f g\nhf : (@Surjective ⊓ @Flat ⊓ @QuasiCompact) f\nhg : IsOpenImmersion (pullback.fst f g)\nthis✝¹ : UniversallyOpen g\nU : Z.Opens := { carrier := Set.range ⇑g, is_open' := ⋯ }\nf' : pullback f U.ι ⟶ ↑U := pullback.snd f U.ι\ng' : Y ⟶ ↑U := IsO... | [
"X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : HasPullback f g\nhf : (@Surjective ⊓ @Flat ⊓ @QuasiCompact) f\nhg : IsOpenImmersion (pullback.fst f g)\nthis✝¹ : UniversallyOpen g\nU : Z.Opens := { carrier := Set.range ⇑g, is_open' := ⋯ }\nf' : pullback f U.ι ⟶ ↑U := pullback.snd f U.ι\ng' : Y ⟶ ↑U := IsOpenImmersion... | apply MorphismProperty.of_pullback_fst_of_descendsAlong
(P := isomorphisms Scheme) (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) (f := f') ?_ this | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.RingTheory.Conductor | {
"line": 114,
"column": 4
} | {
"line": 114,
"column": 66
} | {
"line": 115,
"column": 2
} | [
{
"pp": "case refine_2\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx : S\nI : Ideal R\np : R\nz : S\nhp : p ∈ comap (algebraMap R S) (conductor R x)\nl : R →₀ S\nH : l ∈ Finsupp.supported S S ↑I\nH' : (l.sum fun i a ↦ a • (algebraMap R S) i) = z\nlem :\n ∀ {a : R... | [] | exact ⟨0, SetLike.mem_coe.mpr <| Ideal.zero_mem _, map_zero _⟩ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.Conductor | {
"line": 114,
"column": 4
} | {
"line": 114,
"column": 66
} | {
"line": 115,
"column": 2
} | [
{
"pp": "case refine_2\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx : S\nI : Ideal R\np : R\nz : S\nhp : p ∈ comap (algebraMap R S) (conductor R x)\nl : R →₀ S\nH : l ∈ Finsupp.supported S S ↑I\nH' : (l.sum fun i a ↦ a • (algebraMap R S) i) = z\nlem :\n ∀ {a : R... | [] | exact ⟨0, SetLike.mem_coe.mpr <| Ideal.zero_mem _, map_zero _⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Conductor | {
"line": 114,
"column": 4
} | {
"line": 114,
"column": 66
} | {
"line": 115,
"column": 2
} | [
{
"pp": "case refine_2\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nx : S\nI : Ideal R\np : R\nz : S\nhp : p ∈ comap (algebraMap R S) (conductor R x)\nl : R →₀ S\nH : l ∈ Finsupp.supported S S ↑I\nH' : (l.sum fun i a ↦ a • (algebraMap R S) i) = z\nlem :\n ∀ {a : R... | [] | exact ⟨0, SetLike.mem_coe.mpr <| Ideal.zero_mem _, map_zero _⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.FieldTheory.RatFunc.AsPolynomial | {
"line": 305,
"column": 2
} | {
"line": 307,
"column": 54
} | {
"line": 309,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝ : Field K\nf g : K[X]\n⊢ (valuation K⟮X⟯ (idealX K)) (RatFunc.mk f g) = (idealX K).intValuation f / (idealX K).intValuation g",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Multiplicative.group",
"IsRightCancelAdd.addRightStrictMono_of_addRightMon... | [] | rcases eq_or_ne g 0 with rfl | hg
· simp
simp only [RatFunc.mk_eq_mk' _ hg, valuation_of_mk'] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.RatFunc.AsPolynomial | {
"line": 305,
"column": 2
} | {
"line": 307,
"column": 54
} | {
"line": 309,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝ : Field K\nf g : K[X]\n⊢ (valuation K⟮X⟯ (idealX K)) (RatFunc.mk f g) = (idealX K).intValuation f / (idealX K).intValuation g",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Multiplicative.group",
"IsRightCancelAdd.addRightStrictMono_of_addRightMon... | [] | rcases eq_or_ne g 0 with rfl | hg
· simp
simp only [RatFunc.mk_eq_mk' _ hg, valuation_of_mk'] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Polynomial.IsIntegral | {
"line": 208,
"column": 8
} | {
"line": 214,
"column": 34
} | {
"line": 214,
"column": 34
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Type w\nf : MvPolynomial σ S\nH : (algebraMap (MvPolynomial σ R) (MvPolynomial σ S)).IsIntegralElem f\nthis :\n ∀ {σ : Type w} {f : MvPolynomial σ S},\n (algebraMap (MvPolynomial σ R) (MvPolynomial σ S)).... | [] | simp only [AlgHom.toRingHom_eq_coe, algebraMap_def, RingHom.coe_coe, hg]
convert
H.map
((rename Subtype.val).comp
(killCompl (f := ((↑) : f.vars → σ)) Subtype.val_injective)).toRingHom
· exact RingHom.ext (by simp [MvPolynomial.killCompl_map])
· nth_rw 1 12 ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.IsIntegral | {
"line": 208,
"column": 8
} | {
"line": 214,
"column": 34
} | {
"line": 214,
"column": 34
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nσ : Type w\nf : MvPolynomial σ S\nH : (algebraMap (MvPolynomial σ R) (MvPolynomial σ S)).IsIntegralElem f\nthis :\n ∀ {σ : Type w} {f : MvPolynomial σ S},\n (algebraMap (MvPolynomial σ R) (MvPolynomial σ S)).... | [] | simp only [AlgHom.toRingHom_eq_coe, algebraMap_def, RingHom.coe_coe, hg]
convert
H.map
((rename Subtype.val).comp
(killCompl (f := ((↑) : f.vars → σ)) Subtype.val_injective)).toRingHom
· exact RingHom.ext (by simp [MvPolynomial.killCompl_map])
· nth_rw 1 12 ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.QuasiFinite.Weakly | {
"line": 159,
"column": 6
} | {
"line": 159,
"column": 37
} | {
"line": 159,
"column": 37
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁵ : CommRing R\ninst✝⁴ : CommRing S\ninst✝³ : Algebra R S\nP Q : Ideal S\ninst✝² : P.IsPrime\ninst✝¹ : Q.IsPrime\nh₁ : P ≤ Q\nh₂ : Ideal.comap (algebraMap R S) P = Ideal.comap (algebraMap R S) Q\ninst✝ : WeaklyQuasiFiniteAt R Q\nthis : (Ideal.map (Ideal.Quotient.mk (Ide... | [] | simp [Ideal.map_comap_le, ← h₂] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.IntegralClosure.Algebra.Ideal | {
"line": 42,
"column": 35
} | {
"line": 42,
"column": 49
} | {
"line": 43,
"column": 4
} | [
{
"pp": "R : Type u_3\ninst✝ : CommRing R\nI : Ideal R\nP x y : R[X]\nhx✝ : x ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhy✝ : y ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhx : ∀ (i : ℕ), x.coeff i ∈ I ^ i\nhy : ∀ (i : ℕ), y.coeff i ∈ I ^ i\ni : ℕ\nx✝ : ℕ × ℕ\nj₁ j₂ : ℕ\nhj : (j₁, j₂) ∈ Finset.antidiago... | [] | simpa using hj | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.IntegralClosure.Algebra.Ideal | {
"line": 42,
"column": 35
} | {
"line": 42,
"column": 49
} | {
"line": 43,
"column": 4
} | [
{
"pp": "R : Type u_3\ninst✝ : CommRing R\nI : Ideal R\nP x y : R[X]\nhx✝ : x ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhy✝ : y ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhx : ∀ (i : ℕ), x.coeff i ∈ I ^ i\nhy : ∀ (i : ℕ), y.coeff i ∈ I ^ i\ni : ℕ\nx✝ : ℕ × ℕ\nj₁ j₂ : ℕ\nhj : (j₁, j₂) ∈ Finset.antidiago... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.IntegralClosure.Algebra.Ideal | {
"line": 42,
"column": 35
} | {
"line": 42,
"column": 49
} | {
"line": 43,
"column": 4
} | [
{
"pp": "R : Type u_3\ninst✝ : CommRing R\nI : Ideal R\nP x y : R[X]\nhx✝ : x ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhy✝ : y ∈ Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}\nhx : ∀ (i : ℕ), x.coeff i ∈ I ^ i\nhy : ∀ (i : ℕ), y.coeff i ∈ I ^ i\ni : ℕ\nx✝ : ℕ × ℕ\nj₁ j₂ : ℕ\nhj : (j₁, j₂) ∈ Finset.antidiago... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.IntegralClosure.Algebra.Ideal | {
"line": 65,
"column": 4
} | {
"line": 65,
"column": 55
} | {
"line": 66,
"column": 4
} | [
{
"pp": "case inr.refine_2\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nI : Ideal R\nx : S\nh✝ : Nontrivial R\np : (↥(Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}))[X]\nhp : p.Monic\nq : R[X] := ∑ i ∈ Finset.range (p.natDegree + 1), C ((↑(p.coeff i)).coeff (p.natDeg... | [
"case inr.refine_2\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nI : Ideal R\nx : S\nh✝ : Nontrivial R\np : (↥(Algebra.adjoin R {x | ∃ r ∈ I, C r * X = x}))[X]\nhp : p.Monic\nq : R[X] := ∑ i ∈ Finset.range (p.natDegree + 1), C ((↑(p.coeff i)).coeff (p.natDegree - i)) * ... | simp only [Finset.mem_range, Nat.lt_succ_iff] at hi | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.FieldTheory.RatFunc.Basic | {
"line": 662,
"column": 4
} | {
"line": 663,
"column": 94
} | {
"line": 664,
"column": 2
} | [
{
"pp": "K : Type u\ninst✝¹ : CommRing K\ninst✝ : IsDomain K\ny : ↥K[X]⁰\n⊢ IsUnit ((algebraMap K[X] K⟮X⟯) ↑y)",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"Algebra.algebraMap",
"OreLocalization.in... | [] | rw [← ofFractionRing_algebraMap]
exact (toFractionRingRingEquiv K).symm.toRingHom.isUnit_map (IsLocalization.map_units _ y) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.FieldTheory.RatFunc.Basic | {
"line": 662,
"column": 4
} | {
"line": 663,
"column": 94
} | {
"line": 664,
"column": 2
} | [
{
"pp": "K : Type u\ninst✝¹ : CommRing K\ninst✝ : IsDomain K\ny : ↥K[X]⁰\n⊢ IsUnit ((algebraMap K[X] K⟮X⟯) ↑y)",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"Semiring.toModule",
"Algebra.algebraMap",
"OreLocalization.in... | [] | rw [← ofFractionRing_algebraMap]
exact (toFractionRingRingEquiv K).symm.toRingHom.isUnit_map (IsLocalization.map_units _ y) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.AlgebraicGeometry.Sites.SmallAffineZariski | {
"line": 171,
"column": 2
} | {
"line": 173,
"column": 64
} | {
"line": 175,
"column": 0
} | [
{
"pp": "case mpr\nX : Scheme\nU : X.AffineZariskiSite\ns : Set ↑Γ(X, U.toOpens)\nV : X.Opens\nhV : IsAffineOpen V\nf : ⟨V, hV⟩ ⟶ U\n⊢ (∃ f ∈ s, ∃ g, X.basicOpen (f * g) = toOpens ⟨V, hV⟩) → (Sieve.generate (U.presieveOfSections s)).arrows f",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
... | [] | · rintro ⟨f₁, hf₁s, f₂, rfl⟩
refine ⟨U.basicOpen f₁, ⟨f₂ |_ _, ?_⟩, ⟨f₁, rfl⟩, ⟨f₁, hf₁s, rfl⟩, rfl⟩
exact (X.basicOpen_res _ _).trans (X.basicOpen_mul _ _).symm | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.Etale.StandardEtale | {
"line": 154,
"column": 2
} | {
"line": 155,
"column": 98
} | {
"line": 156,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nP : StandardEtalePair R\nI : Ideal S\nhI : I ^ 2 = ⊥\nx : S\nhx : P.HasMap ((Ideal.Quotient.mk I) x)\nhf : (aeval x) P.f ∈ I\na : S\nha : (aeval ((Ideal.Quotient.mk I) x)) P.g * (Ideal.Quotient.mk I) a = 1\n⊢ ∃! ... | [
"R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nP : StandardEtalePair R\nI : Ideal S\nhI : I ^ 2 = ⊥\nx : S\nhx : P.HasMap ((Ideal.Quotient.mk I) x)\nhf : (aeval x) P.f ∈ I\na : S\nha : (aeval x) P.g * a - 1 ∈ I\n⊢ ∃! ε, ε ∈ I ∧ P.HasMap (x + ε)"
] | simp_rw [← Ideal.Quotient.mkₐ_eq_mk R, aeval_algHom_apply, ← map_mul, ← map_one
(Ideal.Quotient.mkₐ R I), Ideal.Quotient.mkₐ_eq_mk, Ideal.Quotient.mk_eq_mk_iff_sub_mem] at ha | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Formula | {
"line": 571,
"column": 2
} | {
"line": 573,
"column": 74
} | {
"line": 575,
"column": 0
} | [
{
"pp": "R : Type r\ninst✝ : CommRing R\nW' : Projective R\nP Q : Fin 3 → R\nhP : W'.Equation P\nhQ : W'.Equation Q\n⊢ W'.addX P Q * (P z * Q z) ^ 2 =\n ((P y * Q z - Q y * P z) ^ 2 * P z * Q z + W'.a₁ * (P y * Q z - Q y * P z) * P z * Q z * (P x * Q z - Q x * P z) -\n W'.a₂ * P z * Q z * (P x * Q... | [] | linear_combination (norm := (rw [addX]; ring1))
(2 * Q x * P z * Q z ^ 3 - P x * Q z ^ 4) * (equation_iff _).mp hP
+ (Q x * P z ^ 4 - 2 * P x * P z ^ 3 * Q z) * (equation_iff _).mp hQ | Mathlib.Tactic.LinearCombination._aux_Mathlib_Tactic_LinearCombination___elabRules_Mathlib_Tactic_LinearCombination_linearCombination_1 | Mathlib.Tactic.LinearCombination.linearCombination |
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Formula | {
"line": 571,
"column": 2
} | {
"line": 573,
"column": 74
} | {
"line": 575,
"column": 0
} | [
{
"pp": "R : Type r\ninst✝ : CommRing R\nW' : Projective R\nP Q : Fin 3 → R\nhP : W'.Equation P\nhQ : W'.Equation Q\n⊢ W'.addX P Q * (P z * Q z) ^ 2 =\n ((P y * Q z - Q y * P z) ^ 2 * P z * Q z + W'.a₁ * (P y * Q z - Q y * P z) * P z * Q z * (P x * Q z - Q x * P z) -\n W'.a₂ * P z * Q z * (P x * Q... | [] | linear_combination (norm := (rw [addX]; ring1))
(2 * Q x * P z * Q z ^ 3 - P x * Q z ^ 4) * (equation_iff _).mp hP
+ (Q x * P z ^ 4 - 2 * P x * P z ^ 3 * Q z) * (equation_iff _).mp hQ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Formula | {
"line": 571,
"column": 2
} | {
"line": 573,
"column": 74
} | {
"line": 575,
"column": 0
} | [
{
"pp": "R : Type r\ninst✝ : CommRing R\nW' : Projective R\nP Q : Fin 3 → R\nhP : W'.Equation P\nhQ : W'.Equation Q\n⊢ W'.addX P Q * (P z * Q z) ^ 2 =\n ((P y * Q z - Q y * P z) ^ 2 * P z * Q z + W'.a₁ * (P y * Q z - Q y * P z) * P z * Q z * (P x * Q z - Q x * P z) -\n W'.a₂ * P z * Q z * (P x * Q... | [] | linear_combination (norm := (rw [addX]; ring1))
(2 * Q x * P z * Q z ^ 3 - P x * Q z ^ 4) * (equation_iff _).mp hP
+ (Q x * P z ^ 4 - 2 * P x * P z ^ 3 * Q z) * (equation_iff _).mp hQ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Etale.StandardEtale | {
"line": 396,
"column": 16
} | {
"line": 396,
"column": 35
} | {
"line": 396,
"column": 35
} | [
{
"pp": "R : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : CommRing T\ninst✝¹ : Algebra R S\ninst✝ : Algebra R T\nP✝¹ : StandardEtalePair R\nP✝ : StandardEtalePresentation R S\nP : StandardEtalePair R := { f := X, monic_f := ⋯, g := 1, cond := ⋯ }\nthis : P.X = 0\n⊢ (o... | [] | by ext; simp [this] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.ZariskisMainTheorem | {
"line": 93,
"column": 2
} | {
"line": 93,
"column": 23
} | {
"line": 94,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\np : Ideal S\nr : S\nhrp : r ∉ p\nH : ∀ (x : S), ∃ m, IsIntegral R (r ^ m * x)\nn : ℕ\nhn : IsIntegral R (r ^ n * r)\n⊢ IsIntegral R r",
"ppTerm": "?m.95",
"assigned": true,
"usedConstants": [
"H... | [
"R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\np : Ideal S\nr : S\nhrp : r ∉ p\nH : ∀ (x : S), ∃ m, IsIntegral R (r ^ m * x)\nn : ℕ\nhn : IsIntegral R (r ^ (n + 1))\n⊢ IsIntegral R r"
] | rw [← pow_succ] at hn | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.ZariskisMainTheorem | {
"line": 292,
"column": 4
} | {
"line": 292,
"column": 9
} | {
"line": 292,
"column": 9
} | [
{
"pp": "case pos\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nφ : R[X] →ₐ[R] S\nt : S\np✝ : R[X]\nhRS : integralClosure R S = ⊥\nhφ : φ.Finite\np : R[X]\ni : ℕ\nhi : i = p.natDegree\nn : ℕ\nhn : (φ p * t) ^ n ∈ conductor R (φ X)\nk : ℕ\nhk : (p ^ n).leadingCoeff ^... | [
"case h\nR : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nφ : R[X] →ₐ[R] S\nt : S\np✝ : R[X]\nhRS : integralClosure R S = ⊥\nhφ : φ.Finite\np : R[X]\ni : ℕ\nhi : i = p.natDegree\nn : ℕ\nhn : (φ p * t) ^ n ∈ conductor R (φ X)\nk : ℕ\nhk : (p ^ n).leadingCoeff ^ k • t ^ n ∈ c... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Polynomial.Resultant.Basic | {
"line": 150,
"column": 64
} | {
"line": 150,
"column": 96
} | {
"line": 150,
"column": 96
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nf g : R[X]\nm n : ℕ\n⊢ ↑↑(Equiv.Perm.sign\n ((finSumFinEquiv.symm.trans ((Equiv.sumComm (Fin n) (Fin m)).trans finSumFinEquiv)).trans\n (finCongr ⋯).symm)) *\n (g.sylvester f n m).det =\n (-1) ^ (m * n) * (g.sylvester f n m).det",
"p... | [
"R : Type u_1\ninst✝ : CommRing R\nf g : R[X]\nm n : ℕ\n⊢ ↑↑(∏ i,\n ∏ j > i,\n if\n ((finSumFinEquiv.symm.trans ((Equiv.sumComm (Fin n) (Fin m)).trans finSumFinEquiv)).trans\n (finCongr ⋯).symm)\n i <\n ((finSumF... | Equiv.Perm.sign_eq_prod_prod_Ioi | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.ZariskisMainTheorem | {
"line": 503,
"column": 6
} | {
"line": 504,
"column": 42
} | {
"line": 505,
"column": 6
} | [
{
"pp": "case pos\nR✝ S✝ : Type u\ninst✝⁷ : CommRing R✝\ninst✝⁶ : CommRing S✝\ninst✝⁵ : Algebra R✝ S✝\nR S : Type u\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\np : Ideal S\ninst✝¹ : p.IsPrime\ninst✝ : WeaklyQuasiFiniteAt R p\nx : S\nhx : R[x] = ⊤\nH : integralClosure R S = ⊥\nH₀ : Function.... | [
"case neg\nR✝ S✝ : Type u\ninst✝⁷ : CommRing R✝\ninst✝⁶ : CommRing S✝\ninst✝⁵ : Algebra R✝ S✝\nR S : Type u\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\np : Ideal S\ninst✝¹ : p.IsPrime\ninst✝ : WeaklyQuasiFiniteAt R p\nx : S\nhx : R[x] = ⊤\nH : integralClosure R S = ⊥\nH₀ : Function.Surjective ⇑... | · convert p.mul_mem_right x Hfp
simpa [Algebra.smul_def] using! ha | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.AlgebraicGeometry.Normalization | {
"line": 228,
"column": 31
} | {
"line": 228,
"column": 67
} | {
"line": 228,
"column": 67
} | [
{
"pp": "X Y : Scheme\nf : X ⟶ Y\ninst✝¹ : QuasiCompact f\ninst✝ : QuasiSeparated f\nU : ↑Y.affineOpens\nthis : Algebra ↑Γ(Y, ↑U) ↑Γ(X, f ⁻¹ᵁ ↑U) := (CommRingCat.Hom.hom (app f ↑U)).toAlgebra\n⊢ toNormalization f ⁻¹ᵁ fromNormalization f ⁻¹ᵁ ↑U = f ⁻¹ᵁ ↑U",
"ppTerm": "?m.133",
"assigned": true,
"used... | [] | by simp [← Scheme.Hom.comp_preimage] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.AlgebraicGeometry.Normalization | {
"line": 235,
"column": 31
} | {
"line": 235,
"column": 67
} | {
"line": 235,
"column": 67
} | [
{
"pp": "X Y : Scheme\nf : X ⟶ Y\ninst✝¹ : QuasiCompact f\ninst✝ : QuasiSeparated f\nU : ↑Y.affineOpens\nthis : Algebra ↑Γ(Y, ↑U) ↑Γ(X, f ⁻¹ᵁ ↑U) := (CommRingCat.Hom.hom (app f ↑U)).toAlgebra\n⊢ toNormalization f ⁻¹ᵁ fromNormalization f ⁻¹ᵁ ↑U = f ⁻¹ᵁ ↑U",
"ppTerm": "?m.275",
"assigned": true,
"used... | [] | by simp [← Scheme.Hom.comp_preimage] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.AlgebraicGeometry.Normalization | {
"line": 273,
"column": 33
} | {
"line": 273,
"column": 69
} | {
"line": 273,
"column": 69
} | [
{
"pp": "X Y : Scheme\nf : X ⟶ Y\ninst✝¹ : QuasiCompact f\ninst✝ : QuasiSeparated f\nU : Y.Opens\nhU : IsAffineOpen U\nthis : Algebra ↑Γ(Y, U) ↑Γ(X, f ⁻¹ᵁ U) := (CommRingCat.Hom.hom (app f U)).toAlgebra\n⊢ f ⁻¹ᵁ U ≤ toNormalization f ⁻¹ᵁ fromNormalization f ⁻¹ᵁ U",
"ppTerm": "?m.60",
"assigned": true,
... | [] | by simp [← Scheme.Hom.comp_preimage] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.AlgebraicGeometry.Normalization | {
"line": 442,
"column": 2
} | {
"line": 442,
"column": 46
} | {
"line": 443,
"column": 2
} | [
{
"pp": "X Y : Scheme\nf : X ⟶ Y\ninst✝² : QuasiCompact f\ninst✝¹ : QuasiSeparated f\nT : Scheme\nf₁ f₂ : normalization f ⟶ T\ng : T ⟶ Y\ninst✝ : IsAffineHom g\nH₁ : toNormalization f ≫ f₁ = toNormalization f ≫ f₂\nhf₁ : f₁ ≫ g = fromNormalization f\nhf₂ : f₂ ≫ g = fromNormalization f\nU : (normalizationOpenCov... | [
"X Y : Scheme\nf : X ⟶ Y\ninst✝² : QuasiCompact f\ninst✝¹ : QuasiSeparated f\nT : Scheme\nf₁ f₂ : normalization f ⟶ T\ng : T ⟶ Y\ninst✝ : IsAffineHom g\nH₁ : toNormalization f ≫ f₁ = toNormalization f ≫ f₂\nhf₁ : f₁ ≫ g = fromNormalization f\nhf₂ : f₂ ≫ g = fromNormalization f\nU : (normalizationOpenCover f).I₀\nth... | have hf₀ : f₀ = toNormalization f ≫ f₂ := H₁ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 196,
"column": 4
} | {
"line": 196,
"column": 78
} | {
"line": 197,
"column": 4
} | [
{
"pp": "case a\nR : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\nf : MvPolynomial (Fin m ⊕ Fin k) (MvPolynomial (Fin n) R) →+* MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R :=\n eval₂Hom (↑(universalFactorizationMap R n m k hn)) (Sum.elim (fun x ↦ X x ⊗ₜ[R] 1) fun x ↦ 1 ⊗ₜ[R] X x)\nH : ∀ (i :... | [
"case e'_5\nR : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\nf : MvPolynomial (Fin m ⊕ Fin k) (MvPolynomial (Fin n) R) →+* MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R :=\n eval₂Hom (↑(universalFactorizationMap R n m k hn)) (Sum.elim (fun x ↦ X x ⊗ₜ[R] 1) fun x ↦ 1 ⊗ₜ[R] X x)\nH : ∀ (i : Fin m ⊕ ... | convert_to x - (tensorEquivSum _ _ _ _ (f x)).map C ∈ Ideal.span _ using 1 | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___elabRules_Mathlib_Tactic_convertTo_1 | Mathlib.Tactic.convertTo |
Mathlib.RingTheory.Polynomial.Resultant.Basic | {
"line": 567,
"column": 4
} | {
"line": 567,
"column": 90
} | {
"line": 568,
"column": 2
} | [
{
"pp": "case injective\nR✝ : Type u_1\ninst✝² : CommRing R✝\nR SatisfiesM : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CommRing SatisfiesM\nφ : R →+* SatisfiesM\nhφ : Function.Injective ⇑φ\nf : R[X]\nIH :\n ∀ (g₁ g₂ : SatisfiesM[X]),\n (map φ f).resultant (g₁ * g₂) (map φ f).natDegree (g₁.natDegree + g₂.natDeg... | [] | simpa only [resultant_map_map, ← map_mul, natDegree_map_eq_of_injective hφ] using this | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.RingTheory.Polynomial.Resultant.Basic | {
"line": 573,
"column": 37
} | {
"line": 573,
"column": 41
} | {
"line": 573,
"column": 42
} | [
{
"pp": "case surjective\nR✝ : Type u_1\ninst✝² : CommRing R✝\nR S : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nφ : R →+* S\nhφ : Function.Surjective ⇑φ\nf : S[X]\nIH :\n ∀ (q g₁ g₂ : R[X]), q.resultant (g₁ * g₂) q.natDegree (g₁.natDegree + g₂.natDegree) = q.resultant g₁ * q.resultant g₂\ng₁ g₂ : S[X]\... | [
"case surjective\nR✝ : Type u_1\ninst✝² : CommRing R✝\nR S : Type u_1\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nφ : R →+* S\nhφ : Function.Surjective ⇑φ\nf : S[X]\nIH :\n ∀ (q g₁ g₂ : R[X]), q.resultant (g₁ * g₂) q.natDegree (g₁.natDegree + g₂.natDegree) = q.resultant g₁ * q.resultant g₂\ng₁ g₂ : S[X]\nf' : R[X]\n... | hg₂, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 335,
"column": 2
} | {
"line": 336,
"column": 96
} | {
"line": 337,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\nthis : Algebra (MvPolynomial (Fin n) R) (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R) :=\n (universalFactorizationMap R n m k hn).toAlgebra\n⊢ (universalFactorizationMap R n m k hn).IsIntegral",
"ppTerm": "?m.38",
"assigned": ... | [
"R : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\nthis✝ : Algebra (MvPolynomial (Fin n) R) (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R) :=\n (universalFactorizationMap R n m k hn).toAlgebra\nthis : IsDomain (MvPolynomial (Fin m) ℤ ⊗[ℤ] MvPolynomial (Fin k) ℤ)\n⊢ (universalFactorizationMap R n m... | have : IsDomain (MvPolynomial (Fin m) ℤ ⊗[ℤ] MvPolynomial (Fin k) ℤ) :=
(MvPolynomial.tensorEquivSum ℤ (Fin m) (Fin k) ℤ).toRingEquiv.isDomain_iff.mpr inferInstance | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 473,
"column": 6
} | {
"line": 474,
"column": 65
} | {
"line": 475,
"column": 2
} | [
{
"pp": "case refine_2\nR : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : CommRing T\ninst✝¹ : Algebra R S\ninst✝ : Algebra R T\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nf : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw represe... | [] | ext; simp [MvPolynomial.universalFactorizationMapLiftEquiv, MvPolynomial.mapEquivMonic,
UniversalFactorizationRing.factor₂, coeff_freeMonic]; rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 473,
"column": 6
} | {
"line": 474,
"column": 65
} | {
"line": 475,
"column": 2
} | [
{
"pp": "case refine_2\nR : Type u_1\nS : Type u_2\nT : Type u_3\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : CommRing T\ninst✝¹ : Algebra R S\ninst✝ : Algebra R T\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nf : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw represe... | [] | ext; simp [MvPolynomial.universalFactorizationMapLiftEquiv, MvPolynomial.mapEquivMonic,
UniversalFactorizationRing.factor₂, coeff_freeMonic]; rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 522,
"column": 44
} | {
"line": 522,
"column": 80
} | {
"line": 523,
"column": 4
} | [
{
"pp": "case inr.inr.inr\nR : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nh✝² : Nontrivial 𝓡\nh✝¹ : Nontrivial (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R)\nh✝ : Nontrivial R\nthis✝ : Algebra (MvPolynomial (Fin n) R) (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k)... | [
"case inr.inr.inr\nR : Type u_1\ninst✝ : CommRing R\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nh✝² : Nontrivial 𝓡\nh✝¹ : Nontrivial (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R)\nh✝ : Nontrivial R\nthis✝ : Algebra (MvPolynomial (Fin n) R) (MvPolynomial (Fin m) R ⊗[R] MvPolynomial (Fin k) R) :=\n (M... | (monic_freeMonic R k).natDegree_map, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 658,
"column": 2
} | {
"line": 659,
"column": 60
} | {
"line": 660,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nP : Ideal R\ninst✝ : P.IsPrime\nf : MonicDegreeEq P.ResidueField m\ng : MonicDegreeEq P.ResidueField k\nH : map (algebraMap R P.ResidueField) ↑p = ↑f * ↑g\nHpq : IsCoprime ↑f ↑g\nφ : 𝓡' →ₐ[R] P.ResidueField := (homEqu... | [
"R : Type u_1\ninst✝¹ : CommRing R\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nP : Ideal R\ninst✝ : P.IsPrime\nf : MonicDegreeEq P.ResidueField m\ng : MonicDegreeEq P.ResidueField k\nH : map (algebraMap R P.ResidueField) ↑p = ↑f * ↑g\nHpq : IsCoprime ↑f ↑g\nφ : 𝓡' →ₐ[R] P.ResidueField := (homEquiv P.Residue... | let φ' : Q.ResidueField →ₐ[R] P.ResidueField := Ideal.ResidueField.liftₐ _ φ le_rfl (by
simp [IsConcreteLE.le_iff, IsUnit.mem_submonoid_iff, Q]) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.RingTheory.Polynomial.UniversalFactorizationRing | {
"line": 670,
"column": 4
} | {
"line": 673,
"column": 9
} | {
"line": 674,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝¹ : CommRing R\nn m k : ℕ\nhn : n = m + k\np : MonicDegreeEq R n\nP : Ideal R\ninst✝ : P.IsPrime\nf : MonicDegreeEq P.ResidueField m\ng : MonicDegreeEq P.ResidueField k\nH✝ : map (algebraMap R P.ResidueField) ↑p = ↑f * ↑g\nHpq : IsCoprime ↑f ↑g\nφ : 𝓡' →ₐ[R] P.ResidueField := ⋯\nQ :... | [] | · rw [H]
simp [homEquiv, UniversalFactorizationRing.homEquiv, factor₁,
MonicDegreeEq.map, Polynomial.map_map]
rfl | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.AlgebraicGeometry.Group.Abelian | {
"line": 121,
"column": 10
} | {
"line": 122,
"column": 31
} | {
"line": 123,
"column": 4
} | [
{
"pp": "case refine_3.refine_2\nK : Type u\ninst✝⁴ : Field K\ninst✝³ : IsAlgClosed K\nG : Over (Spec ↧K)\ninst✝² : IsProper G.hom\ninst✝¹ : IsIntegral (G ⊗ G).left\ninst✝ : GrpObj G\nS : Scheme := Spec ↧K\npoint : ↥S := IsLocalRing.closedPoint K\nhpoint : IsClosed {point}\nthis✝⁹ : Nonempty ↥G.left\nthis✝⁸ : I... | [] | simp only [xe, γ, ← Scheme.Hom.comp_apply, ← Over.comp_left]
congr 6; ext <;> simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.AlgebraicGeometry.Group.Abelian | {
"line": 121,
"column": 10
} | {
"line": 122,
"column": 31
} | {
"line": 123,
"column": 4
} | [
{
"pp": "case refine_3.refine_2\nK : Type u\ninst✝⁴ : Field K\ninst✝³ : IsAlgClosed K\nG : Over (Spec ↧K)\ninst✝² : IsProper G.hom\ninst✝¹ : IsIntegral (G ⊗ G).left\ninst✝ : GrpObj G\nS : Scheme := Spec ↧K\npoint : ↥S := IsLocalRing.closedPoint K\nhpoint : IsClosed {point}\nthis✝⁹ : Nonempty ↥G.left\nthis✝⁸ : I... | [] | simp only [xe, γ, ← Scheme.Hom.comp_apply, ← Over.comp_left]
congr 6; ext <;> simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Finiteness.Descent | {
"line": 85,
"column": 2
} | {
"line": 85,
"column": 96
} | {
"line": 86,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nT : Type u_3\ninst✝³ : CommRing T\ninst✝² : Algebra R T\ninst✝¹ : Module.FaithfullyFlat R T\ninst✝ : FiniteType T (T ⊗[R] S)\ns : Finset (T ⊗[R] S)\nhs : adjoin T ↑s = ⊤\nk : ↥s → ℕ\nt : (x : ↥s) → Fin (k x) → T... | [
"R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nT : Type u_3\ninst✝³ : CommRing T\ninst✝² : Algebra R T\ninst✝¹ : Module.FaithfullyFlat R T\ninst✝ : FiniteType T (T ⊗[R] S)\ns : Finset (T ⊗[R] S)\nhs : adjoin T ↑s = ⊤\nk : ↥s → ℕ\nt : (x : ↥s) → Fin (k x) → T\nm : (x : ↥... | let f : MvPolynomial (Σ x : s, Fin (k x)) R →ₐ[R] S := MvPolynomial.aeval (fun ⟨x, i⟩ ↦ m x i) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.AlgebraicGeometry.ZariskisMainTheorem | {
"line": 417,
"column": 4
} | {
"line": 418,
"column": 48
} | {
"line": 419,
"column": 4
} | [
{
"pp": "case refine_2\nX Y : Scheme\nf : X ⟶ Y\ninst✝ : IsProper f\ny : ↥Y\nhx : (⇑f ⁻¹' {y}).Finite\nV : Y.Opens := { carrier := (⇑f '' (↑(Scheme.Hom.quasiFiniteLocus f))ᶜ)ᶜ, is_open' := ⋯ }\nx : ↥↑(f ⁻¹ᵁ V)\nthis : Scheme.Hom.QuasiFiniteAt f ((f ⁻¹ᵁ V).ι x)\n⊢ x ∈ ↑(Scheme.Hom.quasiFiniteLocus (f ∣_ V)) ↔ x ... | [
"case refine_2\nX Y : Scheme\nf : X ⟶ Y\ninst✝ : IsProper f\ny : ↥Y\nhx : (⇑f ⁻¹' {y}).Finite\nV : Y.Opens := { carrier := (⇑f '' (↑(Scheme.Hom.quasiFiniteLocus f))ᶜ)ᶜ, is_open' := ⋯ }\nx : ↥↑(f ⁻¹ᵁ V)\nthis : Scheme.Hom.QuasiFiniteAt (f ∣_ V) x\n⊢ x ∈ ↑(Scheme.Hom.quasiFiniteLocus (f ∣_ V)) ↔ x ∈ ↑⊤"
] | rw [← Scheme.Hom.quasiFiniteAt_comp_iff_of_isOpenImmersion, ← morphismRestrict_ι,
Scheme.Hom.quasiFiniteAt_comp_iff] at this | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Etale.Descent | {
"line": 52,
"column": 2
} | {
"line": 53,
"column": 78
} | {
"line": 54,
"column": 2
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nT : Type u_3\ninst✝³ : CommRing T\ninst✝² : Algebra R T\ninst✝¹ : Module.FaithfullyFlat R T\ninst✝ : FormallyUnramified T (T ⊗[R] S)\nx✝ : Algebra S (T ⊗[R] S) := TensorProduct.rightAlgebra\n⊢ Subsingleton Ω[S⁄R... | [
"R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nT : Type u_3\ninst✝³ : CommRing T\ninst✝² : Algebra R T\ninst✝¹ : Module.FaithfullyFlat R T\ninst✝ : FormallyUnramified T (T ⊗[R] S)\nx✝ : Algebra S (T ⊗[R] S) := TensorProduct.rightAlgebra\nthis : Subsingleton (T ⊗[R] Ω[S⁄... | have : Subsingleton (T ⊗[R] Ω[S⁄R]) :=
(KaehlerDifferential.tensorKaehlerEquivBase R T S (T ⊗[R] S)).subsingleton | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.Etale.Descent | {
"line": 49,
"column": 30
} | {
"line": 54,
"column": 63
} | {
"line": 56,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Algebra R S\nT : Type u_3\ninst✝³ : CommRing T\ninst✝² : Algebra R T\ninst✝¹ : Module.FaithfullyFlat R T\ninst✝ : FormallyUnramified T (T ⊗[R] S)\n⊢ FormallyUnramified R S",
"ppTerm": "?m.19",
"assigned": true,
"... | [] | by
constructor
let _ : Algebra S (T ⊗[R] S) := TensorProduct.rightAlgebra
have : Subsingleton (T ⊗[R] Ω[S⁄R]) :=
(KaehlerDifferential.tensorKaehlerEquivBase R T S (T ⊗[R] S)).subsingleton
exact Module.FaithfullyFlat.lTensor_reflects_triviality R T _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.AlgebraicGeometry.IdealSheaf.IrreducibleComponent | {
"line": 57,
"column": 79
} | {
"line": 59,
"column": 5
} | {
"line": 61,
"column": 0
} | [
{
"pp": "X : Scheme\nZ : Set ↥X\nhZ : Z ∈ irreducibleComponents ↥X\ninst✝ : IsNoetherian X\n⊢ X.irreducibleComponentIdeal Z hZ = Hom.ker (X.irreducibleComponentOpen Z).ι",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Semiring.toModule",
"Opposite",
"CommRingCat.carrier"... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Etale.QuasiFinite | {
"line": 584,
"column": 4
} | {
"line": 585,
"column": 73
} | {
"line": 586,
"column": 4
} | [
{
"pp": "case ind.succ\nR : Type u\nS : Type (max u v)\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Module.Finite R S\np : Ideal R\ninst✝ : p.IsPrime\nthis✝⁵ : IsArtinianRing (p.ResidueField ⊗[R] S)\nhpSfin : (p.primesOver S).Finite\nn✝ : ℕ\nIH :\n ∀ m < n✝ + 1,\n ∀ {R : Type u}... | [
"case ind.succ\nR : Type u\nS : Type (max u v)\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : Module.Finite R S\np : Ideal R\ninst✝ : p.IsPrime\nthis✝⁵ : IsArtinianRing (p.ResidueField ⊗[R] S)\nhpSfin : (p.primesOver S).Finite\nn✝ : ℕ\nIH :\n ∀ m < n✝ + 1,\n ∀ {R : Type u} {S : Type (... | have hP'' : (1 - φ e) ∉ P'' :=
fun h ↦ ‹P''.IsPrime›.one_notMem (by convert add_mem heP'' h; ring) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.AlgebraicGeometry.Morphisms.FlatRank | {
"line": 162,
"column": 40
} | {
"line": 162,
"column": 83
} | {
"line": 163,
"column": 4
} | [
{
"pp": "X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝¹ : Flat f\ninst✝ : IsFinite f\nR : CommRingCat\ni : Spec R ⟶ Y\nw✝ : IsOpenImmersion i\ny' : ↥(Spec R)\n⊢ IsAffine.finrank (pullback.snd (pullback.snd f g) i) y' = IsAffine.finrank (pullback.snd f (i ≫ g)) y'",
"ppTerm": "?m.94",
"assigned": true,
... | [
"X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝¹ : Flat f\ninst✝ : IsFinite f\nR : CommRingCat\ni : Spec R ⟶ Y\nw✝ : IsOpenImmersion i\ny' : ↥(Spec R)\n⊢ IsAffine.finrank ((pullbackLeftPullbackSndIso f g i).hom ≫ pullback.snd f (i ≫ g)) y' =\n IsAffine.finrank (pullback.snd f (i ≫ g)) y'"
] | ← pullbackLeftPullbackSndIso_hom_snd f g i, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.AlgebraicGeometry.Morphisms.FlatRank | {
"line": 191,
"column": 2
} | {
"line": 191,
"column": 57
} | {
"line": 192,
"column": 2
} | [
{
"pp": "R S : CommRingCat\nx : ↥(Spec S)\nφ : R ⟶ S\ninst✝¹ : Flat (Spec.map φ)\ninst✝ : IsFinite (Spec.map φ)\n⊢ 1 ≤ finrank (Spec.map φ) ((Spec.map φ) x)",
"ppTerm": "?m.243",
"assigned": true,
"usedConstants": [
"AlgebraicGeometry.Flat",
"RingHom.Flat",
"AlgebraicGeometry.Spec"... | [
"R S : CommRingCat\nx : ↥(Spec S)\nφ : R ⟶ S\ninst✝¹ : (CommRingCat.Hom.hom φ).Flat\ninst✝ : (CommRingCat.Hom.hom φ).Finite\n⊢ 1 ≤ finrank (Spec.map φ) ((Spec.map φ) x)"
] | simp only [IsFinite.SpecMap_iff, Flat.SpecMap_iff] at * | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.AlgebraicGeometry.Morphisms.FlatRank | {
"line": 223,
"column": 4
} | {
"line": 223,
"column": 59
} | {
"line": 224,
"column": 4
} | [
{
"pp": "R S : CommRingCat\nφ : R ⟶ S\ninst✝¹ : Flat (Spec.map φ)\ninst✝ : IsFinite (Spec.map φ)\nx : ↥(Spec R)\nh : 1 x ≤ finrank (Spec.map φ) x\n⊢ ∃ a, (Spec.map φ) a = x",
"ppTerm": "?m.202",
"assigned": true,
"usedConstants": [
"AlgebraicGeometry.Flat",
"RingHom.Flat",
"Algebra... | [
"R S : CommRingCat\nφ : R ⟶ S\nx : ↥(Spec R)\nh : 1 x ≤ finrank (Spec.map φ) x\ninst✝¹ : (CommRingCat.Hom.hom φ).Flat\ninst✝ : (CommRingCat.Hom.hom φ).Finite\n⊢ ∃ a, (Spec.map φ) a = x"
] | simp only [IsFinite.SpecMap_iff, Flat.SpecMap_iff] at * | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.AlgebraicGeometry.Morphisms.FlatRank | {
"line": 291,
"column": 2
} | {
"line": 291,
"column": 57
} | {
"line": 292,
"column": 2
} | [
{
"pp": "R S : CommRingCat\nφ : R ⟶ S\ninst✝¹ : Flat (Spec.map φ)\ninst✝ : IsFinite (Spec.map φ)\nh : finrank (Spec.map φ) = 1\n⊢ IsIso (Spec.map φ)",
"ppTerm": "?m.213",
"assigned": true,
"usedConstants": [
"AlgebraicGeometry.Flat",
"RingHom.Flat",
"AlgebraicGeometry.Spec",
... | [
"R S : CommRingCat\nφ : R ⟶ S\nh : finrank (Spec.map φ) = 1\ninst✝¹ : (CommRingCat.Hom.hom φ).Flat\ninst✝ : (CommRingCat.Hom.hom φ).Finite\n⊢ IsIso (Spec.map φ)"
] | simp only [IsFinite.SpecMap_iff, Flat.SpecMap_iff] at * | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.KrullDimension.NonZeroDivisors | {
"line": 104,
"column": 4
} | {
"line": 104,
"column": 42
} | {
"line": 105,
"column": 4
} | [
{
"pp": "case inr\nR : Type u_1\ninst✝ : CommRing R\nσ : Type u_3\na✝ : Nontrivial R\nh✝ : Infinite σ\n⊢ ringKrullDim (MvPolynomial σ R) = ⊤",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"WithBot.instPreorder",
"Eq.mpr",
"Nat.instMulZeroClass",
"WithBot",
"EN... | [
"case inr\nR : Type u_1\ninst✝ : CommRing R\nσ : Type u_3\na✝ : Nontrivial R\nh✝ : Infinite σ\n⊢ ∀ (m : ℕ), ↑m ≤ ringKrullDim (MvPolynomial σ R)"
] | rw [ENat.WithBot.eq_top_iff_forall_ge] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.OrderOfVanishing.Basic | {
"line": 165,
"column": 48
} | {
"line": 166,
"column": 60
} | {
"line": 168,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : CommRing R\nx : R\n⊢ ord R (-x) = ord R x",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"NegZeroClass.toNeg",
"NonUnitalCommRing.toNonUnitalNonAssocCommRing",
"CommRing.toNonUnitalCommRing",
"Ring.ord",
"Monoid.toMulOneClass",
... | [] | by
simp [ord_eq_of_associated (x := -x) (y := x) (by simp)] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.OrderOfVanishing.Noetherian | {
"line": 118,
"column": 86
} | {
"line": 119,
"column": 99
} | {
"line": 121,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝² : CommRing R\ninst✝¹ : IsDomain R\ninst✝ : IsDiscreteValuationRing R\nx y : R\n⊢ min (ord R x) (ord R y) ≤ ord R (x + y)",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"le_refl",
"instCompleteLinearOrderENat",
"Ring.ord",
... | [] | by
grw [ord_eq_addVal x, ord_eq_addVal y, ord_eq_addVal (x + y), IsDiscreteValuationRing.addVal_add] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 81,
"column": 6
} | {
"line": 81,
"column": 63
} | {
"line": 82,
"column": 4
} | [
{
"pp": "case hV\nι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ng : V ⟶ Spec ↧((i : ι) → ↑(R i))\ninst✝¹ : IsImmersion g\ninst✝ : CompactSpace ↥V\nhU' : f ≫ g = sigmaSpec R\n⊢ ↑(Scheme.Hom.opensRange (sigmaSpec R)) ⊆ Set.range ⇑g",
"ppTerm": "?hV",
"assigned": true,
"u... | [] | simpa only [← hU'] using! Set.range_comp_subset_range f g | Lean.Elab.Tactic.Simpa.evalSimpaUsingBang | Lean.Parser.Tactic.simpaUsingBang |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 81,
"column": 6
} | {
"line": 81,
"column": 63
} | {
"line": 82,
"column": 4
} | [
{
"pp": "case hV\nι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ng : V ⟶ Spec ↧((i : ι) → ↑(R i))\ninst✝¹ : IsImmersion g\ninst✝ : CompactSpace ↥V\nhU' : f ≫ g = sigmaSpec R\n⊢ ↑(Scheme.Hom.opensRange (sigmaSpec R)) ⊆ Set.range ⇑g",
"ppTerm": "?hV",
"assigned": true,
"u... | [] | simpa only [← hU'] using! Set.range_comp_subset_range f g | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 81,
"column": 6
} | {
"line": 81,
"column": 63
} | {
"line": 82,
"column": 4
} | [
{
"pp": "case hV\nι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ng : V ⟶ Spec ↧((i : ι) → ↑(R i))\ninst✝¹ : IsImmersion g\ninst✝ : CompactSpace ↥V\nhU' : f ≫ g = sigmaSpec R\n⊢ ↑(Scheme.Hom.opensRange (sigmaSpec R)) ⊆ Set.range ⇑g",
"ppTerm": "?hV",
"assigned": true,
"u... | [] | simpa only [← hU'] using! Set.range_comp_subset_range f g | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 88,
"column": 75
} | {
"line": 88,
"column": 95
} | {
"line": 88,
"column": 95
} | [
{
"pp": "ι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ninst✝¹ : CompactSpace ↥V\nI : Ideal ↑↧((i : ι) → ↑(R i))\ne : V ≅ Spec ↧(↑↧((i : ι) → ↑(R i)) ⧸ I)\ninst✝ : IsImmersion (e.hom ≫ Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)))\nhU' : f ≫ e.hom ≫ Spec.map (CommRingCat.ofHo... | [] | rwa [Category.assoc] | Lean.Elab.Tactic.evalRwa | Lean.Parser.Tactic.rwa |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 88,
"column": 75
} | {
"line": 88,
"column": 95
} | {
"line": 88,
"column": 95
} | [
{
"pp": "ι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ninst✝¹ : CompactSpace ↥V\nI : Ideal ↑↧((i : ι) → ↑(R i))\ne : V ≅ Spec ↧(↑↧((i : ι) → ↑(R i)) ⧸ I)\ninst✝ : IsImmersion (e.hom ≫ Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)))\nhU' : f ≫ e.hom ≫ Spec.map (CommRingCat.ofHo... | [] | rwa [Category.assoc] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.AlgebraicGeometry.PointsPi | {
"line": 88,
"column": 75
} | {
"line": 88,
"column": 95
} | {
"line": 88,
"column": 95
} | [
{
"pp": "ι : Type u\nR : ι → CommRingCat\nV : Scheme\nf : (∐ fun i ↦ Spec (R i)) ⟶ V\ninst✝¹ : CompactSpace ↥V\nI : Ideal ↑↧((i : ι) → ↑(R i))\ne : V ≅ Spec ↧(↑↧((i : ι) → ↑(R i)) ⧸ I)\ninst✝ : IsImmersion (e.hom ≫ Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)))\nhU' : f ≫ e.hom ≫ Spec.map (CommRingCat.ofHo... | [] | rwa [Category.assoc] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Topology | {
"line": 386,
"column": 62
} | {
"line": 386,
"column": 84
} | {
"line": 386,
"column": 84
} | [
{
"pp": "A : Type u_1\nσ : Type u_2\ninst✝³ : CommRing A\ninst✝² : SetLike σ A\ninst✝¹ : AddSubmonoidClass σ A\n𝒜 : ℕ → σ\ninst✝ : GradedRing 𝒜\nf : A\nz : ProjectiveSpectrum 𝒜\nhz : f ∉ z.asHomogeneousIdeal\ni : ℕ\nhi : (GradedRing.proj 𝒜 i) f ∉ z.asHomogeneousIdeal\n⊢ z ∈ basicOpen 𝒜 ((GradedRing.proj 𝒜... | [] | by rwa [mem_basicOpen] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization | {
"line": 383,
"column": 88
} | {
"line": 386,
"column": 90
} | {
"line": 386,
"column": 91
} | [
{
"pp": "ι : Type u_1\nA : Type u_2\nσ : Type u_3\ninst✝⁵ : CommRing A\ninst✝⁴ : SetLike σ A\ninst✝³ : AddSubgroupClass σ A\ninst✝² : AddCommMonoid ι\ninst✝¹ : DecidableEq ι\n𝒜 : ι → σ\ninst✝ : GradedRing 𝒜\nx : Submonoid A\nz : HomogeneousLocalization 𝒜 x\nn : ℕ\nc1 c2 : NumDenSameDeg 𝒜 x\nh : Localization... | [] | by
change Localization.mk _ _ = Localization.mk _ _
simp only [num_pow, den_pow]
convert congr_arg (fun z : at x => z ^ n) h <;> rw [Localization.mk_pow] <;> rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization | {
"line": 611,
"column": 61
} | {
"line": 611,
"column": 66
} | {
"line": 611,
"column": 66
} | [
{
"pp": "ι : Type u_1\nA : Type u_2\nσ : Type u_3\ninst✝⁵ : CommRing A\ninst✝⁴ : SetLike σ A\ninst✝³ : AddSubgroupClass σ A\ninst✝² : AddCommMonoid ι\ninst✝¹ : DecidableEq ι\n𝒜 : ι → σ\ninst✝ : GradedRing 𝒜\nf : A\nd : ι\nn : ℕ\nhf : f ∈ 𝒜 d\nx : A\nhx : x ∈ 𝒜 (n • d)\n⊢ f ^ n ∈ Submonoid.powers f",
"pp... | [] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.