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.RepresentationTheory.Theta.Geometric.SquareZero.LinearDetection |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | |
| 4 | /-! # Affine Detection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.AffineDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Morphisms from a split square-zero scheme to an affine scheme are |
| 11 | detected by their actual complex dual-number linear quotients. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {M : Type} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] [IsCentralScalar ℂ M] |
| 16 | |
| 17 | theorem squareZero_affine_maps_ext (X : Scheme) [IsAffine X] |
| 18 | (f g : Spec (.of (TrivSqZeroExt ℂ M)) ⟶ X) |
| 19 | (h : ∀ l : M →ₗ[ℂ] ℂ, |
| 20 | Spec.map (CommRingCat.ofHom (TrivSqZeroExt.map l).toRingHom) ≫ f = |
| 21 | Spec.map (CommRingCat.ofHom (TrivSqZeroExt.map l).toRingHom) ≫ g) : f = g := by |
| 22 | let a : Γ(X, ⊤) ⟶ CommRingCat.of (TrivSqZeroExt ℂ M) := Spec.preimage (f ≫ X.isoSpec.hom) |
| 23 | let b : Γ(X, ⊤) ⟶ CommRingCat.of (TrivSqZeroExt ℂ M) := Spec.preimage (g ≫ X.isoSpec.hom) |
| 24 | have ha : Spec.map a = f ≫ X.isoSpec.hom := Spec.map_preimage _ |
| 25 | have hb : Spec.map b = g ≫ X.isoSpec.hom := Spec.map_preimage _ |
| 26 | have hlin (l : M →ₗ[ℂ] ℂ) : |
| 27 | a ≫ CommRingCat.ofHom (TrivSqZeroExt.map l).toRingHom = |
| 28 | b ≫ CommRingCat.ofHom (TrivSqZeroExt.map l).toRingHom := by |
| 29 | apply Spec.map_injective |
| 30 | rw [Spec.map_comp, Spec.map_comp, ha, hb, ← Category.assoc, ← Category.assoc, h l] |
| 31 | have hab : a = b := CommRingCat.hom_ext |
| 32 | (LinearDetection.squareZero_ring_maps_ext a.hom b.hom (fun l => congrArg CommRingCat.Hom.hom (hlin l))) |
| 33 | apply (cancel_mono X.isoSpec.hom).mp |
| 34 | exact ha.symm.trans ((congrArg Spec.map hab).trans hb) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.AffineDetection |