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.SectionProjectiveCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.BaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionBaseChange |
| 4 | |
| 5 | /-! # Coordinate Projective Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectiveBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projective points given by global scalar coordinates commute with |
| 12 | arbitrary base change, through the native relative projective section. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | variable {S T : Scheme.{u}} {n : ℕ} |
| 18 | |
| 19 | theorem scalarCoordinateSections_pullback (f : T ⟶ S) |
| 20 | (v : Fin (n + 1) → Γ(S, ⊤)) (i : Fin (n + 1)) : |
| 21 | Ample.LineBundles.pullbackSection f (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) ≫ (Line.Bundles.structureModulePullbackIso f).hom = |
| 22 | Family.SectionProjectiveCoordinates.scalarCoordinateSections (fun k => f.appTop (v k)) i := by |
| 23 | apply (Global.Sections.structureModuleEndRingEquiv T).injective |
| 24 | change Frame.Coordinates.structureModuleEndValue T |
| 25 | (Ample.LineBundles.pullbackSection f (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) ≫ (Line.Bundles.structureModulePullbackIso f).hom) = |
| 26 | Frame.Coordinates.structureModuleEndValue T (Family.SectionProjectiveCoordinates.scalarCoordinateSections (fun k => f.appTop (v k)) i) |
| 27 | calc |
| 28 | _ = f.appTop (Frame.Coordinates.structureModuleEndValue S (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i)) := by |
| 29 | simpa only [Ample.LineBundles.pullbackSection, Category.assoc] using |
| 30 | BaseChange.structureModuleEndValue_baseChange f (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) |
| 31 | _ = f.appTop (v i) := congrArg f.appTop ((Global.Sections.structureModuleEndRingEquiv S).apply_symm_apply (v i)) |
| 32 | _ = _ := ((Global.Sections.structureModuleEndRingEquiv T).apply_symm_apply (f.appTop (v i))).symm |
| 33 | |
| 34 | theorem scalarCoordinateProjectivePoint_baseChange (f : T ⟶ S) |
| 35 | (v : Fin (n + 1) → Γ(S, ⊤)) |
| 36 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) |
| 37 | (hw : ∀ x : T, ∃ i, x ∈ T.basicOpen (f.appTop (v i))) : |
| 38 | Projective.SectionBaseChange.projectiveSectionBaseChange (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv) f = |
| 39 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (fun i => f.appTop (v i)) hw := by |
| 40 | let s := Family.SectionProjectiveCoordinates.scalarCoordinateSections v |
| 41 | let hs := Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv |
| 42 | let t := fun i => Ample.LineBundles.pullbackSection f (s i) |
| 43 | let ht := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers f (Line.Bundles.LineBundle.trivial S) s hs |
| 44 | let e := Line.Bundles.structureModulePullbackIso f |
| 45 | let he := Section.ProjectiveTargetIso.sections_compIso_covers e t ht |
| 46 | have hsections : (fun i => t i ≫ e.hom) = Family.SectionProjectiveCoordinates.scalarCoordinateSections (fun i => f.appTop (v i)) := |
| 47 | funext (scalarCoordinateSections_pullback f v) |
| 48 | have hp : SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 T) t ht = |
| 49 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (fun i => f.appTop (v i)) hw := |
| 50 | (Section.ProjectiveTargetIso.sectionProjectiveMorphism_targetIso (𝟙 T) e t ht he).trans |
| 51 | (Section.ProjectiveTargetIso.sectionProjectiveMorphism_congr (𝟙 T) hsections he (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover _ hw)) |
| 52 | have hb := Section.ProjectiveBaseChange.sectionProjectiveMorphism_baseChange f f (𝟙 S) (𝟙 T) |
| 53 | ((Category.comp_id f).trans (Category.id_comp f).symm) (Line.Bundles.LineBundle.trivial S) s hs ht |
| 54 | apply Projective.SectionBaseChange.projectiveSections_eq_of_baseMap f |
| 55 | exact (Projective.SectionBaseChange.projectiveSectionBaseChange_baseMap (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv) f).trans |
| 56 | (hb.trans (congrArg (fun z : Over.mk (𝟙 T) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver T n => |
| 57 | z.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n) hp)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectiveBaseChange |