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.CanonicalDualFiberSquare |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineSchemeModels |
| 3 | |
| 4 | /-! # Affine Dual Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.AffineDualProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An arbitrary smooth affine family over dual numbers is a product |
| 11 | of its actual scheme-theoretic special fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 16 | |
| 17 | variable (k : Type) [CommRing k] |
| 18 | |
| 19 | def dualBaseProjection : Spec (.of (DualNumber k)) ⟶ Spec (.of k) := |
| 20 | Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))) |
| 21 | |
| 22 | def dualBaseReduction : Spec (.of k) ⟶ Spec (.of (DualNumber k)) := |
| 23 | Spec.map (CommRingCat.ofHom (TrivSqZeroExt.fstHom k k k).toRingHom) |
| 24 | |
| 25 | attribute [local implicit_reducible] dualBaseProjection dualBaseReduction |
| 26 | |
| 27 | def canonicalDualFiberIso (S : Type) [CommRing S] |
| 28 | [Algebra (DualNumber k) S] [Algebra k S] [IsScalarTower k (DualNumber k) S] : |
| 29 | EtaleSplittingAt.EtaleSplitting.affineOver k (CanonicalDualSpecialFiber.dualSpecialFiber k S) ≅ |
| 30 | (Over.pullback (dualBaseReduction k)).obj (EtaleSplittingAt.EtaleSplitting.affineOver (DualNumber k) S) := |
| 31 | Over.isoMk (CanonicalDualFiberSquare.canonical_dual_specialFiber_isPullback k S).isoPullback |
| 32 | (CanonicalDualFiberSquare.canonical_dual_specialFiber_isPullback k S).isoPullback_hom_snd |
| 33 | |
| 34 | theorem exists_smooth_affine_dual_family_product |
| 35 | (X : Over (Spec (.of (DualNumber k)))) [IsAffine X.left] [Smooth X.hom] : |
| 36 | Nonempty (X ≅ (Over.pullback (dualBaseProjection k)).obj |
| 37 | ((Over.pullback (dualBaseReduction k)).obj X)) := by |
| 38 | let S := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra (DualNumber k) X |
| 39 | let : Algebra k S := |
| 40 | ((algebraMap (DualNumber k) S).comp (algebraMap k (DualNumber k))).toAlgebra |
| 41 | let : IsScalarTower k (DualNumber k) S := |
| 42 | IsScalarTower.of_algebraMap_eq' (R := k) (S := DualNumber k) (A := S) rfl |
| 43 | have : Algebra.Smooth (DualNumber k) S := HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth (DualNumber k) X |
| 44 | obtain ⟨e, _⟩ := DualReductionTrivialization.exists_smooth_dual_affine_product_from_reduction |
| 45 | (Ideal.Quotient.mk (CanonicalDualSpecialFiber.dualSpecialFiberIdeal k S)) Ideal.Quotient.mk_surjective |
| 46 | Ideal.mk_ker (CanonicalDualSpecialFiber.dualSpecialFiber_quotient_base k S) |
| 47 | let f : X ≅ EtaleSplittingAt.EtaleSplitting.affineOver (DualNumber k) S := HilbertConstruction.Affine.OverChartPoints.affineOverIso (DualNumber k) X |
| 48 | let a := canonicalDualFiberIso k S ≪≫ (Over.pullback (dualBaseReduction k)).mapIso f.symm |
| 49 | exact ⟨f ≪≫ e ≪≫ (Over.pullback (dualBaseProjection k)).mapIso a⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.AffineDualProduct |