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.FlatExtendedPrimeOrder |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FlatMorphismOrder |
| 3 | |
| 4 | /-! # Extended Prime Stalk -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.ExtendedPrimeStalk.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: the actual affine stalk map at an extended prime -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | |
| 17 | theorem affineExtendedPrime_stalk_maximalIdeal (P : Spec (CommRingCat.of S)) |
| 18 | (hP : (P.asIdeal.under R).map (algebraMap R S) = P.asIdeal) : |
| 19 | (IsLocalRing.maximalIdeal ((Spec (CommRingCat.of R)).presheaf.stalk |
| 20 | ((Spec.map (CommRingCat.ofHom (algebraMap R S))) P))).map |
| 21 | ((Spec.map (CommRingCat.ofHom (algebraMap R S))).stalkMap P).hom = |
| 22 | IsLocalRing.maximalIdeal ((Spec (CommRingCat.of S)).presheaf.stalk P) := by |
| 23 | let : P.asIdeal.IsPrime := (show PrimeSpectrum S from P).isPrime |
| 24 | let f : CommRingCat.of R ⟶ CommRingCat.of S := CommRingCat.ofHom (algebraMap R S) |
| 25 | let p : Spec (CommRingCat.of R) := (Spec.map f) P |
| 26 | let : p.asIdeal.IsPrime := (show PrimeSpectrum R from p).isPrime |
| 27 | let eR := Spec.stalkIso (CommRingCat.of R) p |
| 28 | let eS := Spec.stalkIso (CommRingCat.of S) P |
| 29 | let l := Localization.localRingHom p.asIdeal P.asIdeal f.hom rfl |
| 30 | have hlocal : (IsLocalRing.maximalIdeal (Localization.AtPrime p.asIdeal)).map l = |
| 31 | IsLocalRing.maximalIdeal (Localization.AtPrime P.asIdeal) := |
| 32 | FlatExtendedPrimeOrder.BundleCycles.extendedPrimeLocalMap_maximalIdeal p.asIdeal P.asIdeal rfl hP |
| 33 | have he := congrArg CommRingCat.Hom.hom (Scheme.localRingHom_comp_stalkIso f P) |
| 34 | apply (congrArg (fun t : ((Spec (CommRingCat.of R)).presheaf.stalk p) →+* |
| 35 | ((Spec (CommRingCat.of S)).presheaf.stalk P) => |
| 36 | (IsLocalRing.maximalIdeal ((Spec (CommRingCat.of R)).presheaf.stalk p)).map t) he).symm.trans |
| 37 | change (IsLocalRing.maximalIdeal ((Spec (CommRingCat.of R)).presheaf.stalk p)).map |
| 38 | (eS.inv.hom.comp (l.comp eR.hom.hom)) = _ |
| 39 | rw [← Ideal.map_map, ← Ideal.map_map] |
| 40 | have hR : (IsLocalRing.maximalIdeal ((Spec (CommRingCat.of R)).presheaf.stalk |
| 41 | ((Spec.map f) P))).map eR.hom.hom = IsLocalRing.maximalIdeal (Localization.AtPrime p.asIdeal) := |
| 42 | IsLocalRing.map_ringEquiv_maximalIdeal eR.commRingCatIsoToRingEquiv |
| 43 | rw [hR, hlocal] |
| 44 | exact IsLocalRing.map_ringEquiv_maximalIdeal eS.symm.commRingCatIsoToRingEquiv |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.ExtendedPrimeStalk.BundleCycles |