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.Divisors.LineBundles.AffineLine.HorizontalCharts |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.LineVerticalDivisors |
| 3 | |
| 4 | /-! # Horizontal Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.HorizontalCycle.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual horizontal affine-line points differ from extended finite cycles by genuine principal divisors -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 15 | |
| 16 | theorem affineLineHorizontalPoint_residual_extended (y : Charts.BundleCycles.affineLine X) |
| 17 | (hy : Charts.BundleCycles.affineLineProjection X y = genericPoint X) (hne : y ≠ genericPoint (Charts.BundleCycles.affineLine X)) : |
| 18 | ∃ g : (Charts.BundleCycles.affineLine X).functionField, g ≠ 0 ∧ |
| 19 | ((RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g - Finsupp.single y 1).support : Set (Charts.BundleCycles.affineLine X)) ⊆ |
| 20 | Set.range (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X)) := by |
| 21 | obtain ⟨g, hg, hvertical⟩ := HorizontalCharts.BundleCycles.affineLineHorizontalPoint_relation X y hy hne |
| 22 | refine ⟨g, hg, ?_⟩ |
| 23 | intro q hq |
| 24 | have hbaseq := hvertical q hq |
| 25 | have hqy : q ≠ y := fun h => hbaseq (h ▸ hy) |
| 26 | have hnonzero : RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g q ≠ 0 := by |
| 27 | intro hz |
| 28 | exact Finsupp.mem_support_iff.mp hq (by rw [Finsupp.sub_apply, hz, Finsupp.single_eq_of_ne hqy, sub_self]) |
| 29 | have hh : Order.coheight q = 1 := by |
| 30 | by_contra h |
| 31 | apply hnonzero |
| 32 | rw [RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, Scheme.ord_eq_zero_of_coheight_neq_one h, Int.cast_zero] |
| 33 | exact ⟨Charts.BundleCycles.affineLineProjection X q, LineVerticalDivisors.BundleCycles.affineLineVerticalHeightOne_generic X q hh hbaseq⟩ |
| 34 | |
| 35 | theorem affineLineHorizontalPoint_cycle_relation (y : Charts.BundleCycles.affineLine X) |
| 36 | (hy : Charts.BundleCycles.affineLineProjection X y = genericPoint X) (hne : y ≠ genericPoint (Charts.BundleCycles.affineLine X)) : |
| 37 | ∃ g : (Charts.BundleCycles.affineLine X).functionField, g ≠ 0 ∧ ∃ z : X →₀ ℚ, |
| 38 | Finsupp.single y 1 + Integral.FiberGenericPoint.BundleCycles.integralFiberCycleExtension (Charts.BundleCycles.affineLineProjection X) z = |
| 39 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g := by |
| 40 | obtain ⟨g, hg, hs⟩ := affineLineHorizontalPoint_residual_extended X y hy hne |
| 41 | let d := RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g - Finsupp.single y 1 |
| 42 | let z := Finsupp.comapDomain (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Charts.BundleCycles.affineLineProjection X)) d |
| 43 | (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint_injective (Charts.BundleCycles.affineLineProjection X)).injOn |
| 44 | have he : Integral.FiberGenericPoint.BundleCycles.integralFiberCycleExtension (Charts.BundleCycles.affineLineProjection X) z = d := |
| 45 | Finsupp.mapDomain_comapDomain _ (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint_injective (Charts.BundleCycles.affineLineProjection X)) d hs |
| 46 | refine ⟨g, hg, z, ?_⟩ |
| 47 | rw [he] |
| 48 | change Finsupp.single y 1 + (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g - Finsupp.single y 1) = _ |
| 49 | rw [add_comm, sub_add_cancel] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.HorizontalCycle.BundleCycles |