ruc-ai4math/mathlib_handler_benchmark_410 huggingface dataset:
-- Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean
𝕜 : Type u_1
inst✝¹⁸ : NontriviallyNormedField 𝕜
E : Type u_2
inst✝¹⁷ : NormedAddCommGroup E
inst✝¹⁶ : NormedSpace 𝕜 E
H : Type u_3
inst✝¹⁵ : TopologicalSpace H
I : ModelWithCorners 𝕜 E H
M : Type u_4
inst✝¹⁴ : TopologicalSpace M
inst✝¹³ : ChartedSpace H M
inst✝¹² : SmoothManifoldWithCorners I M
E' : Type u_5
inst✝¹¹ : NormedAddCommGroup E'
inst✝¹⁰ : NormedSpace 𝕜 E'
H' : Type u_6
inst✝⁹ : TopologicalSpace H'
I' : ModelWithCorners 𝕜 E' H'
M' : Type u_7
inst✝⁸ : TopologicalSpace M'
inst✝⁷ : ChartedSpace H' M'
inst✝⁶ : SmoothManifoldWithCorners I' M'
E'' : Type u_8
inst✝⁵ : NormedAddCommGroup E''
inst✝⁴ : NormedSpace 𝕜 E''
H'' : Type u_9
inst✝³ : TopologicalSpace H''
I'' : ModelWithCorners 𝕜 E'' H''
M'' : Type u_10
inst✝² : TopologicalSpace M''
inst✝¹ : ChartedSpace H'' M''
inst✝ : SmoothManifoldWithCorners I'' M''
s : Set M
x : M
f : M × M' → M''
p : M × M'
hf : MDifferentiableAt (I.prod I') I'' f p

⊢ (mfderiv (I.prod I') I'' f (p.1, p.2)).comp ((ContinuousLinearMap.fst 𝕜 (TangentSpace I p.1) (TangentSpace I' p.2)).prod 0 + ContinuousLinearMap.prod 0 (ContinuousLinearMap.snd 𝕜 (TangentSpace I p.1) (TangentSpace I' p.2))) = mfderiv (I.prod I') I'' f p
-- Mathlib/Geometry/Manifold/MFDeriv/SpecificFunctions.lean
𝕜 : Type u_1
inst✝¹⁸ : NontriviallyNormedField 𝕜
E : Type u_2
inst✝¹⁷ : NormedAddCommGroup E
inst✝¹⁶ : NormedSpace 𝕜 E
H : Type u_3
inst✝¹⁵ : TopologicalSpace H
I : ModelWithCorners 𝕜 E H
M : Type u_4
inst✝¹⁴ : TopologicalSpace M
inst✝¹³ : ChartedSpace H M
inst✝¹² : SmoothManifoldWithCorners I M
E' : Type u_5
inst✝¹¹ : NormedAddCommGroup E'
inst✝¹⁰ : NormedSpace 𝕜 E'
H' : Type u_6
inst✝⁹ : TopologicalSpace H'
I' : ModelWithCorners 𝕜 E' H'
M' : Type u_7
inst✝⁸ : TopologicalSpace M'
inst✝⁷ : ChartedSpace H' M'
inst✝⁶ : SmoothManifoldWithCorners I' M'
E'' : Type u_8
inst✝⁵ : NormedAddCommGroup E''
inst✝⁴ : NormedSpace 𝕜 E''
H'' : Type u_9
inst✝³ : TopologicalSpace H''
I'' : ModelWithCorners 𝕜 E'' H''
M'' : Type u_10
inst✝² : TopologicalSpace M''
inst✝¹ : ChartedSpace H'' M''
inst✝ : SmoothManifoldWithCorners I'' M''
s : Set M
x : M
f : M × M' → M''
p : M × M'
hf : MDifferentiableAt (I.prod I') I'' f p

⊢ (ContinuousLinearMap.fst 𝕜 (TangentSpace I p.1) (TangentSpace I' p.2)).prod 0 + ContinuousLinearMap.prod 0 (ContinuousLinearMap.snd 𝕜 (TangentSpace I p.1) (TangentSpace I' p.2)) = ContinuousLinearMap.id 𝕜 (TangentSpace (I.prod I') (p.1, p.2))
-- Mathlib/Data/Nat/Choose/Multinomial.lean
α : Type u_1
s : Finset α
f : α → ℕ
a b : α
n : ℕ
inst✝ : DecidableEq α
h : a ≠ b

⊢ multinomial {a, b} f = (f a + f b)! / ((f a)! * (f b)!)
-- Mathlib/Geometry/Manifold/PartitionOfUnity.lean
ι : Type uι
E : Type uE
inst✝¹⁰ : NormedAddCommGroup E
inst✝⁹ : NormedSpace ℝ E
inst✝⁸ : FiniteDimensional ℝ E
F : Type uF
inst✝⁷ : NormedAddCommGroup F
inst✝⁶ : NormedSpace ℝ F
H : Type uH
inst✝⁵ : TopologicalSpace H
I : ModelWithCorners ℝ E H
M : Type uM
inst✝⁴ : TopologicalSpace M
inst✝³ : ChartedSpace H M
inst✝² : SmoothManifoldWithCorners I M
inst✝¹ : SigmaCompactSpace M
inst✝ : T2Space M
t✝ : M → Set F
n : ℕ∞
s t : Set M
hs : IsOpen s
ht : IsClosed t
h : t ⊆ s

⊢ ∃ f, Smooth I 𝓘(ℝ, ℝ) f ∧ range f ⊆ Icc 0 1 ∧ support f = s ∧ ∀ (x : M), x ∈ t ↔ f x = 1
-- Mathlib/Geometry/Manifold/PartitionOfUnity.lean
ι : Type uι
E : Type uE
inst✝¹⁰ : NormedAddCommGroup E
inst✝⁹ : NormedSpace ℝ E
inst✝⁸ : FiniteDimensional ℝ E
F : Type uF
inst✝⁷ : NormedAddCommGroup F
inst✝⁶ : NormedSpace ℝ F
H : Type uH
inst✝⁵ : TopologicalSpace H
I : ModelWithCorners ℝ E H
M : Type uM
inst✝⁴ : TopologicalSpace M
inst✝³ : ChartedSpace H M
inst✝² : SmoothManifoldWithCorners I M
inst✝¹ : SigmaCompactSpace M
inst✝ : T2Space M
t✝ : M → Set F
n : ℕ∞
s t : Set M
hs : IsOpen s
ht : IsClosed t
h : t ⊆ s
f : M → ℝ
f_supp : support f = s
f_diff : Smooth I 𝓘(ℝ, ℝ) f
f_pos : ∀ (x : M), 0 ≤ f x

⊢ ∃ f, Smooth I 𝓘(ℝ, ℝ) f ∧ range f ⊆ Icc 0 1 ∧ support f = s ∧ ∀ (x : M), x ∈ t ↔ f x = 1
-- Mathlib/Geometry/Manifold/PartitionOfUnity.lean
ι : Type uι
E : Type uE
inst✝¹⁰ : NormedAddCommGroup E
inst✝⁹ : NormedSpace ℝ E
inst✝⁸ : FiniteDimensional ℝ E
F : Type uF
inst✝⁷ : NormedAddCommGroup F
inst✝⁶ : NormedSpace ℝ F
H : Type uH
inst✝⁵ : TopologicalSpace H
I : ModelWithCorners ℝ E H
M : Type uM
inst✝⁴ : TopologicalSpace M
inst✝³ : ChartedSpace H M
inst✝² : SmoothManifoldWithCorners I M
inst✝¹ : SigmaCompactSpace M
inst✝ : T2Space M
t✝ : M → Set F
n : ℕ∞
s t : Set M
hs : IsOpen s
ht : IsClosed t
h : t ⊆ s
f : M → ℝ
f_supp : support f = s
f_diff : Smooth I 𝓘(ℝ, ℝ) f
f_pos : ∀ (x : M), 0 ≤ f x
g : M → ℝ
g_supp : support g = tᶜ
g_diff : Smooth I 𝓘(ℝ, ℝ) g
g_pos : ∀ (x : M), 0 ≤ g x

⊢ ∃ f, Smooth I 𝓘(ℝ, ℝ) f ∧ range f ⊆ Icc 0 1 ∧ support f = s ∧ ∀ (x : M), x ∈ t ↔ f x = 1
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)

⊢ ∃ x' ∈ Ioo x₀ x, f x - taylorWithinEval f n (Icc x₀ x) x₀ x = iteratedDerivWithin (n + 1) f (Icc x₀ x) x' * (x - x') ^ n / ↑n ! * (x - x₀)
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)
gdiff : ∀ x_1 ∈ Ioo x₀ x, HasDerivAt id ((fun x => 1) x_1) x_1

⊢ ∃ x' ∈ Ioo x₀ x, f x - taylorWithinEval f n (Icc x₀ x) x₀ x = iteratedDerivWithin (n + 1) f (Icc x₀ x) x' * (x - x') ^ n / ↑n ! * (x - x₀)
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)
gdiff : ∀ x_1 ∈ Ioo x₀ x, HasDerivAt id ((fun x => 1) x_1) x_1
y : ℝ
hy : y ∈ Ioo x₀ x
h : f x - taylorWithinEval f n (Icc x₀ x) x₀ x = ((x - y) ^ n / ↑n ! * (id x - id x₀) / 1) • iteratedDerivWithin (n + 1) f (Icc x₀ x) y

⊢ ∃ x' ∈ Ioo x₀ x, f x - taylorWithinEval f n (Icc x₀ x) x₀ x = iteratedDerivWithin (n + 1) f (Icc x₀ x) x' * (x - x') ^ n / ↑n ! * (x - x₀)
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)
gdiff : ∀ x_1 ∈ Ioo x₀ x, HasDerivAt id ((fun x => 1) x_1) x_1
y : ℝ
hy : y ∈ Ioo x₀ x
h : f x - taylorWithinEval f n (Icc x₀ x) x₀ x = ((x - y) ^ n / ↑n ! * (id x - id x₀) / 1) • iteratedDerivWithin (n + 1) f (Icc x₀ x) y

⊢ f x - taylorWithinEval f n (Icc x₀ x) x₀ x = iteratedDerivWithin (n + 1) f (Icc x₀ x) y * (x - y) ^ n / ↑n ! * (x - x₀)
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)
gdiff : ∀ x_1 ∈ Ioo x₀ x, HasDerivAt id ((fun x => 1) x_1) x_1
y : ℝ
hy : y ∈ Ioo x₀ x
h : f x - taylorWithinEval f n (Icc x₀ x) x₀ x = ((x - y) ^ n / ↑n ! * (id x - id x₀) / 1) • iteratedDerivWithin (n + 1) f (Icc x₀ x) y

⊢ ((x - y) ^ n / ↑n ! * (id x - id x₀) / 1) • iteratedDerivWithin (n + 1) f (Icc x₀ x) y = iteratedDerivWithin (n + 1) f (Icc x₀ x) y * (x - y) ^ n / ↑n ! * (x - x₀)
-- Mathlib/Analysis/Calculus/Taylor.lean
𝕜 : Type u_1
E : Type u_2
F : Type u_3
inst✝¹ : NormedAddCommGroup E
inst✝ : NormedSpace ℝ E
f : ℝ → ℝ
x x₀ : ℝ
n : ℕ
hx : x₀ < x
hf : ContDiffOn ℝ (↑n) f (Icc x₀ x)
hf' : DifferentiableOn ℝ (iteratedDerivWithin n f (Icc x₀ x)) (Ioo x₀ x)
gcont : ContinuousOn id (Icc x₀ x)
gdiff : ∀ x_1 ∈ Ioo x₀ x, HasDerivAt id ((fun x => 1) x_1) x_1
y : ℝ
hy : y ∈ Ioo x₀ x
h : f x - taylorWithinEval f n (Icc x₀ x) x₀ x = ((x - y) ^ n / ↑n ! * (id x - id x₀) / 1) • iteratedDerivWithin (n + 1) f (Icc x₀ x) y

⊢ (x - y) ^ n * (x - x₀) * iteratedDerivWithin (n + 1) f (Icc x₀ x) y = iteratedDerivWithin (n + 1) f (Icc x₀ x) y * (x - y) ^ n * (x - x₀)
-- Mathlib/Analysis/Complex/UpperHalfPlane/Metric.lean
z✝ w✝ : ℍ
r R : ℝ
z w : ℍ

⊢ dist z w = dist w z
-- Mathlib/Algebra/Polynomial/Degree/Definitions.lean
R : Type u
S : Type v
a b c d : R
n m : ℕ
inst✝ : Semiring R
p✝ p q : R[X]
ι : Type u_1
h : p.degree < q.degree

⊢ (p + q).leadingCoeff = q.leadingCoeff
-- Mathlib/Algebra/Polynomial/Degree/Definitions.lean
R : Type u
S : Type v
a b c d : R
n m : ℕ
inst✝ : Semiring R
p✝ p q : R[X]
ι : Type u_1
h : p.degree < q.degree
this : p.coeff q.natDegree = 0

⊢ (p + q).leadingCoeff = q.leadingCoeff
-- Mathlib/Data/Finset/Sort.lean
α : Type u_1
β : Type u_2
inst✝ : LinearOrder α
s : Finset α
h : (sort (fun x x_1 => x ≤ x_1) s).length - 1 < (sort (fun x x_1 => x ≤ x_1) s).length
H : s.Nonempty
l : List α := sort (fun x x_1 => x ≤ x_1) s

⊢ (sort (fun x x_1 => x ≤ x_1) s).get ⟨(sort (fun x x_1 => x ≤ x_1) s).length - 1, h⟩ = s.max' H
-- Mathlib/Data/Finset/Sort.lean
α : Type u_1
β : Type u_2
inst✝ : LinearOrder α
s : Finset α
h : (sort (fun x x_1 => x ≤ x_1) s).length - 1 < (sort (fun x x_1 => x ≤ x_1) s).length
H : s.Nonempty
l : List α := sort (fun x x_1 => x ≤ x_1) s

⊢ (sort (fun x x_1 => x ≤ x_1) s).get ⟨(sort (fun x x_1 => x ≤ x_1) s).length - 1, h⟩ ≤ s.max' H
-- Mathlib/Data/Finset/Sort.lean
α : Type u_1
β : Type u_2
inst✝ : LinearOrder α
s : Finset α
h : (sort (fun x x_1 => x ≤ x_1) s).length - 1 < (sort (fun x x_1 => x ≤ x_1) s).length
H : s.Nonempty
l : List α := sort (fun x x_1 => x ≤ x_1) s

⊢ s.max' H ≤ (sort (fun x x_1 => x ≤ x_1) s).get ⟨(sort (fun x x_1 => x ≤ x_1) s).length - 1, h⟩
-- Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean
w x✝ y✝ z✝ : ℝ
x : ℝ≥0
y z : ℝ
hy : 0 ≤ y
hz : 0 ≤ z

⊢ ↑(x ^ (y + z)) = ↑(x ^ y * x ^ z)
-- Mathlib/NumberTheory/EulerProduct/Basic.lean
R : Type u_1
inst✝¹ : NormedCommRing R
inst✝ : CompleteSpace R
f : ℕ → R
hf₁ : f 1 = 1
hmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n
hsum : ∀ {p : ℕ}, Nat.Prime p → Summable fun n => ‖f (p ^ n)‖
s : Finset ℕ

⊢ (Summable fun m => ‖f ↑m‖) ∧ HasSum (fun m => f ↑m) (∏ p ∈ filter Nat.Prime s, ∑' (n : ℕ), f (p ^ n))
-- Mathlib/NumberTheory/EulerProduct/Basic.lean
R : Type u_1
inst✝¹ : NormedCommRing R
inst✝ : CompleteSpace R
f : ℕ → R
hf₁ : f 1 = 1
hmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n
hsum : ∀ {p : ℕ}, Nat.Prime p → Summable fun n => ‖f (p ^ n)‖

⊢ (Summable fun m => ‖f ↑m‖) ∧ HasSum (fun m => f ↑m) (∏ p ∈ filter Nat.Prime ∅, ∑' (n : ℕ), f (p ^ n))
-- Mathlib/NumberTheory/EulerProduct/Basic.lean
R : Type u_1
inst✝¹ : NormedCommRing R
inst✝ : CompleteSpace R
f : ℕ → R
hf₁ : f 1 = 1
hmul : ∀ {m n : ℕ}, m.Coprime n → f (m * n) = f m * f n
hsum : ∀ {p : ℕ}, Nat.Prime p → Summable fun n => ‖f (p ^ n)‖
p : ℕ
s : Finset ℕ
hp : p ∉ s
ih : (Summable fun m => ‖f ↑m‖) ∧ HasSum (fun m => f ↑m) (∏ p ∈ filter Nat.Prime s, ∑' (n : ℕ), f (p ^ n))

⊢ (Summable fun m => ‖f ↑m‖) ∧ HasSum (fun m => f ↑m) (∏ p ∈ filter Nat.Prime (insert p s), ∑' (n : ℕ), f (p ^ n))
-- Mathlib/AlgebraicGeometry/EllipticCurve/Projective.lean
R : Type u
inst✝ : CommRing R
W : Projective R
P : Fin 3 → R

⊢ (eval P) W.polynomialY = 2 * P 1 * P 2 + W.a₁ * P 0 * P 2 + W.a₃ * P 2 ^ 2
-- Mathlib/AlgebraicGeometry/EllipticCurve/Projective.lean
R : Type u
inst✝ : CommRing R
W : Projective R
P : Fin 3 → R

⊢ (eval P) (C 2 * X 1 * X 2 + C W.a₁ * X 0 * X 2 + C W.a₃ * X 2 ^ 2) = 2 * P 1 * P 2 + W.a₁ * P 0 * P 2 + W.a₃ * P 2 ^ 2
-- Mathlib/Data/ZMod/Basic.lean
m✝ n✝ m n : ℕ
hm : NeZero m
h : m ≤ n
a : ZMod m

⊢ a.cast.cast = a
-- Mathlib/Data/ZMod/Basic.lean
m✝ n✝ m n : ℕ
hm : NeZero m
h : m ≤ n
a : ZMod m
this : NeZero n

⊢ a.cast.cast = a
-- Mathlib/Data/Fin/Basic.lean
n m : ℕ
j : Fin n
i : Fin (n + 1)
hi : i ≠ 0

⊢ i.pred hi ≤ j ↔ i ≤ j.succ
-- Mathlib/Data/Set/Image.lean
α : Type u_1
β : Type u_2
γ : Type u_3
ι : Sort u_4
ι' : Sort u_5
f : α → β
s t✝ : Set α
t : Set β

⊢ t ⊆ f '' s ↔ ∃ u ⊆ s, f '' u = t
-- Mathlib/Data/Set/Image.lean
α : Type u_1
β : Type u_2
γ : Type u_3
ι : Sort u_4
ι' : Sort u_5
f : α → β
s t✝ : Set α
t : Set β
h : t ⊆ f '' s

⊢ f '' (f ⁻¹' t ∩ s) = t
-- .lake/packages/batteries/Batteries/Data/List/Lemmas.lean
α : Type u_1
p : α → Option α
b✝ : α
l : List α
a a' : α
al✝ : a ∈ b✝ :: l
pa : p a = some a'
b : α
al : Mem a l
pb : p b = none
c c' : α
l₁ l₂ : List α
h₁ : ∀ (b : α), b ∈ l₁ → p b = none
h₂ : p c = some c'
h₃ : l = l₁ ++ c :: l₂
h₄ : replaceF p l = l₁ ++ c' :: l₂

⊢ b :: l = b :: l₁ ++ c :: l₂
-- Mathlib/Algebra/Homology/Refinements.lean
C : Type u_1
ι : Type u_2
inst✝¹ : Category.{u_3, u_1} C
inst✝ : Abelian C
c : ComplexShape ι
K : HomologicalComplex C c
A : C
i : ι
γ : A ⟶ K.homology i

⊢ ∃ A' π, ∃ (_ : Epi π), ∃ z, ∃ (hz : z ≫ K.d i (c.next i) = 0), π ≫ γ = K.liftCycles z (c.next i) ⋯ hz ≫ K.homologyπ i
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
U : TopologicalSpace.Opens ↑(Spec.topObj R)
hp : p ∈ U
s : (forget CommRingCat).obj (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op U))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hp⟩) s = y

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
U : TopologicalSpace.Opens ↑(Spec.topObj R)
hp : p ∈ U
s : (forget CommRingCat).obj (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op U))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hp⟩) s = y
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
hrU : PrimeSpectrum.basicOpen r ≤ U

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
U : TopologicalSpace.Opens ↑(Spec.topObj R)
hp : p ∈ U
s : (forget CommRingCat).obj (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op U))
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
hrU : PrimeSpectrum.basicOpen r ≤ U
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE hrU).op) s) = y

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1

