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.Multiplication
{ "line": 765, "column": 13 }
{ "line": 765, "column": 29 }
{ "line": 765, "column": 29 }
[ { "pp": "case neg\nΓ : Type u_1\nR : Type u_3\ninst✝³ : AddCommMonoid Γ\ninst✝² : PartialOrder Γ\ninst✝¹ : IsOrderedCancelAddMonoid Γ\ninst✝ : NonUnitalNonAssocSemiring R\na b : Γ\nr s : R\nx : Γ\nh : ¬x = a + b\n⊢ ∀ x_1 ∈ antidiagonal ⋯ ⋯ x, ((single a) r).coeff x_1.1 * ((single b) s).coeff x_1.2 = 0", "pp...
[ "case neg\nΓ : Type u_1\nR : Type u_3\ninst✝³ : AddCommMonoid Γ\ninst✝² : PartialOrder Γ\ninst✝¹ : IsOrderedCancelAddMonoid Γ\ninst✝ : NonUnitalNonAssocSemiring R\na b : Γ\nr s : R\nx : Γ\nh : ¬x = a + b\n⊢ ∀ (x_1 : Γ × Γ),\n x_1.1 ∈ ((single a) r).support ∧ x_1.2 ∈ ((single b) s).support ∧ x_1.1 + x_1.2 = x →\n...
mem_antidiagonal
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.RingTheory.Valuation.ValuationSubring
{ "line": 524, "column": 6 }
{ "line": 524, "column": 63 }
{ "line": 525, "column": 2 }
[ { "pp": "case neg.inr\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A.unitGroup ≤ B.unitGroup\nx : K\nh_1 : ¬x = 0\nh_2 : ¬1 + x = 0\nhx : A.valuation x = 1\nthis : Units.mk0 x h_1 ∈ B.unitGroup\n⊢ x ∈ B", "ppTerm": "?neg.inr✝", "assigned": true, "usedConstants": [ "Units.val", ...
[]
exact SetLike.coe_mem (B.unitGroupMulEquiv ⟨_, this⟩ : B)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Valuation.ValuationSubring
{ "line": 526, "column": 4 }
{ "line": 526, "column": 33 }
{ "line": 527, "column": 4 }
[ { "pp": "case mpr\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A ≤ B\nx : Kˣ\nhx : A.valuation ↑x = 1\n⊢ x ∈ B.unitGroup", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "Units.val", "GroupWithZero.toMonoidWithZero", "LinearOrderedCommGroupWithZero.toLinearOr...
[ "case mpr\nK : Type u\ninst✝ : Field K\nA B : ValuationSubring K\nh : A ≤ B\nx : Kˣ\nhx : (A.mapOfLE B h) (A.valuation ↑x) = (A.mapOfLE B h) 1\n⊢ x ∈ B.unitGroup" ]
apply_fun A.mapOfLE B h at hx
Mathlib.Tactic._aux_Mathlib_Tactic_ApplyFun___elabRules_Mathlib_Tactic_applyFun_1
Mathlib.Tactic.applyFun
Mathlib.Algebra.Order.Ring.StandardPart
{ "line": 285, "column": 11 }
{ "line": 289, "column": 17 }
{ "line": 290, "column": 2 }
[ { "pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nh : mk x ≠ 0\n⊢ stdPart x = 0", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "AddValuation.toValuation", "_private.Mathlib.Algebra.Order.Ring.Stand...
[]
by obtain h | h := h.lt_or_gt · exact dite_eq_right h.not_ge · rw [stdPart, dite_eq_left h.le, OrderRingHom.comp_apply, FiniteResidueField.mk_eq_zero.2 h, map_zero]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Order.Ring.StandardPart
{ "line": 350, "column": 54 }
{ "line": 350, "column": 65 }
{ "line": 350, "column": 65 }
[ { "pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx y : K\nhx : 0 ≤ mk x\nhy : 0 ≤ mk y\n⊢ stdPart x + stdPart (-y) = stdPart x + -stdPart y", "ppTerm": "?m.62", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "Real", ...
[ "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx y : K\nhx : 0 ≤ mk x\nhy : 0 ≤ mk y\n⊢ stdPart x + -stdPart y = stdPart x + -stdPart y", "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx y : K\nhx : 0 ≤ mk x\nhy : 0 ≤ mk y\n⊢ 0 ≤ mk (-y)" ]
stdPart_neg
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.Ring.StandardPart
{ "line": 354, "column": 47 }
{ "line": 354, "column": 58 }
{ "line": 354, "column": 58 }
[ { "pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx y : K\nhx : 0 < mk x\n⊢ stdPart (-y) = -stdPart y", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "Real", "AddGroupWithOne.toAddGroup", ...
[ "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx y : K\nhx : 0 < mk x\n⊢ -stdPart y = -stdPart y" ]
stdPart_neg
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.Ring.StandardPart
{ "line": 428, "column": 97 }
{ "line": 430, "column": 34 }
{ "line": 432, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝² : LinearOrder K\ninst✝¹ : Field K\ninst✝ : IsOrderedRing K\nx : K\nf : ℝ →+*o K\nr : ℝ\nhx : 0 ≤ mk x\nh : stdPart x < r\n⊢ x < f r", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "IsRightCancelAdd.addRightStrictMono_of_addRightMono", "neg_lt_neg_i...
[]
by rw [← neg_lt_neg_iff, ← map_neg] apply lt_of_lt_stdPart <;> simpa
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Polynomial.CoeffList
{ "line": 121, "column": 4 }
{ "line": 122, "column": 54 }
{ "line": 124, "column": 0 }
[ { "pp": "case succ\nR : Type u_1\ninst✝ : Semiring R\nx : R\nhx : x ≠ 0\nn : ℕ\nh : ¬(monomial n) x = 0\nk : ℕ\nh₁✝¹ : k + 1 < ((monomial n) x).coeffList.length\nh₁✝ : k + 1 < (x :: List.replicate n 0).length\nh₁ : k + 1 < n + 1\nthis : ((monomial n) x).natDegree.succ = n + 1\n⊢ ((monomial n) x).coeffList.get ⟨...
[]
simpa [coeffList, withBotSucc_degree_eq_natDegree_add_one h] using Polynomial.coeff_monomial_of_ne _ (by lia)
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree
{ "line": 93, "column": 18 }
{ "line": 93, "column": 26 }
{ "line": 93, "column": 27 }
[ { "pp": "case succ\nR : Type u_1\ninst✝ : Semiring R\np : R[X]\nm : ℕ\nhp : p.IsMonicOfDegree m\nn : ℕ\nih : (p ^ n).IsMonicOfDegree (m * n)\n⊢ (p ^ n * p).IsMonicOfDegree (m * (n + 1))", "ppTerm": "?succ", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", ...
[ "case succ\nR : Type u_1\ninst✝ : Semiring R\np : R[X]\nm : ℕ\nhp : p.IsMonicOfDegree m\nn : ℕ\nih : (p ^ n).IsMonicOfDegree (m * n)\n⊢ (p ^ n * p).IsMonicOfDegree (m * n + m * 1)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.CoeffList
{ "line": 270, "column": 88 }
{ "line": 273, "column": 56 }
{ "line": 275, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Ring R\nl : List R\n⊢ ofCoeffList (List.map (fun x ↦ -x) l) = -ofCoeffList l", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "neg_add_rev", "Polynomial.C", "NegZeroClass.toNeg", "RingHom.instRingHomClass", "AddMonoidAlgebra.semir...
[]
by induction l with | nil => simp | cons c l ih => simp [ofCoeffList_cons, ih, add_comm]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree
{ "line": 246, "column": 4 }
{ "line": 248, "column": 81 }
{ "line": 250, "column": 0 }
[]
[]
_ ≤ max (C a * X).natDegree (C b).natDegree := natDegree_sub_le .. _ = (C a * X).natDegree := by simp _ < 2 := natDegree_C_mul_le .. |>.trans natDegree_X_le |>.trans_lt one_lt_two
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcSteps
Mathlib.Algebra.Polynomial.DenomsClearable
{ "line": 65, "column": 47 }
{ "line": 65, "column": 55 }
{ "line": 65, "column": 56 }
[ { "pp": "R : Type u_1\nK : Type u_2\ninst✝¹ : Semiring R\ninst✝ : CommSemiring K\ni : R →+* K\na b : R\nN : ℕ\nf g : R[X]\nx✝¹ : DenomsClearable a b N f i\nx✝ : DenomsClearable a b N g i\nDf : R\nbf : K\nbfu : bf * i b = 1\nHf : i Df = i b ^ N * eval (i a * bf) (map i f)\nDg : R\nbg : K\nbgu : bg * i b = 1\nHg ...
[ "R : Type u_1\nK : Type u_2\ninst✝¹ : Semiring R\ninst✝ : CommSemiring K\ni : R →+* K\na b : R\nN : ℕ\nf g : R[X]\nx✝¹ : DenomsClearable a b N f i\nx✝ : DenomsClearable a b N g i\nDf : R\nbf : K\nbfu : bf * i b = 1\nHf : i Df = i b ^ N * eval (i a * bf) (map i f)\nDg : R\nbg : K\nbgu : bg * i b = 1\nHg : i Dg = i b...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Mirror
{ "line": 58, "column": 2 }
{ "line": 63, "column": 84 }
{ "line": 65, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Semiring R\np : R[X]\n⊢ p.mirror.natDegree = p.natDegree", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Nontrivial", "Eq.mpr", "Nat.instCanonicallyOrderedAdd", "NonAssocSemiring.toAddCommMonoidWithOne", "MulOne.toOne", "A...
[]
by_cases hp : p = 0 · rw [hp, mirror_zero] nontriviality R rw [mirror, natDegree_mul', reverse_natDegree, natDegree_X_pow, tsub_add_cancel_of_le p.natTrailingDegree_le_natDegree] rwa [leadingCoeff_X_pow, mul_one, reverse_leadingCoeff, Ne, trailingCoeff_eq_zero]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.Mirror
{ "line": 58, "column": 2 }
{ "line": 63, "column": 84 }
{ "line": 65, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Semiring R\np : R[X]\n⊢ p.mirror.natDegree = p.natDegree", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Nontrivial", "Eq.mpr", "Nat.instCanonicallyOrderedAdd", "NonAssocSemiring.toAddCommMonoidWithOne", "MulOne.toOne", "A...
[]
by_cases hp : p = 0 · rw [hp, mirror_zero] nontriviality R rw [mirror, natDegree_mul', reverse_natDegree, natDegree_X_pow, tsub_add_cancel_of_le p.natTrailingDegree_le_natDegree] rwa [leadingCoeff_X_pow, mul_one, reverse_leadingCoeff, Ne, trailingCoeff_eq_zero]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Mirror
{ "line": 167, "column": 12 }
{ "line": 167, "column": 21 }
{ "line": 167, "column": 22 }
[ { "pp": "case pos\nR : Type u_1\ninst✝¹ : Semiring R\np q : R[X]\ninst✝ : NoZeroDivisors R\nhp : ¬p = 0\nhq : q = 0\n⊢ (p * 0).mirror = p.mirror * mirror 0", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Eq.mpr", "AddMonoidAlgebra.semiring", "HMul.hMul", "MulZeroCl...
[ "case pos\nR : Type u_1\ninst✝¹ : Semiring R\np q : R[X]\ninst✝ : NoZeroDivisors R\nhp : ¬p = 0\nhq : q = 0\n⊢ mirror 0 = p.mirror * mirror 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 111, "column": 63 }
{ "line": 111, "column": 76 }
{ "line": 112, "column": 8 }
[ { "pp": "case succ.refine_2\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\n⊢ q * g ^ n + ∑ i, r i * g ^ ↑i =\n q %ₘ g * g ^ ↑(Fin.last n) + (q /ₘ g * g ...
[ "case succ.refine_2\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Nontrivial R\nf g : R[X]\nhg : g.Monic\nn : ℕ\nq : R[X]\nr : Fin n → R[X]\nhr : ∀ (i : Fin n), (r i).degree < g.degree\nhf : f = q * g ^ n + ∑ i, r i * g ^ ↑i\n⊢ q * g ^ n + ∑ i, r i * g ^ ↑i =\n q %ₘ g * g ^ n + (q /ₘ g * g ^ (n + 1) + ∑ i, Fin.sno...
Fin.val_last,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 126, "column": 22 }
{ "line": 126, "column": 36 }
{ "line": 126, "column": 36 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nq₁ q₂ : R[X]\nr₁ r₂ : Fin 0 → R[X]\nhr₁ : ∀ (i : Fin 0), (r₁ i).degree < g.degree\nhr₂ : ∀ (i : Fin 0), (r₂ i).degree < g.degree\nhf : q₁ * g ^ 0 + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ 0 + ∑ i, r₂ i * g ^ ↑i\n⊢ q₁ = q₂", "ppTerm": "?m.92", "ass...
[]
simpa using hf
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 126, "column": 22 }
{ "line": 126, "column": 36 }
{ "line": 126, "column": 36 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nq₁ q₂ : R[X]\nr₁ r₂ : Fin 0 → R[X]\nhr₁ : ∀ (i : Fin 0), (r₁ i).degree < g.degree\nhr₂ : ∀ (i : Fin 0), (r₂ i).degree < g.degree\nhf : q₁ * g ^ 0 + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ 0 + ∑ i, r₂ i * g ^ ↑i\n⊢ q₁ = q₂", "ppTerm": "?m.92", "ass...
[]
simpa using hf
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 126, "column": 22 }
{ "line": 126, "column": 36 }
{ "line": 126, "column": 36 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\ng : R[X]\nhg : g.Monic\nq₁ q₂ : R[X]\nr₁ r₂ : Fin 0 → R[X]\nhr₁ : ∀ (i : Fin 0), (r₁ i).degree < g.degree\nhr₂ : ∀ (i : Fin 0), (r₂ i).degree < g.degree\nhf : q₁ * g ^ 0 + ∑ i, r₁ i * g ^ ↑i = q₂ * g ^ 0 + ∑ i, r₂ i * g ^ ↑i\n⊢ q₁ = q₂", "ppTerm": "?m.92", "ass...
[]
simpa using hf
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Smeval
{ "line": 203, "column": 78 }
{ "line": 203, "column": 87 }
{ "line": 203, "column": 88 }
[ { "pp": "case monomial.succ\nR : Type u_1\ninst✝⁴ : Semiring R\np : R[X]\nS : Type u_2\ninst✝³ : NonAssocSemiring S\ninst✝² : Module R S\ninst✝¹ : Pow S ℕ\ninst✝ : NatPowAssoc S\na : R\nn : ℕ\n⊢ a • (0 ^ n * 0) = 0 • 1", "ppTerm": "?monomial.succ", "assigned": true, "usedConstants": [ "Eq.mpr"...
[ "case monomial.succ\nR : Type u_1\ninst✝⁴ : Semiring R\np : R[X]\nS : Type u_2\ninst✝³ : NonAssocSemiring S\ninst✝² : Module R S\ninst✝¹ : Pow S ℕ\ninst✝ : NatPowAssoc S\na : R\nn : ℕ\n⊢ a • 0 = 0 • 1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.Sturm.Sequence
{ "line": 145, "column": 24 }
{ "line": 145, "column": 34 }
{ "line": 145, "column": 35 }
[ { "pp": "K : Type u_1\ninst✝¹ : Field K\ninst✝ : DecidableEq K\nr : K[X]\nhr : r ≠ 0\np q : K[X]\nhp : ¬p = 0\nih : (r * q).sturmSeq (r * (-p % q)) = List.map (fun x ↦ r * x) (q.sturmSeq (-p % q))\n⊢ r * p :: (r * q).sturmSeq (-(r * (p % q))) = r * p :: List.map (fun x ↦ r * x) (q.sturmSeq (-p % q))", "ppTe...
[ "K : Type u_1\ninst✝¹ : Field K\ninst✝ : DecidableEq K\nr : K[X]\nhr : r ≠ 0\np q : K[X]\nhp : ¬p = 0\nih : (r * q).sturmSeq (r * (-p % q)) = List.map (fun x ↦ r * x) (q.sturmSeq (-p % q))\n⊢ r * p :: (r * q).sturmSeq (r * -(p % q)) = r * p :: List.map (fun x ↦ r * x) (q.sturmSeq (-p % q))" ]
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 205, "column": 13 }
{ "line": 205, "column": 27 }
{ "line": 206, "column": 2 }
[ { "pp": "case empty\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhg : ∀ i ∈ ∅, (g i).Monic\nhgg : (↑∅).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nhr₁ : ∀ i ∈ ∅, (r₁ i).degree < (g i).degree\nhr₂ : ∀ i ∈ ∅, (r₂ i).degree < (g i).degree\nhf ...
[]
simpa using hf
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 205, "column": 13 }
{ "line": 205, "column": 27 }
{ "line": 206, "column": 2 }
[ { "pp": "case empty\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhg : ∀ i ∈ ∅, (g i).Monic\nhgg : (↑∅).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nhr₁ : ∀ i ∈ ∅, (r₁ i).degree < (g i).degree\nhr₂ : ∀ i ∈ ∅, (r₂ i).degree < (g i).degree\nhf ...
[]
simpa using hf
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 205, "column": 13 }
{ "line": 205, "column": 27 }
{ "line": 206, "column": 2 }
[ { "pp": "case empty\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\nhg : ∀ i ∈ ∅, (g i).Monic\nhgg : (↑∅).Pairwise fun i j ↦ IsCoprime (g i) (g j)\nhr₁ : ∀ i ∈ ∅, (r₁ i).degree < (g i).degree\nhr₂ : ∀ i ∈ ∅, (r₂ i).degree < (g i).degree\nhf ...
[]
simpa using hf
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.UnitTrinomial
{ "line": 175, "column": 11 }
{ "line": 175, "column": 20 }
{ "line": 175, "column": 21 }
[ { "pp": "k m n : ℕ\nhkm : k < m\nhmn : m < n\nx y z : ℤ\nhp : #{k, m, n} = 3 ∧ ∀ k_1 ∈ {k, m, n}, IsUnit ((C x * X ^ k + C y * X ^ m + C z * X ^ n).coeff k_1)\nhx : IsUnit (x + y * 0 + z * 0)\nhy : IsUnit (x * 0 + y + z * 0)\nhz : IsUnit (x * 0 + y * 0 + z)\n⊢ (C x * X ^ k + C y * X ^ m + C z * X ^ n).IsUnitTri...
[ "k m n : ℕ\nhkm : k < m\nhmn : m < n\nx y z : ℤ\nhp : #{k, m, n} = 3 ∧ ∀ k_1 ∈ {k, m, n}, IsUnit ((C x * X ^ k + C y * X ^ m + C z * X ^ n).coeff k_1)\nhx : IsUnit (x + 0 + 0)\nhy : IsUnit (0 + y + 0)\nhz : IsUnit (0 + 0 + z)\n⊢ (C x * X ^ k + C y * X ^ m + C z * X ^ n).IsUnitTrinomial" ]
mul_zero,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Polynomial.UnitTrinomial
{ "line": 188, "column": 62 }
{ "line": 188, "column": 95 }
{ "line": 189, "column": 6 }
[ { "pp": "case refine_1\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nu v w : ℤˣ\n⊢ (trinomial k m n ↑u ↑v ↑w).coeff k ^ 2 +\n ((trinomial k m n ↑u ↑v ↑w).coeff m ^ 2 + (trinomial k m n ↑u ↑v ↑w).coeff n ^ 2) =\n 3", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Finsupp.instFunLi...
[ "case refine_1\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nu v w : ℤˣ\n⊢ (trinomial k m n ↑u ↑v ↑w).coeff k ^ 2 + ((trinomial k m n ↑u ↑v ↑w).coeff m ^ 2 + ↑w ^ 2) = 3" ]
trinomial_leading_coeff' hkm hmn,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.UnitTrinomial
{ "line": 211, "column": 60 }
{ "line": 211, "column": 68 }
{ "line": 211, "column": 69 }
[ { "pp": "p : ℤ[X]\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nu v w : ℤˣ\nhp : p = trinomial k m n ↑u ↑v ↑w\nkey : n - m + k < n\n⊢ C ↑v * ((monomial (m + n)) ↑u + (monomial (n - m + k + n)) ↑w) =\n AddMonoidAlgebra.ofCoeff\n (Finsupp.filter (fun x ↦ x ∈ Set.Ioo (k + n) (n + n))\n ((monomial k) ↑u * ((...
[ "p : ℤ[X]\nk m n : ℕ\nhkm : k < m\nhmn : m < n\nu v w : ℤˣ\nhp : p = trinomial k m n ↑u ↑v ↑w\nkey : n - m + k < n\n⊢ C ↑v * (monomial (m + n)) ↑u + C ↑v * (monomial (n - m + k + n)) ↑w =\n AddMonoidAlgebra.ofCoeff\n (Finsupp.filter (fun x ↦ x ∈ Set.Ioo (k + n) (n + n))\n ((monomial k) ↑u * (monomial...
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 225, "column": 37 }
{ "line": 225, "column": 45 }
{ "line": 225, "column": 46 }
[ { "pp": "case cons\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n (∀ i ∈ s, (g i).Monic) →\n ((↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)) →\n (∀ i ∈ s, (r₁ i).degree < (g i).degree) →\n ...
[ "case cons\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n (∀ i ∈ s, (g i).Monic) →\n ((↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)) →\n (∀ i ∈ s, (r₁ i).degree < (g i).degree) →\n (∀ i ∈ ...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.RuleOfSigns
{ "line": 215, "column": 4 }
{ "line": 215, "column": 61 }
{ "line": 216, "column": 4 }
[ { "pp": "case h.left\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nP : R[X]\nη : R\nh₁ : 0 < P.leadingCoeff\nh₃ : P ≠ 0\nh₄ : P.eraseLead.natDegree + 1 = P.natDegree\nh₅ : X - C η ≠ 0\nh₆ : P.eraseLead ≠ 0\nd : ℕ\nhd : P.natDegree = 0 + d + 1\nh₂ : P.eraseLead.leadingCoe...
[ "case h.left\nR : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nP : R[X]\nη : R\nh₁ : 0 < P.leadingCoeff\nh₃ : P ≠ 0\nh₄ : P.eraseLead.natDegree + 1 = P.natDegree\nh₅ : X - C η ≠ 0\nh₆ : P.eraseLead ≠ 0\nd : ℕ\nhd : P.natDegree = 0 + d + 1\nh₂ : P.eraseLead.leadingCoeff = P.nextC...
have := leadingCoeff_monic_mul (q := P) (monic_X_sub_C η)
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Algebra.Polynomial.SumIteratedDerivative
{ "line": 236, "column": 14 }
{ "line": 236, "column": 23 }
{ "line": 236, "column": 24 }
[ { "pp": "case hq\nR : Type u_1\ninst✝⁴ : CommSemiring R\nA : Type u_3\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial A\ninst✝ : NoZeroDivisors A\np : R[X]\nq : ℕ\nhq : 0 < q\ninj_amap : Function.Injective ⇑(algebraMap R A)\np0 : p ≠ 0\nc : ℕ → R[X] := fun k ↦ if hk : q ≤ k then ⋯.choose else 0\...
[ "case hq\nR : Type u_1\ninst✝⁴ : CommSemiring R\nA : Type u_3\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : Nontrivial A\ninst✝ : NoZeroDivisors A\np : R[X]\nq : ℕ\nhq : 0 < q\ninj_amap : Function.Injective ⇑(algebraMap R A)\np0 : p ≠ 0\nc : ℕ → R[X] := fun k ↦ if hk : q ≤ k then ⋯.choose else 0\nc_le : ∀ (k...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 249, "column": 18 }
{ "line": 249, "column": 27 }
{ "line": 249, "column": 28 }
[ { "pp": "case cons\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n (∀ i ∈ s, (g i).Monic) →\n ((↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)) →\n (∀ i ∈ s, (r₁ i).degree < (g i).degree) →\n ...
[ "case cons\nR : Type u_1\ninst✝¹ : CommRing R\nι : Type u_2\ninst✝ : DecidableEq ι\ng : ι → R[X]\nq₁ q₂ : R[X]\nr₁ r₂ : ι → R[X]\ni : ι\ns : Finset ι\nhi : i ∉ s\nih :\n (∀ i ∈ s, (g i).Monic) →\n ((↑s).Pairwise fun i j ↦ IsCoprime (g i) (g j)) →\n (∀ i ∈ s, (r₁ i).degree < (g i).degree) →\n (∀ i ∈ ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuadraticAlgebra.Defs
{ "line": 244, "column": 31 }
{ "line": 244, "column": 46 }
{ "line": 246, "column": 0 }
[ { "pp": "case re\nR : Type u_1\nS : Type u_2\nT : Type u_3\na b r : R\nx y : QuadraticAlgebra R a b\ninst✝¹ : Monoid S\ninst✝ : MulAction S R\nx✝² x✝¹ : S\nx✝ : QuadraticAlgebra R a b\n⊢ ((x✝² * x✝¹) • x✝).re = (x✝² • x✝¹ • x✝).re", "ppTerm": "?re", "assigned": true, "usedConstants": [ "Quadra...
[]
simp [mul_smul]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.QuadraticAlgebra.Defs
{ "line": 244, "column": 31 }
{ "line": 244, "column": 46 }
{ "line": 246, "column": 0 }
[ { "pp": "case im\nR : Type u_1\nS : Type u_2\nT : Type u_3\na b r : R\nx y : QuadraticAlgebra R a b\ninst✝¹ : Monoid S\ninst✝ : MulAction S R\nx✝² x✝¹ : S\nx✝ : QuadraticAlgebra R a b\n⊢ ((x✝² * x✝¹) • x✝).im = (x✝² • x✝¹ • x✝).im", "ppTerm": "?im", "assigned": true, "usedConstants": [ "Quadra...
[]
simp [mul_smul]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Polynomial.RuleOfSigns
{ "line": 354, "column": 2 }
{ "line": 354, "column": 68 }
{ "line": 356, "column": 2 }
[ { "pp": "case succ\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nn✝ : ℕ\nih : ∀ (P : R[X]), Multiset.countP (fun x ↦ 0 < x) P.roots = n✝ → n✝ ≤ P.signVariations\nP : R[X]\nh : Multiset.countP (fun x ↦ 0 < x) P.roots = n✝ + 1\nhp : P ≠ 0\nη : R\nη_root : η ∈ P.roots\n...
[ "case succ\nR : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nn✝ : ℕ\nih : ∀ (P : R[X]), Multiset.countP (fun x ↦ 0 < x) P.roots = n✝ → n✝ ≤ P.signVariations\nη : R\nη_pos : 0 < η\nQ : R[X]\nh : Multiset.countP (fun x ↦ 0 < x) ((X - C η) * Q).roots = n✝ + 1\nhp : (X - C η) * ...
obtain ⟨Q, rfl⟩ := dvd_iff_isRoot.mpr (isRoot_of_mem_roots η_root)
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 641, "column": 50 }
{ "line": 641, "column": 74 }
{ "line": 641, "column": 74 }
[ { "pp": "K : Type u_1\nR : Type u_2\na✝¹ b✝ : R\ninst✝¹ : Field K\na✝ b : K\nHab : Fact (∀ (r : K), r ^ 2 ≠ a✝ + b * r)\na : K\ninst✝ : Fact ¬IsSquare a\nr : K\nhr : r ^ 2 = a + 0 * r\n⊢ a = r * r", "ppTerm": "?m.70", "assigned": true, "usedConstants": [ "HMul.hMul", "Monoid.toMulOneClas...
[]
simpa [sq] using hr.symm
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 641, "column": 50 }
{ "line": 641, "column": 74 }
{ "line": 641, "column": 74 }
[ { "pp": "K : Type u_1\nR : Type u_2\na✝¹ b✝ : R\ninst✝¹ : Field K\na✝ b : K\nHab : Fact (∀ (r : K), r ^ 2 ≠ a✝ + b * r)\na : K\ninst✝ : Fact ¬IsSquare a\nr : K\nhr : r ^ 2 = a + 0 * r\n⊢ a = r * r", "ppTerm": "?m.70", "assigned": true, "usedConstants": [ "HMul.hMul", "Monoid.toMulOneClas...
[]
simpa [sq] using hr.symm
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 641, "column": 50 }
{ "line": 641, "column": 74 }
{ "line": 641, "column": 74 }
[ { "pp": "K : Type u_1\nR : Type u_2\na✝¹ b✝ : R\ninst✝¹ : Field K\na✝ b : K\nHab : Fact (∀ (r : K), r ^ 2 ≠ a✝ + b * r)\na : K\ninst✝ : Fact ¬IsSquare a\nr : K\nhr : r ^ 2 = a + 0 * r\n⊢ a = r * r", "ppTerm": "?m.70", "assigned": true, "usedConstants": [ "HMul.hMul", "Monoid.toMulOneClas...
[]
simpa [sq] using hr.symm
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.QuadraticAlgebra.AlgHom
{ "line": 115, "column": 27 }
{ "line": 118, "column": 20 }
{ "line": 120, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\na b a' b' : R\nf : QuadraticAlgebra R a b →ₐ[R] QuadraticAlgebra R a' b'\nhf : Function.Injective ⇑f\nx : QuadraticAlgebra R a b\n⊢ norm (f x) = norm x", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Eq.mpr", "MonoidHom.instFunLike", ...
[]
by apply algebraMap_injective rw [algebraMap_norm_eq_mul_star, ← algHom_star f hf, ← map_mul, ← algebraMap_norm_eq_mul_star, AlgHom.commutes]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.QuadraticAlgebra.Discriminant
{ "line": 103, "column": 59 }
{ "line": 106, "column": 68 }
{ "line": 108, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : Invertible 2\na b : R\n⊢ (∃ r, r ^ 2 = a + b * r) ↔ IsSquare (discr a b)", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "_private.Mathlib.Algebra.QuadraticAlgebra.Discriminant.0.QuadraticAlgebra.exists_sq_eq_iff_isSquare_discr._pro...
[]
by rw [isSquare_iff_exists_sq, discr_def] exact ⟨fun ⟨r, hr⟩ ↦ ⟨2 * r - b, by grind⟩, fun ⟨r, hr⟩ ↦ ⟨⅟2 * (b + r), by grind [mul_invOf_self (2 : R)]⟩⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.QuadraticAlgebra.Integral
{ "line": 85, "column": 38 }
{ "line": 85, "column": 72 }
{ "line": 86, "column": 4 }
[ { "pp": "R : Type u_1\nK : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing K\ninst✝¹ : Algebra R K\na b : K\nz : QuadraticAlgebra K a b\ninst✝ : IsIntegrallyClosedIn R K\nha : a ∈ Set.range ⇑(algebraMap R K)\nhb : b ∈ Set.range ⇑(algebraMap R K)\nh : IsIntegral R z\nm : R\nhm : (algebraMap R K) m = z.im\nthis ...
[ "R : Type u_1\nK : Type u_2\ninst✝³ : CommRing R\ninst✝² : CommRing K\ninst✝¹ : Algebra R K\na b : K\nz : QuadraticAlgebra K a b\ninst✝ : IsIntegrallyClosedIn R K\nha : a ∈ Set.range ⇑(algebraMap R K)\nhb : b ∈ Set.range ⇑(algebraMap R K)\nh : IsIntegral R z\nm : R\nhm : (algebraMap R K) m = z.im\nthis : IsIntegral...
← IsScalarTower.coe_toAlgHom' R K,
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.Algebra.QuadraticAlgebra.Int
{ "line": 113, "column": 29 }
{ "line": 113, "column": 64 }
{ "line": 114, "column": 2 }
[ { "pp": "a b : ℤ\nx✝ : ↥(algebraMapSubmonoid (QuadraticAlgebra ℤ a b) ℤ⁰)\ny : QuadraticAlgebra ℤ a b\nx : ℤ\nhx : x ∈ ↑ℤ⁰\nhy : (algebraMap ℤ (QuadraticAlgebra ℤ a b)) x = y\n⊢ IsUnit ((algebraMap ℤ ℚ) x)", "ppTerm": "?m.114", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", ...
[]
simpa [isUnit_iff_ne_zero] using hx
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.QuadraticAlgebra.Int
{ "line": 113, "column": 29 }
{ "line": 113, "column": 64 }
{ "line": 114, "column": 2 }
[ { "pp": "a b : ℤ\nx✝ : ↥(algebraMapSubmonoid (QuadraticAlgebra ℤ a b) ℤ⁰)\ny : QuadraticAlgebra ℤ a b\nx : ℤ\nhx : x ∈ ↑ℤ⁰\nhy : (algebraMap ℤ (QuadraticAlgebra ℤ a b)) x = y\n⊢ IsUnit ((algebraMap ℤ ℚ) x)", "ppTerm": "?m.114", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", ...
[]
simpa [isUnit_iff_ne_zero] using hx
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.QuadraticAlgebra.Int
{ "line": 113, "column": 29 }
{ "line": 113, "column": 64 }
{ "line": 114, "column": 2 }
[ { "pp": "a b : ℤ\nx✝ : ↥(algebraMapSubmonoid (QuadraticAlgebra ℤ a b) ℤ⁰)\ny : QuadraticAlgebra ℤ a b\nx : ℤ\nhx : x ∈ ↑ℤ⁰\nhy : (algebraMap ℤ (QuadraticAlgebra ℤ a b)) x = y\n⊢ IsUnit ((algebraMap ℤ ℚ) x)", "ppTerm": "?m.114", "assigned": true, "usedConstants": [ "Int.cast", "Eq.mpr", ...
[]
simpa [isUnit_iff_ne_zero] using hx
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed
{ "line": 57, "column": 88 }
{ "line": 59, "column": 99 }
{ "line": 61, "column": 0 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝¹⁰ : CommRing R\ninst✝⁹ : CommRing S\ninst✝⁸ : IsDomain R\ninst✝⁷ : Algebra R S\nK : Type u_3\ninst✝⁶ : Field K\ninst✝⁵ : Algebra R K\ninst✝⁴ : IsFractionRing R K\ninst✝³ : IsIntegrallyClosed R\ninst✝² : IsDomain S\ninst✝¹ : Algebra K S\ninst✝ : IsScalarTower R K S\ns :...
[]
by let L := FractionRing S rw [← isIntegrallyClosed_eq_field_fractions K L hs, algebraMap_eq (IsFractionRing.injective S L)]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Polynomial.GaussLemma
{ "line": 219, "column": 2 }
{ "line": 231, "column": 29 }
{ "line": 233, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁵ : CommRing R\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra R K\ninst✝² : IsFractionRing R K\ninst✝¹ : IsDomain R\ninst✝ : NormalizedGCDMonoid R\np : K[X]\nh0 : p ≠ 0\nh : IsUnit (integerNormalization R⁰ p).primPart\n⊢ IsUnit p", "ppTerm": "?m.26", "assigned": true, ...
[]
rcases isUnit_iff.1 h with ⟨_, ⟨u, rfl⟩, hu⟩ obtain ⟨c, c0, hc⟩ := integerNormalization_spec R⁰ p rw [Algebra.smul_def, algebraMap_apply] at hc apply isUnit_of_mul_isUnit_right rw [← hc, (integerNormalization R⁰ p).eq_C_content_mul_primPart, ← hu, ← map_mul, isUnit_iff] refine ⟨algebraMap R K ((integerNor...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Polynomial.GaussLemma
{ "line": 219, "column": 2 }
{ "line": 231, "column": 29 }
{ "line": 233, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁵ : CommRing R\nK : Type u_2\ninst✝⁴ : Field K\ninst✝³ : Algebra R K\ninst✝² : IsFractionRing R K\ninst✝¹ : IsDomain R\ninst✝ : NormalizedGCDMonoid R\np : K[X]\nh0 : p ≠ 0\nh : IsUnit (integerNormalization R⁰ p).primPart\n⊢ IsUnit p", "ppTerm": "?m.26", "assigned": true, ...
[]
rcases isUnit_iff.1 h with ⟨_, ⟨u, rfl⟩, hu⟩ obtain ⟨c, c0, hc⟩ := integerNormalization_spec R⁰ p rw [Algebra.smul_def, algebraMap_apply] at hc apply isUnit_of_mul_isUnit_right rw [← hc, (integerNormalization R⁰ p).eq_C_content_mul_primPart, ← hu, ← map_mul, isUnit_iff] refine ⟨algebraMap R K ((integerNor...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed
{ "line": 163, "column": 36 }
{ "line": 163, "column": 48 }
{ "line": 163, "column": 48 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : IsDomain R\ninst✝³ : Algebra R S\ninst✝² : IsIntegrallyClosed R\ninst✝¹ : IsDomain S\ninst✝ : IsTorsionFree R S\ns : S\np : R[X]\nhp : (Polynomial.aeval s) p = 0\nh₀ : p ≠ 0\npmin : ∀ (q : R[X]), q.Monic → (Polynomial.aeval ...
[]
by simp [h₀]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Trace.Defs
{ "line": 112, "column": 4 }
{ "line": 112, "column": 95 }
{ "line": 113, "column": 2 }
[ { "pp": "case pos\nR : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : StrongRankCondition R\ninst✝ : Free R S\nx : R\nH : ∃ s, Nonempty (Basis (↥s) R S)\n⊢ (trace R S) ((algebraMap R S) x) = finrank R S • x", "ppTerm": "?pos✝", "assigned": true, "use...
[]
rw [trace_algebraMap_of_basis H.choose_spec.some, finrank_eq_card_basis H.choose_spec.some]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Trace.Defs
{ "line": 112, "column": 4 }
{ "line": 112, "column": 95 }
{ "line": 113, "column": 2 }
[ { "pp": "case pos\nR : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : StrongRankCondition R\ninst✝ : Free R S\nx : R\nH : ∃ s, Nonempty (Basis (↥s) R S)\n⊢ (trace R S) ((algebraMap R S) x) = finrank R S • x", "ppTerm": "?pos✝", "assigned": true, "use...
[]
rw [trace_algebraMap_of_basis H.choose_spec.some, finrank_eq_card_basis H.choose_spec.some]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Trace.Defs
{ "line": 112, "column": 4 }
{ "line": 112, "column": 95 }
{ "line": 113, "column": 2 }
[ { "pp": "case pos\nR : Type u_1\nS : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : CommRing S\ninst✝² : Algebra R S\ninst✝¹ : StrongRankCondition R\ninst✝ : Free R S\nx : R\nH : ∃ s, Nonempty (Basis (↥s) R S)\n⊢ (trace R S) ((algebraMap R S) x) = finrank R S • x", "ppTerm": "?pos✝", "assigned": true, "use...
[]
rw [trace_algebraMap_of_basis H.choose_spec.some, finrank_eq_card_basis H.choose_spec.some]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly
{ "line": 75, "column": 2 }
{ "line": 75, "column": 52 }
{ "line": 76, "column": 2 }
[ { "pp": "case inr.hp\nR : Type u\ninst✝² : CommRing R\nS : Type u_1\ninst✝¹ : Ring S\ninst✝ : Algebra R S\nh : PowerBasis R S\nh✝ : Nontrivial R\n⊢ (aeval h.gen) ((leftMulMatrix h.basis) h.gen).charpoly = 0", "ppTerm": "?inr.hp", "assigned": true, "usedConstants": [ "PowerBasis.dim", "in...
[ "case inr.hl\nR : Type u\ninst✝² : CommRing R\nS : Type u_1\ninst✝¹ : Ring S\ninst✝ : Algebra R S\nh : PowerBasis R S\nh✝ : Nontrivial R\n⊢ ∀ (q : R[X]), q.degree < ((leftMulMatrix h.basis) h.gen).charpoly.degree → q = 0 ∨ (aeval h.gen) q ≠ 0" ]
· exact aeval_charpoly_leftMulMatrix h.basis h.gen
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.RingTheory.Trace.Defs
{ "line": 160, "column": 28 }
{ "line": 160, "column": 63 }
{ "line": 162, "column": 0 }
[ { "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\ninst✝³ : Free R S\ninst✝² : Free R T\ninst✝¹ : Module.Finite R S\ninst✝ : Module.Finite R T\np : S × T\n⊢ (trace R (S × T)) p = ((trace R S).coprod (trace...
[]
rw [coprod_apply, trace_prod_apply]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Trace.Defs
{ "line": 160, "column": 28 }
{ "line": 160, "column": 63 }
{ "line": 162, "column": 0 }
[ { "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\ninst✝³ : Free R S\ninst✝² : Free R T\ninst✝¹ : Module.Finite R S\ninst✝ : Module.Finite R T\np : S × T\n⊢ (trace R (S × T)) p = ((trace R S).coprod (trace...
[]
rw [coprod_apply, trace_prod_apply]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Trace.Defs
{ "line": 160, "column": 28 }
{ "line": 160, "column": 63 }
{ "line": 162, "column": 0 }
[ { "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\ninst✝³ : Free R S\ninst✝² : Free R T\ninst✝¹ : Module.Finite R S\ninst✝ : Module.Finite R T\np : S × T\n⊢ (trace R (S × T)) p = ((trace R S).coprod (trace...
[]
rw [coprod_apply, trace_prod_apply]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.QuadraticAlgebra.IsQuadraticExtension
{ "line": 50, "column": 2 }
{ "line": 62, "column": 37 }
{ "line": 64, "column": 0 }
[ { "pp": "R : Type u_1\nA : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : StrongRankCondition R\ninst✝² : CommRing A\ninst✝¹ : Algebra R A\ninst✝ : IsQuadraticExtension R A\n⊢ ∃ a b, Nonempty (A ≃ₐ[R] QuadraticAlgebra R a b)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Subalgebra.instSe...
[]
have : Nontrivial A := Module.nontrivial_of_finrank_pos (by rw [IsQuadraticExtension.finrank_eq_two R A]; norm_num) obtain ⟨e, he⟩ := Module.Free.isUnimodular_one.exists_basis_zero_eq (IsQuadraticExtension.finrank_eq_two R A) refine ⟨-Algebra.norm R (e 1), Algebra.trace R A (e 1), ⟨(AlgEquiv.ofBijective...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.QuadraticAlgebra.IsQuadraticExtension
{ "line": 50, "column": 2 }
{ "line": 62, "column": 37 }
{ "line": 64, "column": 0 }
[ { "pp": "R : Type u_1\nA : Type u_2\ninst✝⁴ : CommRing R\ninst✝³ : StrongRankCondition R\ninst✝² : CommRing A\ninst✝¹ : Algebra R A\ninst✝ : IsQuadraticExtension R A\n⊢ ∃ a b, Nonempty (A ≃ₐ[R] QuadraticAlgebra R a b)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Subalgebra.instSe...
[]
have : Nontrivial A := Module.nontrivial_of_finrank_pos (by rw [IsQuadraticExtension.finrank_eq_two R A]; norm_num) obtain ⟨e, he⟩ := Module.Free.isUnimodular_one.exists_basis_zero_eq (IsQuadraticExtension.finrank_eq_two R A) refine ⟨-Algebra.norm R (e 1), Algebra.trace R A (e 1), ⟨(AlgEquiv.ofBijective...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Trace.Basic
{ "line": 65, "column": 88 }
{ "line": 66, "column": 81 }
{ "line": 68, "column": 0 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝² : CommRing R\ninst✝¹ : CommRing S\ninst✝ : Algebra R S\nh : PowerBasis R S\n⊢ (BilinForm.toMatrix h.basis) (traceForm R S) = of fun i j ↦ (trace R S) (h.gen ^ (↑i + ↑j))", "ppTerm": "?m.64", "assigned": true, "usedConstants": [ "Eq.mpr", "Algeb...
[]
by ext; rw [traceForm_toMatrix, of_apply, pow_add, h.basis_eq_pow, h.basis_eq_pow]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Trace.Basic
{ "line": 241, "column": 30 }
{ "line": 241, "column": 47 }
{ "line": 241, "column": 48 }
[ { "pp": "K : Type u_3\nL : Type u_4\ninst✝¹¹ : Field K\ninst✝¹⁰ : Field L\ninst✝⁹ : Algebra K L\nF : Type u_5\ninst✝⁸ : Field F\ninst✝⁷ : Algebra L F\ninst✝⁶ : Algebra K F\ninst✝⁵ : IsScalarTower K L F\nE : Type u_6\ninst✝⁴ : Field E\ninst✝³ : Algebra K E\ninst✝² : IsAlgClosed E\ninst✝¹ : FiniteDimensional K F\...
[ "K : Type u_3\nL : Type u_4\ninst✝¹¹ : Field K\ninst✝¹⁰ : Field L\ninst✝⁹ : Algebra K L\nF : Type u_5\ninst✝⁸ : Field F\ninst✝⁷ : Algebra L F\ninst✝⁶ : Algebra K F\ninst✝⁵ : IsScalarTower K L F\nE : Type u_6\ninst✝⁴ : Field E\ninst✝³ : Algebra K E\ninst✝² : IsAlgClosed E\ninst✝¹ : FiniteDimensional K F\ninst✝ : Alg...
Finset.sum_sigma,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 127, "column": 20 }
{ "line": 127, "column": 28 }
{ "line": 127, "column": 29 }
[ { "pp": "R : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nc₁ c₂ c₃ : R\nq : Basis A c₁ c₂ c₃\nx y : ℍ[R,c₁,c₂,c₃]\n⊢ (x * y).re • 1 + (x * y).imI • q.i + (x * y).imJ • q.j + (x * y).imK • q.k =\n x.re • 1 * (y.re • 1 + y.imI • q.i + y.imJ • q.j + y.imK • q.k) +\n ...
[ "R : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nc₁ c₂ c₃ : R\nq : Basis A c₁ c₂ c₃\nx y : ℍ[R,c₁,c₂,c₃]\n⊢ (x * y).re • 1 + (x * y).imI • q.i + (x * y).imJ • q.j + (x * y).imK • q.k =\n x.re • 1 * y.re • 1 + x.re • 1 * y.imI • q.i + x.re • 1 * y.imJ • q.j + x.re • 1 * y.im...
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.RingTheory.Trace.Basic
{ "line": 310, "column": 32 }
{ "line": 310, "column": 41 }
{ "line": 310, "column": 42 }
[ { "pp": "case neg.succ\nK : Type u_3\nL : Type u_4\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nH : ¬Algebra.IsSeparable K L\np : ℕ\nhp : ExpChar K p\nthis : p ≠ 0\nx : L\nh₀ : FiniteDimensional K L\nhx : ¬IsSeparable K x\ng : K[X]\nhg₁ : g.Separable\nn : ℕ\nhg₂ : (expand K (p ^ (n + 1))) g = minpo...
[ "case neg.succ\nK : Type u_3\nL : Type u_4\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nH : ¬Algebra.IsSeparable K L\np : ℕ\nhp : ExpChar K p\nthis : p ≠ 0\nx : L\nh₀ : FiniteDimensional K L\nhx : ¬IsSeparable K x\ng : K[X]\nhg₁ : g.Separable\nn : ℕ\nhg₂ : (expand K (p ^ (n + 1))) g = minpoly K x\n⊢ 0 ...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.SkewMonoidAlgebra.Single
{ "line": 71, "column": 4 }
{ "line": 78, "column": 47 }
{ "line": 80, "column": 0 }
[ { "pp": "M : Type u_4\nα : Type u_5\ninst✝ : AddCommMonoid M\np : SkewMonoidAlgebra M α → Prop\nf✝ : SkewMonoidAlgebra M α\nh0 : p 0\nha : ∀ (a : α) (b : M) (f : SkewMonoidAlgebra M α), a ∉ f.support → b ≠ 0 → p f → p (single a b + f)\ns✝ : Finset α\na : α\ns : Finset α\nhas : a ∉ s\nih : ∀ (f : SkewMonoidAlgeb...
[]
suffices p (single a (f.coeff a) + f.erase a) by rwa [single_add_erase] at this classical apply ha · rw [support_erase, Finset.mem_erase] exact fun H ↦ H.1 rfl · simp only [← mem_support_iff, hf, Finset.mem_cons_self] · apply ih rw [support_erase, hf, Finset.erase_cons]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.SkewMonoidAlgebra.Single
{ "line": 71, "column": 4 }
{ "line": 78, "column": 47 }
{ "line": 80, "column": 0 }
[ { "pp": "M : Type u_4\nα : Type u_5\ninst✝ : AddCommMonoid M\np : SkewMonoidAlgebra M α → Prop\nf✝ : SkewMonoidAlgebra M α\nh0 : p 0\nha : ∀ (a : α) (b : M) (f : SkewMonoidAlgebra M α), a ∉ f.support → b ≠ 0 → p f → p (single a b + f)\ns✝ : Finset α\na : α\ns : Finset α\nhas : a ∉ s\nih : ∀ (f : SkewMonoidAlgeb...
[]
suffices p (single a (f.coeff a) + f.erase a) by rwa [single_add_erase] at this classical apply ha · rw [support_erase, Finset.mem_erase] exact fun H ↦ H.1 rfl · simp only [← mem_support_iff, hf, Finset.mem_cons_self] · apply ih rw [support_erase, hf, Finset.erase_cons]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.RingQuot
{ "line": 262, "column": 18 }
{ "line": 262, "column": 72 }
{ "line": 263, "column": 2 }
[ { "pp": "R : Type uR\ninst✝³ : Semiring R\nS : Type uS\ninst✝² : CommSemiring S\nT : Type uT\nA : Type uA\ninst✝¹ : Semiring A\ninst✝ : Algebra S A\nr✝ r : R → R → Prop\n⊢ ↑0 = 0", "ppTerm": "?m.102", "assigned": true, "usedConstants": [ "RingQuot.instNatCast", "NonAssocSemiring.toAddCom...
[]
by simp +instances [instNatCast, natCast, ← zero_quot]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.SkewPolynomial.Basic
{ "line": 415, "column": 56 }
{ "line": 415, "column": 65 }
{ "line": 415, "column": 66 }
[ { "pp": "R : Type u_1\ninst✝¹ : Semiring R\np q : SkewPolynomial R\ninst✝ : MulSemiringAction (Multiplicative ℕ) R\nh : p ≠ q\nh01 : 0 = 1\n⊢ p * 0 = q * 0", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Multiplicative...
[ "R : Type u_1\ninst✝¹ : Semiring R\np q : SkewPolynomial R\ninst✝ : MulSemiringAction (Multiplicative ℕ) R\nh : p ≠ q\nh01 : 0 = 1\n⊢ 0 = q * 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.SkewPolynomial.Basic
{ "line": 610, "column": 2 }
{ "line": 610, "column": 64 }
{ "line": 612, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Ring R\np : SkewPolynomial R\nn : ℕ\n⊢ (-p).coeff n = -p.coeff n", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "NegZeroClass.toNeg", "NonAssocSemiring.toAddCommMonoidWithOne", "AddGroupWithOne.toAddGro...
[]
simp [← add_eq_zero_iff_eq_neg, ← coeff_add, neg_add_cancel p]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.SkewPolynomial.Basic
{ "line": 610, "column": 2 }
{ "line": 610, "column": 64 }
{ "line": 612, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Ring R\np : SkewPolynomial R\nn : ℕ\n⊢ (-p).coeff n = -p.coeff n", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "NegZeroClass.toNeg", "NonAssocSemiring.toAddCommMonoidWithOne", "AddGroupWithOne.toAddGro...
[]
simp [← add_eq_zero_iff_eq_neg, ← coeff_add, neg_add_cancel p]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.SkewPolynomial.Basic
{ "line": 610, "column": 2 }
{ "line": 610, "column": 64 }
{ "line": 612, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝ : Ring R\np : SkewPolynomial R\nn : ℕ\n⊢ (-p).coeff n = -p.coeff n", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "NegZeroClass.toNeg", "NonAssocSemiring.toAddCommMonoidWithOne", "AddGroupWithOne.toAddGro...
[]
simp [← add_eq_zero_iff_eq_neg, ← coeff_add, neg_add_cancel p]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Star.Orthogonal
{ "line": 78, "column": 11 }
{ "line": 78, "column": 19 }
{ "line": 78, "column": 20 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonUnitalSemiring R\ninst✝ : StarRing R\nq p₁ p₂ : R\nh₁ : p₁ ⋆⟂ q\nh₂ : p₂ ⋆⟂ q\n⊢ star q * (p₁ + p₂) = 0", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "HMul.hMul", "congrArg", "NonUnital...
[ "R : Type u_1\ninst✝¹ : NonUnitalSemiring R\ninst✝ : StarRing R\nq p₁ p₂ : R\nh₁ : p₁ ⋆⟂ q\nh₂ : p₂ ⋆⟂ q\n⊢ star q * p₁ + star q * p₂ = 0" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Star.Orthogonal
{ "line": 297, "column": 77 }
{ "line": 298, "column": 54 }
{ "line": 300, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonUnitalRing R\ninst✝ : StarRing R\nq p₁ p₂ : R\nh₁ : p₁ ⋆⟂ q\nh₂ : p₂ ⋆⟂ q\n⊢ p₁ - p₂ ⋆⟂ q", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "congrArg", "AddMonoid.toAddZeroClass", "IsStarOrtho", ...
[]
by simpa [sub_eq_add_neg] using h₁.add_left h₂.neg_left
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Star.Orthogonal
{ "line": 387, "column": 78 }
{ "line": 387, "column": 87 }
{ "line": 387, "column": 88 }
[ { "pp": "R : Type u_1\ninst✝² : NonUnitalSemiring R\ninst✝¹ : StarRing R\ninst✝ : IsProperStar R\na b : R\nh : a ⋆⟂ b\nha : IsStarNormal a\n⊢ b * (star a * 0) = 0", "ppTerm": "?m.55", "assigned": true, "usedConstants": [ "Eq.mpr", "Semigroup.toMul", "HMul.hMul", "MulZeroClass...
[ "R : Type u_1\ninst✝² : NonUnitalSemiring R\ninst✝¹ : StarRing R\ninst✝ : IsProperStar R\na b : R\nh : a ⋆⟂ b\nha : IsStarNormal a\n⊢ b * 0 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Symmetrized
{ "line": 243, "column": 41 }
{ "line": 243, "column": 50 }
{ "line": 243, "column": 51 }
[ { "pp": "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * (0 + unsym x✝ * 0)) = 0", "ppTerm": "?m.307", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Equiv.instEquivLike", "HMul.hMul", "MulZeroC...
[ "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * (0 + 0)) = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Symmetrized
{ "line": 244, "column": 8 }
{ "line": 244, "column": 17 }
{ "line": 244, "column": 18 }
[ { "pp": "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * 0) = 0", "ppTerm": "?m.315", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Equiv.instEquivLike", "HMul.hMul", "MulZeroClass.toMul", ...
[ "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym 0 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Symmetrized
{ "line": 246, "column": 41 }
{ "line": 246, "column": 50 }
{ "line": 246, "column": 51 }
[ { "pp": "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * (unsym x✝ * 0 + 0)) = 0", "ppTerm": "?m.339", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Equiv.instEquivLike", "HMul.hMul", "MulZeroC...
[ "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * (0 + 0)) = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Symmetrized
{ "line": 247, "column": 8 }
{ "line": 247, "column": 17 }
{ "line": 247, "column": 18 }
[ { "pp": "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym (⅟2 * 0) = 0", "ppTerm": "?m.347", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Equiv.instEquivLike", "HMul.hMul", "MulZeroClass.toMul", ...
[ "α : Type u_1\ninst✝¹ : Semiring α\ninst✝ : Invertible 2\nx✝ : αˢʸᵐ\n⊢ sym 0 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Star.LinearMap
{ "line": 291, "column": 2 }
{ "line": 291, "column": 18 }
{ "line": 293, "column": 0 }
[ { "pp": "R : Type u_4\nV : Type u_5\ninst✝⁵ : CommRing R\ninst✝⁴ : InvolutiveStar R\ninst✝³ : AddCommGroup V\ninst✝² : StarAddMonoid V\ninst✝¹ : Module R V\ninst✝ : StarModule R V\nf : WithConv (End R V)\nx : R\n⊢ IsUnit (star (toConv (x • 1 - (star f).ofConv))).ofConv ↔ IsUnit (star x • 1 - f.ofConv)", "pp...
[]
simp [one_eq_id]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Tropical.BigOperators
{ "line": 137, "column": 42 }
{ "line": 137, "column": 67 }
{ "line": 137, "column": 68 }
[ { "pp": "R : Type u_1\nS : Type u_2\ninst✝¹ : ConditionallyCompleteLinearOrder R\ninst✝ : Fintype S\nf : S → MinTropical (WithTop R)\n⊢ untrop (∑ i, f i) = sInf ((fun i ↦ untrop (f i)) '' ↑univ)", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "WithTop.instInfSet", "Eq.mpr", ...
[ "R : Type u_1\nS : Type u_2\ninst✝¹ : ConditionallyCompleteLinearOrder R\ninst✝ : Fintype S\nf : S → MinTropical (WithTop R)\n⊢ sInf (untrop ∘ f '' ↑univ) = sInf ((fun i ↦ untrop (f i)) '' ↑univ)" ]
untrop_sum_eq_sInf_image,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.Sheaves.SheafOfFunctions
{ "line": 61, "column": 4 }
{ "line": 61, "column": 77 }
{ "line": 62, "column": 4 }
[ { "pp": "X : TopCat\nT : ↑X → Type u_1\nι : Type u_2\nU : ι → Opens ↑X\nsf : (i : ι) → ToType ((X.presheafToTypes T).obj (Opposite.op (U i)))\nhsf : (X.presheafToTypes T).IsCompatible U sf\nindex : ↥(iSup U) → ι\nindex_spec : ∀ (x : ↥(iSup U)), ↑x ∈ U (index x)\n⊢ ∃! s, (X.presheafToTypes T).IsGluing U sf s", ...
[ "X : TopCat\nT : ↑X → Type u_1\nι : Type u_2\nU : ι → Opens ↑X\nsf : (i : ι) → ToType ((X.presheafToTypes T).obj (Opposite.op (U i)))\nhsf : (X.presheafToTypes T).IsCompatible U sf\nindex : ↥(iSup U) → ι\nindex_spec : ∀ (x : ↥(iSup U)), ↑x ∈ U (index x)\ns : (x : ↥(iSup U)) → T ↑x := fun x ↦ sf (index x) ⟨↑x, ⋯⟩\n⊢...
let s : ∀ x : ↑(iSup U), T x := fun x => sf (index x) ⟨x.1, index_spec x⟩
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1
Lean.Parser.Tactic.tacticLet__
Mathlib.Algebra.TotalMonoidAlgebra.Defs
{ "line": 473, "column": 15 }
{ "line": 476, "column": 20 }
{ "line": 478, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\nO : Type u_4\nι : Type u_5\ninst✝³ : Semiring R\nx y : R⟦M⟧\nr r₁ r₂ : R\nm m' m₁ m₂ m₁' m₂' : M\ninst✝² : MulOneClass M\ninst✝¹ : HasMulAntidiagonal M\ninst✝ : DecidableEq M\nx✝ : R⟦M⟧\n⊢ x✝ * 1 = x✝", "ppTerm": "?m.72", "assigned": true, "usedCons...
[]
by ext m; suffices {x ∈ mulAntidiagonal m | x.2 = 1} = {(m, 1)} by simp [mul_def, one_def, Pi.single_apply, sum_ite, this] ext; simp; aesop
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.AlgebraicGeometry.StructureSheaf
{ "line": 457, "column": 4 }
{ "line": 459, "column": 85 }
{ "line": 460, "column": 4 }
[ { "pp": "R M : Type u\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nU : Opens ↑(PrimeSpectrum.Top R)\nhU : IsCompact ↑U\ns : (structureSheafInType R M).obj.obj (op U)\ng : ↥U → R\nhxg : ∀ (x : ↥U), ↑x ∈ basicOpen (g x)\nigU : ∀ (x : ↥U), basicOpen (g x) ≤ U\nf : ↥U → M\nH :\n ∀ (x : ↥U),\n...
[ "R M : Type u\ninst✝² : CommRing R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nU : Opens ↑(PrimeSpectrum.Top R)\nhU : IsCompact ↑U\ns : (structureSheafInType R M).obj.obj (op U)\ng : ↥U → R\nhxg : ∀ (x : ↥U), ↑x ∈ basicOpen (g x)\nigU : ∀ (x : ↥U), basicOpen (g x) ≤ U\nf : ↥U → M\nH :\n ∀ (x : ↥U),\n const (f...
· refine congr((structureSheafInType R M).obj.map (homOfLE ((PrimeSpectrum.basicOpen_mul (g i) (g j)).trans_le inf_le_left)).op $(H i)).symm.trans (Subtype.ext <| funext fun a ↦ ?_) exact LocalizedModule.mk_eq.mpr ⟨1, by simp [Submonoid.smul_def, ← smul_assoc]⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.AlgebraicGeometry.Spec
{ "line": 408, "column": 4 }
{ "line": 410, "column": 31 }
{ "line": 411, "column": 4 }
[ { "pp": "case h₃\nR S : CommRingCat\nf : R ⟶ S\np : PrimeSpectrum ↑R\ninst✝ : Algebra ↑R ↑S\nx : ↑S\nhx : (toPushforwardStalkAlgHom R S p) x = 0\n⊢ ∃ m, m • x = 0", "ppTerm": "?h₃", "assigned": true, "usedConstants": [ "CategoryTheory.Functor.op", "CategoryTheory.Functor", "Lattice...
[ "case h₃\nR S : CommRingCat\nf : R ⟶ S\np : PrimeSpectrum ↑R\ninst✝ : Algebra ↑R ↑S\nx : ↑S\nhx :\n (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (CommRingCat.ofHom (algebraMap ↑R ↑S)))).obj\n (structureSheaf ↑S).obj).germ\n ⊤ p trivial).hom'\n ((CommRingCat.ofHom\n ...
rw [toPushforwardStalkAlgHom_apply, ← (toPushforwardStalk (CommRingCat.ofHom (algebraMap ↑R ↑S)) p).hom.map_zero, toPushforwardStalk] at hx
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.AlgebraicGeometry.OpenImmersion
{ "line": 880, "column": 5 }
{ "line": 883, "column": 46 }
{ "line": 883, "column": 46 }
[ { "pp": "X✝ Y✝ : Scheme\nf✝ : X✝ ⟶ Y✝\nH : IsOpenImmersion f✝\nP X Y Z : Scheme\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\ninst✝ : IsOpenImmersion g\np : ↥P\nx : ↥X\nhx : fst p = x\nthis : IsOpenImmersion fst\n⊢ (Z.presheaf.stalkCongr ⋯ ≪≫ asIso (Hom.stalkMap g (snd p))).hom ≫ ...
[]
by subst hx simp [← Scheme.Hom.stalkMap_comp, ← Scheme.Hom.stalkMap_comp, Scheme.Hom.stalkMap_congr_hom _ _ h.w]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.AlgebraicGeometry.StructureSheaf
{ "line": 1017, "column": 2 }
{ "line": 1017, "column": 17 }
{ "line": 1018, "column": 2 }
[ { "pp": "R M : Type u\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nS : Type u\ninst✝² : CommRing S\nN : Type u\ninst✝¹ : AddCommGroup N\ninst✝ : Module S N\nσ : R →+* S\nf : M →ₛₗ[σ] N\nU : Opens ↑(PrimeSpectrum.Top R)\nV : Opens ↑(PrimeSpectrum.Top S)\nhUV : V.carrier ⊆ PrimeSpectrum.com...
[ "R M : Type u\ninst✝⁵ : CommRing R\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\nS : Type u\ninst✝² : CommRing S\nN : Type u\ninst✝¹ : AddCommGroup N\ninst✝ : Module S N\nσ : R →+* S\nf : M →ₛₗ[σ] N\nU : Opens ↑(PrimeSpectrum.Top R)\nV : Opens ↑(PrimeSpectrum.Top S)\nhUV : V.carrier ⊆ PrimeSpectrum.comap σ ⁻¹' U.c...
refine ⟨hs, ?_⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Geometry.RingedSpace.OpenImmersion
{ "line": 896, "column": 2 }
{ "line": 897, "column": 92 }
{ "line": 898, "column": 2 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasLimits C\nι : Type v\nF : Discrete ι ⥤ SheafedSpace C\ni j : Discrete ι\nh : i ≠ j\nU : Opens ↑↑(F.obj i).toPresheafedSpace\nx : ↑↑((F ⋙ forgetToPresheafedSpace).obj j)\ny : ↑↑(F.obj i).toPresheafedSpace\nhy : y ∈ ↑U\neq :\n (ConcreteCategory.hom (col...
[ "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasLimits C\nι : Type v\nF : Discrete ι ⥤ SheafedSpace C\ni j : Discrete ι\nh : i ≠ j\nU : Opens ↑↑(F.obj i).toPresheafedSpace\nx : ↑↑((F ⋙ forgetToPresheafedSpace).obj j)\ny : ↑↑(F.obj i).toPresheafedSpace\nhy : y ∈ ↑U\neq :\n (ConcreteCategory.hom\n (preser...
replace eq := congr((preservesColimitIso (SheafedSpace.forget C) F ≪≫ HasColimit.isoOfNatIso Discrete.natIsoFunctor ≪≫ TopCat.sigmaIsoSigma.{v, v} _).hom $eq)
Lean.Elab.Tactic.evalReplace
Lean.Parser.Tactic.replace
Mathlib.AlgebraicGeometry.Restrict
{ "line": 589, "column": 2 }
{ "line": 589, "column": 34 }
{ "line": 589, "column": 35 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\n⊢ IsPullback (f ∣_ U) (f ⁻¹ᵁ U).ι U.ι f", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.carrier", "TopologicalSpace.Opens.instPartialOrder", "CommRingCat", "PartialOrder.toPreorder", ...
[ "case H\nX Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\n⊢ (f ⁻¹ᵁ U).ι ≫ f = f ∣_ U ≫ U.ι", "case H'\nX Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\n⊢ f ⁻¹ᵁ Scheme.Hom.opensRange U.ι = Scheme.Hom.opensRange (f ⁻¹ᵁ U).ι" ]
apply IsOpenImmersion.isPullback
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.AlgebraicGeometry.Restrict
{ "line": 597, "column": 47 }
{ "line": 597, "column": 70 }
{ "line": 597, "column": 71 }
[ { "pp": "case refine_1\nX : Scheme\nU V W : X.Opens\nhU : U ≤ W\nhV : V ≤ W\n⊢ V.ι ''ᵁ (Opens.map ((X.homOfLE hV).base ≫ W.ι.base)).obj U = U ⊓ V", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "AlgebraicGeometry.Scheme.Hom.opensFunctor", "Eq.mpr", "AlgebraicGeometry....
[ "case refine_1\nX : Scheme\nU V W : X.Opens\nhU : U ≤ W\nhV : V ≤ W\n⊢ V.ι ''ᵁ (Opens.map (X.homOfLE hV ≫ W.ι).base).obj U = U ⊓ V" ]
← Scheme.Hom.comp_base,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.AffineScheme
{ "line": 533, "column": 4 }
{ "line": 533, "column": 24 }
{ "line": 533, "column": 24 }
[ { "pp": "X Y : Scheme\nU : Y.Opens\nhU : IsAffineOpen U\nf : X ⟶ Y\ninst✝ : IsOpenImmersion f\nhU' : U ≤ Scheme.Hom.opensRange f\n⊢ IsAffineOpen (Scheme.Hom.opensRange f ⊓ U)", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "AlgebraicGeometry.SheafedSp...
[ "X Y : Scheme\nU : Y.Opens\nhU : IsAffineOpen U\nf : X ⟶ Y\ninst✝ : IsOpenImmersion f\nhU' : U ≤ Scheme.Hom.opensRange f\n⊢ IsAffineOpen U" ]
inf_eq_right.mpr hU'
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.AffineScheme
{ "line": 591, "column": 2 }
{ "line": 591, "column": 39 }
{ "line": 592, "column": 2 }
[ { "pp": "X : Scheme\nU : X.Opens\nhU : IsAffineOpen U\nf : ↑Γ(X, U)\n⊢ hU.fromSpec ''ᵁ PrimeSpectrum.basicOpen f = X.basicOpen f", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "AlgebraicGeometry.Scheme.Hom.opensFunctor", "Eq.mpr", "AlgebraicGeometry.Spec", "Algebra...
[ "X : Scheme\nU : X.Opens\nhU : IsAffineOpen U\nf : ↑Γ(X, U)\n⊢ hU.fromSpec ''ᵁ hU.fromSpec ⁻¹ᵁ X.basicOpen f = X.basicOpen f" ]
rw [← hU.fromSpec_preimage_basicOpen]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.AlgebraicGeometry.GammaSpecAdjunction
{ "line": 289, "column": 4 }
{ "line": 289, "column": 46 }
{ "line": 290, "column": 4 }
[ { "pp": "X Y : LocallyRingedSpace\nf : X ⟶ Y\n⊢ X.toΓSpec ≫ (Γ.rightOp ⋙ Spec.toLocallyRingedSpace).map f = (𝟭 LocallyRingedSpace).map f ≫ Y.toΓSpec", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Opposite", "CategoryTheory.CategoryStruct.toQuiver", "AlgebraicGeometry.L...
[ "case w\nX Y : LocallyRingedSpace\nf : X ⟶ Y\n⊢ ((𝟭 LocallyRingedSpace).obj X).toΓSpec.base ≫ (Spec.locallyRingedSpaceMap (Γ.rightOp.map f).unop).base =\n ((𝟭 LocallyRingedSpace).map f ≫ Y.toΓSpec).base", "case h\nX Y : LocallyRingedSpace\nf : X ⟶ Y\n⊢ ∀ (r : ↑(unop (Γ.rightOp.obj Y))),\n (Γ.rightOp.map f...
apply LocallyRingedSpace.comp_ring_hom_ext
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.CategoryTheory.GlueData
{ "line": 463, "column": 8 }
{ "line": 463, "column": 54 }
{ "line": 464, "column": 4 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v, u₁} C\nC' : Type u₂\ninst✝ : Category.{v, u₂} C'\nD : GlueData' C\ni k : D.J\nhik : ¬i = k\n⊢ ((if hij : i = i then\n (pullbackSymmetry (D.f' i i) (D.f' i k)).hom ≫\n pullback.map (D.f' i k) (D.f' i i) (D.f' i k) (D.f' i i) (eqToHom ⋯) (eqToHom ⋯) (eqT...
[]
simp [hik, Ne.symm hik, fst_eq_snd_of_mono_eq]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.GlueData
{ "line": 463, "column": 8 }
{ "line": 463, "column": 54 }
{ "line": 464, "column": 4 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v, u₁} C\nC' : Type u₂\ninst✝ : Category.{v, u₂} C'\nD : GlueData' C\ni k : D.J\nhik : ¬i = k\n⊢ ((if hij : i = i then\n (pullbackSymmetry (D.f' i i) (D.f' i k)).hom ≫\n pullback.map (D.f' i k) (D.f' i i) (D.f' i k) (D.f' i i) (eqToHom ⋯) (eqToHom ⋯) (eqT...
[]
simp [hik, Ne.symm hik, fst_eq_snd_of_mono_eq]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.GlueData
{ "line": 463, "column": 8 }
{ "line": 463, "column": 54 }
{ "line": 464, "column": 4 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v, u₁} C\nC' : Type u₂\ninst✝ : Category.{v, u₂} C'\nD : GlueData' C\ni k : D.J\nhik : ¬i = k\n⊢ ((if hij : i = i then\n (pullbackSymmetry (D.f' i i) (D.f' i k)).hom ≫\n pullback.map (D.f' i k) (D.f' i i) (D.f' i k) (D.f' i i) (eqToHom ⋯) (eqToHom ⋯) (eqT...
[]
simp [hik, Ne.symm hik, fst_eq_snd_of_mono_eq]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.GammaSpecAdjunction
{ "line": 317, "column": 2 }
{ "line": 317, "column": 44 }
{ "line": 318, "column": 2 }
[ { "pp": "R : CommRingCat\n⊢ identityToΓSpec.app (Spec.toLocallyRingedSpace.obj (op R)) ≫\n Spec.toLocallyRingedSpace.map (SpecΓIdentity.inv.app R).op =\n 𝟙 ((𝟭 LocallyRingedSpace).obj (Spec.toLocallyRingedSpace.obj (op R)))", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "C...
[ "case w\nR : CommRingCat\n⊢ ((𝟭 LocallyRingedSpace).obj (Spec.toLocallyRingedSpace.obj (op R))).toΓSpec.base ≫\n (Spec.locallyRingedSpaceMap (SpecΓIdentity.inv.app R).op.unop).base =\n (𝟙 ((𝟭 LocallyRingedSpace).obj (Spec.toLocallyRingedSpace.obj (op R)))).base", "case h\nR : CommRingCat\n⊢ ∀ (r : ↑(un...
apply LocallyRingedSpace.comp_ring_hom_ext
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.AlgebraicGeometry.Gluing
{ "line": 283, "column": 2 }
{ "line": 288, "column": 8 }
{ "line": 290, "column": 0 }
[ { "pp": "X : Scheme\n𝒰 : X.OpenCover\nx y z : 𝒰.I₀\n⊢ pullback (pullback.fst (𝒰.f x) (𝒰.f y)) (pullback.fst (𝒰.f x) (𝒰.f z)) ⟶\n pullback (pullback.fst (𝒰.f y) (𝒰.f z)) (pullback.fst (𝒰.f y) (𝒰.f x))", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "CategoryTheory.Limits....
[]
refine (pullbackRightPullbackFstIso _ _ _).hom ≫ ?_ refine ?_ ≫ (pullbackSymmetry _ _).hom refine ?_ ≫ (pullbackRightPullbackFstIso _ _ _).inv refine pullback.map _ _ _ _ (pullbackSymmetry _ _).hom (𝟙 _) (𝟙 _) ?_ ?_ · simp [pullback.condition] · simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.Gluing
{ "line": 283, "column": 2 }
{ "line": 288, "column": 8 }
{ "line": 290, "column": 0 }
[ { "pp": "X : Scheme\n𝒰 : X.OpenCover\nx y z : 𝒰.I₀\n⊢ pullback (pullback.fst (𝒰.f x) (𝒰.f y)) (pullback.fst (𝒰.f x) (𝒰.f z)) ⟶\n pullback (pullback.fst (𝒰.f y) (𝒰.f z)) (pullback.fst (𝒰.f y) (𝒰.f x))", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "CategoryTheory.Limits....
[]
refine (pullbackRightPullbackFstIso _ _ _).hom ≫ ?_ refine ?_ ≫ (pullbackSymmetry _ _).hom refine ?_ ≫ (pullbackRightPullbackFstIso _ _ _).inv refine pullback.map _ _ _ _ (pullbackSymmetry _ _).hom (𝟙 _) (𝟙 _) ?_ ?_ · simp [pullback.condition] · simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.AffineScheme
{ "line": 1115, "column": 76 }
{ "line": 1115, "column": 99 }
{ "line": 1116, "column": 4 }
[ { "pp": "X : Scheme\ninst✝ : IsAffine X\ns : Set ↑Γ(X, ⊤)\n⊢ ⇑(hom (X.isoSpec.inv.base ≫ X.toSpecΓ.base)) ⁻¹' PrimeSpectrum.zeroLocus s = PrimeSpectrum.zeroLocus s", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Eq.mpr", "AlgebraicGeometry.Spec", "AlgebraicGeometry.Sheaf...
[ "X : Scheme\ninst✝ : IsAffine X\ns : Set ↑Γ(X, ⊤)\n⊢ ⇑(X.isoSpec.inv ≫ X.toSpecΓ) ⁻¹' PrimeSpectrum.zeroLocus s = PrimeSpectrum.zeroLocus s" ]
← Scheme.Hom.comp_base,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.Gluing
{ "line": 367, "column": 11 }
{ "line": 367, "column": 33 }
{ "line": 367, "column": 33 }
[ { "pp": "X : Scheme\n𝒰 : X.OpenCover\ni : (gluedCover 𝒰).J\nx : ↥((gluedCover 𝒰).U i)\nj : (gluedCover 𝒰).J\ny : ↥((gluedCover 𝒰).U j)\nh :\n (ConcreteCategory.hom (((gluedCover 𝒰).ι i).base ≫ (fromGlued 𝒰).base)) x =\n (ConcreteCategory.hom (((gluedCover 𝒰).ι j).base ≫ (fromGlued 𝒰).base)) y\n⊢ ((...
[ "X : Scheme\n𝒰 : X.OpenCover\ni : (gluedCover 𝒰).J\nx : ↥((gluedCover 𝒰).U i)\nj : (gluedCover 𝒰).J\ny : ↥((gluedCover 𝒰).U j)\nh : ((gluedCover 𝒰).ι i ≫ fromGlued 𝒰) x = ((gluedCover 𝒰).ι j ≫ fromGlued 𝒰) y\n⊢ ((gluedCover 𝒰).ι i) x = ((gluedCover 𝒰).ι j) y" ]
← Scheme.Hom.comp_base
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.AlgebraicGeometry.AffineScheme
{ "line": 1305, "column": 2 }
{ "line": 1305, "column": 11 }
{ "line": 1306, "column": 2 }
[ { "pp": "R : CommRingCat\nx : PrimeSpectrum ↑R\n⊢ CommRingCat.ofHom (algebraMap (↑R) (Localization.AtPrime x.asIdeal)) ≫ (stalkIso R x).inv =\n (Scheme.ΓSpecIso R).inv ≫ (Spec R).presheaf.germ ⊤ x trivial", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "AlgebraicGeometry.Spec", ...
[ "R : CommRingCat\nx : PrimeSpectrum ↑R\ns : ↑↧↑R\n⊢ (CommRingCat.Hom.hom (CommRingCat.ofHom (algebraMap (↑R) (Localization.AtPrime x.asIdeal)) ≫ (stalkIso R x).inv)) s =\n (CommRingCat.Hom.hom ((Scheme.ΓSpecIso R).inv ≫ (Spec R).presheaf.germ ⊤ x trivial)) s" ]
ext s : 2
_private.Lean.Elab.Tactic.Ext.0.Lean.Elab.Tactic.Ext.evalExt
Lean.Elab.Tactic.Ext.ext
Mathlib.AlgebraicGeometry.Limits
{ "line": 388, "column": 4 }
{ "line": 396, "column": 67 }
{ "line": 398, "column": 0 }
[ { "pp": "ι : Type u\nf : ι → Scheme\nσ : Type v\ng : σ → Scheme\nX Y : Scheme\n⊢ { I₀ := PUnit.{w + 1} ⊕ PUnit.{w + 1}, X := fun x ↦ Sum.elim (fun x ↦ X) (fun x ↦ Y) x,\n f := fun x ↦ Sum.rec (fun x ↦ coprod.inl) (fun x ↦ coprod.inr) x }.presieve₀ ∈\n (Scheme.precoverage IsOpenImmersion).coverings (X ...
[]
rw [Scheme.presieve₀_mem_precoverage_iff] refine ⟨fun x ↦ ?_, fun x ↦ x.rec (fun _ ↦ inferInstance) (fun _ ↦ inferInstance)⟩ use ((coprodMk X Y).symm x).elim (fun _ ↦ Sum.inl .unit) (fun _ ↦ Sum.inr .unit) obtain ⟨x, rfl⟩ := (coprodMk X Y).surjective x simp only [Sum.elim_inl, Sum.elim_inr, Set.mem_rang...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.Limits
{ "line": 388, "column": 4 }
{ "line": 396, "column": 67 }
{ "line": 398, "column": 0 }
[ { "pp": "ι : Type u\nf : ι → Scheme\nσ : Type v\ng : σ → Scheme\nX Y : Scheme\n⊢ { I₀ := PUnit.{w + 1} ⊕ PUnit.{w + 1}, X := fun x ↦ Sum.elim (fun x ↦ X) (fun x ↦ Y) x,\n f := fun x ↦ Sum.rec (fun x ↦ coprod.inl) (fun x ↦ coprod.inr) x }.presieve₀ ∈\n (Scheme.precoverage IsOpenImmersion).coverings (X ...
[]
rw [Scheme.presieve₀_mem_precoverage_iff] refine ⟨fun x ↦ ?_, fun x ↦ x.rec (fun _ ↦ inferInstance) (fun _ ↦ inferInstance)⟩ use ((coprodMk X Y).symm x).elim (fun _ ↦ Sum.inl .unit) (fun _ ↦ Sum.inr .unit) obtain ⟨x, rfl⟩ := (coprodMk X Y).surjective x simp only [Sum.elim_inl, Sum.elim_inr, Set.mem_rang...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Limits
{ "line": 427, "column": 2 }
{ "line": 428, "column": 73 }
{ "line": 430, "column": 0 }
[ { "pp": "case a\nX Y X' Y' : Scheme\nf : X ⟶ X'\ng : Y ⟶ Y'\n⊢ Scheme.Hom.opensRange coprod.inl ≤ coprod.map f g ⁻¹ᵁ Scheme.Hom.opensRange coprod.inl", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.Hom", "AlgebraicGeometry.SheafedSpace.instTopol...
[]
· rintro _ ⟨x, rfl⟩ exact ⟨f x, by simp [← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base]⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot