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.AbelianModuli.HilbertConstruction.CohomologyPullbackIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.LineBundleEuler |
| 3 | |
| 4 | /-! # Euler Pullback Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EulerPullbackIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Genuine line-bundle Euler characteristics are invariant under scheme isomorphisms over the coefficient field. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem coefficientEulerCharacteristic_pullback_iso |
| 15 | {K : Type u} [Field K] {X Y : Scheme.{u}} [Y.IsSeparated] |
| 16 | (f : X ⟶ Y) [IsIso f] (p : Y ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle Y) : |
| 17 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (f ≫ p) (L.pullback f).sheaf = CohomologyEulerCharacteristic.coefficientEulerCharacteristic p L.sheaf := by |
| 18 | apply finsum_congr |
| 19 | intro q |
| 20 | exact congrArg (fun n : ℕ => (-1 : ℤ) ^ q * (n : ℤ)) (CohomologyPullbackIso.lineBundleCohomologyPullbackIso f p L q).toLinearEquiv.finrank_eq |
| 21 | |
| 22 | theorem coefficientEulerCharacteristic_overIso |
| 23 | {K : Type u} [Field K] {A B : Over (Spec (.of K))} [B.left.IsSeparated] |
| 24 | (e : A ≅ B) (L : Line.Bundles.LineBundle B.left) (M : Line.Bundles.LineBundle A.left) |
| 25 | (h : (L.pullback e.hom.left).sheaf ≅ M.sheaf) : |
| 26 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.hom M.sheaf = CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.hom L.sheaf := by |
| 27 | have : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget (Spec (.of K))).map e.hom)) |
| 28 | calc |
| 29 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.hom M.sheaf = |
| 30 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.hom (L.pullback e.hom.left).sheaf := |
| 31 | Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso A.hom h.symm |
| 32 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic (e.hom.left ≫ B.hom) (L.pullback e.hom.left).sheaf := |
| 33 | congrArg (fun p => CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.pullback e.hom.left).sheaf) e.hom.w.symm |
| 34 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.hom L.sheaf := |
| 35 | coefficientEulerCharacteristic_pullback_iso e.hom.left B.hom L |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EulerPullbackIso |