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.GenerationOpens |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GradedRepresentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.SingleDegreeGeneration |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.OpenConditions |
| 5 | |
| 6 | /-! # Generation Point Criterion -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GenerationPointCriterion |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Affine points of the concrete open locus are exactly finite quotient data generated from the specified degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {n B : ℕ} {r : ℕ → ℕ} {R : CommRingCat.{u}} {f : Spec R ⟶ S} |
| 19 | variable (x : Over.mk f ⟶ GradedParameters.truncatedGradedParameters.{u, 0} (Fin (n + 1)) B r S) |
| 20 | |
| 21 | theorem truncatedDegreeGenerationOpen_point_iff (d : Fin B) : |
| 22 | Set.range x.left ⊆ (GenerationOpens.truncatedDegreeGenerationOpen S n B r d : Set _) ↔ |
| 23 | ((GradedRepresentation.truncatedGradedPointData x).quotient d.succ).toSubmodule = |
| 24 | ⨆ i : Fin (n + 1), ((GradedRepresentation.truncatedGradedPointData x).quotient d.castSucc).toSubmodule.map |
| 25 | (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R (Fin (n + 1)) d i) := |
| 26 | Homogeneous.GenerationLocus.homogeneousGenerationOpen_affine_point_iff (Fin (n + 1)) d (r d) (r d.succ) _ _ |
| 27 | (GenerationOpens.truncatedGradedProjection_incidence S n B r d) R f x |
| 28 | ((GradedRepresentation.truncatedGradedPointData x).quotient d.castSucc) ((GradedRepresentation.truncatedGradedPointData x).quotient d.succ) |
| 29 | (GradedRepresentation.truncatedGradedPointQuotient_projection x d.castSucc) (GradedRepresentation.truncatedGradedPointQuotient_projection x d.succ) |
| 30 | |
| 31 | theorem truncatedDegreeZeroRelationOpen_point_iff (d : Fin (B + 1)) : |
| 32 | Set.range x.left ⊆ (GenerationOpens.truncatedDegreeZeroRelationOpen S n B r d : Set _) ↔ |
| 33 | ((GradedRepresentation.truncatedGradedPointData x).quotient d).toSubmodule = ⊥ := |
| 34 | ZeroRelationLocus.homogeneousZeroRelationOpen_affine_point_iff (Fin (n + 1)) d (r d) _ R f x |
| 35 | ((GradedRepresentation.truncatedGradedPointData x).quotient d) (GradedRepresentation.truncatedGradedPointQuotient_projection x d) |
| 36 | |
| 37 | theorem truncatedGeneratedOpen_affine_point_iff (N : ℕ) : |
| 38 | Set.range x.left ⊆ (GenerationOpens.truncatedGeneratedOpen S n B r N : Set _) ↔ |
| 39 | (GradedRepresentation.truncatedGradedPointData x).GeneratedFromDegree N := by |
| 40 | rw [GenerationOpens.truncatedGeneratedOpen, TopologicalSpace.Opens.coe_inf, Set.subset_inter_iff, |
| 41 | Finite.OpenConditions.range_subset_finite_conditional_opens, Finite.OpenConditions.range_subset_finite_conditional_opens] |
| 42 | constructor |
| 43 | · intro h |
| 44 | exact ⟨fun d hd => (truncatedDegreeZeroRelationOpen_point_iff x d).mp (h.1 d hd), |
| 45 | fun d hd => (truncatedDegreeGenerationOpen_point_iff x d).mp (h.2 d hd)⟩ |
| 46 | · intro h |
| 47 | exact ⟨fun d hd => (truncatedDegreeZeroRelationOpen_point_iff x d).mpr (h.1 d hd), |
| 48 | fun d hd => (truncatedDegreeGenerationOpen_point_iff x d).mpr (h.2 d hd)⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GenerationPointCriterion |