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.Relative.SectionLinearCoordinateAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmbeddingFrameCriterion |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GeneratingSectionFrameChanges |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationSectionData |
| 5 | |
| 6 | /-! # Linear Coordinate Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Invertible coordinate changes preserve actual closed power |
| 13 | embeddings and their complete-section condition, with the ambient |
| 14 | projective automorphism explicitly identified. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {X : Over S} {L : Line.Bundles.LineBundle X.left} |
| 18 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom) |
| 19 | variable (e : (Fin (E.dimension + 1) →₀ Γ(S, ⊤)) ≃ₗ[Γ(S, ⊤)] (Fin (E.dimension + 1) →₀ Γ(S, ⊤))) |
| 20 | |
| 21 | def Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.changeCoordinates : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L X.hom where |
| 22 | degree := E.degree |
| 23 | degree_pos := E.degree_pos |
| 24 | power := E.power |
| 25 | isPower := E.isPower |
| 26 | dimension := E.dimension |
| 27 | sections := Section.CoefficientTransformations.transformSectionFamily X.hom.appTop.hom E.power.sheaf E.sections e.symm.toLinearMap |
| 28 | covers := GeneratingSectionFrameChanges.transformSectionFamily_covers X.hom.appTop.hom E.power E.sections E.covers |
| 29 | e.symm.toLinearMap e.symm.surjective |
| 30 | closedImmersion := by |
| 31 | let a := Relative.LinearCoordinateIsomorphism.relativeLinearCoordinateIso E.dimension S e |
| 32 | let hs := GeneratingSectionFrameChanges.transformSectionFamily_covers X.hom.appTop.hom E.power E.sections E.covers |
| 33 | e.symm.toLinearMap e.symm.surjective |
| 34 | have hc : IsClosedImmersion (E.projectivePresentation.embedding ≫ a.hom).left := |
| 35 | @IsClosedImmersion.comp _ _ _ _ _ E.closedImmersion (Grassmann.ProjectivePresentation.overIso_closedImmersion a) |
| 36 | exact (congrArg (fun m => IsClosedImmersion m.left) |
| 37 | (Relative.SectionLinearCoordinateAction.sectionProjectiveMorphism_linearCoordinateIso X.hom E.sections E.covers e hs)).mp hc |
| 38 | |
| 39 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.changeCoordinates_embedding : |
| 40 | (E.changeCoordinates e).projectivePresentation.embedding = |
| 41 | E.projectivePresentation.embedding ≫ (Relative.LinearCoordinateIsomorphism.relativeLinearCoordinateIso E.dimension S e).hom := |
| 42 | (Relative.SectionLinearCoordinateAction.sectionProjectiveMorphism_linearCoordinateIso X.hom E.sections E.covers e _).symm |
| 43 | |
| 44 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.HasCompleteSections.changeCoordinates (h : E.HasCompleteSections) : |
| 45 | (E.changeCoordinates e).HasCompleteSections := by |
| 46 | apply ((E.changeCoordinates e).hasCompleteSections_iff_bijective).mpr |
| 47 | exact GeneratingSectionFrameChanges.transformSectionFamily_complete X.hom.appTop.hom E.power E.sections |
| 48 | (E.hasCompleteSections_iff_bijective.mp h) e.symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |