Skip to content

Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.

Python

refactor(Lib/General/Geometry): use Tau Ceti for principal opens that cover the spectrum

alkor2000f78759001e3a
diff --git a/src/Lib/General/Geometry/LineBundles.lean b/src/Lib/General/Geometry/LineBundles.lean
index 2401c31c1d4..009f6d72463 100644
--- a/src/Lib/General/Geometry/LineBundles.lean
+++ b/src/Lib/General/Geometry/LineBundles.lean
@@ -11,6 +11,7 @@ import Mathlib.CategoryTheory.EffectiveEpi.Comp
import Mathlib.CategoryTheory.ExtremalEpi
import Mathlib.RingTheory.FreeCommRing
import TauCeti.AlgebraicGeometry.Scheme.AffinePoints
+import TauCeti.RingTheory.Spectrum.Prime.Topology
public import Lib.Speed
/-!
@@ -452,10 +453,8 @@ lemma landsIn_basicOpen (h : LandsIn t U) (s : Γ(X, U)) :
have h_preimage : t ⁻¹ᵁ X.basicOpen s = PrimeSpectrum.basicOpen (evalSection t h s) := by
rw [← top_inf_eq (t ⁻¹ᵁ X.basicOpen s), ← basicOpen_appLE t ⊤ U h s]
exact basicOpen_eq_of_affine' (t.appLE U ⊤ h s)
- have h_unit (a : A) : PrimeSpectrum.basicOpen a = ⊤ ↔ IsUnit a := by
- simpa using PrimeSpectrum.iSup_basicOpen_eq_top_iff (f := ![a])
rw [LandsIn, top_le_iff, h_preimage, ofSection_eq h]
- exact h_unit _
+ exact PrimeSpectrum.basicOpen_eq_top_iff _
/-- The value at `t` of the pull-back of a global section `c` along `p : Y ⟶ X` is the value of `c`
at `t ≫ p`. -/