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.Divisors.LineBundles.Open.AffineOrderApproximation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DivisorChow |
| 3 | |
| 4 | /-! # Affine Moving -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: moving the actual rational-section divisor off finitely many normal affine points -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 13 | |
| 14 | variable {R : Type} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 15 | {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 16 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (j : Spec (CommRingCat.of R) ⟶ X) [IsOpenImmersion j] |
| 17 | |
| 18 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.exists_rationalSection_avoiding_affinePoints {ι : Type*} [Finite ι] |
| 19 | (x : ι → Spec (CommRingCat.of R)) (hx : ∀ i, coheight (j (x i)) = 1) |
| 20 | (hinj : Function.Injective x) [∀ i, IsIntegrallyClosed (X.presheaf.stalk (j (x i)))] : |
| 21 | ∃ a : X.functionFieldˣ, ∀ i, L.rationalSectionPointDivisorWithCoefficient a (j (x i)) = 0 := by |
| 22 | obtain ⟨a, ha⟩ := Open.AffineOrderApproximation.BundleCycles.exists_openAffine_prescribed_orders j x hx hinj |
| 23 | (fun i => -L.rationalSectionOrder (j (x i))) |
| 24 | refine ⟨a, fun i => ?_⟩ |
| 25 | change X.ord (a : X.functionField) (j (x i)) + L.rationalSectionOrder (j (x i)) = 0 |
| 26 | rw [ha i, neg_add_cancel] |
| 27 | |
| 28 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.exists_rationalSection_representative_avoiding_affinePoints {ι : Type*} [Finite ι] |
| 29 | (x : ι → Spec (CommRingCat.of R)) (hx : ∀ i, coheight (j (x i)) = 1) |
| 30 | (hinj : Function.Injective x) [∀ i, IsIntegrallyClosed (X.presheaf.stalk (j (x i)))] |
| 31 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (d : ℕ) |
| 32 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 1) : |
| 33 | ∃ a : X.functionFieldˣ, |
| 34 | Disjoint ((L.rationalSectionPointDivisorWithCoefficient a).support : Set X) (Set.range (fun i => j (x i))) ∧ |
| 35 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (L.rationalSectionPointCycleWithCoefficient a) = L.rationalSectionChowClass f d := by |
| 36 | obtain ⟨a, ha⟩ := L.exists_rationalSection_avoiding_affinePoints j x hx hinj |
| 37 | refine ⟨a, ?_, L.rationalSectionChowClass_coefficient_independent f d hd a⟩ |
| 38 | apply Set.disjoint_left.mpr |
| 39 | rintro y hy ⟨i, rfl⟩ |
| 40 | exact (Finsupp.mem_support_iff.mp hy) (ha i) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles |