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.Global.ProductDifferenceCoefficients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ChartGaugePrimitive |
| 3 | |
| 4 | /-! # Product Transition Primitive -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Global.ProductTransitionPrimitive |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restricting an actual normalized global product recovers a literal |
| 11 | primitive of the selected affine transition cocycle. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | attribute [local implicit_reducible] Dual.CommonOpenFiber.dualCommonOpenFiber Dual.CommonOpenFiber.dualAffineCommonOpenFiber |
| 16 | attribute [local implicit_reducible] Dual.ChartGauge.dualFamilyChartAffineOpen Dual.CommonOpenCocycle.dualFamilyPairAffineOpen Dual.ChartGauge.dualChartGaugeParameters |
| 17 | attribute [local irreducible] DualOpen.CommonTransitions.affineChartProductOnOpen Normalized.SmoothAffineDualProduct.dualProductSpecialFiberIso |
| 18 | |
| 19 | variable (k : Type) [Field k] (X : Over (Spec (.of (DualNumber k)))) [Smooth X.hom] |
| 20 | (U : X.left.AffineOpenCover) |
| 21 | (e : X ≅ (Over.pullback (ReferenceFamily.Smooth.AffineDualProduct.dualBaseProjection k)).obj ((Over.pullback (ReferenceFamily.Smooth.AffineDualProduct.dualBaseReduction k)).obj X)) |
| 22 | (he : NormalizedDual.OpenProductData.NormalizesDualProductFiber k e) |
| 23 | |
| 24 | def globalProductGaugeParameters : Dual.ChartGauge.dualChartGaugeParameters k X U := |
| 25 | fun i => ProductDifferenceCoefficients.globalProductDifferenceCoefficient k X U e he (Dual.ChartGauge.dualFamilyChartAffineOpen k X U i) i le_rfl |
| 26 | |
| 27 | theorem globalProductGaugeCoefficient_eq (V : X.left.affineOpens) (i : U.I₀) |
| 28 | (hi : V.1 ≤ (U.f i).opensRange) : |
| 29 | Dual.ChartGauge.dualChartGaugeCoefficient k X U (globalProductGaugeParameters k X U e he) V i hi = |
| 30 | ProductDifferenceCoefficients.globalProductDifferenceCoefficient k X U e he V i hi := |
| 31 | ProductDifferenceCoefficients.globalProductDifferenceCoefficient_restrict k X U e he |
| 32 | (show V.1 ≤ (Dual.ChartGauge.dualFamilyChartAffineOpen k X U i).1 from hi) i le_rfl |
| 33 | |
| 34 | theorem globalProductDifferenceCoefficient_cocycle (V : X.left.affineOpens) (i j : U.I₀) |
| 35 | (hi : V.1 ≤ (U.f i).opensRange) (hj : V.1 ≤ (U.f j).opensRange) : |
| 36 | Dual.CommonOpenDerivation.dualCommonOpenDerivation k X U V i j hi hj + ProductDifferenceCoefficients.globalProductDifferenceCoefficient k X U e he V j hj = |
| 37 | ProductDifferenceCoefficients.globalProductDifferenceCoefficient k X U e he V i hi := by |
| 38 | let G := Over.pullback (ReferenceFamily.Smooth.AffineDualProduct.dualBaseReduction k) |
| 39 | have hcomp : G.map ((DualOpen.CommonTransitions.dualCommonOpenTransition k X U V.1 i j hi hj ≪≫ |
| 40 | ProductChartDifferences.globalProductChartDifference k X U e he V.1 j hj).hom) = 𝟙 _ := by |
| 41 | rw [ProductChartDifferences.globalProductChartDifference_cocycle] |
| 42 | exact ProductChartDifferences.globalProductChartDifference_reduction k X U e he V.1 i hi |
| 43 | have hd := AffineProduct.DerivationLaws.affineProductTransitionDerivation_trans k (Dual.CommonOpenFiber.dualAffineCommonOpenFiber k X V) |
| 44 | (DualOpen.CommonTransitions.dualCommonOpenTransition k X U V.1 i j hi hj) (ProductChartDifferences.globalProductChartDifference k X U e he V.1 j hj) |
| 45 | (DualOpen.CommonTransitions.dualCommonOpenTransition_reduction k X U V.1 i j hi hj) |
| 46 | (ProductChartDifferences.globalProductChartDifference_reduction k X U e he V.1 j hj) hcomp |
| 47 | exact hd.symm.trans (AffineProduct.DerivationLaws.affineProductTransitionDerivation_congr k (Dual.CommonOpenFiber.dualAffineCommonOpenFiber k X V) |
| 48 | _ _ hcomp (ProductChartDifferences.globalProductChartDifference_reduction k X U e he V.1 i hi) |
| 49 | (ProductChartDifferences.globalProductChartDifference_cocycle k X U e he V.1 i j hi hj)) |
| 50 | |
| 51 | variable [IsSeparated X.hom] |
| 52 | |
| 53 | theorem globalProductGaugeParameters_primitive : |
| 54 | Dual.ChartGaugePrimitive.IsDualChartGaugePrimitive k X U (globalProductGaugeParameters k X U e he) := by |
| 55 | intro i j |
| 56 | rw [globalProductGaugeCoefficient_eq, globalProductGaugeCoefficient_eq] |
| 57 | exact eq_sub_iff_add_eq.mpr (globalProductDifferenceCoefficient_cocycle k X U e he |
| 58 | (Dual.CommonOpenCocycle.dualFamilyPairAffineOpen k X U i j) i j inf_le_left inf_le_right) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Global.ProductTransitionPrimitive |