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.Mixed.CenterEtaleBaseChange |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.CenterComposition |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CanonicalBoundaryAtlas |
| 5 | |
| 6 | /-! # Comaximal Factor Boundary Center -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A disjoint factor of a boundary-compatible center retains common boundary coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts.comaximalFactor |
| 19 | {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 20 | (I K L : Ideal R) {ι : Type v} {w : ι → R} {F : Finset ι} |
| 21 | (h : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I w F) (hI : I = K * L) (hdisjoint : K ⊔ L = ⊤) : |
| 22 | MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R K w F := by |
| 23 | intro p hp |
| 24 | have hex : ∃ g ∈ L, g ∉ p.asIdeal := by |
| 25 | by_contra! hL |
| 26 | have hle : K ⊔ L ≤ p.asIdeal := sup_le hp hL |
| 27 | rw [hdisjoint] at hle |
| 28 | exact p.isPrime.ne_top (top_le_iff.mp hle) |
| 29 | obtain ⟨g, hgL, hgp⟩ := hex |
| 30 | let S := Localization.Away g |
| 31 | let φ : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 32 | have hφ : φ.toRingHom.Etale := RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway g) |
| 33 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := IsOpenImmersion.of_isLocalization g |
| 34 | obtain ⟨q, hq⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime g p hgp |
| 35 | have hL : L.map φ.toRingHom = ⊤ := Ideal.eq_top_of_isUnit_mem _ |
| 36 | (Ideal.mem_map_of_mem φ.toRingHom hgL) (IsLocalization.Away.algebraMap_isUnit g) |
| 37 | have he : I.map φ.toRingHom = K.map φ.toRingHom := by rw [hI, Ideal.map_mul, hL, Ideal.mul_top] |
| 38 | have hc := h.etale_baseChange (S := .of S) φ hφ |
| 39 | rw [he] at hc |
| 40 | have hKq : K.map φ.toRingHom ≤ q.asIdeal := by |
| 41 | apply Ideal.map_le_iff_le_comap.mpr |
| 42 | have heq := congrArg PrimeSpectrum.asIdeal hq |
| 43 | change q.asIdeal.comap φ.toRingHom = p.asIdeal at heq |
| 44 | rw [heq] |
| 45 | exact hp |
| 46 | obtain ⟨C⟩ := hc q hKq |
| 47 | exact ⟨C.comp (S := .of S) K w F φ p hq⟩ |
| 48 | |
| 49 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.comaximalFactor |
| 50 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 51 | {β : Type} {D : β → X.IdealSheafData} (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) |
| 52 | (K L : X.IdealSheafData) (hI : I = K * L) (hdisjoint : K ⊔ L = ⊤) : |
| 53 | Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f K D where |
| 54 | indices := A.indices |
| 55 | opens := A.opens |
| 56 | cover := A.cover |
| 57 | equations := A.equations |
| 58 | component := A.component |
| 59 | divided := A.divided |
| 60 | contained i j hj := by |
| 61 | have hmem := A.contained i j hj |
| 62 | have he := congrArg (fun J : X.IdealSheafData => J.ideal (A.opens i)) hI |
| 63 | rw [he] at hmem |
| 64 | exact Ideal.mul_le_left hmem |
| 65 | boundary := A.boundary |
| 66 | center i := by |
| 67 | let : Algebra ℂ Γ(X, A.opens i) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 68 | exact (A.center i).comaximalFactor (I.ideal (A.opens i)) (K.ideal (A.opens i)) (L.ideal (A.opens i)) |
| 69 | (congrArg (fun J : X.IdealSheafData => J.ideal (A.opens i)) hI) |
| 70 | (congrArg (fun J : X.IdealSheafData => J.ideal (A.opens i)) hdisjoint) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Resolution.Blowups |