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.DualAffine.ConormalInclusions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.OverPullbackOpenCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.ImmersionGlobalSections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.SectionTransport |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoordinateSectionMap |
| 6 | |
| 7 | /-! # Regular Sections -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualAffine.RegularSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The coefficient rings on affine special fibers identify with |
| 14 | the original regular sections on the corresponding opens of the |
| 15 | special fiber, compatibly with all literal restriction maps. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) |
| 20 | |
| 21 | def dualAffineReducedOpen (V : X.left.affineOpens) : (ConormalInclusions.dualFamilySpecialFiberObject k X).left.Opens := |
| 22 | (VaryingDualReduction.dualFamilyReduction k X) ⁻¹ᵁ V.1 |
| 23 | |
| 24 | theorem dualAffineCommonOpenInclusion_range (V : X.left.affineOpens) : |
| 25 | (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left.opensRange = dualAffineReducedOpen k X V := by |
| 26 | have := Dual.OpenChart.dualFamilyOpenInclusion_open k X V.1 |
| 27 | have h := OverPullbackOpenCover.overPullback_map_opensRange (Smooth.AffineDualProduct.dualBaseReduction k) (Dual.OpenChart.dualFamilyOpenInclusion k X V.1) |
| 28 | change (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left.opensRange = |
| 29 | (VaryingDualReduction.dualFamilyReduction k X) ⁻¹ᵁ (Dual.OpenChart.dualFamilyOpenInclusion k X V.1).left.opensRange at h |
| 30 | exact h.trans (congrArg (fun W => (VaryingDualReduction.dualFamilyReduction k X) ⁻¹ᵁ W) V.1.opensRange_ι) |
| 31 | |
| 32 | def dualAffineRegularSectionEquiv (V : X.left.affineOpens) : |
| 33 | HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (Dual.CommonOpenFiber.dualAffineCommonOpenFiber k X V) ≃+* |
| 34 | Γ((ConormalInclusions.dualFamilySpecialFiberObject k X).left, dualAffineReducedOpen k X V) := |
| 35 | ((IsOpenImmersion.ΓIsoTop (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left).commRingCatIsoToRingEquiv).trans |
| 36 | (Regular.SectionTransport.regularSectionTransport (dualAffineCommonOpenInclusion_range k X V)) |
| 37 | |
| 38 | theorem dualAffineRegularSectionEquiv_restrict {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 39 | (a : HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k (Dual.CommonOpenFiber.dualAffineCommonOpenFiber k X W)) : |
| 40 | dualAffineRegularSectionEquiv k X V (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h a) = |
| 41 | (ConormalInclusions.dualFamilySpecialFiberObject k X).left.presheaf.map |
| 42 | (homOfLE ((VaryingDualReduction.dualFamilyReduction k X).preimage_mono h)).op (dualAffineRegularSectionEquiv k X W a) := by |
| 43 | have hR : (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left.opensRange ≤ |
| 44 | (ConormalInclusions.dualAffineCommonOpenInclusion k X W).left.opensRange := by |
| 45 | rw [dualAffineCommonOpenInclusion_range, dualAffineCommonOpenInclusion_range] |
| 46 | exact (VaryingDualReduction.dualFamilyReduction k X).preimage_mono h |
| 47 | have hf : (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h).left ≫ (ConormalInclusions.dualAffineCommonOpenInclusion k X W).left = |
| 48 | (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left := |
| 49 | congrArg (fun f => f.left) (ConormalInclusions.dualAffineCommonOpenInclusion_natural k X h) |
| 50 | have hn := ConcreteCategory.congr_hom (Open.ImmersionGlobalSections.openImmersionTopSectionIso_natural |
| 51 | (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h).left (ConormalInclusions.dualAffineCommonOpenInclusion k X W).left |
| 52 | (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left hf hR) a |
| 53 | have hq : Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h a = (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h).left.appTop a := |
| 54 | Affine.CoordinateSectionMap.affineCoordinateMap_apply k (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenMap k X h) a |
| 55 | change Regular.SectionTransport.regularSectionTransport (dualAffineCommonOpenInclusion_range k X V) |
| 56 | ((IsOpenImmersion.ΓIsoTop (ConormalInclusions.dualAffineCommonOpenInclusion k X V).left).hom |
| 57 | (Dual.CommonOpenCoefficientRestriction.dualAffineCommonOpenAlgebraMap k X h a)) = _ |
| 58 | rw [hq] |
| 59 | exact (congrArg (Regular.SectionTransport.regularSectionTransport (dualAffineCommonOpenInclusion_range k X V)) hn).trans |
| 60 | (Regular.SectionTransport.regularSectionTransport_restrict (dualAffineCommonOpenInclusion_range k X W) |
| 61 | (dualAffineCommonOpenInclusion_range k X V) hR ((VaryingDualReduction.dualFamilyReduction k X).preimage_mono h) _) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualAffine.RegularSections |