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.IntersectionTheory.ProjectionFormula.Smooth.FiberSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.Generic |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IndependentSmooth |
| 4 | |
| 5 | /-! # Stalk Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.StalkIdeal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On the natural domain of a linear projection, the native reduced |
| 12 | cone stalk over the generic base point is the quotient by the extended |
| 13 | maximal ideal of that base stalk. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport |
| 21 | |
| 22 | variable {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 23 | (hL : LinearIndependent ℂ L) (η : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) |
| 24 | |
| 25 | def onDomain : IrreducibleCloseds (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) := |
| 26 | irreducibleSetEquivPoints.symm (Generic.Projection.point L hL η) |
| 27 | |
| 28 | theorem generic_point : CycleClass.Thom.IntersectionGeometry.supportPoint (onDomain L hL η) = Generic.Projection.point L hL η := |
| 29 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 30 | |
| 31 | theorem generic_image : (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)).ι (CycleClass.Thom.IntersectionGeometry.supportPoint (onDomain L hL η)) = |
| 32 | CycleClass.Thom.IntersectionGeometry.supportPoint (Projective.ConeSupport.support L hL η) := by |
| 33 | rw [generic_point] |
| 34 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm |
| 35 | |
| 36 | theorem mem_iff (x : Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) : |
| 37 | x ∈ (onDomain L hL η : Set (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L))) ↔ x.val ∈ Projective.ConeSupport.support L hL η := by |
| 38 | change x ∈ closure ({Generic.Projection.point L hL η} : Set (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L))) ↔ |
| 39 | x.val ∈ closure ({Projective.ConeSupport.genericPoint L hL η} : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 40 | exact specializes_iff_mem_closure.symm.trans |
| 41 | ((Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)).ι.isOpenEmbedding.isInducing.specializes_iff.symm.trans |
| 42 | specializes_iff_mem_closure) |
| 43 | |
| 44 | theorem mem_of_map (x : Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) (hx : Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L) x = η) : |
| 45 | x ∈ (onDomain L hL η : Set (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L))) := by |
| 46 | apply (mem_iff L hL η x).mpr |
| 47 | apply (Generic.Projection.mem_cone_iff L hL η x).mpr |
| 48 | rw [hx] |
| 49 | exact subset_closure (Set.mem_singleton η) |
| 50 | |
| 51 | def moduleEquiv (x : Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) (hx : Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L) x = η) : |
| 52 | CycleClass.Thom.IntersectionGeometry.localSupportModule (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) (onDomain L hL η) x (mem_of_map L hL η x hx) ≃ₗ[ |
| 53 | (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)).toScheme.presheaf.stalk x] |
| 54 | (((Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)).toScheme.presheaf.stalk x) ⧸ |
| 55 | (IsLocalRing.maximalIdeal ((Foundations.Scheme.ProjectiveSpace.projectiveSpace m).presheaf.stalk (Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L) x))).map |
| 56 | ((Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L)).stalkMap x).hom) := by |
| 57 | let : SmoothOfRelativeDimension (n - m) (Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L)) := IndependentSmooth.Projection.smooth L hL |
| 58 | let : Smooth (Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L)) := SmoothOfRelativeDimension.smooth (n - m) _ |
| 59 | apply ProjectionFormula.Smooth.FiberSupport.moduleEquiv (Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L)) x (onDomain L hL η) |
| 60 | (mem_of_map L hL η x hx) |
| 61 | · rw [generic_point, Generic.Projection.map_point, hx] |
| 62 | · intro z hz |
| 63 | exact mem_of_map L hL η z (hz.trans hx) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.StalkIdeal |