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.CycleClass.Thom.Scheme.FiniteDivisorDetection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Point |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary |
| 4 | |
| 5 | /-! # Principal Point Sum -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrincipalPointSum.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual principal point divisor is exactly the finite sum over the |
| 12 | codimension-one points outside any genuine unit representative. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal OAI.AlgebraicGeometry.CycleClass.Thom.Point.Constructions |
| 17 | |
| 18 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [AlgebraicGeometry.IsNoetherian X.left] |
| 19 | {g : X.left.functionField} (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) |
| 20 | |
| 21 | local instance : Fintype (FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain) := Fintype.ofFinite _ |
| 22 | |
| 23 | theorem principalPointDivisor_eq_sum : |
| 24 | Point.Constructions.rationalPrincipalPointDivisor X.left g = |
| 25 | ∑ z : FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain, Finsupp.single z.val (X.left.ord g z.val : ℚ) := by |
| 26 | classical |
| 27 | ext x |
| 28 | rw [Point.Constructions.rationalPrincipalPointDivisor_apply, Finsupp.finsetSum_apply] |
| 29 | by_cases hx : Order.coheight x = 1 ∧ x ∉ D.domain |
| 30 | · let z : FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain := ⟨x, hx⟩ |
| 31 | rw [Finset.sum_eq_single z] |
| 32 | · exact Finsupp.single_eq_same.symm |
| 33 | · intro y _ hy |
| 34 | exact Finsupp.single_eq_of_ne (fun h => hy (Subtype.ext h.symm)) |
| 35 | · simp |
| 36 | · have ho : X.left.ord g x = 0 := by |
| 37 | by_cases hc : Order.coheight x = 1 |
| 38 | · exact D.ord_eq_zero x (by_contra fun hn => hx ⟨hc, hn⟩) |
| 39 | · exact Scheme.ord_eq_zero_of_coheight_neq_one hc g |
| 40 | rw [ho, Int.cast_zero] |
| 41 | symm |
| 42 | apply Finset.sum_eq_zero |
| 43 | intro z _ |
| 44 | exact Finsupp.single_eq_of_ne (fun h => hx (h ▸ z.property)) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrincipalPointSum.Constructions |