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.Closed.PointLinearSeparation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FormStalkComparison |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointJetCoordinates |
| 4 | |
| 5 | /-! # Point Fiber Linear Forms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointFiberLinearForms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Linear equations for the fiber through a chosen rational point, |
| 12 | and properness of their avoidance constraints at another closed point. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 20 | (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier) (hp : p ≫ X.structureMap = 𝟙 _) |
| 21 | |
| 22 | attribute [local instance] PointJetCoordinates.scalar |
| 23 | |
| 24 | def value : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 →ₗ[ℂ] ℂ := |
| 25 | (LinearMap.fst ℂ ℂ _).comp (PointJetCoordinates.map X p hp) |
| 26 | |
| 27 | theorem value_zero (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 28 | value X p hp a = 0 ↔ |
| 29 | a.val ∈ (X.embedding (p (IsLocalRing.closedPoint ℂ))).asHomogeneousIdeal := |
| 30 | FormStalkComparison.ProjectiveFractionUnits.form X.ambientDimension (PointJetCoordinates.coordinate X p) |
| 31 | X.embedding p (PointJetCoordinates.over X p hp) |
| 32 | (PointJetCoordinates.coordinate_mem X p) a |
| 33 | |
| 34 | def cross (s : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 35 | Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 →ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 := |
| 36 | value X p hp s • LinearMap.id - (value X p hp).smulRight s |
| 37 | |
| 38 | theorem cross_apply (s a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 39 | cross X p hp s a = value X p hp s • a - value X p hp a • s := rfl |
| 40 | |
| 41 | theorem cross_vanishes (s a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 42 | (cross X p hp s a).val ∈ |
| 43 | (X.embedding (p (IsLocalRing.closedPoint ℂ))).asHomogeneousIdeal := by |
| 44 | apply (value_zero X p hp _).mp |
| 45 | rw [cross_apply, map_sub, map_smul, map_smul] |
| 46 | change value X p hp s * value X p hp a - value X p hp a * value X p hp s = 0 |
| 47 | ring |
| 48 | |
| 49 | theorem constraint_ne_top (s : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 50 | (hs : value X p hp s ≠ 0) (y : X.carrier) (hy : IsClosed ({y} : Set _)) |
| 51 | (hne : y ≠ p (IsLocalRing.closedPoint ℂ)) : |
| 52 | (ConstrainedLinearForms.pointSubmodule X.ambientDimension (X.embedding y)).comap |
| 53 | (cross X p hp s) ≠ ⊤ := by |
| 54 | have hx : IsClosed ({p (IsLocalRing.closedPoint ℂ)} : Set X.carrier) := |
| 55 | ((pointEquivClosedPoint X.structureMap) ⟨p, hp⟩).property |
| 56 | have hxe : IsClosed ({X.embedding (p (IsLocalRing.closedPoint ℂ))} : Set _) := by |
| 57 | simpa only [Set.image_singleton] using X.embedding.isClosedEmbedding.isClosedMap _ hx |
| 58 | have hye : IsClosed ({X.embedding y} : Set _) := by |
| 59 | simpa only [Set.image_singleton] using X.embedding.isClosedEmbedding.isClosedMap _ hy |
| 60 | obtain ⟨a, hax, hay⟩ := Closed.PointLinearSeparation.points X.ambientDimension |
| 61 | (X.embedding (p (IsLocalRing.closedPoint ℂ))) (X.embedding y) hxe hye |
| 62 | (fun he => hne (X.embedding.isClosedEmbedding.injective he).symm) |
| 63 | have ha : value X p hp a = 0 := (value_zero X p hp a).mpr hax |
| 64 | intro he |
| 65 | have hm : a ∈ (ConstrainedLinearForms.pointSubmodule X.ambientDimension |
| 66 | (X.embedding y)).comap (cross X p hp s) := by rw [he]; trivial |
| 67 | change cross X p hp s a ∈ ConstrainedLinearForms.pointSubmodule _ _ at hm |
| 68 | rw [cross_apply, ha, zero_smul, sub_zero, |
| 69 | (ConstrainedLinearForms.pointSubmodule _ _).smul_mem_iff hs] at hm |
| 70 | exact hay hm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointFiberLinearForms |