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.Family.FramedSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeometricMatrixSplitting |
| 3 | |
| 4 | /-! # Framed Section Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FramedSectionEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual frame of a line bundle along a section over Spec R gives |
| 11 | an R-linear evaluation functional, without any field or reducedness |
| 12 | assumption on R. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 18 | variable (p : X ⟶ Spec (.of R)) (L : Line.Bundles.LineBundle X) |
| 19 | variable (x : Spec (.of R) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 20 | variable (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule (Spec (.of R))) |
| 21 | |
| 22 | def affineFramedSectionValue (a : Line.Bundles.structureModule X ⟶ L.sheaf) : R := |
| 23 | (Scheme.ΓSpecIso (.of R)).hom (Family.FramedSectionEvaluation.familyFramedSectionValue L x e a) |
| 24 | |
| 25 | theorem affineFramedSectionValue_add (a b : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 26 | affineFramedSectionValue L x e (a + b) = |
| 27 | affineFramedSectionValue L x e a + affineFramedSectionValue L x e b := by |
| 28 | simp only [affineFramedSectionValue, Family.FramedSectionEvaluation.familyFramedSectionValue_add, map_add] |
| 29 | |
| 30 | include hx in |
| 31 | theorem affineFramedSectionValue_scalar (r : R) (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 32 | affineFramedSectionValue L x e (Scalar.SectionValues.scalarSection (Coefficient.ModulePresheaf.schemeCoefficientMap p r) a) = |
| 33 | r * affineFramedSectionValue L x e a := by |
| 34 | change (Scheme.ΓSpecIso (.of R)).hom |
| 35 | (Family.FramedSectionEvaluation.familyFramedSectionValue L x e (Scalar.SectionValues.scalarSection (p.appTop ((Scheme.ΓSpecIso (.of R)).inv r)) a)) = _ |
| 36 | rw [Family.FramedSectionEvaluation.familyFramedSectionValue_scalar p L x hx e, map_mul] |
| 37 | exact congrArg (fun c : R => c * affineFramedSectionValue L x e a) |
| 38 | (ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of R)).inv_hom_id r) |
| 39 | |
| 40 | def affineFramedSectionEvaluation : |
| 41 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf →ₗ[R] R where |
| 42 | toFun v := affineFramedSectionValue L x e |
| 43 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm v) |
| 44 | map_add' v w := by |
| 45 | rw [map_add] |
| 46 | exact affineFramedSectionValue_add L x e _ _ |
| 47 | map_smul' r v := by |
| 48 | have he : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm (r • v) = |
| 49 | Scalar.SectionValues.scalarSection (Coefficient.ModulePresheaf.schemeCoefficientMap p r) |
| 50 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm v) := by |
| 51 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).injective |
| 52 | rw [AddEquiv.apply_symm_apply, Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar, |
| 53 | AddEquiv.apply_symm_apply] |
| 54 | rw [he] |
| 55 | exact affineFramedSectionValue_scalar p L x hx e r _ |
| 56 | |
| 57 | theorem affineFramedSectionEvaluation_section (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 58 | affineFramedSectionEvaluation p L x hx e |
| 59 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf a) = |
| 60 | affineFramedSectionValue L x e a := by |
| 61 | change affineFramedSectionValue L x e |
| 62 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm |
| 63 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf a)) = _ |
| 64 | rw [AddEquiv.symm_apply_apply] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FramedSectionEvaluation |