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.LineBundle.NonvanishingBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.RingSectionBasis |
| 3 | |
| 4 | /-! # Framed Section Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.FramedSectionEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A section of a family and a frame of its pulled-back line bundle |
| 11 | give a linear evaluation map over the actual global ring of the base. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {S X : Scheme.{u}} (p : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 17 | variable (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) |
| 18 | variable (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule S) |
| 19 | |
| 20 | def familyFramedSectionValue (a : Line.Bundles.structureModule X ⟶ L.sheaf) : Γ(S, ⊤) := |
| 21 | Frame.Coordinates.structureModuleEndValue S (Ample.LineBundles.pullbackSection x a ≫ e.hom) |
| 22 | |
| 23 | theorem familyFramedSectionValue_add (a b : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 24 | familyFramedSectionValue L x e (a + b) = |
| 25 | familyFramedSectionValue L x e a + familyFramedSectionValue L x e b := by |
| 26 | unfold familyFramedSectionValue |
| 27 | erw [Section.NonvanishingAddition.pullbackSection_add, Preadditive.add_comp, map_add] |
| 28 | |
| 29 | include hx in |
| 30 | theorem familyFramedSectionValue_scalar (r : Γ(S, ⊤)) (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 31 | familyFramedSectionValue L x e (Scalar.SectionValues.scalarSection (p.appTop r) a) = |
| 32 | r * familyFramedSectionValue L x e a := by |
| 33 | have hc : x.appTop (p.appTop r) = r := by |
| 34 | change (x ≫ p).appTop r = r |
| 35 | rw [hx] |
| 36 | rfl |
| 37 | unfold familyFramedSectionValue |
| 38 | rw [Coefficient.RingSectionBasis.pullbackSection_scalarSection, hc] |
| 39 | rw [show Scalar.SectionValues.scalarSection r (Ample.LineBundles.pullbackSection x a) ≫ e.hom = |
| 40 | Scalar.SectionValues.scalarSection r (Ample.LineBundles.pullbackSection x a ≫ e.hom) from Category.assoc _ _ _] |
| 41 | exact Scalar.SectionValues.scalarSection_globalValue r (Ample.LineBundles.pullbackSection x a ≫ e.hom) |
| 42 | |
| 43 | def familyFramedSectionEvaluation : |
| 44 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj L.sheaf →ₗ[Γ(S, ⊤)] Γ(S, ⊤) where |
| 45 | toFun v := familyFramedSectionValue L x e |
| 46 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf).symm v) |
| 47 | map_add' v w := by |
| 48 | erw [map_add] |
| 49 | exact familyFramedSectionValue_add L x e _ _ |
| 50 | map_smul' r v := by |
| 51 | have he : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf).symm (r • v) = |
| 52 | Scalar.SectionValues.scalarSection (p.appTop r) ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf).symm v) := by |
| 53 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf).injective |
| 54 | erw [AddEquiv.apply_symm_apply, Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar, |
| 55 | AddEquiv.apply_symm_apply] |
| 56 | rw [he] |
| 57 | exact familyFramedSectionValue_scalar p L x hx e r _ |
| 58 | |
| 59 | theorem familyFramedSectionEvaluation_section (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 60 | familyFramedSectionEvaluation p L x hx e (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf a) = |
| 61 | familyFramedSectionValue L x e a := by |
| 62 | change familyFramedSectionValue L x e |
| 63 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf).symm |
| 64 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv p.appTop.hom L.sheaf a)) = _ |
| 65 | rw [AddEquiv.symm_apply_apply] |
| 66 | |
| 67 | theorem familyFramedSectionValue_nonvanishing (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 68 | S.basicOpen (familyFramedSectionValue L x e a) = x ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing a := by |
| 69 | unfold familyFramedSectionValue |
| 70 | rw [← Scalar.Nonvanishing.sectionNonvanishing_scalar, Ample.Powers.sectionNonvanishing_comp_iso, LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange x L a] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.FramedSectionEvaluation |