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.IncidenceLifting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GradedParameters |
| 3 | |
| 4 | /-! # Graded Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Finite tuples of actual homogeneous quotients satisfying multiplication |
| 12 | compatibility have unique maps to the constructed closed parameter scheme. |
| 13 | These classifying maps distinguish the quotient tuples. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | structure Truncated.GradedClassification.TruncatedGradedQuotientData (R : Type u) [CommRing R] (σ : Type v) |
| 21 | (B : ℕ) (r : ℕ → ℕ) where |
| 22 | quotient : ∀ d : Fin (B + 1), |
| 23 | Module.Grassmannian R (MvPolynomial.homogeneousSubmodule σ R d) (r d) |
| 24 | variable_mul : ∀ (d : Fin B) (i : σ), (quotient d.castSucc).toSubmodule ≤ |
| 25 | ((quotient d.succ).toSubmodule).comap (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d i) |
| 26 | |
| 27 | theorem Truncated.GradedClassification.TruncatedGradedQuotientData.ext {R : Type u} [CommRing R] {σ : Type v} |
| 28 | {B : ℕ} {r : ℕ → ℕ} {D E : Truncated.GradedClassification.TruncatedGradedQuotientData R σ B r} |
| 29 | (h : D.quotient = E.quotient) : D = E := by |
| 30 | cases D |
| 31 | cases E |
| 32 | cases h |
| 33 | rfl |
| 34 | |
| 35 | def GradedQuotientFamilies.GradedQuotientData.truncate {R : Type u} [CommRing R] {σ : Type v} {r : ℕ → ℕ} |
| 36 | (D : GradedQuotientFamilies.GradedQuotientData R σ r) (B : ℕ) : Truncated.GradedClassification.TruncatedGradedQuotientData R σ B r where |
| 37 | quotient d := D.quotient d |
| 38 | variable_mul d i := D.variable_mul d i |
| 39 | |
| 40 | namespace Truncated.GradedClassification.TruncatedGradedQuotientData |
| 41 | |
| 42 | variable {σ : Type v} [Finite σ] {B : ℕ} {r : ℕ → ℕ} |
| 43 | variable {R : CommRingCat.{max u v}} {S : Scheme.{max u v}} |
| 44 | variable (D : TruncatedGradedQuotientData R σ B r) (f : Spec R ⟶ S) |
| 45 | |
| 46 | theorem existsUnique_classifyingMap : |
| 47 | ∃! g : Over.mk f ⟶ GradedParameters.truncatedGradedParameters.{u, v} σ B r S, |
| 48 | ∀ d : Fin (B + 1), g ≫ GradedParameters.truncatedGradedProjection σ B r S d = |
| 49 | Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d (r d) R f (D.quotient d) := by |
| 50 | let q := fun d : Fin (B + 1) => |
| 51 | Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d (r d) R f (D.quotient d) |
| 52 | apply (GradedParameters.truncatedGradedParameters_universal σ B r S q).mp |
| 53 | intro a |
| 54 | exact Homogeneous.IncidenceLifting.homogeneousIncidenceCondition_of_affine_relations σ a.1 (r a.1) (r a.1.succ) |
| 55 | (QuotientParameters.truncatedQuotientProjection σ B r S a.1.castSucc) |
| 56 | (QuotientParameters.truncatedQuotientProjection σ B r S a.1.succ) R f |
| 57 | (QuotientParameters.truncatedQuotientTupleMap σ B r q) (D.quotient a.1.castSucc) (D.quotient a.1.succ) |
| 58 | (QuotientParameters.truncatedQuotientTupleMap_projection σ B r q a.1.castSucc) |
| 59 | (QuotientParameters.truncatedQuotientTupleMap_projection σ B r q a.1.succ) a.2 (D.variable_mul a.1 a.2) |
| 60 | |
| 61 | def classifyingMap : Over.mk f ⟶ GradedParameters.truncatedGradedParameters.{u, v} σ B r S := |
| 62 | (D.existsUnique_classifyingMap f).choose |
| 63 | |
| 64 | theorem classifyingMap_projection (d : Fin (B + 1)) : |
| 65 | D.classifyingMap f ≫ GradedParameters.truncatedGradedProjection σ B r S d = |
| 66 | Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d (r d) R f (D.quotient d) := |
| 67 | (D.existsUnique_classifyingMap f).choose_spec.1 d |
| 68 | |
| 69 | theorem classifyingMap_injective : |
| 70 | Function.Injective (fun D : TruncatedGradedQuotientData R σ B r => D.classifyingMap f) := by |
| 71 | intro D E h |
| 72 | apply ext |
| 73 | funext d |
| 74 | apply (Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d (r d) R f).injective |
| 75 | exact (D.classifyingMap_projection f d).symm.trans |
| 76 | ((congrArg (fun g => g ≫ GradedParameters.truncatedGradedProjection σ B r S d) h).trans |
| 77 | (E.classifyingMap_projection f d)) |
| 78 | |
| 79 | end Truncated.GradedClassification.TruncatedGradedQuotientData |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |