Lean formalization of the Riemann Hypothesis (Alpöge, 2026-11-20) being cleaned up by members of the Lean community.
Python
style: wrap the smooth chart extraction
alkor2000926433685481
diff --git a/src/Lib/General/Geometry/GeometricPoints.lean b/src/Lib/General/Geometry/GeometricPoints.leanindex ed0b7c10807..ec29e8cbf64 100644--- a/src/Lib/General/Geometry/GeometricPoints.lean+++ b/src/Lib/General/Geometry/GeometricPoints.lean@@ -164,7 +164,8 @@ lemma AddObj.smoothOfRelativeDimension_of_fibres {S : Scheme} {κ : Type} {g :-- dimension `n`; by `property_of_isOpenImmersion` the whole fibre has dimension `n`, and `n = g`-- by `h_dim`.refine ⟨fun x ↦ ?_⟩- obtain ⟨n, U, hU, V, hV, hxV, hVU, hn⟩ := A.hom.exists_isStandardSmoothOfRelativeDimension_of_smooth x+ obtain ⟨n, U, hU, V, hV, hxV, hVU, hn⟩ :=+ A.hom.exists_isStandardSmoothOfRelativeDimension_of_smooth xlet c : Spec (.of ℂ) := IsLocalRing.closedPoint ℂobtain ⟨i, hi⟩ : ∃ i : κ, (y i).left c ∈ V := hy.exists_mem_open V.isOpen ⟨x, hxV⟩suffices h_fibre : SmoothOfRelativeDimension n (snd A.hom (η i)) by