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.GenerationAffinePointCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LiftedGenerationConditions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.QuotientClassification |
| 4 | |
| 5 | /-! # Generation Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.GenerationLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual open locus where the next homogeneous relation module is generated by variable multiplication. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable (σ : Type v) [Fintype σ] [DecidableEq σ] (d r s : ℕ) |
| 18 | variable {S : Scheme.{max u v}} {M : Over S} |
| 19 | variable (q : M ⟶ QuotientParameters.homogeneousQuotientParameterScheme.{u, v} σ d r S) |
| 20 | variable (k : M ⟶ QuotientParameters.homogeneousQuotientParameterScheme.{u, v} σ (d + 1) s S) |
| 21 | variable (hF : ∀ i : σ, Grassmann.IncidenceCondition.GrassmannIncidenceCondition q k |
| 22 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} Γ(M.left, ⊤) σ d i) (𝟙 M)) |
| 23 | |
| 24 | def homogeneousGenerationOpen : M.left.Opens := |
| 25 | Grassmann.GenerationOpen.grassmannGenerationOpen q k |
| 26 | (fun i : ULift.{u} σ => LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} Γ(M.left, ⊤) σ d i.down) |
| 27 | (fun i => hF i.down) |
| 28 | |
| 29 | theorem homogeneousGenerationOpen_affine_point_iff |
| 30 | (R : CommRingCat.{max u v}) (f : Spec R ⟶ S) (x : Over.mk f ⟶ M) |
| 31 | (N : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule σ R d) r) |
| 32 | (K : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule σ R (d + 1)) s) |
| 33 | (hN : x ≫ q = QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d r R f N) |
| 34 | (hK : x ≫ k = QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ (d + 1) s R f K) : |
| 35 | Set.range x.left ⊆ (homogeneousGenerationOpen σ d r s q k hF : Set M.left) ↔ |
| 36 | K.toSubmodule = ⨆ i : σ, N.toSubmodule.map (MultiplicationMatrices.homogeneousMultiplyX R σ d i) := by |
| 37 | have hcoeff (i : ULift.{u} σ) : |
| 38 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} Γ(M.left, ⊤) σ d i.down).map x.left.appTop.hom = |
| 39 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} R σ d i.down).map (Scheme.ΓSpecIso R).inv.hom := |
| 40 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix_map _ σ d x.left.appTop.hom i.down).trans |
| 41 | (LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix_map R σ d (Scheme.ΓSpecIso R).inv.hom i.down).symm |
| 42 | have h := GenerationAffinePointCriterion.grassmannGenerationOpen_affine_point_iff q k |
| 43 | (fun i : ULift.{u} σ => LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} Γ(M.left, ⊤) σ d i.down) |
| 44 | (fun i => hF i.down) R f x |
| 45 | (QuotientClassification.homogeneousLiftedQuotient.{u, v} σ d r R N) |
| 46 | (QuotientClassification.homogeneousLiftedQuotient.{u, v} σ (d + 1) s R K) |
| 47 | (hN.trans (QuotientClassification.homogeneousQuotientAffinePointEquiv_coordinates σ d r R f N)) |
| 48 | (hK.trans (QuotientClassification.homogeneousQuotientAffinePointEquiv_coordinates σ (d + 1) s R f K)) |
| 49 | (fun i : ULift.{u} σ => LiftedHomogeneousMatrices.liftedHomogeneousMultiplicationMatrix.{u, v} R σ d i.down) hcoeff |
| 50 | rw [QuotientClassification.homogeneousLiftedQuotient_relations, QuotientClassification.homogeneousLiftedQuotient_relations, iSup_ulift] at h |
| 51 | exact h.trans (LiftedGenerationConditions.liftedHomogeneous_generation_iff R σ d N.toSubmodule K.toSubmodule).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.GenerationLocus |