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.ReferenceFamily.Smooth.AffineDualProduct |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.NumberSpectrum |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Varying Dual Reduction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.VaryingDualReduction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reduction of a varying family over dual numbers is a surjective |
| 12 | closed immersion. Its actual special fiber has the same underlying opens. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (k : Type) [Field k] |
| 17 | |
| 18 | instance dualBaseReduction_closed : IsClosedImmersion (Smooth.AffineDualProduct.dualBaseReduction k) := |
| 19 | IsClosedImmersion.spec_of_surjective |
| 20 | (CommRingCat.ofHom (TrivSqZeroExt.fstHom k k k).toRingHom) (fun a => ⟨(a, 0), rfl⟩) |
| 21 | |
| 22 | instance dualBaseReduction_surjective : Surjective (Smooth.AffineDualProduct.dualBaseReduction k) := |
| 23 | Dual.NumberSpectrum.dualNumberOrigin_surjective |
| 24 | |
| 25 | def dualFamilyReduction (X : Over (Spec (.of (DualNumber k)))) : |
| 26 | ((Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).obj X).left ⟶ X.left := |
| 27 | pullback.fst X.hom (Smooth.AffineDualProduct.dualBaseReduction k) |
| 28 | |
| 29 | attribute [local implicit_reducible] dualFamilyReduction |
| 30 | |
| 31 | instance dualFamilyReduction_closed (X : Over (Spec (.of (DualNumber k)))) : |
| 32 | IsClosedImmersion (dualFamilyReduction k X) := |
| 33 | inferInstanceAs (IsClosedImmersion (pullback.fst X.hom (Smooth.AffineDualProduct.dualBaseReduction k))) |
| 34 | |
| 35 | instance dualFamilyReduction_surjective (X : Over (Spec (.of (DualNumber k)))) : |
| 36 | Surjective (dualFamilyReduction k X) := |
| 37 | inferInstanceAs (Surjective (pullback.fst X.hom (Smooth.AffineDualProduct.dualBaseReduction k))) |
| 38 | |
| 39 | def dualFamilyReductionHomeomorph (X : Over (Spec (.of (DualNumber k)))) : |
| 40 | ((Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).obj X).left ≃ₜ X.left := |
| 41 | (isHomeomorph_iff_isEmbedding_surjective.mpr |
| 42 | ⟨(dualFamilyReduction k X).isClosedEmbedding.isEmbedding, |
| 43 | (dualFamilyReduction k X).surjective⟩).homeomorph |
| 44 | |
| 45 | theorem dualFamilyReduction_opens_injective (X : Over (Spec (.of (DualNumber k)))) : |
| 46 | Function.Injective (fun U : X.left.Opens => (dualFamilyReduction k X) ⁻¹ᵁ U) := by |
| 47 | intro U V h |
| 48 | ext x |
| 49 | obtain ⟨y, rfl⟩ := (dualFamilyReduction k X).surjective x |
| 50 | exact (SetLike.ext_iff.mp h) y |
| 51 | |
| 52 | theorem dualFamilyReduction_affineOpen (X : Over (Spec (.of (DualNumber k)))) |
| 53 | (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 54 | IsAffineOpen ((dualFamilyReduction k X) ⁻¹ᵁ U) := |
| 55 | hU.preimage (dualFamilyReduction k X) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.VaryingDualReduction |