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.ProperCycleLinearity |
| 2 | |
| 3 | /-! # Sum Congruence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SumCongruence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An intersection coefficient only uses input coefficients on |
| 10 | supports containing its generic point. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | theorem sum_eq (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 15 | (A C : IrreducibleCloseds X.carrier) (a b : X.RationalDimensionCycle p) |
| 16 | (h : ∀ D : X.DimensionCycleSupport p, CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (D.val : Set X.carrier) → a D = b D) : |
| 17 | a.sum (fun D c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C) = |
| 18 | b.sum (fun D c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C) := by |
| 19 | let F := Finsupp.linearCombination ℚ (fun D : X.DimensionCycleSupport p => CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C) |
| 20 | change F a = F b |
| 21 | rw [← sub_eq_zero, ← map_sub] |
| 22 | change ∑ D ∈ (a - b).support, (a - b) D * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C = 0 |
| 23 | apply Finset.sum_eq_zero |
| 24 | intro D _ |
| 25 | by_cases hxD : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (D.val : Set X.carrier) |
| 26 | · change (a - b) D * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C = 0 |
| 27 | rw [Finsupp.sub_apply, h D hxD, sub_self, zero_mul] |
| 28 | · have hz : CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C = 0 := dite_eq_right (fun hx => hxD hx.1) |
| 29 | change (a - b) D * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X D.val A C = 0 |
| 30 | rw [hz, mul_zero] |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SumCongruence |