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.ChartGauge |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.ChartGaugeCancellation |
| 3 | |
| 4 | /-! # Chart Gauge Primitive -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ChartGaugePrimitive |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A literal primitive for the actual affine transition cocycle |
| 11 | makes all the constructed adjusted charts agree on their common opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | attribute [local implicit_reducible] CommonOpenFiber.dualCommonOpenFiber CommonOpenFiber.dualAffineCommonOpenFiber |
| 16 | attribute [local implicit_reducible] CommonOpenCocycle.dualFamilyPairAffineOpen ChartGauge.dualChartGaugeParameters |
| 17 | attribute [local implicit_reducible] DualOpen.CommonTransitions.dualCommonOpenTransition CommonOpenDerivation.dualCommonOpenDerivation ChartGauge.dualChartGaugeOnOpen |
| 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) |
| 22 | |
| 23 | def IsDualChartGaugePrimitive : Prop := ∀ i j : U.I₀, |
| 24 | CommonOpenCocycle.dualFamilyPairTransitionDerivation k X U i j = |
| 25 | ChartGauge.dualChartGaugeCoefficient k X U a (CommonOpenCocycle.dualFamilyPairAffineOpen k X U i j) i inf_le_left - |
| 26 | ChartGauge.dualChartGaugeCoefficient k X U a (CommonOpenCocycle.dualFamilyPairAffineOpen k X U i j) j inf_le_right |
| 27 | |
| 28 | theorem dualChartGaugePrimitive_common_difference (ha : IsDualChartGaugePrimitive k X U a) |
| 29 | (V : X.left.affineOpens) (i j : U.I₀) (hi : V.1 ≤ (U.f i).opensRange) (hj : V.1 ≤ (U.f j).opensRange) : |
| 30 | CommonOpenDerivation.dualCommonOpenDerivation k X U V i j hi hj = |
| 31 | ChartGauge.dualChartGaugeCoefficient k X U a V i hi - ChartGauge.dualChartGaugeCoefficient k X U a V j hj := by |
| 32 | let W := CommonOpenCocycle.dualFamilyPairAffineOpen k X U i j |
| 33 | have hV : V.1 ≤ W.1 := le_inf hi hj |
| 34 | have ht := CommonOpenDerivationExtension.dualCommonOpenDerivation_restrict k X hV U i j inf_le_left inf_le_right |
| 35 | calc |
| 36 | CommonOpenDerivation.dualCommonOpenDerivation k X U V i j hi hj = |
| 37 | CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV (CommonOpenCocycle.dualFamilyPairTransitionDerivation k X U i j) := ht.symm |
| 38 | _ = CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV |
| 39 | (ChartGauge.dualChartGaugeCoefficient k X U a W i inf_le_left - ChartGauge.dualChartGaugeCoefficient k X U a W j inf_le_right) := |
| 40 | congrArg (CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV) (ha i j) |
| 41 | _ = CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV (ChartGauge.dualChartGaugeCoefficient k X U a W i inf_le_left) - |
| 42 | CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV (ChartGauge.dualChartGaugeCoefficient k X U a W j inf_le_right) := |
| 43 | (CommonOpenDerivationExtension.dualCommonOpenDerivationRestriction k X hV).map_sub _ _ |
| 44 | _ = ChartGauge.dualChartGaugeCoefficient k X U a V i hi - ChartGauge.dualChartGaugeCoefficient k X U a V j hj := |
| 45 | congrArg₂ (· - ·) (ChartGauge.dualChartGaugeCoefficient_restrict k X U a hV i inf_le_left) |
| 46 | (ChartGauge.dualChartGaugeCoefficient_restrict k X U a hV j inf_le_right) |
| 47 | |
| 48 | theorem dualChartGaugePrimitive_common_eq (ha : IsDualChartGaugePrimitive k X U a) |
| 49 | (V : X.left.affineOpens) (i j : U.I₀) (hi : V.1 ≤ (U.f i).opensRange) (hj : V.1 ≤ (U.f j).opensRange) : |
| 50 | ChartGauge.dualChartGaugeOnOpen k X U a V i hi = ChartGauge.dualChartGaugeOnOpen k X U a V j hj := |
| 51 | AffineProduct.ChartGaugeCancellation.affineProductChartGauge_cancellation k (CommonOpenFiber.dualAffineCommonOpenFiber k X V) |
| 52 | (DualOpen.CommonTransitions.affineChartProductOnOpen k X U i V.1 hi).iso (DualOpen.CommonTransitions.affineChartProductOnOpen k X U j V.1 hj).iso |
| 53 | (DualOpen.CommonTransitions.dualCommonOpenTransition_reduction k X U V.1 i j hi hj) |
| 54 | (ChartGauge.dualChartGaugeCoefficient k X U a V i hi) (ChartGauge.dualChartGaugeCoefficient k X U a V j hj) |
| 55 | (dualChartGaugePrimitive_common_difference k X U a ha V i j hi hj) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ChartGaugePrimitive |