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.DualProductComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleSplittingAt |
| 3 | |
| 4 | /-! # Dual Affine Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualAffineProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth affine dual-number deformation is an actual scheme product |
| 11 | over the dual-number base, with its prescribed special-fiber inclusion. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleSplittingAt.EtaleSplitting |
| 17 | |
| 18 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 19 | |
| 20 | variable {k A S : Type} [CommRing k] [CommRing A] [CommRing S] |
| 21 | [Algebra k A] [Algebra (DualNumber k) S] |
| 22 | [Algebra.FormallySmooth k A] [Algebra.FormallySmooth (DualNumber k) S] |
| 23 | |
| 24 | local instance : CommRing (DualNumber k ⊗[k] A) := |
| 25 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 26 | |
| 27 | theorem exists_smooth_dual_affine_product (q : S →+* A) (hq : Function.Surjective q) |
| 28 | (hker : RingHom.ker q = (Dual.TensorReduction.dualScalarReductionIdeal k).map (algebraMap (DualNumber k) S)) |
| 29 | (hbase : ∀ c : DualNumber k, q (algebraMap (DualNumber k) S c) = algebraMap k A c.fst) : |
| 30 | ∃ e : EtaleSplittingAt.EtaleSplitting.affineOver (DualNumber k) S ≅ |
| 31 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))))).obj (EtaleSplittingAt.EtaleSplitting.affineOver k A), |
| 32 | Spec.map (CommRingCat.ofHom q) ≫ e.hom.left = |
| 33 | Spec.map (CommRingCat.ofHom (Dual.TensorReduction.dualTensorReduction k A).toRingHom) ≫ |
| 34 | (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso k A (DualNumber k)).hom.left := by |
| 35 | obtain ⟨f, hf⟩ := DualProductComparison.exists_smooth_dual_product_comparison q hq hker hbase |
| 36 | let a := EtaleSplittingAt.EtaleSplitting.affineAlgIso (DualNumber k) S f |
| 37 | let b := EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso k A (DualNumber k) |
| 38 | let e := a.symm ≪≫ b |
| 39 | have hqf : CommRingCat.ofHom q = |
| 40 | CommRingCat.ofHom f.toRingHom ≫ CommRingCat.ofHom (Dual.TensorReduction.dualTensorReduction k A).toRingHom := by |
| 41 | apply CommRingCat.hom_ext |
| 42 | exact RingHom.ext (fun s => (hf s).symm) |
| 43 | have ha : a.hom.left ≫ a.inv.left = 𝟙 _ := congrArg Over.Hom.left a.hom_inv_id |
| 44 | refine ⟨e, ?_⟩ |
| 45 | change Spec.map (CommRingCat.ofHom q) ≫ (a.inv.left ≫ b.hom.left) = _ |
| 46 | rw [hqf, Spec.map_comp] |
| 47 | change (Spec.map (CommRingCat.ofHom (Dual.TensorReduction.dualTensorReduction k A).toRingHom) ≫ a.hom.left) ≫ |
| 48 | (a.inv.left ≫ b.hom.left) = _ |
| 49 | rw [Category.assoc, ← Category.assoc a.hom.left a.inv.left, ha, Category.id_comp] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualAffineProduct |