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.BasisPullbackSectionSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ScalarSectionGlobalValue |
| 3 | |
| 4 | /-! # Basis Section Ratio Subring -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSectionRatioSubring |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ratios of a basis generate the ratios of every section once the |
| 11 | structural field scalars are included. All coordinates use actual pullback frames. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | universe u v |
| 15 | variable {X : Scheme.{u}} {M : X.Modules} |
| 16 | |
| 17 | private def ratioFrameCoordinateAddHom {Y : Scheme.{u}} {N : Y.Modules} |
| 18 | (e : Line.Bundles.structureModule Y ⟶ N) [IsIso e] : (Line.Bundles.structureModule Y ⟶ N) →+ Γ(Y, ⊤) where |
| 19 | toFun t := Frame.Coordinates.frameCoordinate e t |
| 20 | map_zero' := by |
| 21 | change Frame.Coordinates.structureModuleEndValue Y (0 ≫ inv e) = 0 |
| 22 | rw [zero_comp, map_zero] |
| 23 | map_add' t v := by |
| 24 | change Frame.Coordinates.structureModuleEndValue Y ((t + v) ≫ inv e) = _ |
| 25 | rw [Preadditive.add_comp, map_add] |
| 26 | rfl |
| 27 | |
| 28 | private def ratioPullbackAddHom (s : Line.Bundles.structureModule X ⟶ M) : |
| 29 | (Line.Bundles.structureModule X ⟶ M) →+ Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤) := |
| 30 | (ratioFrameCoordinateAddHom (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι s)).comp |
| 31 | (BasisPullbackSectionSurjectivity.pullbackSectionAddHom (Ample.LineBundles.sectionNonvanishing s).ι M) |
| 32 | |
| 33 | def sectionRatioAddHom (s : Line.Bundles.structureModule X ⟶ M) : |
| 34 | (Line.Bundles.structureModule X ⟶ M) →+ Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤) where |
| 35 | toFun := Section.Frames.sectionRatio s |
| 36 | map_zero' := by |
| 37 | rw [Frame.Coordinates.sectionRatio_eq_frameCoordinate] |
| 38 | exact (ratioPullbackAddHom s).map_zero |
| 39 | map_add' t v := by |
| 40 | simp only [Frame.Coordinates.sectionRatio_eq_frameCoordinate] |
| 41 | exact (ratioPullbackAddHom s).map_add t v |
| 42 | |
| 43 | theorem sectionRatio_coefficientScalar {K : Type u} [Field K] |
| 44 | (p : X ⟶ Spec (.of K)) (s t : Line.Bundles.structureModule X ⟶ M) (c : K) : |
| 45 | Section.Frames.sectionRatio s (Coefficient.ScalarSections.coefficientScalarSection p c t) = |
| 46 | Coefficient.ModulePresheaf.schemeCoefficientMap ((Ample.LineBundles.sectionNonvanishing s).ι ≫ p) c * Section.Frames.sectionRatio s t := by |
| 47 | rw [Frame.Coordinates.sectionRatio_eq_frameCoordinate, Frame.Coordinates.sectionRatio_eq_frameCoordinate, |
| 48 | BasisPullbackSectionSurjectivity.pullbackSection_coefficientScalar] |
| 49 | let U := Ample.LineBundles.sectionNonvanishing s |
| 50 | change Frame.Coordinates.structureModuleEndValue U.toScheme |
| 51 | (Coefficient.ScalarSections.coefficientScalarSection (U.ι ≫ p) c (Ample.LineBundles.pullbackSection U.ι t) ≫ inv (Ample.LineBundles.pullbackSection U.ι s)) = _ |
| 52 | rw [BasisPullbackSectionSurjectivity.coefficientScalarSection_postcomp] |
| 53 | exact HilbertConstruction.Field.ScalarSectionGlobalValue.coefficientScalarSection_globalValue (U.ι ≫ p) c |
| 54 | (Ample.LineBundles.pullbackSection U.ι t ≫ inv (Ample.LineBundles.pullbackSection U.ι s)) |
| 55 | |
| 56 | theorem sectionRatio_mem_of_basis {K : Type u} [Field K] |
| 57 | (p : X ⟶ Spec (.of K)) (s : Line.Bundles.structureModule X ⟶ M) |
| 58 | {ι : Type v} [Fintype ι] |
| 59 | (b : Module.Basis ι K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M)) |
| 60 | (C : Subring Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) |
| 61 | (hc : ∀ c : K, Coefficient.ModulePresheaf.schemeCoefficientMap ((Ample.LineBundles.sectionNonvanishing s).ι ≫ p) c ∈ C) |
| 62 | (hb : ∀ i, Section.Frames.sectionRatio s (BasisSectionGeneration.sectionBasisFamily p M b i) ∈ C) |
| 63 | (t : Line.Bundles.structureModule X ⟶ M) : Section.Frames.sectionRatio s t ∈ C := by |
| 64 | rw [BasisSectionGeneration.section_eq_basis_linearCombination p M b t] |
| 65 | change sectionRatioAddHom s (∑ i, |
| 66 | Coefficient.ScalarSections.coefficientScalarSection p (b.repr (BasisSectionGeneration.coefficientSectionAddEquiv p M t) i) |
| 67 | (BasisSectionGeneration.sectionBasisFamily p M b i)) ∈ C |
| 68 | rw [map_sum] |
| 69 | apply C.sum_mem |
| 70 | intro i _ |
| 71 | change Section.Frames.sectionRatio s (Coefficient.ScalarSections.coefficientScalarSection p _ (BasisSectionGeneration.sectionBasisFamily p M b i)) ∈ C |
| 72 | rw [sectionRatio_coefficientScalar] |
| 73 | exact C.mul_mem (hc _) (hb i) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSectionRatioSubring |