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.Dual.CommonOpenCoefficientRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleHomDerivation |
| 3 | |
| 4 | /-! # Common Open Derivation Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CommonOpenDerivationExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual open coefficient map is etale. Restricting the overlap |
| 11 | derivation is exactly its uniquely constructed etale extension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | attribute [local implicit_reducible] CommonOpenFiber.dualCommonOpenFiber CommonOpenFiber.dualAffineCommonOpenFiber CommonOpenCoefficientRestriction.dualAffineCommonOpenMap |
| 16 | attribute [local irreducible] DualOpen.CommonTransitions.dualCommonOpenTransition DualOpen.CommonTransitions.affineChartProductOnOpen Normalized.SmoothAffineDualProduct.dualProductSpecialFiberIso |
| 17 | |
| 18 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) |
| 19 | {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 20 | |
| 21 | theorem dualAffineCommonOpenAlgebraMap_etale : (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h).toRingHom.Etale := by |
| 22 | have := CommonOpenCoefficientRestriction.dualAffineCommonOpenMap_open k X h |
| 23 | have := HilbertConstruction.Affine.OverMorphisms.affineOverMap_isOpenImmersion k (CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h) |
| 24 | exact (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 25 | (inferInstanceAs (Etale (Spec.map (CommRingCat.ofHom |
| 26 | (HilbertConstruction.Affine.OverMorphisms.affineOverMap k (CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h)).toRingHom)))) |
| 27 | |
| 28 | def dualCommonOpenDerivationRestriction : |
| 29 | Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X W)) |
| 30 | (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X W)) →ₗ[k] |
| 31 | Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V)) |
| 32 | (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (CommonOpenFiber.dualAffineCommonOpenFiber k X V)) := |
| 33 | EtaleHomDerivation.etaleAlgHomDerivationLinear (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h) |
| 34 | (dualAffineCommonOpenAlgebraMap_etale k X h) |
| 35 | |
| 36 | variable [Smooth X.hom] (U : X.left.AffineOpenCover) |
| 37 | |
| 38 | theorem dualCommonOpenDerivation_restrict (i j : U.I₀) |
| 39 | (hi : W.1 ≤ (U.f i).opensRange) (hj : W.1 ≤ (U.f j).opensRange) : |
| 40 | dualCommonOpenDerivationRestriction k X h (CommonOpenDerivation.dualCommonOpenDerivation k X U W i j hi hj) = |
| 41 | CommonOpenDerivation.dualCommonOpenDerivation k X U V i j (h.trans hi) (h.trans hj) := by |
| 42 | apply Eq.symm |
| 43 | exact EtaleHomDerivation.etaleAlgHomDerivationLinear_unique (CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h) |
| 44 | (dualAffineCommonOpenAlgebraMap_etale k X h) |
| 45 | (CommonOpenDerivation.dualCommonOpenDerivation k X U W i j hi hj) |
| 46 | (CommonOpenDerivation.dualCommonOpenDerivation k X U V i j (h.trans hi) (h.trans hj)) |
| 47 | (fun a => by |
| 48 | simpa only [CommonOpenDerivation.dualCommonOpenDerivation, CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap] using |
| 49 | (CommonOpenCoefficientRestriction.dualCommonOpenDerivation_natural k X h U i j hi hj a).symm) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CommonOpenDerivationExtension |