theorem
L30 ↗residue_germ_surjective
AlgebraicCurves.Places.Proofs.Place_isRational_of_range_stalk_section_eq.RatPlaceAux.residue_germ_surjective
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_isRational_of_range_stalk_section_eq
universe u
open CategoryTheory AlgebraicGeometry IsLocalRing Opposite
namespace RatPlaceAuxLean source · full declaration
theorem residue_germ_surjective (k : Type u) [Field k] :
Function.Surjective (fun t : Γ(Spec (CommRingCat.of k), ⊤) =>
(Spec (CommRingCat.of k)).residue (closedPoint k)
((Spec (CommRingCat.of k)).presheaf.germ ⊤ (closedPoint k) trivial t)) := by
intro z
obtain ⟨s, rfl⟩ := (Spec (CommRingCat.of k)).residue_surjective (closedPoint k) z
obtain ⟨U, hU, t, rfl⟩ := TopCat.Presheaf.exists_germ_eq (Spec (CommRingCat.of k)).presheaf s
have hUtop : U = ⊤ := by
ext y
simp only [TopologicalSpace.Opens.coe_top, Set.mem_univ, iff_true]
rw [Subsingleton.elim y (closedPoint k)]
exact hU
subst hUtop
exact ⟨t, rfl⟩