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.Flat.BundleSectionBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ScalarSectionValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionValueAdditive |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Finiteness |
| 5 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 6 | |
| 7 | /-! # Affine Section Spanning -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AffineSectionSpanning |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Flat affine base change expresses every actual line-bundle section as a finite linear combination of pulled-back sections with changed-base functions as coefficients. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem flat_affinePullback_sections_spanned |
| 20 | {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] [CompactSpace X] |
| 21 | [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 22 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 23 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) [Flat g] |
| 24 | (t : Line.Bundles.structureModule P ⟶ (L.pullback a).sheaf) : |
| 25 | ∃ (k : ℕ) (c : Fin k → Γ(Y, ⊤)) (s : Fin k → (Line.Bundles.structureModule X ⟶ L.sheaf)), |
| 26 | t = ∑ i, Scalar.SectionValues.scalarSection (b.appTop (c i)) (Ample.LineBundles.pullbackSection a (s i)) := by |
| 27 | have : Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) := |
| 28 | RingHom.flat_algebraMap_iff.mp g.flat_appTop |
| 29 | let F : TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 30 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (.op ⊤)) →+ |
| 31 | Γ((L.pullback a).sheaf, ⊤) := |
| 32 | ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (.op ⊤)).hom.toAddMonoidHom |
| 33 | have hF : Function.Surjective F := (BundleSectionBaseChange.flat_lineBundleTensorComparison_bijective H L).surjective |
| 34 | obtain ⟨z, hz⟩ := hF (Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf t) |
| 35 | obtain ⟨k, c, x, hzx⟩ := TensorProduct.exists_sum_tmul_eq z |
| 36 | let s : Fin k → (Line.Bundles.structureModule X ⟶ L.sheaf) := fun i => (Global.Sections.moduleSectionHomEquiv L.sheaf).symm (x i) |
| 37 | refine ⟨k, c, s, (Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf).injective ?_⟩ |
| 38 | calc |
| 39 | Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf t = F z := hz.symm |
| 40 | _ = F (∑ i, c i ⊗ₜ[Γ(S, ⊤)] x i) := congrArg F hzx |
| 41 | _ = ∑ i, F (c i ⊗ₜ[Γ(S, ⊤)] x i) := map_sum F _ _ |
| 42 | _ = ∑ i, Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf |
| 43 | (Scalar.SectionValues.scalarSection (b.appTop (c i)) (Ample.LineBundles.pullbackSection a (s i))) := by |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro i _ |
| 46 | exact Tensor.ScalarSectionValues.tensorComparison_scalarSectionValue H L.sheaf (c i) (x i) |
| 47 | _ = Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf |
| 48 | (∑ i, Scalar.SectionValues.scalarSection (b.appTop (c i)) (Ample.LineBundles.pullbackSection a (s i))) := |
| 49 | (HilbertConstruction.Module.SectionValueAdditive.moduleSectionHomEquiv_sum (L.pullback a).sheaf Finset.univ _).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AffineSectionSpanning |