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.Retracted.RefinementCoverage |
| 2 | |
| 3 | /-! # Refinement Helpers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smoothness and point coverage for actual étale refinement families. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem smooth_target_of_etale_algHom (k : Type u) {R S : Type u} |
| 16 | [CommRing k] [CommRing R] [CommRing S] [Algebra k R] [Algebra k S] |
| 17 | [Algebra.Smooth k R] (f : R →ₐ[k] S) (hf : f.toRingHom.Etale) : Algebra.Smooth k S := by |
| 18 | let : Algebra R S := f.toRingHom.toAlgebra |
| 19 | let : IsScalarTower k R S := IsScalarTower.of_algebraMap_eq (fun x => (f.commutes x).symm) |
| 20 | let : Algebra.Etale R S := RingHom.etale_algebraMap.mp hf |
| 21 | exact Algebra.Smooth.comp k R S |
| 22 | |
| 23 | /-- Commuting actual retraction maps lift a coefficient covering family |
| 24 | over the entire closed set defined by the original retraction kernel. -/ |
| 25 | theorem retraction_square_cover_lifts {H R : Type u} [CommRing H] [CommRing R] |
| 26 | {ι : Type u} (ρ : R →+* H) (hρ : Function.Surjective ρ) |
| 27 | (B V : ι → CommRingCat.{u}) (φ : ∀ i, H →+* B i) (f : ∀ i, R →+* V i) |
| 28 | (ρ' : ∀ i, V i →+* B i) |
| 29 | (hcomm : ∀ i, (ρ' i).comp (f i) = (φ i).comp ρ) |
| 30 | (hcover : ∀ p : PrimeSpectrum H, ∃ i, ∃ q : PrimeSpectrum (B i), |
| 31 | PrimeSpectrum.comap (φ i) q = p) |
| 32 | (p : PrimeSpectrum R) (hker : RingHom.ker ρ ≤ p.asIdeal) : |
| 33 | ∃ i, ∃ q : PrimeSpectrum (V i), PrimeSpectrum.comap (f i) q = p := by |
| 34 | let P : PrimeSpectrum H := ⟨p.asIdeal.map ρ, Ideal.map_isPrime_of_surjective hρ hker⟩ |
| 35 | have hP : P.asIdeal.comap ρ = p.asIdeal := by |
| 36 | change (p.asIdeal.map ρ).comap ρ = p.asIdeal |
| 37 | rw [Ideal.comap_map_of_surjective ρ hρ, ← RingHom.ker_eq_comap_bot, sup_eq_left.mpr hker] |
| 38 | obtain ⟨i, q, hq⟩ := hcover P |
| 39 | refine ⟨i, PrimeSpectrum.comap (ρ' i) q, ?_⟩ |
| 40 | apply PrimeSpectrum.ext |
| 41 | change (q.asIdeal.comap (ρ' i)).comap (f i) = p.asIdeal |
| 42 | rw [Ideal.comap_comap, hcomm i, ← Ideal.comap_comap] |
| 43 | have hqI : q.asIdeal.comap (φ i) = P.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 44 | rw [hqI] |
| 45 | exact hP |
| 46 | |
| 47 | /-- The complementary principal-open chart supplies every point where |
| 48 | the selected hypersurface equation does not vanish. -/ |
| 49 | theorem exists_localization_away_prime {R : Type u} [CommRing R] |
| 50 | (z : R) (p : PrimeSpectrum R) (hz : z ∉ p.asIdeal) : |
| 51 | ∃ q : PrimeSpectrum (Localization.Away z), |
| 52 | PrimeSpectrum.comap (algebraMap R (Localization.Away z)) q = p := by |
| 53 | have hdis : Disjoint (Submonoid.powers z : Set R) p.asIdeal := |
| 54 | (Ideal.disjoint_powers_iff_notMem_of_isPrime z).mpr hz |
| 55 | have hQ := IsLocalization.isPrime_of_isPrime_disjoint (Submonoid.powers z) |
| 56 | (Localization.Away z) p.asIdeal inferInstance hdis |
| 57 | refine ⟨⟨p.asIdeal.map (algebraMap R (Localization.Away z)), hQ⟩, ?_⟩ |
| 58 | apply PrimeSpectrum.ext |
| 59 | exact IsLocalization.under_map_of_isPrime_disjoint (Submonoid.powers z) |
| 60 | (Localization.Away z) inferInstance hdis |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers.Construction |