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.Truncated.QuotientParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.MultiplicationLocus |
| 3 | |
| 4 | /-! # Graded Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GradedParameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | An actual closed parameter scheme for finite tuples of homogeneous quotients |
| 12 | satisfying the variable-multiplication incidences in every retained degree. |
| 13 | Its universal property keeps the degree projections explicit. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable (σ : Type v) [Finite σ] (B : ℕ) (r : ℕ → ℕ) (S : Scheme.{max u v}) |
| 21 | |
| 22 | def truncatedMultiplicationSubfunctor (a : Fin B × σ) : |
| 23 | Subfunctor (yoneda.obj (QuotientParameters.truncatedQuotientParameters.{u, v} σ B r S)) := |
| 24 | Grassmann.IncidenceUniversality.grassmannIncidenceSubfunctor |
| 25 | (QuotientParameters.truncatedQuotientProjection σ B r S a.1.castSucc) |
| 26 | (QuotientParameters.truncatedQuotientProjection σ B r S a.1.succ) |
| 27 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} |
| 28 | Γ((QuotientParameters.truncatedQuotientParameters.{u, v} σ B r S).left, ⊤) σ a.1 a.2) |
| 29 | |
| 30 | def truncatedMultiplicationClosedModel (a : Fin B × σ) : |
| 31 | Closed.ConditionIdeals.ClosedConditionModel (truncatedMultiplicationSubfunctor.{u, v} σ B r S a) := |
| 32 | Grassmann.IncidenceUniversality.grassmannIncidenceClosedModel _ _ _ |
| 33 | |
| 34 | def truncatedGradedParameters : Over S := |
| 35 | Closed.ConditionIntersections.closedConditionIntersectionScheme (truncatedMultiplicationSubfunctor.{u, v} σ B r S) |
| 36 | (truncatedMultiplicationClosedModel σ B r S) |
| 37 | |
| 38 | def truncatedGradedInclusion : truncatedGradedParameters.{u, v} σ B r S ⟶ |
| 39 | QuotientParameters.truncatedQuotientParameters.{u, v} σ B r S := |
| 40 | Closed.ConditionIntersections.closedConditionIntersectionInclusion _ _ |
| 41 | |
| 42 | instance truncatedGradedInclusion_closed : |
| 43 | IsClosedImmersion (truncatedGradedInclusion.{u, v} σ B r S).left := |
| 44 | Closed.ConditionIntersections.closedConditionIntersectionInclusion_closed _ _ |
| 45 | |
| 46 | def truncatedGradedProjection (d : Fin (B + 1)) : |
| 47 | truncatedGradedParameters.{u, v} σ B r S ⟶ |
| 48 | Homogeneous.QuotientParameters.homogeneousQuotientParameterScheme.{u, v} σ d (r d) S := |
| 49 | truncatedGradedInclusion σ B r S ≫ QuotientParameters.truncatedQuotientProjection σ B r S d |
| 50 | |
| 51 | theorem truncatedGradedParameters_universal {T : Over S} |
| 52 | (q : ∀ d : Fin (B + 1), T ⟶ Homogeneous.QuotientParameters.homogeneousQuotientParameterScheme.{u, v} σ d (r d) S) : |
| 53 | (∀ a : Fin B × σ, QuotientParameters.truncatedQuotientTupleMap σ B r q ∈ |
| 54 | (truncatedMultiplicationSubfunctor.{u, v} σ B r S a).obj (.op T)) ↔ |
| 55 | ∃! g : T ⟶ truncatedGradedParameters.{u, v} σ B r S, |
| 56 | ∀ d : Fin (B + 1), g ≫ truncatedGradedProjection σ B r S d = q d := by |
| 57 | have h := (Closed.ConditionIntersections.closedConditionIntersectionModel |
| 58 | (truncatedMultiplicationSubfunctor.{u, v} σ B r S) |
| 59 | (truncatedMultiplicationClosedModel σ B r S)).factorization T |
| 60 | (QuotientParameters.truncatedQuotientTupleMap σ B r q) |
| 61 | have he (g : T ⟶ truncatedGradedParameters.{u, v} σ B r S) : |
| 62 | g ≫ truncatedGradedInclusion σ B r S = QuotientParameters.truncatedQuotientTupleMap σ B r q ↔ |
| 63 | ∀ d : Fin (B + 1), g ≫ truncatedGradedProjection σ B r S d = q d := by |
| 64 | constructor |
| 65 | · intro hg d |
| 66 | change g ≫ (truncatedGradedInclusion σ B r S ≫ QuotientParameters.truncatedQuotientProjection σ B r S d) = _ |
| 67 | rw [← Category.assoc, hg, QuotientParameters.truncatedQuotientTupleMap_projection] |
| 68 | · intro hg |
| 69 | apply Pi.hom_ext |
| 70 | intro d |
| 71 | exact (Category.assoc _ _ _).trans ((hg d).trans |
| 72 | (QuotientParameters.truncatedQuotientTupleMap_projection σ B r q d).symm) |
| 73 | exact h.trans (existsUnique_congr he) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GradedParameters |