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.ProperFlat.FiberSectionBaseChange |
| 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 | /-! # Fiber Section Spanning -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.FiberSectionSpanning |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! First fiber cohomology vanishing expresses every fiber section as an actual finite linear combination of pulled-back global sections. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem properFlat_fiber_sections_spanned |
| 20 | {S X : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 21 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) (x : S) |
| 22 | (hH : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback (f.fiberι x)).sheaf 1)) |
| 23 | (t : Line.Bundles.structureModule (f.fiber x) ⟶ (L.pullback (f.fiberι x)).sheaf) : |
| 24 | ∃ (k : ℕ) (c : Fin k → Γ(Spec (S.residueField x), ⊤)) |
| 25 | (s : Fin k → (Line.Bundles.structureModule X ⟶ L.sheaf)), |
| 26 | t = ∑ i, Scalar.SectionValues.scalarSection ((f.fiberToSpecResidueField x).appTop (c i)) |
| 27 | (Ample.LineBundles.pullbackSection (f.fiberι x) (s i)) := by |
| 28 | let Y := Spec (S.residueField x) |
| 29 | let P := f.fiber x |
| 30 | let a := f.fiberι x |
| 31 | let b := f.fiberToSpecResidueField x |
| 32 | let g := S.fromSpecResidueField x |
| 33 | let H := IsPullback.of_hasPullback f g |
| 34 | let F : TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 35 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (.op ⊤)) →+ |
| 36 | Γ((L.pullback a).sheaf, ⊤) := |
| 37 | ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (.op ⊤)).hom.toAddMonoidHom |
| 38 | have hF : Function.Surjective F := FiberSectionBaseChange.properFlat_fiberSectionTensorComparison_surjective f L x hH |
| 39 | obtain ⟨z, hz⟩ := hF (Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf t) |
| 40 | obtain ⟨k, c, x, hzx⟩ := TensorProduct.exists_sum_tmul_eq z |
| 41 | let s : Fin k → (Line.Bundles.structureModule X ⟶ L.sheaf) := fun i => (Global.Sections.moduleSectionHomEquiv L.sheaf).symm (x i) |
| 42 | refine ⟨k, c, s, (Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf).injective ?_⟩ |
| 43 | calc |
| 44 | Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf t = F z := hz.symm |
| 45 | _ = F (∑ i, c i ⊗ₜ[Γ(S, ⊤)] x i) := congrArg F hzx |
| 46 | _ = ∑ i, F (c i ⊗ₜ[Γ(S, ⊤)] x i) := map_sum F _ _ |
| 47 | _ = ∑ i, Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf |
| 48 | (Scalar.SectionValues.scalarSection (b.appTop (c i)) (Ample.LineBundles.pullbackSection a (s i))) := by |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | exact Tensor.ScalarSectionValues.tensorComparison_scalarSectionValue H L.sheaf (c i) (x i) |
| 52 | _ = Global.Sections.moduleSectionHomEquiv (L.pullback a).sheaf |
| 53 | (∑ i, Scalar.SectionValues.scalarSection (b.appTop (c i)) (Ample.LineBundles.pullbackSection a (s i))) := |
| 54 | (Module.SectionValueAdditive.moduleSectionHomEquiv_sum (L.pullback a).sheaf Finset.univ _).symm |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.FiberSectionSpanning |