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.Resolution.Blowups.Locally.PrincipalIdealSheaf |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Factorization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelOrderEquiv |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ResidualCoefficientTransform |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.MonomialBoundaryAtlas |
| 6 | |
| 7 | /-! # Principal Colon Factorization -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalColonFactorization.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Native principal ideal quotients factor exactly, with exact affine pullback when the divisor stays regular. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem locallyPrincipal_noetherianIdealSheafColon_factorization |
| 18 | {X : Scheme.{0}} [IsLocallyNoetherian X] (J K : X.IdealSheafData) |
| 19 | (hK : PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf K) (hJ : J ≤ K) : |
| 20 | K * NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon J K = J := by |
| 21 | choose U hx r hr using hK |
| 22 | have hcover : ⨆ x : X, (U x).1 = ⊤ := by |
| 23 | apply top_le_iff.mp |
| 24 | intro x _ |
| 25 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨x, hx x⟩ |
| 26 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ (Global.MonomialBoundaryAtlas.Construction.chosenAffineSpecCover U hcover).openCover |
| 27 | intro x |
| 28 | change X at x |
| 29 | change (K * NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon J K).comap (U x).2.fromSpec = J.comap (U x).2.fromSpec |
| 30 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel] |
| 31 | apply congrArg Affine.QuotientKernel.Construction.affineQuotientKernel |
| 32 | change K.ideal (U x) * (J.ideal (U x)).colon (K.ideal (U x) : Set Γ(X, U x)) = J.ideal (U x) |
| 33 | rw [hr x] |
| 34 | exact ControlledTransform.Construction.principal_mul_colon_of_le _ _ ((hJ (U x)).trans (hr x).le) |
| 35 | |
| 36 | theorem idealSheaf_factorization_comap_regular_affine |
| 37 | {X : Scheme.{0}} (J K L : X.IdealSheafData) (hfactor : K * L = J) |
| 38 | (R : CommRingCat) (j : Spec R ⟶ X) (A : Ideal R) (c : R) |
| 39 | (hJ : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel A) |
| 40 | (hK : K.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {c})) (hc : IsRegular c) : |
| 41 | L.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (A.colon (Ideal.span {c} : Set R)) := by |
| 42 | obtain ⟨B, hB⟩ := Affine.KernelOrderEquiv.Construction.exists_affineQuotientKernel (L.comap j) |
| 43 | have he := congrArg (fun I : X.IdealSheafData => I.comap j) hfactor |
| 44 | rw [IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, hJ, hK, ← hB, ← IdealSheaf.ProductRestriction.Construction.affineQuotientKernel_mul] at he |
| 45 | have hring := (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp he |
| 46 | rw [← hB, ← hring, ResidualCoefficientTransform.Construction.colon_principal_mul_of_regular B c hc] |
| 47 | |
| 48 | theorem locallyPrincipal_colon_comap_regular_affine |
| 49 | {X : Scheme.{0}} [IsLocallyNoetherian X] (J K : X.IdealSheafData) |
| 50 | (hlocal : PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf K) (hdiv : J ≤ K) |
| 51 | (R : CommRingCat) (j : Spec R ⟶ X) (A : Ideal R) (c : R) |
| 52 | (hJ : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel A) |
| 53 | (hK : K.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {c})) (hc : IsRegular c) : |
| 54 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon J K).comap j = |
| 55 | Affine.QuotientKernel.Construction.affineQuotientKernel (A.colon (Ideal.span {c} : Set R)) := |
| 56 | idealSheaf_factorization_comap_regular_affine J K _ |
| 57 | (locallyPrincipal_noetherianIdealSheafColon_factorization J K hlocal hdiv) R j A c hJ hK hc |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalColonFactorization.Construction |