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.Homogeneous.QuotientClassification |
| 3 | |
| 4 | /-! # Zero Relation Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroRelationLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Vanishing of the actual quotient relation module is represented by an open subset. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {ι ν : Type u} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 17 | variable {S : Scheme.{u}} {M : Over S} |
| 18 | |
| 19 | def grassmannZeroRelationOpen (q : M ⟶ Grassmann.ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) : M.left.Opens := |
| 20 | Grassmann.GenerationOpen.grassmannGenerationOpen q q (fun e : ULift.{u} Empty => nomatch e.down) (fun e => nomatch e.down) |
| 21 | |
| 22 | theorem grassmannZeroRelationOpen_affine_point_iff |
| 23 | (q : M ⟶ Grassmann.ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) |
| 24 | (R : CommRingCat.{u}) (f : Spec R ⟶ S) (x : Over.mk f ⟶ M) |
| 25 | (N : Module.Grassmannian R (ν → R) (Fintype.card ι)) |
| 26 | (hN : x ≫ q = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f N) : |
| 27 | Set.range x.left ⊆ (grassmannZeroRelationOpen q : Set M.left) ↔ N.toSubmodule = ⊥ := by |
| 28 | have h := GenerationAffinePointCriterion.grassmannGenerationOpen_affine_point_iff q q |
| 29 | (fun e : ULift.{u} Empty => nomatch e.down) (fun e => nomatch e.down) |
| 30 | R f x N N hN hN (fun e : ULift.{u} Empty => nomatch e.down) (fun e => nomatch e.down) |
| 31 | simp only [iSup_of_empty] at h |
| 32 | exact h |
| 33 | |
| 34 | variable (σ : Type v) [Finite σ] (d r : ℕ) |
| 35 | variable {S' : Scheme.{max u v}} {M' : Over S'} |
| 36 | variable (q : M' ⟶ Homogeneous.QuotientParameters.homogeneousQuotientParameterScheme.{u, v} σ d r S') |
| 37 | |
| 38 | def homogeneousZeroRelationOpen : M'.left.Opens := grassmannZeroRelationOpen q |
| 39 | |
| 40 | theorem homogeneousZeroRelationOpen_affine_point_iff |
| 41 | (R : CommRingCat.{max u v}) (f : Spec R ⟶ S') (x : Over.mk f ⟶ M') |
| 42 | (N : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule σ R d) r) |
| 43 | (hN : x ≫ q = Homogeneous.QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, v} σ d r R f N) : |
| 44 | Set.range x.left ⊆ (homogeneousZeroRelationOpen σ d r q : Set M'.left) ↔ N.toSubmodule = ⊥ := by |
| 45 | have h := grassmannZeroRelationOpen_affine_point_iff q R f x |
| 46 | (Homogeneous.QuotientClassification.homogeneousLiftedQuotient.{u, v} σ d r R N) |
| 47 | (hN.trans (Homogeneous.QuotientClassification.homogeneousQuotientAffinePointEquiv_coordinates σ d r R f N)) |
| 48 | rw [Homogeneous.QuotientClassification.homogeneousLiftedQuotient_relations] at h |
| 49 | refine h.trans ?_ |
| 50 | constructor |
| 51 | · intro hz |
| 52 | apply Submodule.map_injective_of_injective (Homogeneous.QuotientParameters.homogeneousLiftedCoordinates.{u, v} σ d R).injective |
| 53 | rw [Submodule.map_bot] |
| 54 | exact hz |
| 55 | · intro hz |
| 56 | rw [hz, Submodule.map_bot] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroRelationLocus |