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.Etale.RetractionNeighborhood |
| 2 | import Mathlib.RingTheory.Localization.Ideal |
| 3 | |
| 4 | /-! # Unramified Quotient Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.UnramifiedQuotientSection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lifting a section neighborhood from a quotient to its actual ambient affine ring. -/ |
| 11 | |
| 12 | variable {H S : Type*} [CommRing H] [CommRing S] [Algebra H S] |
| 13 | |
| 14 | /-- A split unramified quotient becomes the base ring after one principal |
| 15 | restriction of the ambient ring; the whole section lies in that restriction. -/ |
| 16 | theorem exists_unramified_quotient_section_neighborhood |
| 17 | (I : Ideal S) (r : S →ₐ[H] H) (hI : I ≤ RingHom.ker r) |
| 18 | [Algebra.EssFiniteType H (S ⧸ I)] [Algebra.FormallyUnramified H (S ⧸ I)] : |
| 19 | ∃ (s : S) (e : (Localization.Away s ⧸ I.map (algebraMap S (Localization.Away s))) ≃ₐ[H] H), |
| 20 | r s = 1 ∧ e.toRingHom.comp |
| 21 | ((Ideal.Quotient.mk (I.map (algebraMap S (Localization.Away s)))).comp |
| 22 | (algebraMap S (Localization.Away s))) = r.toRingHom := by |
| 23 | let Q := S ⧸ I |
| 24 | let rQ : Q →ₐ[H] H := Ideal.Quotient.liftₐ I r (fun a ha => hI ha) |
| 25 | obtain ⟨t, e, ht, he⟩ := Etale.RetractionNeighborhood.Construction.exists_unramified_retraction_localization rQ |
| 26 | obtain ⟨s, rfl⟩ := Ideal.Quotient.mk_surjective t |
| 27 | let A := Localization.Away s |
| 28 | let J := I.map (algebraMap S A) |
| 29 | let B := A ⧸ J |
| 30 | have hpow : Algebra.algebraMapSubmonoid Q (Submonoid.powers s) = |
| 31 | Submonoid.powers (Ideal.Quotient.mk I s) := |
| 32 | Submonoid.map_powers _ _ |
| 33 | let : IsLocalization.Away (Ideal.Quotient.mk I s) B := by |
| 34 | change IsLocalization (Submonoid.powers (Ideal.Quotient.mk I s)) B |
| 35 | rw [← hpow] |
| 36 | infer_instance |
| 37 | let : IsScalarTower H Q B := IsScalarTower.of_algebraMap_eq' (by |
| 38 | ext h |
| 39 | change algebraMap H B h = algebraMap Q B (algebraMap H Q h) |
| 40 | rw [IsScalarTower.algebraMap_apply H S Q, ← IsScalarTower.algebraMap_apply S Q B] |
| 41 | exact IsScalarTower.algebraMap_apply H S B h) |
| 42 | let α : B ≃ₐ[Q] Localization.Away (Ideal.Quotient.mk I s) := |
| 43 | IsLocalization.algEquiv (Submonoid.powers (Ideal.Quotient.mk I s)) B _ |
| 44 | let β : B ≃ₐ[H] H := (α.restrictScalars H).trans e |
| 45 | refine ⟨s, β, ht, ?_⟩ |
| 46 | apply RingHom.ext |
| 47 | intro a |
| 48 | change e (α (algebraMap Q B (Ideal.Quotient.mk I a))) = r a |
| 49 | rw [α.commutes] |
| 50 | exact RingHom.congr_fun he (Ideal.Quotient.mk I a) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Resolution.Blowups.UnramifiedQuotientSection.Construction |