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.PushforwardFiber |
| 2 | |
| 3 | /-! # Pushforward Prescribed Fiber -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardPrescribedFiber |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A pushforward coefficient with exactly one prescribed nonzero |
| 10 | branch in its fiber. Other branches may exist and have coefficient zero. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 16 | |
| 17 | theorem coefficient {X Y : Scheme} (f : X ⟶ Y) (c : X →₀ ℚ) (x : X) (y : Y) (r : ℚ) |
| 18 | (h : ∀ z : X, f z = y → c z = if z = x then r else 0) : |
| 19 | CyclePushforward.pointPushforward f c y = if f x = y then r * (f.residueDegree x : ℚ) else 0 := by |
| 20 | by_cases he : f x = y |
| 21 | · rw [ite_eq_left he, CyclePushforward.pointPushforward, Finsupp.linearCombination_apply, Finsupp.sum_apply] |
| 22 | rw [Finsupp.sum_eq_single x] |
| 23 | · rw [Finsupp.smul_apply, he, Finsupp.single_eq_same, h x he, ite_eq_left rfl] |
| 24 | rfl |
| 25 | · intro z _ hzx |
| 26 | by_cases hz : f z = y |
| 27 | · rw [h z hz, ite_eq_right hzx, zero_smul, Finsupp.zero_apply] |
| 28 | · rw [Finsupp.smul_apply, Finsupp.single_eq_of_ne (fun h => hz h.symm), smul_zero] |
| 29 | · intro _ |
| 30 | simp only [zero_smul, Finsupp.zero_apply] |
| 31 | · rw [ite_eq_right he] |
| 32 | apply PushforwardFiber.pointPushforward_apply_eq_zero |
| 33 | intro z hz hzy |
| 34 | have hzx : z ≠ x := by rintro rfl; exact he hzy |
| 35 | exact hz ((h z hzy).trans (ite_eq_right hzx)) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardPrescribedFiber |