module
stringlengths
17
90
startPos
dict
endPos
dict
nextStartPos
dict
goals
listlengths
0
96
goalsAfter
listlengths
0
96
ppTac
stringlengths
1
12.3k
elaborator
stringclasses
379 values
kind
stringclasses
383 values
Mathlib.Algebra.Polynomial.CoeffMem
{ "line": 110, "column": 2 }
{ "line": 114, "column": 8 }
{ "line": 116, "column": 0 }
[ { "pp": "R : Type u_2\nS : Type u_3\ninst✝² : CommRing R\ninst✝¹ : Ring S\ninst✝ : Algebra R S\np q : S[X]\nMp : Submodule R S\nhp : ∀ (i : ℕ), p.coeff i ∈ Mp\nhp' : 1 ∈ Mp\nMq : Submodule R S\nhq : ∀ (i : ℕ), q.coeff i ∈ Mq\nhq' : 1 ∈ Mq\ni : ℕ\n⊢ (p /ₘ q).coeff i ∈ Mq ^ deg(p) * Mp", "ppTerm": "?m.56", ...
[]
delta divByMonic split_ifs with H · refine mem_of_le_of_mem ?_ (coeff_divModByMonicAux_mem_span_pow_mul_span (R := R) p q H i).1 gcongr <;> exact sup_le (by simpa) (by simpa [Submodule.span_le, Set.range_subset_iff]) · simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Homogenize
{ "line": 174, "column": 2 }
{ "line": 174, "column": 43 }
{ "line": 175, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\nq : MvPolynomial (Fin 2) R\nhq : q.IsHomogeneous n\n⊢ ∑ x ∈ q.support, MvPolynomial.C (q.coeff x) * (x.prod fun i k ↦ ![X, 1] i ^ k).homogenize n =\n ∑ v ∈ q.support, (MvPolynomial.monomial v) (q.coeff v)", "ppTerm": "?m.39", "assigned": true, ...
[ "R : Type u_1\ninst✝ : CommSemiring R\nn : ℕ\nq : MvPolynomial (Fin 2) R\nhq : q.IsHomogeneous n\nm : Fin 2 →₀ ℕ\nhm : m ∈ q.support\n⊢ MvPolynomial.C (q.coeff m) * (m.prod fun i k ↦ ![X, 1] i ^ k).homogenize n = (MvPolynomial.monomial m) (q.coeff m)" ]
refine Finset.sum_congr rfl fun m hm ↦ ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 110, "column": 16 }
{ "line": 110, "column": 53 }
{ "line": 111, "column": 4 }
[ { "pp": "case succ.refine_1.last\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⊢ (Fin.snoc r (q %ₘ g) (Fin.last n)).degree < g.degree", "ppTerm": "?su...
[]
simpa using degree_modByMonic_lt q hg
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 110, "column": 16 }
{ "line": 110, "column": 53 }
{ "line": 111, "column": 4 }
[ { "pp": "case succ.refine_1.last\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⊢ (Fin.snoc r (q %ₘ g) (Fin.last n)).degree < g.degree", "ppTerm": "?su...
[]
simpa using degree_modByMonic_lt q hg
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Polynomial.PartialFractions
{ "line": 110, "column": 16 }
{ "line": 110, "column": 53 }
{ "line": 111, "column": 4 }
[ { "pp": "case succ.refine_1.last\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⊢ (Fin.snoc r (q %ₘ g) (Fin.last n)).degree < g.degree", "ppTerm": "?su...
[]
simpa using degree_modByMonic_lt q hg
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.List.SignVariations
{ "line": 57, "column": 39 }
{ "line": 57, "column": 64 }
{ "line": 59, "column": 0 }
[ { "pp": "case inl\nα : Type u_1\ninst✝¹ : Zero α\ninst✝ : LinearOrder α\na : α\nha : a = 0\n⊢ [a].signVariations = 0", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "instDecidableNot", "List.signVariations", "Nat.instCanonicallyOrderedAdd", "False", "Nat.instOr...
[]
simp [signVariations, ha]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.List.SignVariations
{ "line": 57, "column": 39 }
{ "line": 57, "column": 64 }
{ "line": 59, "column": 0 }
[ { "pp": "case inr\nα : Type u_1\ninst✝¹ : Zero α\ninst✝ : LinearOrder α\na : α\nha : a ≠ 0\n⊢ [a].signVariations = 0", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "instDecidableNot", "List.signVariations", "Nat.instCanonicallyOrderedAdd", "False", "Nat.instOr...
[]
simp [signVariations, ha]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.List.Destutter
{ "line": 284, "column": 4 }
{ "line": 284, "column": 36 }
{ "line": 285, "column": 4 }
[ { "pp": "α : Type u_1\ninst✝¹ : DecidableEq α\nr : α → α → Prop\ninst✝ : Std.Antisymm r\nx y : α\nxs : List α\nh : (∀ (a' : α), a' ∈ y :: xs → r x a') ∧ Pairwise r (y :: xs)\n⊢ (if x ≠ y then x :: (y :: xs).dedup else destutter (fun x1 x2 ↦ x1 ≠ x2) (x :: xs)) = (x :: y :: xs).dedup", "ppTerm": "?m.97", ...
[ "case inl\nα : Type u_1\ninst✝¹ : DecidableEq α\nr : α → α → Prop\ninst✝ : Std.Antisymm r\nx : α\nxs : List α\nh : (∀ (a' : α), a' ∈ x :: xs → r x a') ∧ Pairwise r (x :: xs)\n⊢ (if x ≠ x then x :: (x :: xs).dedup else destutter (fun x1 x2 ↦ x1 ≠ x2) (x :: xs)) = (x :: x :: xs).dedup", "case inr\nα : Type u_1\nins...
obtain rfl | hxy := eq_or_ne x y
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Algebra.Polynomial.Sturm.Sequence
{ "line": 102, "column": 2 }
{ "line": 102, "column": 36 }
{ "line": 103, "column": 2 }
[ { "pp": "case pos\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : DecidableEq K\np : K[X]\nhp : p = 0\n⊢ p.sturmSeq 0 = []", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Iff.mpr", "AddMonoidAlgebra.semiring", "CommSemiring.toSemiring", "Nat.instAddMonoid", "Polynom...
[ "case neg\nK : Type u_1\ninst✝¹ : Field K\ninst✝ : DecidableEq K\np : K[X]\nhp : ¬p = 0\n⊢ p.sturmSeq 0 = [p]" ]
· exact sturmSeq_eq_nil_iff.mpr hp
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.Polynomial.SumIteratedDerivative
{ "line": 232, "column": 31 }
{ "line": 232, "column": 45 }
{ "line": 232, "column": 46 }
[ { "pp": "R : 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 : ∀...
[ "R : 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 : ℕ), (c...
natDegree_pow,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.SumIteratedDerivative
{ "line": 243, "column": 2 }
{ "line": 249, "column": 36 }
{ "line": 250, "column": 2 }
[ { "pp": "case inr.refine_2\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 ⋯.choo...
[ "case inr.refine_2\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...
· congr 2 · apply sum_eq_zero exact fun x hx => aeval_iterate_derivative_of_lt p _ r hp (mem_range.mp hx) · rw [← aeval_iterate_derivative_self _ _ _ hp] · rw [smul_sum, sum_congr rfl] intro k hk exact hc k (mem_Ico.mp hk).1 r
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Algebra.QuadraticAlgebra.Defs
{ "line": 284, "column": 2 }
{ "line": 284, "column": 13 }
{ "line": 286, "column": 0 }
[ { "pp": "R : Type u_1\na b : R\ninst✝¹ : AddCommMonoidWithOne R\nn : ℕ\ninst✝ : n.AtLeastTwo\n⊢ QuadraticAlgebra.C (OfNat.ofNat n) = OfNat.ofNat n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.ext", "QuadraticAlgebra", "Qua...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Algebra.QuadraticAlgebra.Defs
{ "line": 284, "column": 2 }
{ "line": 284, "column": 13 }
{ "line": 286, "column": 0 }
[ { "pp": "R : Type u_1\na b : R\ninst✝¹ : AddCommMonoidWithOne R\nn : ℕ\ninst✝ : n.AtLeastTwo\n⊢ QuadraticAlgebra.C (OfNat.ofNat n) = OfNat.ofNat n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.ext", "QuadraticAlgebra", "Qua...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.QuadraticAlgebra.Defs
{ "line": 284, "column": 2 }
{ "line": 284, "column": 13 }
{ "line": 286, "column": 0 }
[ { "pp": "R : Type u_1\na b : R\ninst✝¹ : AddCommMonoidWithOne R\nn : ℕ\ninst✝ : n.AtLeastTwo\n⊢ QuadraticAlgebra.C (OfNat.ofNat n) = OfNat.ofNat n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.ext", "QuadraticAlgebra", "Qua...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 153, "column": 18 }
{ "line": 153, "column": 28 }
{ "line": 153, "column": 28 }
[ { "pp": "case e_a\nK : Type u_1\nR : Type u_2\na b : R\ninst✝² : CommSemiring R\nA : Type u_3\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nu : { u // u * u = a • 1 + b • u }\nz w : QuadraticAlgebra R a b\n⊢ (z.re * w.re) • 1 + ((z.re * w.im) • ↑u + (z.im * w.re) • ↑u) = (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re)...
[ "case e_a\nK : Type u_1\nR : Type u_2\na b : R\ninst✝² : CommSemiring R\nA : Type u_3\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nu : { u // u * u = a • 1 + b • u }\nz w : QuadraticAlgebra R a b\n⊢ (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re) • ↑u = (z.re * w.re) • 1 + (z.re * w.im + z.im * w.re) • ↑u" ]
← add_smul
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Polynomial.RuleOfSigns
{ "line": 333, "column": 6 }
{ "line": 335, "column": 72 }
{ "line": 336, "column": 6 }
[ { "pp": "R : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nP : R[X]\nhP : P ≠ 0\nh_lC : 0 < P.leadingCoeff\nh_mul : (X - C η) * P ≠ 0\nh_deg_mul : ((X - C η) * P).natDegree = P.natDegree + 1\nd : ℕ\nih : P.eraseLead.signVariations + 1 ≤ ((X - C η) * P.erase...
[ "R : Type u_1\ninst✝² : Ring R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nη : R\nhη : 0 < η\nP : R[X]\nhP : P ≠ 0\nh_lC : 0 < P.leadingCoeff\nh_mul : (X - C η) * P ≠ 0\nh_deg_mul : ((X - C η) * P).natDegree = P.natDegree + 1\nd : ℕ\nih : P.eraseLead.signVariations + 1 ≤ ((X - C η) * P.eraseLead).signVa...
suffices SignType.sign ((X - C η) * P).nextCoeff = -1 by simp +decide [signVariations_eq_eraseLead_add_ite h_mul, h_lC, leadingCoeff_eraseLead_eq_nextCoeff, ← sign_eq_zero_iff, this]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 635, "column": 24 }
{ "line": 635, "column": 53 }
{ "line": 636, "column": 2 }
[ { "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)\nq : ℚ≥0\nx : QuadraticAlgebra K a b\n⊢ q • x = ↑q * x", "ppTerm": "?m.158", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.instSMul", ...
[]
ext <;> simp [NNRat.smul_def]
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 635, "column": 24 }
{ "line": 635, "column": 53 }
{ "line": 636, "column": 2 }
[ { "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)\nq : ℚ≥0\nx : QuadraticAlgebra K a b\n⊢ q • x = ↑q * x", "ppTerm": "?m.158", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.instSMul", ...
[]
ext <;> simp [NNRat.smul_def]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.QuadraticAlgebra.Basic
{ "line": 635, "column": 24 }
{ "line": 635, "column": 53 }
{ "line": 636, "column": 2 }
[ { "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)\nq : ℚ≥0\nx : QuadraticAlgebra K a b\n⊢ q • x = ↑q * x", "ppTerm": "?m.158", "assigned": true, "usedConstants": [ "QuadraticAlgebra.re", "QuadraticAlgebra.instSMul", ...
[]
ext <;> simp [NNRat.smul_def]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.QuadraticAlgebra.Discriminant
{ "line": 125, "column": 5 }
{ "line": 125, "column": 47 }
{ "line": 125, "column": 47 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommRing R\na✝ b✝ a' b' : R\nf : QuadraticAlgebra R a✝ b✝ →ₐ[R] QuadraticAlgebra R a' b'\ninst✝ : Invertible 2\na b : R\n⊢ discr a b = ↑(unitOfInvertible 2) ^ 2 * a - ↑(unitOfInvertible 2) * b * -b - (-b) ^ 2", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ ...
[]
by grind [discr_def, val_unitOfInvertible]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Unimodular
{ "line": 66, "column": 2 }
{ "line": 66, "column": 46 }
{ "line": 67, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝² : CommSemiring R\nM : Type u_2\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Type u_3\nb : Basis ι R M\nv : M\n⊢ Ideal.span (Set.range ⇑(b.repr v)) = (LinearMap.applyₗ v).range", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Ideal.span_le", "...
[ "case refine_1\nR : Type u_1\ninst✝² : CommSemiring R\nM : Type u_2\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Type u_3\nb : Basis ι R M\nv : M\n⊢ Set.range ⇑(b.repr v) ⊆ ↑(LinearMap.applyₗ v).range", "case refine_2\nR : Type u_1\ninst✝² : CommSemiring R\nM : Type u_2\ninst✝¹ : AddCommMonoid M\ninst✝ : Mo...
refine le_antisymm (Ideal.span_le.mpr ?_) ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Algebra.QuadraticAlgebra.Int
{ "line": 189, "column": 29 }
{ "line": 189, "column": 39 }
{ "line": 189, "column": 40 }
[ { "pp": "a b d e : ℤ\nhd : 1 < d.natAbs\nhe : discr a b = d ^ 2 * e\nhe' : e % 4 = 0 ∨ e % 4 = 1\n⊢ e ≡ e ^ 2 [ZMOD 4]", "ppTerm": "?m.94", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "instHMod", "instOfNatNat", "Int", "Int.ModEq.eq_1", ...
[ "a b d e : ℤ\nhd : 1 < d.natAbs\nhe : discr a b = d ^ 2 * e\nhe' : e % 4 = 0 ∨ e % 4 = 1\n⊢ e % 4 = e ^ 2 % 4" ]
Int.ModEq,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed
{ "line": 104, "column": 2 }
{ "line": 108, "column": 73 }
{ "line": 110, "column": 0 }
[ { "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]\nhp0 : p ≠ 0\nhp : (Polynomial.aeval s) p = 0\n⊢ (minpoly R s).degree ≤ p.degree", "ppTerm"...
[]
by_cases! hs : ¬IsIntegral R s · simp [minpoly, hs] rw [degree_eq_natDegree (minpoly.ne_zero hs), degree_eq_natDegree hp0] norm_cast exact natDegree_le_of_dvd ((isIntegrallyClosed_dvd_iff hs _).mp hp) hp0
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed
{ "line": 104, "column": 2 }
{ "line": 108, "column": 73 }
{ "line": 110, "column": 0 }
[ { "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]\nhp0 : p ≠ 0\nhp : (Polynomial.aeval s) p = 0\n⊢ (minpoly R s).degree ≤ p.degree", "ppTerm"...
[]
by_cases! hs : ¬IsIntegral R s · simp [minpoly, hs] rw [degree_eq_natDegree (minpoly.ne_zero hs), degree_eq_natDegree hp0] norm_cast exact natDegree_le_of_dvd ((isIntegrallyClosed_dvd_iff hs _).mp hp) hp0
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Polynomial.GaussLemma
{ "line": 276, "column": 4 }
{ "line": 277, "column": 33 }
{ "line": 278, "column": 4 }
[ { "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✝ : IsGCDMonoid R\np : R[X]\nhp : p.IsPrimitive\nhi : Irreducible p\na b : K[X]\nhab : map (algebraMap R K) p = a * b\nc : R\nc0 : c ≠ 0\nhc : map (algebraMap R...
[ "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✝ : IsGCDMonoid R\np : R[X]\nhp : p.IsPrimitive\nhi : Irreducible p\na b : K[X]\nhab : map (algebraMap R K) p = a * b\nc : R\nc0 : c ≠ 0\nhc : map (algebraMap R K) (integer...
grw [← associated_content_mul, ← h1, associated_content_mul, ← C_mul, content_C, hp.content_eq_one, mul_one]
Mathlib.Tactic.GRewrite._aux_Mathlib_Tactic_GRewrite_Elab___macroRules_Mathlib_Tactic_GRewrite_grwSeq_1
Mathlib.Tactic.GRewrite.grwSeq
Mathlib.FieldTheory.Minpoly.MinpolyDiv
{ "line": 222, "column": 11 }
{ "line": 222, "column": 25 }
{ "line": 222, "column": 26 }
[ { "pp": "case hcard.refine_2\nK : Type u_2\nL : Type u_3\ninst✝⁷ : Field K\ninst✝⁶ : Field L\ninst✝⁵ : Algebra K L\nE : Type u_1\ninst✝⁴ : Field E\ninst✝³ : Algebra K E\ninst✝² : IsAlgClosed E\ninst✝¹ : FiniteDimensional K L\ninst✝ : Algebra.IsSeparable K L\nx : L\nhxL : K[x] = ⊤\nr : ℕ\nhr : r < finrank K L\nt...
[ "case hcard.refine_2\nK : Type u_2\nL : Type u_3\ninst✝⁷ : Field K\ninst✝⁶ : Field L\ninst✝⁵ : Algebra K L\nE : Type u_1\ninst✝⁴ : Field E\ninst✝³ : Algebra K E\ninst✝² : IsAlgClosed E\ninst✝¹ : FiniteDimensional K L\ninst✝ : Algebra.IsSeparable K L\nx : L\nhxL : K[x] = ⊤\nr : ℕ\nhr : r < finrank K L\nthis : Functi...
natDegree_pow,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuadraticAlgebra.NormDeterminant
{ "line": 33, "column": 2 }
{ "line": 35, "column": 8 }
{ "line": 36, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\na b : R\nz : QuadraticAlgebra R a b\n⊢ ((LinearMap.toMatrix (basis a b) (basis a b)) (DistribSMul.toLinearMap R (QuadraticAlgebra R a b) z)).det = norm z", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Ring.Common.mul_pf_left...
[ "R : Type u_1\ninst✝ : CommRing R\na b : R\nz : QuadraticAlgebra R a b\nthis : !![z.re, a * z.im; z.im, z.re + b * z.im].det = norm z\n⊢ ((LinearMap.toMatrix (basis a b) (basis a b)) (DistribSMul.toLinearMap R (QuadraticAlgebra R a b) z)).det = norm z" ]
have : !![z.re, a * z.im; z.im, z.re + b * z.im].det = z.norm := by simp [norm] ring
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.RingTheory.Trace.Basic
{ "line": 187, "column": 6 }
{ "line": 187, "column": 91 }
{ "line": 187, "column": 91 }
[ { "pp": "case pos\nA : Type u_6\nB : Type u_7\nC : Type u_8\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : CommRing C\ninst✝¹ : Algebra A C\ninst✝ : Algebra B C\ne : A ≃+* B\nhe : (algebraMap B C).comp ↑e = algebraMap A C\nx : C\ns : Finset C\nb : Basis (↥s) B C\nthis✝ : Algebra A B := (↑e).toAlgebra\nthis...
[ "case pos\nA : Type u_6\nB : Type u_7\nC : Type u_8\ninst✝⁴ : CommRing A\ninst✝³ : CommRing B\ninst✝² : CommRing C\ninst✝¹ : Algebra A C\ninst✝ : Algebra B C\ne : A ≃+* B\nhe : (algebraMap B C).comp ↑e = algebraMap A C\nx : C\ns : Finset C\nb : Basis (↥s) B C\nthis✝ : Algebra A B := (↑e).toAlgebra\nthis : IsScalarT...
Algebra.trace_eq_matrix_trace (b.mapCoeffs e.symm (by simp [Algebra.smul_def, ← he]))
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Quandle
{ "line": 172, "column": 53 }
{ "line": 173, "column": 67 }
{ "line": 175, "column": 0 }
[ { "pp": "S : Type u_1\ninst✝ : UnitalShelf S\nx y z : S\n⊢ (x ◃ y) ◃ z = x ◃ y ◃ z", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "Shelf.self_distrib", "congrArg", "UnitalShelf.toShelf", "id", "UnitalShelf.act_self_act_eq", "Shelf.act", ...
[]
by rw [self_distrib, self_distrib, act_act_self_eq, act_self_act_eq]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.QuaternionBasis
{ "line": 88, "column": 6 }
{ "line": 88, "column": 16 }
{ "line": 88, "column": 17 }
[ { "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₃\n⊢ q.i * q.k = c₁ • q.j + c₂ • q.k", "ppTerm": "?m.58", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "HMul.hMul", "congrArg", ...
[ "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₃\n⊢ q.i * (q.i * q.j) = c₁ • q.j + c₂ • (q.i * q.j)" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 92, "column": 6 }
{ "line": 92, "column": 16 }
{ "line": 92, "column": 17 }
[ { "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₃\n⊢ q.k * q.i = -c₁ • q.j", "ppTerm": "?m.44", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "instHSMul", "HMul.hMul", ...
[ "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₃\n⊢ q.i * q.j * q.i = -c₁ • q.j" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 97, "column": 6 }
{ "line": 97, "column": 16 }
{ "line": 97, "column": 17 }
[ { "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₃\n⊢ q.k * q.j = c₃ • q.i", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "HMul.hMul", "congrArg", "Quaterni...
[ "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₃\n⊢ q.i * q.j * q.j = c₃ • q.i" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 101, "column": 6 }
{ "line": 101, "column": 16 }
{ "line": 101, "column": 17 }
[ { "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₃\n⊢ q.j * q.k = (c₂ * c₃) • 1 - c₃ • q.i", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "HMul.hMul", "AddGroupWi...
[ "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₃\n⊢ q.j * (q.i * q.j) = (c₂ * c₃) • 1 - c₃ • q.i" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 106, "column": 6 }
{ "line": 106, "column": 16 }
{ "line": 106, "column": 17 }
[ { "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₃\n⊢ q.k * q.k = -((c₁ * c₃) • 1)", "ppTerm": "?m.42", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "instHSMul", "HMul.hMul...
[ "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₃\n⊢ q.i * q.j * (q.i * q.j) = -((c₁ * c₃) • 1)" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 106, "column": 58 }
{ "line": 106, "column": 68 }
{ "line": 106, "column": 69 }
[ { "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₃\n⊢ q.i * ((c₂ • q.j - q.k) * q.j) = -((c₁ * c₃) • 1)", "ppTerm": "?m.81", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "Semigro...
[ "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₃\n⊢ q.i * ((c₂ • q.j - q.i * q.j) * q.j) = -((c₁ * c₃) • 1)" ]
← i_mul_j,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.QuaternionBasis
{ "line": 161, "column": 33 }
{ "line": 161, "column": 53 }
{ "line": 161, "column": 53 }
[ { "pp": "case a.inr.inl\nR : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nc₁ c₂ c₃ : R\nB : Basis A c₁ c₂ c₃\n⊢ B.j ∈ ↑B.liftHom.range", "ppTerm": "?a.inr.inl✝", "assigned": true, "usedConstants": [ "QuaternionAlgebra.Basis.self", "RingHom", "Q...
[ "case h\nR : Type u_1\nA : Type u_2\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nc₁ c₂ c₃ : R\nB : Basis A c₁ c₂ c₃\n⊢ B.liftHom.toRingHom (Basis.self R).j = B.j" ]
use (Basis.self R).j
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.RingTheory.Trace.Basic
{ "line": 488, "column": 15 }
{ "line": 490, "column": 25 }
{ "line": 491, "column": 2 }
[ { "pp": "K : Type u_3\nL : Type u_4\ninst✝⁵ : Field K\ninst✝⁴ : Field L\ninst✝³ : Algebra K L\nι : Type w\ninst✝² : Algebra.IsSeparable K L\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nb : Basis ι K L\nthis : FiniteDimensional K L\npb : PowerBasis K L := Field.powerBasisOfFiniteOfSeparable K L\n⊢ (pb.basis.toMat...
[]
by simp only [Basis.toMatrix_mul_toMatrix_flip, Matrix.transpose_one, Matrix.mul_one, Matrix.det_one]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.SkewMonoidAlgebra.Single
{ "line": 127, "column": 12 }
{ "line": 127, "column": 85 }
{ "line": 129, "column": 0 }
[ { "pp": "M : Type u_4\nα : Type u_5\ninst✝ : AddCommMonoid M\nf : SkewMonoidAlgebra M α\na : α\n⊢ f.update a 0 = (erase a) f", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Finsupp.erase", "Function.update", "Finsupp.erase_apply", "cong...
[]
ext; simp [coeff_erase_apply, Finsupp.erase_apply, Function.update_apply]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.SkewMonoidAlgebra.Single
{ "line": 127, "column": 12 }
{ "line": 127, "column": 85 }
{ "line": 129, "column": 0 }
[ { "pp": "M : Type u_4\nα : Type u_5\ninst✝ : AddCommMonoid M\nf : SkewMonoidAlgebra M α\na : α\n⊢ f.update a 0 = (erase a) f", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Finsupp.erase", "Function.update", "Finsupp.erase_apply", "cong...
[]
ext; simp [coeff_erase_apply, Finsupp.erase_apply, Function.update_apply]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Star.CHSH
{ "line": 148, "column": 2 }
{ "line": 149, "column": 6 }
{ "line": 151, "column": 0 }
[ { "pp": "⊢ (√2)⁻¹ * (√2)⁻¹ = 2⁻¹", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Real.instIsOrderedRing", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Real.partialOrder", "Real", "HMul.hMul", "DivisionCommMonoid.toDivisionMonoid", "...
[]
rw [← mul_inv] simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Star.CHSH
{ "line": 148, "column": 2 }
{ "line": 149, "column": 6 }
{ "line": 151, "column": 0 }
[ { "pp": "⊢ (√2)⁻¹ * (√2)⁻¹ = 2⁻¹", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Real.instIsOrderedRing", "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Real.partialOrder", "Real", "HMul.hMul", "DivisionCommMonoid.toDivisionMonoid", "...
[]
rw [← mul_inv] simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.SkewMonoidAlgebra.Basic
{ "line": 280, "column": 21 }
{ "line": 280, "column": 29 }
{ "line": 282, "column": 0 }
[ { "pp": "k : Type u_1\nG : Type u_2\ninst✝¹ : AddMonoid k\nS : Type u_3\ninst✝ : SMulZeroClass S k\ns : S\na : G\nb : k\n⊢ (s • single a b).coeff = (single a (s • b)).coeff", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Finsupp.smulZeroClass", "instHSMul", "congrArg", ...
[]
by simp;
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Star.Orthogonal
{ "line": 155, "column": 25 }
{ "line": 155, "column": 71 }
{ "line": 155, "column": 71 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonUnitalSemiring R\ninst✝ : StarRing R\np₁ p₂ q₁ q₂ : R\nh₁ : star q₁ * p₁ = 0\nh₂ : p₂ * star q₂ = 0\n⊢ star (q₁ * q₂) * (p₁ * p₂) = 0", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "Semigroup.toMul", "HMul.hMul", "congrA...
[ "R : Type u_1\ninst✝¹ : NonUnitalSemiring R\ninst✝ : StarRing R\np₁ p₂ q₁ q₂ : R\nh₁ : star q₁ * p₁ = 0\nh₂ : p₂ * star q₂ = 0\n⊢ star q₂ * (0 * p₂) = 0" ]
rw [star_mul, mul_assoc, ← mul_assoc _ p₁, h₁]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.SkewMonoidAlgebra.Basic
{ "line": 717, "column": 20 }
{ "line": 717, "column": 36 }
{ "line": 718, "column": 6 }
[ { "pp": "case single\nk : Type u_1\nG : Type u_2\ninst✝² : Semiring k\ninst✝¹ : Monoid G\ninst✝ : MulSemiringAction G k\ng h : SkewMonoidAlgebra k G\nx : G\na : k\n⊢ single x a * g * h = single x a * (g * h)", "ppTerm": "?single", "assigned": true, "usedConstants": [ "add_mul", "Distrib....
[]
induction g with
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
null
Mathlib.Algebra.Star.Orthogonal
{ "line": 347, "column": 4 }
{ "line": 347, "column": 64 }
{ "line": 347, "column": 64 }
[ { "pp": "R : Type u_1\ninst✝¹ : Semiring R\ninst✝ : StarRing R\np q : R\nh : p ⋆⟂ q\nn : ℕ\nhn : n.succ ≠ 0\n⊢ star q * p ^ n.succ = 0", "ppTerm": "?m.41", "assigned": true, "usedConstants": [ "Eq.mpr", "Semigroup.toMul", "HMul.hMul", "MulZeroClass.toMul", "Monoid.toMul...
[]
by rw [pow_succ', ← mul_assoc, h.star_mul_eq_zero, zero_mul]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.RingedSpace.PresheafedSpace
{ "line": 323, "column": 9 }
{ "line": 325, "column": 15 }
{ "line": 325, "column": 15 }
[ { "pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nX : PresheafedSpace C\n⊢ X.presheaf = (Presheaf.pushforward C (X.ofRestrict ⋯).base).obj (X.restrict ⋯).presheaf", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "TopCat.Presheaf.Pu...
[]
by rw [restrict_top_presheaf, ← Presheaf.Pushforward.comp_eq] tauto
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.RingedSpace.PresheafedSpace.HasColimits
{ "line": 217, "column": 2 }
{ "line": 217, "column": 37 }
{ "line": 218, "column": 2 }
[ { "pp": "J : Type u'\ninst✝⁴ : Category.{v', u'} J\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasColimitsOfShape J TopCat\ninst✝¹ : ∀ (X : TopCat), HasLimitsOfShape Jᵒᵖ (Presheaf C X)\ninst✝ : HasLimitsOfShape Jᵒᵖ C\nF : J ⥤ PresheafedSpace C\ns : Cocone F\nU V : (Opens ↑↑s.pt)ᵒᵖ\ni : U ⟶ V\nj : Jᵒᵖ\nw :...
[ "J : Type u'\ninst✝⁴ : Category.{v', u'} J\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasColimitsOfShape J TopCat\ninst✝¹ : ∀ (X : TopCat), HasLimitsOfShape Jᵒᵖ (Presheaf C X)\ninst✝ : HasLimitsOfShape Jᵒᵖ C\nF : J ⥤ PresheafedSpace C\ns : Cocone F\nU V : (Opens ↑↑s.pt)ᵒᵖ\ni : U ⟶ V\nj : Jᵒᵖ\nw :\n (Opens.m...
simp only [Opens.map_comp_map] at w
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.RingedSpace.PresheafedSpace.HasColimits
{ "line": 350, "column": 6 }
{ "line": 350, "column": 24 }
{ "line": 350, "column": 25 }
[ { "pp": "J : Type u'\ninst✝⁴ : Category.{v', u'} J\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasColimitsOfShape J TopCat\ninst✝¹ : ∀ (X : TopCat), HasLimitsOfShape Jᵒᵖ (Presheaf C X)\ninst✝ : HasLimitsOfShape Jᵒᵖ C\nF : J ⥤ PresheafedSpace C\nU : Opens ↑↑(Limits.colimit F)\nj : J\n⊢ (colimitPresheafObjI...
[ "J : Type u'\ninst✝⁴ : Category.{v', u'} J\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasColimitsOfShape J TopCat\ninst✝¹ : ∀ (X : TopCat), HasLimitsOfShape Jᵒᵖ (Presheaf C X)\ninst✝ : HasLimitsOfShape Jᵒᵖ C\nF : J ⥤ PresheafedSpace C\nU : Opens ↑↑(Limits.colimit F)\nj : J\n⊢ limit.π (componentwiseDiagram F ...
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.Scheme
{ "line": 230, "column": 12 }
{ "line": 230, "column": 20 }
{ "line": 230, "column": 20 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\nV V' : X.Opens\ne : V ≤ f ⁻¹ᵁ U\ne₂ : V = V'\nP : {R S : CommRingCat} → (R ⟶ S) → Prop\n⊢ P (appLE f U V e) ↔ P (appLE f U V' ⋯)", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierC...
[ "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\nV : X.Opens\ne : V ≤ f ⁻¹ᵁ U\nP : {R S : CommRingCat} → (R ⟶ S) → Prop\n⊢ P (appLE f U V e) ↔ P (appLE f U V ⋯)" ]
subst e₂
Lean.Elab.Tactic.evalSubst
Lean.Parser.Tactic.subst
Mathlib.AlgebraicGeometry.OpenImmersion
{ "line": 716, "column": 19 }
{ "line": 716, "column": 45 }
{ "line": 717, "column": 2 }
[ { "pp": "X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\nH : IsOpenImmersion f\ninst✝ : IsOpenImmersion g\ne : Set.range ⇑f = Set.range ⇑g\n⊢ lift g f ⋯ ≫ lift f g ⋯ = 𝟙 X", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.Category.assoc", "AlgebraicGeometry...
[]
rw [← cancel_mono f]; simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.OpenImmersion
{ "line": 716, "column": 19 }
{ "line": 716, "column": 45 }
{ "line": 717, "column": 2 }
[ { "pp": "X Y Z : Scheme\nf : X ⟶ Z\ng : Y ⟶ Z\nH : IsOpenImmersion f\ninst✝ : IsOpenImmersion g\ne : Set.range ⇑f = Set.range ⇑g\n⊢ lift g f ⋯ ≫ lift f g ⋯ = 𝟙 X", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.Category.assoc", "AlgebraicGeometry...
[]
rw [← cancel_mono f]; simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Sites.MorphismProperty
{ "line": 82, "column": 33 }
{ "line": 82, "column": 53 }
{ "line": 83, "column": 4 }
[ { "pp": "P : MorphismProperty Scheme\nS : Scheme\nι : Type u_1\nX : ι → Scheme\nf : (i : ι) → X i ⟶ S\n⊢ Presieve.ofArrows X f ∈ (precoverage P).coverings S ↔\n (∀ (x : ↥S), ∃ i, x ∈ Set.range ⇑(ConcreteCategory.hom (forget.map (f i)))) ∧ ∀ (i : ι), P (f i)", "ppTerm": "?m.29", "assigned": true, ...
[ "P : MorphismProperty Scheme\nS : Scheme\nι : Type u_1\nX : ι → Scheme\nf : (i : ι) → X i ⟶ S\n⊢ Presieve.ofArrows X f ∈ (precoverage P).coverings S ↔\n (∀ (x : forget.obj S), ∃ i, x ∈ Set.range ⇑(ConcreteCategory.hom (forget.map (f i)))) ∧ ∀ (i : ι), P (f i)" ]
← Scheme.forget_obj,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Geometry.RingedSpace.OpenImmersion
{ "line": 520, "column": 19 }
{ "line": 520, "column": 45 }
{ "line": 521, "column": 2 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nX Y Z : PresheafedSpace C\nf : X ⟶ Z\nhf : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\ng : Y ⟶ Z\ns : PullbackCone f g\ninst✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw repr...
[]
rw [← cancel_mono f]; simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Geometry.RingedSpace.OpenImmersion
{ "line": 520, "column": 19 }
{ "line": 520, "column": 45 }
{ "line": 521, "column": 2 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nX Y Z : PresheafedSpace C\nf : X ⟶ Z\nhf : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\ng : Y ⟶ Z\ns : PullbackCone f g\ninst✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw repr...
[]
rw [← cancel_mono f]; simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Cover.Open
{ "line": 253, "column": 21 }
{ "line": 263, "column": 44 }
{ "line": 265, "column": 0 }
[ { "pp": "X : Scheme\nU : X.Opens\ns : ↑Γ(X, U)\n𝒰 : X.OpenCover\ninst✝ : Finite 𝒰.I₀\nh : ∀ (i : 𝒰.I₀), IsNilpotent ((ConcreteCategory.hom (Hom.app (𝒰.f i) U)) s)\n⊢ IsNilpotent s", "ppTerm": "?m.47", "assigned": true, "usedConstants": [ "Finset.mem_univ", "Eq.mpr", "RingHom.in...
[]
by choose fn hfn using h have : Fintype 𝒰.I₀ := Fintype.ofFinite 𝒰.I₀ /- the maximum of all `fn i` (exists, because `𝒰.I₀` is finite) -/ let N : ℕ := Finset.sup Finset.univ fn have hfnleN (i : 𝒰.I₀) : fn i ≤ N := Finset.le_sup (Finset.mem_univ i) use N apply zero_of_zero_cover (𝒰 := 𝒰) on_goal 1 =...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.AlgebraicGeometry.Cover.Open
{ "line": 309, "column": 4 }
{ "line": 310, "column": 63 }
{ "line": 311, "column": 2 }
[ { "pp": "case h_open\nX : Scheme\n⊢ ∀ u ∈ {x | ∃ a, x = Set.range ⇑(X.affineBasisCover.f a)}, IsOpen u", "ppTerm": "?h_open", "assigned": true, "usedConstants": [ "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierCarrier", "AlgebraicGeometry.Scheme", "CategoryTheory.PreZer...
[]
rintro _ ⟨a, rfl⟩ exact IsOpenImmersion.isOpen_range (X.affineBasisCover.f a)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.Cover.Open
{ "line": 309, "column": 4 }
{ "line": 310, "column": 63 }
{ "line": 311, "column": 2 }
[ { "pp": "case h_open\nX : Scheme\n⊢ ∀ u ∈ {x | ∃ a, x = Set.range ⇑(X.affineBasisCover.f a)}, IsOpen u", "ppTerm": "?h_open", "assigned": true, "usedConstants": [ "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierCarrier", "AlgebraicGeometry.Scheme", "CategoryTheory.PreZer...
[]
rintro _ ⟨a, rfl⟩ exact IsOpenImmersion.isOpen_range (X.affineBasisCover.f a)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.Sheaves.CommRingCat
{ "line": 147, "column": 2 }
{ "line": 147, "column": 59 }
{ "line": 148, "column": 2 }
[ { "pp": "X : TopCat\nF✝ : Presheaf CommRingCat X\nG : F✝.SubmonoidPresheaf\nF : Sheaf CommRingCat X\nU : (Opens ↑X)ᵒᵖ\nm : ?m.34 := ?m.35\n⊢ Function.Injective\n ⇑(ConcreteCategory.hom\n ((F.presheaf.submonoidPresheafOfStalk fun x ↦ (↑(F.presheaf.stalk x))⁰).toLocalizationPresheaf.app U))", "ppTer...
[ "X : TopCat\nF✝ : Presheaf CommRingCat X\nG : F✝.SubmonoidPresheaf\nF : Sheaf CommRingCat X\nU : (Opens ↑X)ᵒᵖ\nm : Submonoid ↑(F.presheaf.obj U) := (F.presheaf.submonoidPresheafOfStalk fun x ↦ (↑(F.presheaf.stalk x))⁰).obj U\n⊢ Function.Injective ⇑(algebraMap (↑(F.presheaf.obj U)) (Localization m))" ]
change Function.Injective (algebraMap _ (Localization m))
Lean.Elab.Tactic.evalChange
Lean.Parser.Tactic.change
Mathlib.AlgebraicGeometry.Restrict
{ "line": 625, "column": 24 }
{ "line": 625, "column": 66 }
{ "line": 626, "column": 4 }
[ { "pp": "case e_a\nX Y Z : Scheme\nf : X ⟶ Y\ng : Y ⟶ Z\nU : Opens ↥Z\n⊢ (pullbackRestrictIsoRestrict (f ≫ g) U).inv ≫ pullback.fst (f ≫ g) (Scheme.Opens.ι U) ≫ f =\n (pullbackRestrictIsoRestrict f (g ⁻¹ᵁ U)).inv ≫ pullback.fst f (g ⁻¹ᵁ U).ι ≫ f", "ppTerm": "?e_a✝", "assigned": true, "usedConstan...
[ "case e_a\nX Y Z : Scheme\nf : X ⟶ Y\ng : Y ⟶ Z\nU : Opens ↥Z\n⊢ ((f ≫ g) ⁻¹ᵁ U).ι ≫ f = (pullbackRestrictIsoRestrict f (g ⁻¹ᵁ U)).inv ≫ pullback.fst f (g ⁻¹ᵁ U).ι ≫ f" ]
pullbackRestrictIsoRestrict_inv_fst_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.Restrict
{ "line": 812, "column": 12 }
{ "line": 812, "column": 20 }
{ "line": 812, "column": 20 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\nV V' : X.Opens\ne : V ≤ f ⁻¹ᵁ U\ne₂ : V = V'\nP : MorphismProperty Scheme\n⊢ P (resLE f U V e) ↔ P (resLE f U V' ⋯)", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierCarrier", ...
[ "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\nV : X.Opens\ne : V ≤ f ⁻¹ᵁ U\nP : MorphismProperty Scheme\n⊢ P (resLE f U V e) ↔ P (resLE f U V ⋯)" ]
subst e₂
Lean.Elab.Tactic.evalSubst
Lean.Parser.Tactic.subst
Mathlib.AlgebraicGeometry.Restrict
{ "line": 816, "column": 55 }
{ "line": 817, "column": 76 }
{ "line": 819, "column": 0 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\nU : Y.Opens\nV : X.Opens\ne : V ≤ f ⁻¹ᵁ U\nO : (↑U).Opens\n⊢ resLE f U V e ⁻¹ᵁ O = V.ι ⁻¹ᵁ f ⁻¹ᵁ U.ι ''ᵁ O", "ppTerm": "?m.82", "assigned": true, "usedConstants": [ "AlgebraicGeometry.Scheme.Hom.opensFunctor", "Eq.mpr", "AlgebraicGeometry.SheafedSp...
[]
by rw [← comp_preimage, ← resLE_comp_ι f e, comp_preimage, preimage_image_eq]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.AlgebraicGeometry.Restrict
{ "line": 850, "column": 24 }
{ "line": 850, "column": 42 }
{ "line": 850, "column": 43 }
[ { "pp": "C : Type u₁\ninst✝ : Category.{v, u₁} C\nX Y : Scheme\nf : X ⟶ Y\nU U' : Y.Opens\nV V' : X.Opens\ne : V ≤ f ⁻¹ᵁ U\nx : ↥V\n⊢ (U.stalkIso ((resLE f U V e) x)).hom ≫ (Y.presheaf.stalkCongr ⋯).hom ≫ stalkMap f ↑x =\n stalkMap (resLE f U V e) x ≫ (V.stalkIso x).hom", "ppTerm": "?m.72", "assigned...
[ "C : Type u₁\ninst✝ : Category.{v, u₁} C\nX Y : Scheme\nf : X ⟶ Y\nU U' : Y.Opens\nV V' : X.Opens\ne : V ≤ f ⁻¹ᵁ U\nx : ↥V\n⊢ (Y.presheaf.stalkCongr ⋯).hom ≫ stalkMap f ↑x =\n (U.stalkIso ((resLE f U V e) x)).inv ≫ stalkMap (resLE f U V e) x ≫ (V.stalkIso x).hom" ]
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.MorphismProperty.Local
{ "line": 226, "column": 2 }
{ "line": 227, "column": 10 }
{ "line": 229, "column": 0 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nP : MorphismProperty C\nK : Precoverage C\ninst✝ : P.IsLocalAtSource K\nX Y : C\nf : X ⟶ Y\n𝒰 : K.ZeroHypercover X\nh : ∀ (i : 𝒰.I₀), P (𝒰.f i ≫ f)\n⊢ P f", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheo...
[]
rw [IsLocalAtSource.iff_of_zeroHypercover (P := P) 𝒰.restrictIndexOfSmall] simp [h]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.MorphismProperty.Local
{ "line": 226, "column": 2 }
{ "line": 227, "column": 10 }
{ "line": 229, "column": 0 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nP : MorphismProperty C\nK : Precoverage C\ninst✝ : P.IsLocalAtSource K\nX Y : C\nf : X ⟶ Y\n𝒰 : K.ZeroHypercover X\nh : ∀ (i : 𝒰.I₀), P (𝒰.f i ≫ f)\n⊢ P f", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheo...
[]
rw [IsLocalAtSource.iff_of_zeroHypercover (P := P) 𝒰.restrictIndexOfSmall] simp [h]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.AffineScheme
{ "line": 153, "column": 6 }
{ "line": 153, "column": 30 }
{ "line": 153, "column": 31 }
[ { "pp": "X Y : Scheme\ninst✝ : IsAffine Y\nf g : X ⟶ Y\ne : Scheme.Hom.appTop f = Scheme.Hom.appTop g\n⊢ f = g", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "AlgebraicGeometry.Spec", "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierCarrier", "A...
[ "X Y : Scheme\ninst✝ : IsAffine Y\nf g : X ⟶ Y\ne : Scheme.Hom.appTop f = Scheme.Hom.appTop g\n⊢ f ≫ Y.toSpecΓ = g ≫ Y.toSpecΓ" ]
← cancel_mono Y.toSpecΓ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.GammaSpecAdjunction
{ "line": 224, "column": 4 }
{ "line": 224, "column": 27 }
{ "line": 225, "column": 4 }
[ { "pp": "X : LocallyRingedSpace\nr✝ : ↑(Γ.obj (op X))\nx : ↑X.toTopCat\np : PrimeSpectrum ↑(Γ.obj (op X)) := X.toΓSpecFun x\nS : CommRingCat := (structureSheaf ↑(Γ.obj (op X))).presheaf.stalk p\nt : ↑S\nht : IsUnit ((CommRingCat.Hom.hom (PresheafedSpace.Hom.stalkMap X.toΓSpecSheafedSpace.hom x)) t)\nr : ↑(Γ.obj...
[ "X : LocallyRingedSpace\nr✝ : ↑(Γ.obj (op X))\nx : ↑X.toTopCat\np : PrimeSpectrum ↑(Γ.obj (op X)) := X.toΓSpecFun x\nS : CommRingCat := (structureSheaf ↑(Γ.obj (op X))).presheaf.stalk p\nt : ↑S\nht : IsUnit ((CommRingCat.Hom.hom (PresheafedSpace.Hom.stalkMap X.toΓSpecSheafedSpace.hom x)) t)\nr : ↑(Γ.obj (op X))\ns ...
change t * t' = _ at he
Lean.Elab.Tactic.evalChange
Lean.Parser.Tactic.change
Mathlib.CategoryTheory.GlueData
{ "line": 242, "column": 5 }
{ "line": 243, "column": 48 }
{ "line": 243, "column": 48 }
[ { "pp": "C : Type u₁\ninst✝² : Category.{v, u₁} C\nC' : Type u₂\ninst✝¹ : Category.{v, u₂} C'\nD : GlueData C\nF : C ⥤ C'\ninst✝ : ∀ (i j k : D.J), PreservesLimit (cospan (D.f i j) (D.f i k)) F\n⊢ ∀ {X Y : WalkingMultispan (MultispanShape.prod D.J)} (f : X ⟶ Y),\n (D.diagram.multispan ⋙ F).map f ≫\n (...
[]
by rintro (⟨_, _⟩ | _) _ (_ | _ | _) <;> simp
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Topology.Gluing
{ "line": 246, "column": 38 }
{ "line": 246, "column": 59 }
{ "line": 246, "column": 59 }
[ { "pp": "D : GlueData\ni j : D.J\nU : Set ↑(D.U i)\n⊢ ⇑(ConcreteCategory.hom (D.f i j)) ⁻¹' U =\n ⇑(ConcreteCategory.hom (D.t i j)) ⁻¹' ⇑(ConcreteCategory.hom (D.f i j)) ∘ ⇑(ConcreteCategory.hom (D.t j i)) ⁻¹' U", "ppTerm": "?m.176", "assigned": true, "usedConstants": [ "CategoryTheory.Glue...
[ "D : GlueData\ni j : D.J\nU : Set ↑(D.U i)\n⊢ ⇑(ConcreteCategory.hom (D.f i j)) ⁻¹' U =\n (fun x ↦\n (⇑(ConcreteCategory.hom (D.f i j)) ∘ ⇑(ConcreteCategory.hom (D.t j i)))\n ((ConcreteCategory.hom (D.t i j)) x)) ⁻¹'\n U", "case hf\nD : GlueData\ni j : D.J\nU : Set ↑(D.U i)\n⊢ Function.Bij...
Set.preimage_preimage
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.Gluing
{ "line": 331, "column": 72 }
{ "line": 331, "column": 90 }
{ "line": 332, "column": 6 }
[ { "pp": "D : GlueData\nh : MkCore\ni j k : h.J\n⊢ (pullbackIsoProdSubtype (h.V i j).inclusion' (h.V i k).inclusion').hom ≫\n ofHom\n {\n toFun := fun x ↦\n ⟨(⟨↑((ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩, (ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩,\n continuo...
[ "D : GlueData\nh : MkCore\ni j k : h.J\n⊢ ofHom\n {\n toFun := fun x ↦\n ⟨(⟨↑((ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩, (ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩,\n continuous_toFun := ⋯ } ≫\n pullbackSnd (h.V j k).inclusion' (h.V j i).inclusion' =\n (pullbackIsoPr...
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.Gluing
{ "line": 340, "column": 8 }
{ "line": 340, "column": 26 }
{ "line": 340, "column": 27 }
[ { "pp": "D : GlueData\nh : MkCore\ni j k : h.J\n⊢ (pullbackIsoProdSubtype (h.V i j).inclusion' (h.V i k).inclusion').hom ≫\n ofHom\n {\n toFun := fun x ↦\n ⟨(⟨↑((ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩, (ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩,\n continuo...
[ "D : GlueData\nh : MkCore\ni j k : h.J\n⊢ ofHom\n {\n toFun := fun x ↦\n ⟨(⟨↑((ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩, (ConcreteCategory.hom (h.t i j)) (↑x).1), ⋯⟩,\n continuous_toFun := ⋯ } ≫\n ofHom\n {\n toFun := fun x ↦\n ⟨(⟨↑((Concr...
← Iso.eq_inv_comp,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.Gluing
{ "line": 398, "column": 4 }
{ "line": 398, "column": 59 }
{ "line": 399, "column": 4 }
[ { "pp": "case right.left\nα : Type u\ninst✝ : TopologicalSpace α\nJ : Type u\nU : J → Opens α\ns : Set ↑(ofOpenSubsets U).glued\nhs : ∀ (i : (ofOpenSubsets U).J), IsOpen (⇑(ConcreteCategory.hom ((ofOpenSubsets U).ι i)) ⁻¹' s)\ni : (ofOpenSubsets U).J\nx : ↑↧α\nhx' : x ∈ U i\nhx : (ConcreteCategory.hom ((ofOpenS...
[ "case right.left\nα : Type u\ninst✝ : TopologicalSpace α\nJ : Type u\nU : J → Opens α\ns : Set ↑(ofOpenSubsets U).glued\nhs : ∀ (i : (ofOpenSubsets U).J), IsOpen (⇑(ConcreteCategory.hom ((ofOpenSubsets U).ι i)) ⁻¹' s)\ni : (ofOpenSubsets U).J\nx : ↑↧α\nhx' : x ∈ U i\nhx : (ConcreteCategory.hom ((ofOpenSubsets U).ι ...
apply (Opens.isOpenEmbedding (X := ↧α) (U i)).isOpenMap
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.AlgebraicGeometry.Gluing
{ "line": 408, "column": 4 }
{ "line": 408, "column": 26 }
{ "line": 410, "column": 0 }
[ { "pp": "case right.right\nX : Scheme\n𝒰 : X.OpenCover\nU : Set ↥(gluedCover 𝒰).glued\nhU : ∀ (i : (gluedCover 𝒰).J), IsOpen (⇑((gluedCover 𝒰).ι i) ⁻¹' U)\nx : ↥X\nhx : x ∈ ⇑(fromGlued 𝒰) '' U\n⊢ x ∈ ⇑(fromGlued 𝒰) '' U ∩ Set.range ⇑(𝒰.f (idx 𝒰 x))", "ppTerm": "?right.right", "assigned": true, ...
[]
exact ⟨hx, 𝒰.covers x⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.AlgebraicGeometry.Gluing
{ "line": 408, "column": 4 }
{ "line": 408, "column": 26 }
{ "line": 410, "column": 0 }
[ { "pp": "case right.right\nX : Scheme\n𝒰 : X.OpenCover\nU : Set ↥(gluedCover 𝒰).glued\nhU : ∀ (i : (gluedCover 𝒰).J), IsOpen (⇑((gluedCover 𝒰).ι i) ⁻¹' U)\nx : ↥X\nhx : x ∈ ⇑(fromGlued 𝒰) '' U\n⊢ x ∈ ⇑(fromGlued 𝒰) '' U ∩ Set.range ⇑(𝒰.f (idx 𝒰 x))", "ppTerm": "?right.right", "assigned": true, ...
[]
exact ⟨hx, 𝒰.covers x⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.Gluing
{ "line": 408, "column": 4 }
{ "line": 408, "column": 26 }
{ "line": 410, "column": 0 }
[ { "pp": "case right.right\nX : Scheme\n𝒰 : X.OpenCover\nU : Set ↥(gluedCover 𝒰).glued\nhU : ∀ (i : (gluedCover 𝒰).J), IsOpen (⇑((gluedCover 𝒰).ι i) ⁻¹' U)\nx : ↥X\nhx : x ∈ ⇑(fromGlued 𝒰) '' U\n⊢ x ∈ ⇑(fromGlued 𝒰) '' U ∩ Set.range ⇑(𝒰.f (idx 𝒰 x))", "ppTerm": "?right.right", "assigned": true, ...
[]
exact ⟨hx, 𝒰.covers x⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Gluing
{ "line": 566, "column": 4 }
{ "line": 566, "column": 82 }
{ "line": 567, "column": 4 }
[ { "pp": "J : Type w\ninst✝² : Category.{v, w} J\nF : J ⥤ Scheme\ninst✝¹ : ∀ {i j : J} (f : i ⟶ j), IsOpenImmersion (F.map f)\ninst✝ : (F ⋙ forget).IsLocallyDirected\ni j k : J\nx : ↥(pullback (V F i j).ι (V F i k).ι)\nk₁ : (k : J) × (k ⟶ i) × (k ⟶ j)\nk₂ : (k_1 : J) × (k_1 ⟶ i) × (k_1 ⟶ k)\nl : J\nhli : l ⟶ k₁....
[ "J : Type w\ninst✝² : Category.{v, w} J\nF : J ⥤ Scheme\ninst✝¹ : ∀ {i j : J} (f : i ⟶ j), IsOpenImmersion (F.map f)\ninst✝ : (F ⋙ forget).IsLocallyDirected\ni j k : J\nx : ↥(pullback (V F i j).ι (V F i k).ι)\nk₁ : (k : J) × (k ⟶ i) × (k ⟶ j)\nk₂ : (k_1 : J) × (k_1 ⟶ i) × (k_1 ⟶ k)\nl : J\nhli : l ⟶ k₁.fst\nhlk : l...
rw [← Scheme.Hom.comp_apply, ← Scheme.Hom.comp_apply, pullback.lift_fst_assoc]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.AlgebraicGeometry.Limits
{ "line": 392, "column": 4 }
{ "line": 392, "column": 57 }
{ "line": 393, "column": 4 }
[ { "pp": "case h\nι : Type u\nf : ι → Scheme\nσ : Type v\ng : σ → Scheme\nX Y : Scheme\nx : ↥X ⊕ ↥Y\n⊢ (coprodMk X Y) x ∈\n Set.range\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...
[ "case h\nι : Type u\nf : ι → Scheme\nσ : Type v\ng : σ → Scheme\nX Y : Scheme\nx : ↥X ⊕ ↥Y\n⊢ ∃ y,\n (Sum.rec (fun x ↦ coprod.inl) (fun x ↦ coprod.inr)\n (Sum.elim (fun x ↦ Sum.inl PUnit.unit) (fun x ↦ Sum.inr PUnit.unit) ((coprodMk X Y).symm ((coprodMk X Y) x))))\n y =\n (coprodMk X Y) x" ]
simp only [Sum.elim_inl, Sum.elim_inr, Set.mem_range]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.RingedSpace.PresheafedSpace.Gluing
{ "line": 327, "column": 8 }
{ "line": 327, "column": 29 }
{ "line": 327, "column": 29 }
[ { "pp": "case left\nC : Type u\ninst✝¹ : Category.{v, u} C\nD : GlueData C\ninst✝ : HasLimits C\ni : D.J\nU : Opens ↑↑(D.U i)\nj k : D.J\n⊢ ⇑(ConcreteCategory.hom (D.f j k).base) ⁻¹' ⇑(ConcreteCategory.hom (D.ι j).base) ⁻¹' ↑(⋯.functor.obj U) =\n ↑((Opens.map (colimit.ι D.diagram.multispan (WalkingMultispan....
[ "case left\nC : Type u\ninst✝¹ : Category.{v, u} C\nD : GlueData C\ninst✝ : HasLimits C\ni : D.J\nU : Opens ↑↑(D.U i)\nj k : D.J\n⊢ (fun x ↦ (ConcreteCategory.hom (D.ι j).base) ((ConcreteCategory.hom (D.f j k).base) x)) ⁻¹' ↑(⋯.functor.obj U) =\n ↑((Opens.map (colimit.ι D.diagram.multispan (WalkingMultispan.left...
Set.preimage_preimage
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.Morphisms.Basic
{ "line": 239, "column": 2 }
{ "line": 242, "column": 25 }
{ "line": 243, "column": 2 }
[ { "pp": "case refine_1\nP : MorphismProperty Scheme\ninst✝ : P.RespectsIso\nrestrict : ∀ {X Y : Scheme} (f : X ⟶ Y) (U : X.Opens), P f → P (U.ι ≫ f)\nof_sSup_eq_top :\n ∀ {X Y : Scheme} (f : X ⟶ Y) {ι : Type u} (U : ι → X.Opens), iSup U = ⊤ → (∀ (i : ι), P ((U i).ι ≫ f)) → P f\nX Y : Scheme\nf : X ⟶ Y\n𝒰 : Sc...
[ "case refine_2\nP : MorphismProperty Scheme\ninst✝ : P.RespectsIso\nrestrict : ∀ {X Y : Scheme} (f : X ⟶ Y) (U : X.Opens), P f → P (U.ι ≫ f)\nof_sSup_eq_top :\n ∀ {X Y : Scheme} (f : X ⟶ Y) {ι : Type u} (U : ι → X.Opens), iSup U = ⊤ → (∀ (i : ι), P ((U i).ι ≫ f)) → P f\nX Y : Scheme\nf : X ⟶ Y\n𝒰 : Scheme.zariski...
· rw [← IsOpenImmersion.isoOfRangeEq_hom_fac (𝒰.f i) (Scheme.Opens.ι _) congr($((𝒰.f i).opensRange.opensRange_ι.symm).carrier), Category.assoc, P.cancel_left_of_respectsIso] exact restrict _ _ hf
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.AlgebraicGeometry.Morphisms.Basic
{ "line": 598, "column": 6 }
{ "line": 598, "column": 46 }
{ "line": 599, "column": 4 }
[ { "pp": "P : MorphismProperty Scheme\nQ : AffineTargetMorphismProperty\ninst✝ : HasAffineProperty P Q\nX✝ Y✝ : Scheme\nf✝ : X✝ ⟶ Y✝\nthis : Q.IsLocal := isLocal_affineProperty P\nX Y : Scheme\nf : X ⟶ Y\nι : Type u_1\nU : ι → Y.Opens\nhU : iSup U = ⊤\nH : ∀ (i : ι), P (f ∣_ U i)\n𝒰 : Y.OpenCover := Y.openCover...
[]
exact (Scheme.Opens.opensRange_ι _).symm
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.AlgebraicGeometry.Pullbacks
{ "line": 518, "column": 33 }
{ "line": 518, "column": 41 }
{ "line": 518, "column": 41 }
[ { "pp": "X Y Z : Scheme\n𝒰✝ : X.OpenCover\nf✝ : X ⟶ Z\ng✝ : Y ⟶ Z\ninst✝ : ∀ (i : 𝒰✝.I₀), HasPullback (𝒰✝.f i ≫ f✝) g✝\ns : PullbackCone f✝ g✝\n𝒰 : X.OpenCover\nf : X ⟶ Z\ng : Y ⟶ Z\nx : ↥(pullback f g)\ni : (Cover.ulift 𝒰).I₀\n⊢ pullback.map ((Cover.ulift 𝒰).f i ≫ f) g f g ((Cover.ulift 𝒰).f i) (𝟙 Y) (...
[ "X Y Z : Scheme\n𝒰✝ : X.OpenCover\nf✝ : X ⟶ Z\ng✝ : Y ⟶ Z\ninst✝ : ∀ (i : 𝒰✝.I₀), HasPullback (𝒰✝.f i ≫ f✝) g✝\ns : PullbackCone f✝ g✝\n𝒰 : X.OpenCover\nf : X ⟶ Z\ng : Y ⟶ Z\nx : ↥(pullback f g)\ni : (Cover.ulift 𝒰).I₀\n⊢ pullback.map ((Cover.ulift 𝒰).f i ≫ f) g f g ((Cover.ulift 𝒰).f i) (𝟙 Y) (𝟙 Z) ⋯ ⋯ =\...
gluing_J
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion
{ "line": 75, "column": 30 }
{ "line": 75, "column": 64 }
{ "line": 75, "column": 64 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\n𝒰 : X.OpenCover\nhf : Function.Injective ⇑f\nh𝒰 : ∀ (i : 𝒰.I₀), IsOpenImmersion (𝒰.f i ≫ f)\nU : Set ↥X\nhU : IsOpen U\nx✝¹ : ↥Y\nx✝ : x✝¹ ∈ ⇑f '' U\nx : ↥X\nleft✝ : x ∈ U\nright✝ : f x = x✝¹\n⊢ x✝¹ ∈ (⨆ i, (𝒰.f i ≫ f) ''ᵁ 𝒰.f i ⁻¹ᵁ { carrier := U, is_open' := hU }).carri...
[]
have := 𝒰.exists_eq x; simp; grind
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion
{ "line": 75, "column": 30 }
{ "line": 75, "column": 64 }
{ "line": 75, "column": 64 }
[ { "pp": "X Y : Scheme\nf : X ⟶ Y\n𝒰 : X.OpenCover\nhf : Function.Injective ⇑f\nh𝒰 : ∀ (i : 𝒰.I₀), IsOpenImmersion (𝒰.f i ≫ f)\nU : Set ↥X\nhU : IsOpen U\nx✝¹ : ↥Y\nx✝ : x✝¹ ∈ ⇑f '' U\nx : ↥X\nleft✝ : x ∈ U\nright✝ : f x = x✝¹\n⊢ x✝¹ ∈ (⨆ i, (𝒰.f i ≫ f) ''ᵁ 𝒰.f i ⁻¹ᵁ { carrier := U, is_open' := hU }).carri...
[]
have := 𝒰.exists_eq x; simp; grind
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Morphisms.Constructors
{ "line": 165, "column": 4 }
{ "line": 165, "column": 56 }
{ "line": 166, "column": 4 }
[ { "pp": "Q : AffineTargetMorphismProperty\ninst✝ : Q.IsLocal\nX Y : Scheme\nx✝ : IsAffine Y\nf : X ⟶ Y\ns : Finset ↑Γ(Y, ⊤)\nhs : Ideal.span ↑s = ⊤\nhs' : ∀ (r : ↥s), Q.diagonal (f ∣_ Y.basicOpen ↑r)\n⊢ Q.diagonal f", "ppTerm": "?m.50", "assigned": true, "usedConstants": [ "Iff.mpr", "Al...
[ "Q : AffineTargetMorphismProperty\ninst✝ : Q.IsLocal\nX Y : Scheme\nx✝ : IsAffine Y\nf : X ⟶ Y\ns : Finset ↑Γ(Y, ⊤)\nhs : Ideal.span ↑s = ⊤\nhs' : ∀ (r : ↥s), Q.diagonal (f ∣_ Y.basicOpen ↑r)\n⊢ (targetAffineLocally Q).diagonal f" ]
refine (diagonal_iff (targetAffineLocally Q)).mpr ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact
{ "line": 123, "column": 6 }
{ "line": 123, "column": 91 }
{ "line": 124, "column": 4 }
[ { "pp": "case respectsIso.h₁\nX✝ Y✝ : Scheme\nf : X✝ ⟶ Y✝\nX Y Z : Scheme\ne : X ≅ Y\nf✝ : Y ⟶ Z\ninst✝ : IsAffine Z\nH : CompactSpace ↥Y\n⊢ CompactSpace ↥X", "ppTerm": "?respectsIso.h₁", "assigned": true, "usedConstants": [ "AlgebraicGeometry.SheafedSpace.instTopologicalSpaceCarrierCarrier", ...
[]
exacts [@Homeomorph.compactSpace _ _ _ _ H (TopCat.homeoOfIso (asIso e.inv.base)), H]
Batteries.Tactic._aux_Batteries_Tactic_Init___elabRules_Batteries_Tactic_exacts_1
Batteries.Tactic.exacts
Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact
{ "line": 230, "column": 4 }
{ "line": 231, "column": 41 }
{ "line": 232, "column": 4 }
[ { "pp": "case isFalse\nX : Scheme\nS : CommRingCat\nf : X ⟶ Spec S\ninst✝ : QuasiCompact f\nZ : Set ↥X\nhZ : IsClosed Z\nH : StableUnderSpecialization (⇑f '' Z)\nthis✝ :\n ∀ {X : Scheme} (S : CommRingCat) (f : X ⟶ Spec S) [QuasiCompact f] (Z : Set ↥X),\n IsClosed Z → StableUnderSpecialization (⇑f '' Z) → (∃...
[ "case isFalse\nX : Scheme\nS : CommRingCat\nf : X ⟶ Spec S\ninst✝ : QuasiCompact f\nZ : Set ↥X\nhZ : IsClosed Z\nH : StableUnderSpecialization (⇑f '' Z)\nthis✝ :\n ∀ {X : Scheme} (S : CommRingCat) (f : X ⟶ Spec S) [QuasiCompact f] (Z : Set ↥X),\n IsClosed Z → StableUnderSpecialization (⇑f '' Z) → (∃ R, X = Spec...
simp_rw [Scheme.Hom.comp_base, TopCat.comp_app, ← Set.image_image, Set.image_preimage_eq _ hg] at this
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact
{ "line": 310, "column": 2 }
{ "line": 310, "column": 7 }
{ "line": 312, "column": 0 }
[ { "pp": "X : Scheme\nU : X.Opens\nhU : IsCompact ↑U\nf : ↑Γ(X, U)\nhf : X.basicOpen f = ⊥\nh : (1 |_ X.basicOpen f) ⋯ = 0\nn : ℕ\nhn : f ^ n = 0\n⊢ IsNilpotent f", "ppTerm": "?m.148", "assigned": true, "usedConstants": [ "Opposite", "CommRingCat.carrier", "AlgebraicGeometry.Preshea...
[]
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated
{ "line": 306, "column": 2 }
{ "line": 306, "column": 7 }
{ "line": 307, "column": 2 }
[ { "pp": "X : Scheme\nS : ↑X.affineOpens\nU₁ U₂ : X.Opens\nn₁ n₂ : ℕ\ny₁ : ↑Γ(X, U₁)\ny₂ : ↑Γ(X, U₂)\nf : ↑Γ(X, U₁ ⊔ U₂)\nx : ↑Γ(X, X.basicOpen f)\nh₁ : ↑S ≤ U₁\nh₂ : ↑S ≤ U₂\ne₁ :\n (y₁ |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯ =\n ((f |_ U₁) ⋯ |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯ ^ n₁ * (x |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯...
[ "case h\nX : Scheme\nS : ↑X.affineOpens\nU₁ U₂ : X.Opens\nn₁ n₂ : ℕ\ny₁ : ↑Γ(X, U₁)\ny₂ : ↑Γ(X, U₂)\nf : ↑Γ(X, U₁ ⊔ U₂)\nx : ↑Γ(X, X.basicOpen f)\nh₁ : ↑S ≤ U₁\nh₂ : ↑S ≤ U₂\ne₁ :\n (y₁ |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯ =\n ((f |_ U₁) ⋯ |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯ ^ n₁ * (x |_ X.basicOpen ((f |_ U₁) ⋯)) ⋯\ne₂...
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.RingTheory.RingHom.Locally
{ "line": 77, "column": 66 }
{ "line": 83, "column": 20 }
{ "line": 85, "column": 0 }
[ { "pp": "P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop\nR S : Type u\ninst✝¹ : CommRing R\ninst✝ : CommRing S\nf : R →+* S\n⊢ Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔\n ∃ s, ∃ (_ : Ideal.span ↑s = ⊤), ∀ t ∈ s, P ((algebraMap S (Localization.Away t)).comp f)"...
[]
by constructor · intro ⟨s, hsone, hs⟩ obtain ⟨s', h₁, h₂⟩ := (Ideal.span_eq_top_iff_finite s).mp hsone exact ⟨s', h₂, fun t ht ↦ hs t (h₁ ht)⟩ · intro ⟨s, hsone, hs⟩ use s, hsone, hs
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated
{ "line": 422, "column": 2 }
{ "line": 422, "column": 7 }
{ "line": 424, "column": 0 }
[ { "pp": "X : Scheme\nU : Opens ↥X\nhU : IsCompact U.carrier\nhU' : IsQuasiSeparated U.carrier\nf g s : ↑Γ(X, U)\nhfg : (f |_ X.basicOpen s) ⋯ = (g |_ X.basicOpen s) ⋯\nn : ℕ\nhc : s ^ n * f = s ^ n * g\n⊢ ∃ n, s ^ n * f = s ^ n * g", "ppTerm": "?m.124", "assigned": true, "usedConstants": [ "Op...
[]
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.AlgebraicGeometry.Stalk
{ "line": 113, "column": 2 }
{ "line": 114, "column": 75 }
{ "line": 115, "column": 2 }
[ { "pp": "X : Scheme\nU : X.Opens\nx : ↥X\nhxU : x ∈ U\nV : X.Opens\nhV : V ∈ X.affineOpens\nhxV : x ∈ ↑V\nhVU : ↑V ⊆ ↑U\n⊢ Hom.app (X.fromSpecStalk x) U =\n X.presheaf.germ U x hxU ≫\n (ΓSpecIso (X.presheaf.stalk x)).inv ≫ (Spec (X.presheaf.stalk x)).presheaf.map (homOfLE ⋯).op", "ppTerm": "?m.117",...
[ "X : Scheme\nU : X.Opens\nx : ↥X\nhxU : x ∈ U\nV : X.Opens\nhV : V ∈ X.affineOpens\nhxV : x ∈ ↑V\nhVU : ↑V ⊆ ↑U\n⊢ (X.presheaf.map (homOfLE hVU).op ≫ (ΓSpecIso Γ(X, V)).inv ≫ (Spec Γ(X, V)).presheaf.map (homOfLE ⋯).op) ≫\n Hom.app (Spec.map (X.presheaf.germ V x hxV)) (IsAffineOpen.fromSpec hV ⁻¹ᵁ U) =\n (X....
rw [← hV.fromSpecStalk_eq_fromSpecStalk hxV, IsAffineOpen.fromSpecStalk, Scheme.Hom.comp_app, hV.fromSpec_app_of_le _ hVU, ← X.presheaf.germ_res (homOfLE hVU) x hxV]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.AlgebraicGeometry.PullbackCarrier
{ "line": 148, "column": 2 }
{ "line": 150, "column": 6 }
{ "line": 152, "column": 0 }
[ { "pp": "X Y S : Scheme\nf : X ⟶ S\ng : Y ⟶ S\nT : Triplet f g\np : ↥(Spec T.tensor)\n⊢ (pullback.fst f g) (T.SpecTensorTo p) = T.x", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.Hom", "Eq.mpr", "CategoryTheory.Limits.pullback", "...
[]
simp only [SpecTensorTo] rw [← Scheme.Hom.comp_apply] simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.PullbackCarrier
{ "line": 148, "column": 2 }
{ "line": 150, "column": 6 }
{ "line": 152, "column": 0 }
[ { "pp": "X Y S : Scheme\nf : X ⟶ S\ng : Y ⟶ S\nT : Triplet f g\np : ↥(Spec T.tensor)\n⊢ (pullback.fst f g) (T.SpecTensorTo p) = T.x", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.Hom", "Eq.mpr", "CategoryTheory.Limits.pullback", "...
[]
simp only [SpecTensorTo] rw [← Scheme.Hom.comp_apply] simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Morphisms.Affine
{ "line": 123, "column": 76 }
{ "line": 123, "column": 94 }
{ "line": 123, "column": 95 }
[ { "pp": "case refine_2\nX : Scheme\ns : Set ↑Γ(X, ⊤)\nhs : Ideal.span s = ⊤\nhs₂ : ∀ i ∈ s, IsAffineOpen (X.basicOpen i)\nthis✝ : QuasiSeparatedSpace ↥X\nthis : CompactSpace ↥X\n⊢ Ideal.span {x | x ∈ s} = ⊤", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "Eq.mpr", "Algebrai...
[ "case refine_2\nX : Scheme\ns : Set ↑Γ(X, ⊤)\nhs : Ideal.span s = ⊤\nhs₂ : ∀ i ∈ s, IsAffineOpen (X.basicOpen i)\nthis✝ : QuasiSeparatedSpace ↥X\nthis : CompactSpace ↥X\n⊢ Ideal.span s = ⊤" ]
Set.ofPred_mem_eq,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.AlgebraicGeometry.PullbackCarrier
{ "line": 155, "column": 2 }
{ "line": 157, "column": 6 }
{ "line": 159, "column": 0 }
[ { "pp": "X Y S : Scheme\nf : X ⟶ S\ng : Y ⟶ S\nT : Triplet f g\np : ↥(Spec T.tensor)\n⊢ (pullback.snd f g) (T.SpecTensorTo p) = T.y", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.Hom", "Eq.mpr", "CategoryTheory.Limits.pullback", "...
[]
simp only [SpecTensorTo] rw [← Scheme.Hom.comp_apply] simp
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.AlgebraicGeometry.PullbackCarrier
{ "line": 155, "column": 2 }
{ "line": 157, "column": 6 }
{ "line": 159, "column": 0 }
[ { "pp": "X Y S : Scheme\nf : X ⟶ S\ng : Y ⟶ S\nT : Triplet f g\np : ↥(Spec T.tensor)\n⊢ (pullback.snd f g) (T.SpecTensorTo p) = T.y", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "AlgebraicGeometry.PresheafedSpace.Hom", "Eq.mpr", "CategoryTheory.Limits.pullback", "...
[]
simp only [SpecTensorTo] rw [← Scheme.Hom.comp_apply] simp
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.AlgebraicGeometry.Morphisms.Affine
{ "line": 232, "column": 4 }
{ "line": 232, "column": 56 }
{ "line": 233, "column": 4 }
[ { "pp": "case a\nX✝ Y Z : Scheme\nf✝ : X✝ ⟶ Y\ng✝ : Y ⟶ Z\nU V X : Scheme\nf : U ⟶ X\ng : V ⟶ X\ninst✝¹ : IsAffineHom f\ninst✝ : IsAffineHom g\nW : X.Opens\nhW : IsAffineOpen W\nthis✝ : IsAffine ↑(f ⁻¹ᵁ W)\nthis : IsAffine ↑(g ⁻¹ᵁ W)\ni : ↑(f ⁻¹ᵁ W) ⨿ ↑(g ⁻¹ᵁ W) ⟶ U ⨿ V := coprod.map (f ⁻¹ᵁ W).ι (g ⁻¹ᵁ W).ι\nx ...
[ "case a.inl\nX✝ Y Z : Scheme\nf✝ : X✝ ⟶ Y\ng✝ : Y ⟶ Z\nU V X : Scheme\nf : U ⟶ X\ng : V ⟶ X\ninst✝¹ : IsAffineHom f\ninst✝ : IsAffineHom g\nW : X.Opens\nhW : IsAffineOpen W\nthis✝ : IsAffine ↑(f ⁻¹ᵁ W)\nthis : IsAffine ↑(g ⁻¹ᵁ W)\ni : ↑(f ⁻¹ᵁ W) ⨿ ↑(g ⁻¹ᵁ W) ⟶ U ⨿ V := coprod.map (f ⁻¹ᵁ W).ι (g ⁻¹ᵁ W).ι\nx : ↥U\nhx...
obtain ⟨(x | x), rfl⟩ := (coprodMk U V).surjective x
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.AlgebraicGeometry.PullbackCarrier
{ "line": 410, "column": 2 }
{ "line": 410, "column": 92 }
{ "line": 411, "column": 2 }
[ { "pp": "P X Y Z : Scheme\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\nx : ↥X\ny : ↥Y\nhxy : f x = g y\ne : P ≅ pullback f g := h.isoPullback\n⊢ ∃ p, fst p = x ∧ snd p = y", "ppTerm": "?m.55", "assigned": true, "usedConstants": [ "CategoryTheory.Limits.pullback"...
[ "P X Y Z : Scheme\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\nx : ↥X\ny : ↥Y\nhxy : f x = g y\ne : P ≅ pullback f g := h.isoPullback\nz : ↥(pullback f g)\nhzl : (pullback.fst f g) z = x\nhzr : (pullback.snd f g) z = y\n⊢ ∃ p, fst p = x ∧ snd p = y" ]
obtain ⟨z, hzl, hzr⟩ := AlgebraicGeometry.Scheme.Pullback.exists_preimage_pullback x y hxy
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.RingTheory.Ideal.Height
{ "line": 172, "column": 2 }
{ "line": 172, "column": 40 }
{ "line": 173, "column": 2 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\n⊢ ringKrullDim R = ⊤ ↔ ∀ (n : ℕ), ∃ I, I ≠ ⊤ ∧ ↑n ≤ I.height", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "WithBot.instPreorder", "Eq.mpr", "WithBot", "Semiring.toModule", "ENat.instNatCast", "instTopENat", ...
[ "R : Type u_1\ninst✝ : CommRing R\n⊢ (∀ (m : ℕ), ↑m ≤ ringKrullDim R) ↔ ∀ (n : ℕ), ∃ I, I ≠ ⊤ ∧ ↑n ≤ I.height" ]
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.Spectrum.Prime.ConstructibleSet
{ "line": 143, "column": 2 }
{ "line": 143, "column": 59 }
{ "line": 144, "column": 2 }
[ { "pp": "R : Type u\ninst✝ : CommRing R\ns : Set (PrimeSpectrum R)\nhs : IsConstructible s\n⊢ ∃ S x f, Set.range (comap f) = s", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Iff.mpr", "CommRing", "CommSemiring.toSemiring", "PrimeSpectrum.ConstructibleSetData", ...
[ "R : Type u\ninst✝ : CommRing R\ns : ConstructibleSetData R\nhs : IsConstructible s.toSet\n⊢ ∃ S x f, Set.range (comap f) = s.toSet" ]
obtain ⟨s, rfl⟩ := exists_constructibleSetData_iff.mpr hs
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.RingTheory.Spectrum.Prime.Chevalley
{ "line": 101, "column": 8 }
{ "line": 101, "column": 12 }
{ "line": 101, "column": 12 }
[ { "pp": "K : Type u_3\nA : Type u_4\nB : Type u_5\ninst✝⁴ : Field K\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra K A\ninst✝ : Algebra K B\nB' : Subalgebra K B\nhB : B'.FG\nf : A ⊗[K] ↥B'\nhU : IsOpen ↑(basicOpen ((Algebra.TensorProduct.map (AlgHom.id A A) B'.val).toRingHom f))\nthis : Algebra.Fin...
[ "K : Type u_3\nA : Type u_4\nB : Type u_5\ninst✝⁴ : Field K\ninst✝³ : CommRing A\ninst✝² : CommRing B\ninst✝¹ : Algebra K A\ninst✝ : Algebra K B\nB' : Subalgebra K B\nhB : B'.FG\nf : A ⊗[K] ↥B'\nhU : IsOpen ↑(basicOpen ((Algebra.TensorProduct.map (AlgHom.id A A) B'.val).toRingHom f))\nthis : Algebra.FinitePresentat...
hψeq
Lean.Elab.Tactic.evalRewriteSeq
null