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.ChartGaugeLocalMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.OverOpenCoverGluing |
| 3 | |
| 4 | /-! # Chart Gauge Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ChartGaugeGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A literal cocycle primitive glues the constructed adjusted charts |
| 11 | into one actual map from the varying family to the product of its own |
| 12 | special fiber, over the original dual-number base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | attribute [local implicit_reducible] ChartGauge.dualFamilyChartAffineOpen CommonOpenCocycle.dualFamilyPairAffineOpen |
| 17 | attribute [local implicit_reducible] OpenChart.dualFamilyOpenObject OpenChart.dualFamilyOpenInclusion OpenChart.dualFamilyOpenMap |
| 18 | attribute [local irreducible] DualOpen.CommonTransitions.affineChartProductOnOpen Normalized.SmoothAffineDualProduct.dualProductSpecialFiberIso |
| 19 | |
| 20 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) [Smooth X.hom] [IsSeparated X.hom] |
| 21 | (U : X.left.AffineOpenCover) (a : ChartGauge.dualChartGaugeParameters k X U) (ha : ChartGaugePrimitive.IsDualChartGaugePrimitive k X U a) |
| 22 | |
| 23 | include ha |
| 24 | |
| 25 | theorem dualChartGaugeLocalMaps_compatible (i j : U.I₀) : |
| 26 | pullback.fst ((LiteralAffineCover.dualFamilyLiteralAffineCover k X U).f i) ((LiteralAffineCover.dualFamilyLiteralAffineCover k X U).f j) ≫ |
| 27 | (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a i).left = |
| 28 | pullback.snd _ _ ≫ (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a j).left := by |
| 29 | let V := CommonOpenCocycle.dualFamilyPairAffineOpen k X U i j |
| 30 | have hl := ChartGaugeLocalMaps.dualChartGaugeLocalMap_restrict k X U a V i inf_le_left |
| 31 | have hr := ChartGaugeLocalMaps.dualChartGaugeLocalMap_restrict k X U a V j inf_le_right |
| 32 | have he := ChartGaugePrimitive.dualChartGaugePrimitive_common_eq k X U a ha V i j inf_le_left inf_le_right |
| 33 | rw [he] at hl |
| 34 | have hs := congrArg Over.Hom.left (hl.trans hr.symm) |
| 35 | let hp := isPullback_opens_inf (ChartGauge.dualFamilyChartAffineOpen k X U i).1 (ChartGauge.dualFamilyChartAffineOpen k X U j).1 |
| 36 | apply (cancel_epi hp.isoPullback.hom).mp |
| 37 | change hp.isoPullback.hom ≫ (pullback.fst _ _ ≫ (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a i).left) = |
| 38 | hp.isoPullback.hom ≫ (pullback.snd _ _ ≫ (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a j).left) |
| 39 | rw [← Category.assoc, hp.isoPullback_hom_fst, ← Category.assoc, hp.isoPullback_hom_snd] |
| 40 | exact hs |
| 41 | |
| 42 | def dualChartGaugeGluedMap : X ⟶ |
| 43 | (Over.pullback (ReferenceFamily.Smooth.AffineDualProduct.dualBaseProjection k)).obj ((Over.pullback (ReferenceFamily.Smooth.AffineDualProduct.dualBaseReduction k)).obj X) := |
| 44 | OverOpenCoverGluing.glueOverOpenCover X _ (LiteralAffineCover.dualFamilyLiteralAffineCover k X U) |
| 45 | (fun i => (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a i).left) |
| 46 | (fun i => (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a i).w) |
| 47 | (dualChartGaugeLocalMaps_compatible k X U a ha) |
| 48 | |
| 49 | theorem dualChartGaugeGluedMap_fac (i : U.I₀) : |
| 50 | OpenChart.dualFamilyOpenInclusion k X (ChartGauge.dualFamilyChartAffineOpen k X U i).1 ≫ |
| 51 | dualChartGaugeGluedMap k X U a ha = ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a i := by |
| 52 | apply Over.OverMorphism.ext |
| 53 | exact OverOpenCoverGluing.glueOverOpenCover_fac X _ (LiteralAffineCover.dualFamilyLiteralAffineCover k X U) |
| 54 | (fun j => (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a j).left) |
| 55 | (fun j => (ChartGaugeLocalMaps.dualChartGaugeLocalMap k X U a j).w) |
| 56 | (dualChartGaugeLocalMaps_compatible k X U a ha) i |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ChartGaugeGluing |