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.LocalEquations |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.EquationRestriction |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrincipalLeft |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdjacentSupportStalk |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalOrder |
| 6 | |
| 7 | /-! # Cycle Local Order -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.CycleLocalOrder |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every proper divisor intersection multiplicity in every dimension is |
| 14 | the actual order of a local equation on the possibly singular other support. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 21 | |
| 22 | theorem exists_equation_order (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] |
| 24 | (B : X.DimensionCycleSupport 1) (A : X.DimensionCycleSupport q) |
| 25 | (C : X.DimensionCycleSupport (q + 1)) |
| 26 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)) |
| 27 | (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (B.val : Set X.carrier)) (hAB : ¬ A.val ≤ B.val) : |
| 28 | ∃ r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val), r ≠ 0 ∧ |
| 29 | RingHom.ker (Local.Principal.supportStalkMap X.carrier B.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB).hom = Ideal.span {r} ∧ |
| 30 | Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA r ≠ 0 ∧ |
| 31 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val = |
| 32 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).ord |
| 33 | (algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk |
| 34 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA)) (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField |
| 35 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA r)) |
| 36 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA) : ℚ) := by |
| 37 | obtain ⟨r, hr, he⟩ := Smooth.LocalEquations.exists_equation X m B (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB |
| 38 | have hra := Support.EquationRestriction.nonzero X.carrier A.val B.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 39 | hxA hxB r he hAB |
| 40 | refine ⟨r, hr, he, hra, ?_⟩ |
| 41 | rw [Affine.PrincipalOrder.stalk_order _ _ |
| 42 | (AdjacentSupportStalk.coheight_one X m q A C hxA) _ hra, Int.cast_natCast] |
| 43 | exact Local.PrincipalLeft.intersectionMultiplicity_eq_order X A.val B.val C.val hxA hxB r hr he hra |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.CycleLocalOrder |