Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FiberEuler |
| 2 | |
| 3 | /-! # Fiber Euler -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.FiberEuler |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Genuine fiber Euler characteristic is locally constant on every locally Noetherian base of a proper flat line-bundle family. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem locallyNoetherian_properFlat_fiberEuler_isLocallyConstant |
| 14 | {X S : Scheme.{u}} [IsLocallyNoetherian S] |
| 15 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) : |
| 16 | IsLocallyConstant (Geometric.FiberEuler.fiberEulerCharacteristic f L) := by |
| 17 | have hlocal (U : S.affineOpens) : |
| 18 | IsLocallyConstant (fun y : U.1.toScheme => Geometric.FiberEuler.fiberEulerCharacteristic f L (U.1.ι y)) := by |
| 19 | have : IsAffine U.1.toScheme := U.2 |
| 20 | have : IsLocallyNoetherian U.1.toScheme := LocallyOfFiniteType.isLocallyNoetherian U.1.ι |
| 21 | have : IsNoetherianRing Γ(U.1.toScheme, ⊤) := |
| 22 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top U.1.toScheme⟩ |
| 23 | let H := IsPullback.of_hasPullback f U.1.ι |
| 24 | have hfun : (fun y : U.1.toScheme => Geometric.FiberEuler.fiberEulerCharacteristic f L (U.1.ι y)) = |
| 25 | Geometric.FiberEuler.fiberEulerCharacteristic (pullback.snd f U.1.ι) (L.pullback (pullback.fst f U.1.ι)) := by |
| 26 | funext y |
| 27 | exact (Open.FiberEuler.fiberEulerCharacteristic_openBaseChange H L y).symm |
| 28 | rw [hfun] |
| 29 | exact ProperFlat.FiberEuler.properFlat_fiberEuler_isLocallyConstant (pullback.snd f U.1.ι) (L.pullback (pullback.fst f U.1.ι)) |
| 30 | apply (IsLocallyConstant.iff_exists_open (Geometric.FiberEuler.fiberEulerCharacteristic f L)).mpr |
| 31 | intro x |
| 32 | have hx : x ∈ iSup (fun U : S.affineOpens => U.1) := by rw [iSup_affineOpens_eq_top]; trivial |
| 33 | obtain ⟨U, hUx⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 34 | let xU : U.1.toScheme := ⟨x, hUx⟩ |
| 35 | obtain ⟨V, hV, hxV, hconst⟩ := (hlocal U).exists_open xU |
| 36 | refine ⟨U.1.ι '' V, U.1.ι.isOpenMap V hV, ⟨xU, hxV, rfl⟩, ?_⟩ |
| 37 | rintro z ⟨y, hy, rfl⟩ |
| 38 | exact hconst y hy |
| 39 | |
| 40 | theorem locallyNoetherian_properFlat_groundFieldFiberEuler_isLocallyConstant |
| 41 | {X S : Scheme.{u}} [IsLocallyNoetherian S] |
| 42 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) : |
| 43 | IsLocallyConstant (fun x : S => |
| 44 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (f.fiberToSpecResidueField x) (L.pullback (f.fiberι x)).sheaf) := by |
| 45 | have hfun : (fun x : S => |
| 46 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (f.fiberToSpecResidueField x) (L.pullback (f.fiberι x)).sheaf) = |
| 47 | Geometric.FiberEuler.fiberEulerCharacteristic f L := by |
| 48 | funext x |
| 49 | exact (FiberEulerGroundField.fiberEulerCharacteristic_eq_groundField f L x).symm |
| 50 | rw [hfun] |
| 51 | exact locallyNoetherian_properFlat_fiberEuler_isLocallyConstant f L |
| 52 | |
| 53 | theorem locallyNoetherian_properFlat_fiberEuler_eq_of_preconnected |
| 54 | {X S : Scheme.{u}} [IsLocallyNoetherian S] [PreconnectedSpace S] |
| 55 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) (x y : S) : |
| 56 | Geometric.FiberEuler.fiberEulerCharacteristic f L x = Geometric.FiberEuler.fiberEulerCharacteristic f L y := |
| 57 | (locallyNoetherian_properFlat_fiberEuler_isLocallyConstant f L).apply_eq_of_preconnectedSpace x y |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.FiberEuler |