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.Homogeneous.GenerationLocus |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroRelationLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GradedParameters |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IncidenceEquivalence |
| 5 | |
| 6 | /-! # Generation Opens -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GenerationOpens |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual open conditions for single-degree generation on the finite graded quotient parameter scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (S : Scheme.{u}) (n B : ℕ) (r : ℕ → ℕ) |
| 19 | |
| 20 | theorem truncatedGradedProjection_incidence (d : Fin B) (i : Fin (n + 1)) : |
| 21 | Grassmann.IncidenceCondition.GrassmannIncidenceCondition |
| 22 | (GradedParameters.truncatedGradedProjection.{u, 0} (Fin (n + 1)) B r S d.castSucc) |
| 23 | (GradedParameters.truncatedGradedProjection.{u, 0} (Fin (n + 1)) B r S d.succ) |
| 24 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, 0} |
| 25 | Γ((GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left, ⊤) (Fin (n + 1)) d i) |
| 26 | (𝟙 (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S)) := by |
| 27 | let M := GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S |
| 28 | let j := GradedParameters.truncatedGradedInclusion.{u, 0} (Fin (n + 1)) B r S |
| 29 | let q := QuotientParameters.truncatedQuotientProjection.{u, 0} (Fin (n + 1)) B r S d.castSucc |
| 30 | let k := QuotientParameters.truncatedQuotientProjection.{u, 0} (Fin (n + 1)) B r S d.succ |
| 31 | let F := LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, 0} |
| 32 | Γ((QuotientParameters.truncatedQuotientParameters.{u, 0} (Fin (n + 1)) B r S).left, ⊤) (Fin (n + 1)) d i |
| 33 | have h : Grassmann.IncidenceCondition.GrassmannIncidenceCondition q k F (𝟙 M ≫ j) := |
| 34 | (((Closed.ConditionIntersections.closedConditionIntersectionModel |
| 35 | (GradedParameters.truncatedMultiplicationSubfunctor.{u, 0} (Fin (n + 1)) B r S) |
| 36 | (GradedParameters.truncatedMultiplicationClosedModel (Fin (n + 1)) B r S)).pointMap.app (.op M)) (𝟙 M)).property ⟨d, i⟩ |
| 37 | rw [Category.id_comp] at h |
| 38 | have hp := (Affine.IncidenceEquivalence.grassmannIncidenceCondition_pullback q k F j).mp h |
| 39 | change Grassmann.IncidenceCondition.GrassmannIncidenceCondition (j ≫ q) (j ≫ k) |
| 40 | ((LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, 0} |
| 41 | Γ((QuotientParameters.truncatedQuotientParameters.{u, 0} (Fin (n + 1)) B r S).left, ⊤) (Fin (n + 1)) d i).map |
| 42 | j.left.appTop.hom) (𝟙 M) at hp |
| 43 | rw [LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix_map] at hp |
| 44 | exact hp |
| 45 | |
| 46 | def truncatedDegreeGenerationOpen (d : Fin B) : |
| 47 | (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left.Opens := |
| 48 | Homogeneous.GenerationLocus.homogeneousGenerationOpen.{u, 0} (Fin (n + 1)) d (r d) (r d.succ) |
| 49 | (GradedParameters.truncatedGradedProjection (Fin (n + 1)) B r S d.castSucc) |
| 50 | (GradedParameters.truncatedGradedProjection (Fin (n + 1)) B r S d.succ) |
| 51 | (truncatedGradedProjection_incidence S n B r d) |
| 52 | |
| 53 | def truncatedDegreeZeroRelationOpen (d : Fin (B + 1)) : |
| 54 | (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left.Opens := |
| 55 | ZeroRelationLocus.homogeneousZeroRelationOpen.{u, 0} (Fin (n + 1)) d (r d) |
| 56 | (GradedParameters.truncatedGradedProjection (Fin (n + 1)) B r S d) |
| 57 | |
| 58 | def truncatedGeneratedOpen (N : ℕ) : |
| 59 | (GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S).left.Opens := |
| 60 | (⨅ d : Fin (B + 1), if d.val < N then truncatedDegreeZeroRelationOpen S n B r d else ⊤) ⊓ |
| 61 | (⨅ d : Fin B, if N ≤ d.val then truncatedDegreeGenerationOpen S n B r d else ⊤) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GenerationOpens |