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.Affine.FramedSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.SectionValueChange |
| 3 | |
| 4 | /-! # Framed Evaluation Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FramedEvaluationZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Framed affine evaluation retains exact zero sections, and a frame |
| 11 | section evaluates to a unit. Both statements hold over arbitrary rings. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 17 | variable (L : Line.Bundles.LineBundle X) (x : Spec (.of R) ⟶ X) |
| 18 | variable (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule (Spec (.of R))) |
| 19 | |
| 20 | theorem affineFramedSectionValue_eq_zero_iff (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 21 | FramedSectionEvaluation.affineFramedSectionValue L x e a = 0 ↔ Ample.LineBundles.pullbackSection x a = 0 := by |
| 22 | constructor |
| 23 | · intro ha |
| 24 | have hv : Frame.Coordinates.structureModuleEndValue (Spec (.of R)) (Ample.LineBundles.pullbackSection x a ≫ e.hom) = 0 := by |
| 25 | apply (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv.injective |
| 26 | exact ha.trans (map_zero _).symm |
| 27 | have hh : Ample.LineBundles.pullbackSection x a ≫ e.hom = 0 := by |
| 28 | apply (Global.Sections.structureModuleEndRingEquiv (Spec (.of R))).injective |
| 29 | exact hv.trans (map_zero _).symm |
| 30 | apply (cancel_mono e.hom).mp |
| 31 | simpa only [zero_comp] using hh |
| 32 | · intro ha |
| 33 | simp only [FramedSectionEvaluation.affineFramedSectionValue, Family.FramedSectionEvaluation.familyFramedSectionValue, ha, zero_comp, map_zero] |
| 34 | |
| 35 | theorem affineFramedSectionValue_isUnit_of_frame (a : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 36 | [IsIso (Ample.LineBundles.pullbackSection x a)] : IsUnit (FramedSectionEvaluation.affineFramedSectionValue L x e a) := by |
| 37 | have hu : IsUnit (Frame.Coordinates.structureModuleEndValue (Spec (.of R)) (Ample.LineBundles.pullbackSection x a ≫ e.hom)) := |
| 38 | (Global.Sections.structureModuleEnd_isIso_iff (Ample.LineBundles.pullbackSection x a ≫ e.hom)).mp inferInstance |
| 39 | exact hu.map (Scheme.ΓSpecIso (.of R)).hom.hom |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FramedEvaluationZero |