⊢ ∃ x, x.2 • y = (toPushforwardStalkAlgHom R S p) x.1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1

⊢ (s, ⟨r, hpr⟩ ^ n).2 • y = (toPushforwardStalkAlgHom R S p) (s, ⟨r, hpr⟩ ^ n).1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1

⊢ (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, trivial⟩) ((toOpen ↑S ⊤) ((algebraMap ↑R ↑S) ↑(s, ⟨r, hpr⟩ ^ n).2)) * y = (toPushforwardStalkAlgHom R S p) (s, ⟨r, hpr⟩ ^ n).1
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1

⊢ (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) ((algebraMap ↑R ↑S) ↑(s, ⟨r, hpr⟩ ^ n).2))) * y = (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) (s, ⟨r, hpr⟩ ^ n).1))
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f✝ : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1
f : ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)) ⟶ ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk ↑⟨p, hpr⟩ := ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩

⊢ f ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) ((algebraMap ↑R ↑S) ↑(s, ⟨r, hpr⟩ ^ n).2))) * f s' = f ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) (s, ⟨r, hpr⟩ ^ n).1))
-- Mathlib/AlgebraicGeometry/Spec.lean
R S : CommRingCat
f✝ : R ⟶ S
p : PrimeSpectrum ↑R
inst✝ : Algebra ↑R ↑S
y : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk p)
r : ↑R
hpr : p ∈ PrimeSpectrum.basicOpen r
s' : ↑(((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)))
e : (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩) s' = y
s : ↑S
n : ℕ
hsn : s' * (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) ↑(s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).2 = (algebraMap ↑S ↑((structureSheaf ↑S).val.obj (op (PrimeSpectrum.basicOpen ((algebraMap ↑R ↑S) r))))) (s, ⟨(fun x => (algebraMap ↑R ↑S) r ^ x) n, ⋯⟩).1
f : ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).obj (op (PrimeSpectrum.basicOpen r)) ⟶ ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).stalk ↑⟨p, hpr⟩ := ((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).germ ⟨p, hpr⟩

⊢ f (s' * (((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) ((algebraMap ↑R ↑S) ↑(s, ⟨r, hpr⟩ ^ n).2))) = f ((((TopCat.Presheaf.pushforward CommRingCat (Spec.topMap (algebraMap ↑R ↑S))).obj (structureSheaf ↑S).val).map (homOfLE ⋯).op) ((toOpen ↑S ⊤) (s, ⟨r, hpr⟩ ^ n).1))