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.HilbertScheme.Presentations.Affine.IdealCoefficientBaseChange |
| 2 | |
| 3 | /-! # Coefficient Descent Compatibility -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientDescentCompatibility |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A coefficient ideal on a base change has matching extensions along |
| 10 | any two coefficient maps with the same composite to the original base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {R A : CommRingCat.{u}} {X : Scheme.{u}} (f : X ⟶ Spec R) [Flat f] |
| 16 | variable (K : X.IdealSheafData) (φ : R ⟶ A) (C : Ideal A) |
| 17 | variable (hC : Affine.IdealCoefficientTests.IsAffineIdealCoefficient A (pullback.snd f (Spec.map φ)) |
| 18 | (K.comap (pullback.fst f (Spec.map φ))) C) |
| 19 | include hC |
| 20 | |
| 21 | theorem affineIdealCoefficient_test_composite {B : CommRingCat.{u}} (ψ : A ⟶ B) : |
| 22 | K.comap (pullback.fst f (Spec.map (φ ≫ ψ))) = ⊥ ↔ C ≤ RingHom.ker ψ.hom := by |
| 23 | have h := Affine.IdealCoefficientTests.affineIdealCoefficient_test A (pullback.snd f (Spec.map φ)) |
| 24 | (K.comap (pullback.fst f (Spec.map φ))) C hC ψ |
| 25 | rwa [Presentations.Ideal.PullbackVanishing.pullback_ideal_vanishing_comp, ← Spec.map_comp] at h |
| 26 | |
| 27 | theorem affineIdealCoefficient_descent_compatibility {D : CommRingCat.{u}} |
| 28 | (a b : A ⟶ D) (hab : φ ≫ a = φ ≫ b) : C.map a.hom = C.map b.hom := by |
| 29 | have ht (B : CommRingCat.{u}) (ψ : D ⟶ B) : |
| 30 | C.map a.hom ≤ RingHom.ker ψ.hom ↔ C.map b.hom ≤ RingHom.ker ψ.hom := by |
| 31 | rw [Ideal.map_le_iff_le_comap, Ideal.map_le_iff_le_comap, |
| 32 | RingHom.comap_ker, RingHom.comap_ker] |
| 33 | change C ≤ RingHom.ker (a ≫ ψ).hom ↔ C ≤ RingHom.ker (b ≫ ψ).hom |
| 34 | rw [← affineIdealCoefficient_test_composite f K φ C hC, |
| 35 | ← affineIdealCoefficient_test_composite f K φ C hC, ← Category.assoc, hab, Category.assoc] |
| 36 | apply le_antisymm |
| 37 | · have h := ht (CommRingCat.of (D ⧸ C.map b.hom)) |
| 38 | (CommRingCat.ofHom (Ideal.Quotient.mk (C.map b.hom))) |
| 39 | rw [CommRingCat.hom_ofHom, Ideal.mk_ker] at h |
| 40 | exact h.mpr le_rfl |
| 41 | · have h := ht (CommRingCat.of (D ⧸ C.map a.hom)) |
| 42 | (CommRingCat.ofHom (Ideal.Quotient.mk (C.map a.hom))) |
| 43 | rw [CommRingCat.hom_ofHom, Ideal.mk_ker] at h |
| 44 | exact h.mp le_rfl |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientDescentCompatibility |