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.Affine.PrincipalPrimeDivisor |
| 2 | import Mathlib.RingTheory.PrincipalIdealDomain |
| 3 | import Mathlib.Algebra.Polynomial.FieldDivision |
| 4 | |
| 5 | /-! # Field Point Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.FieldPointDivisor.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: every nongeneric point of the affine line over a field is an actual principal divisor -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | theorem polynomialFieldPoint_exists_principal (K : Type) [Field K] |
| 16 | (p : Spec (.of (Polynomial K))) (hp : p.asIdeal ≠ ⊥) : |
| 17 | ∃ a : Polynomial K, a ≠ 0 ∧ |
| 18 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (.of (Polynomial K))) |
| 19 | (RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (.of (Polynomial K))) ((Scheme.ΓSpecIso (.of (Polynomial K))).inv a)) = |
| 20 | Finsupp.single p 1 := by |
| 21 | let : p.asIdeal.IsPrime := (show PrimeSpectrum (Polynomial K) from p).isPrime |
| 22 | let a := Submodule.IsPrincipal.generator p.asIdeal |
| 23 | have ha : a ≠ 0 := (Submodule.IsPrincipal.prime_generator_of_isPrime p.asIdeal hp).ne_zero |
| 24 | have hspan : p.asIdeal = Ideal.span {a} := (Ideal.span_singleton_generator p.asIdeal).symm |
| 25 | refine ⟨a, ha, ?_⟩ |
| 26 | change (RegularDivisor.BundleCycles.regularFunctionDivisor (Spec (.of (Polynomial K))) ((Scheme.ΓSpecIso (.of (Polynomial K))).inv a)).mapRange |
| 27 | (fun n : ℤ => (n : ℚ)) Int.cast_zero = _ |
| 28 | rw [Affine.PrincipalPrimeDivisor.BundleCycles.affinePrincipalPrime_divisor p a hspan ha, Finsupp.mapRange_single, Int.cast_one] |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.FieldPointDivisor.BundleCycles |