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.Picard.PoincareBundle.Product.Covers |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 3 | |
| 4 | /-! # Parameter Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ParameterSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual family square obtained by fixing a subgroup parameter and quotienting the second coordinate. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {H A B : Over S} (h : H ⟶ A) (f : A ⟶ B) |
| 18 | |
| 19 | /-- The family cover retains the entire subgroup parameter scheme. -/ |
| 20 | def cover : H ⊗ A ⟶ H ⊗ B := 𝟙 H ⊗ₘ f |
| 21 | |
| 22 | /-- The actual source point of the original product family. -/ |
| 23 | def source : H ⊗ A ⟶ A ⊗ A := h ⊗ₘ 𝟙 A |
| 24 | |
| 25 | /-- The actual target point of the quotient product family. -/ |
| 26 | def target : H ⊗ B ⟶ B ⊗ B := (h ≫ f) ⊗ₘ 𝟙 B |
| 27 | |
| 28 | /-- Fixing the subgroup coordinate commutes with quotienting both original coordinates. -/ |
| 29 | theorem square : source h ≫ (f ⊗ₘ f) = cover (H := H) f ≫ target h f := by |
| 30 | dsimp only [source, cover, target] |
| 31 | rw [tensorHom_comp_tensorHom, tensorHom_comp_tensorHom, Category.id_comp, |
| 32 | Category.id_comp, Category.comp_id] |
| 33 | |
| 34 | /-- The full family cover is affine, flat and surjective under the original quotient hypotheses. -/ |
| 35 | theorem affine_flat_surjective [IsAffineHom f.left] [Flat f.left] [Surjective f.left] : |
| 36 | IsAffineHom (cover (H := H) f).left ∧ Flat (cover (H := H) f).left ∧ |
| 37 | Surjective (cover (H := H) f).left := by |
| 38 | have : IsIso (𝟙 H : H ⟶ H).left := inferInstanceAs (IsIso (𝟙 H.left)) |
| 39 | exact ⟨Product.Covers.tensorAffine (𝟙 H) f, Product.Covers.tensorFlat (𝟙 H) f, |
| 40 | Product.Covers.tensorSurjective (𝟙 H) f⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ParameterSquare |