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.LocalizationRationalOrder |
| 2 | |
| 3 | /-! # Localization Point Divisor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizationPointDivisor.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: actual point-divisor equations on a localization lift to rational functions before localization -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 12 | |
| 13 | variable (R S : Type) [CommRing R] [CommRing S] [IsDomain R] [IsDomain S] |
| 14 | [Algebra R S] (M : Submonoid R) [IsLocalization M S] |
| 15 | [IsNoetherianRing R] [IsNoetherianRing S] |
| 16 | |
| 17 | include M |
| 18 | |
| 19 | theorem localizationPointDivisor_lift (p : Spec (.of S)) (a : (Spec (.of S)).functionField) |
| 20 | (ha : a ≠ 0) (hdiv : RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (.of S)) a = Finsupp.single p 1) : |
| 21 | ∃ g : (Spec (.of R)).functionField, g ≠ 0 ∧ ∀ q : Spec (.of S), |
| 22 | ((Spec (.of R)).ord g ((Spec.map (CommRingCat.ofHom (algebraMap R S))) q) : ℚ) = |
| 23 | Finsupp.single p 1 q := by |
| 24 | let e := LocalizationRationalOrder.BundleCycles.localizationFunctionFieldIso R S M |
| 25 | let g := e.inv a |
| 26 | have hg : g ≠ 0 := (map_ne_zero_iff _ e.symm.commRingCatIsoToRingEquiv.injective).mpr ha |
| 27 | refine ⟨g, hg, ?_⟩ |
| 28 | intro q |
| 29 | have h : LocalizationRationalOrder.BundleCycles.localizationFunctionFieldMap R S M g = a := Iso.inv_hom_id_apply e a |
| 30 | have hord := LocalizationRationalOrder.BundleCycles.ord_localization R S M g q |
| 31 | rw [h] at hord |
| 32 | exact (congrArg (fun n : ℤ => (n : ℚ)) hord).symm.trans (congrArg (fun z => z q) hdiv) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizationPointDivisor.BundleCycles |