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.DifferentialSaturation |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.IntegralOpenCover |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.ComparisonGluing |
| 4 | import Mathlib.RingTheory.Ideal.IdempotentFG |
| 5 | |
| 6 | /-! # Differential Saturation Components -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialSaturationComponents.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Differential saturation defines an actual smooth open-and-closed component center. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k : Type u) {R : Type u} [Field k] [CharZero k] [IsAlgClosed k] |
| 19 | [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 20 | |
| 21 | theorem relativeDifferentialSaturation_idempotent (J : Ideal R) : |
| 22 | IsIdempotentElem (DifferentialSaturation.Construction.relativeDifferentialSaturation k J) := by |
| 23 | let I := DifferentialSaturation.Construction.relativeDifferentialSaturation k J |
| 24 | change I * I = I |
| 25 | apply Pointed.ComparisonGluing.Construction.ideal_eq_of_pointed_flat_comparisons |
| 26 | intro q hq |
| 27 | let : q.IsMaximal := hq |
| 28 | obtain ⟨C, hC⟩ := Blowups.Smooth.IntegralOpenCover.Construction.smooth_integral_open_chart_at_closed_point k q |
| 29 | obtain ⟨P, hP⟩ : ∃ P : PrimeSpectrum C.carrier, PrimeSpectrum.comap C.map.toRingHom P = ⟨q, inferInstance⟩ := hC |
| 30 | have hf : C.map.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 31 | (inferInstance : Etale (Spec.map (CommRingCat.ofHom C.map.toRingHom))) |
| 32 | have hm : I.map C.map.toRingHom = DifferentialSaturation.Construction.relativeDifferentialSaturation k (J.map C.map.toRingHom) := |
| 33 | DifferentialSaturation.Construction.relativeDifferentialSaturation_map k C.map hf J |
| 34 | have he : (I * I).map C.map.toRingHom = I.map C.map.toRingHom := by |
| 35 | rw [Ideal.map_mul, hm] |
| 36 | rcases DifferentialSaturation.Construction.relativeDifferentialSaturation_domain_dichotomy k (J.map C.map.toRingHom) with hz | hu |
| 37 | · rw [hz, Ideal.bot_mul] |
| 38 | · rw [hu, Ideal.top_mul] |
| 39 | have hflat : C.map.toRingHom.Flat := by |
| 40 | let : Algebra R C.carrier := C.map.toRingHom.toAlgebra |
| 41 | let : Algebra.Etale R C.carrier := hf |
| 42 | exact inferInstanceAs (Module.Flat R C.carrier) |
| 43 | exact ⟨C.carrier, inferInstance, C.map.toRingHom, C.map.toRingHom, P.asIdeal, P.isPrime, |
| 44 | hflat, congrArg PrimeSpectrum.asIdeal hP, he, rfl⟩ |
| 45 | |
| 46 | theorem relativeDifferentialSaturation_idempotent_generator (J : Ideal R) : |
| 47 | ∃ e : R, IsIdempotentElem e ∧ DifferentialSaturation.Construction.relativeDifferentialSaturation k J = Ideal.span {e} := by |
| 48 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing k R |
| 49 | have h := (Ideal.isIdempotentElem_iff_of_fg (DifferentialSaturation.Construction.relativeDifferentialSaturation k J) |
| 50 | (IsNoetherian.noetherian _)).mp (relativeDifferentialSaturation_idempotent k J) |
| 51 | simpa only [Ideal.submodule_span_eq] using h |
| 52 | |
| 53 | theorem relativeDifferentialSaturation_quotient_etale (J : Ideal R) : |
| 54 | Algebra.Etale R (R ⧸ DifferentialSaturation.Construction.relativeDifferentialSaturation k J) := by |
| 55 | obtain ⟨e, he, hI⟩ := relativeDifferentialSaturation_idempotent_generator k J |
| 56 | let I : Ideal R := Ideal.span {1 - (1 - e)} |
| 57 | let : IsLocalization.Away (1 - e) (R ⧸ I) := IsLocalization.Away.quotient_of_isIdempotentElem he.one_sub |
| 58 | let : Algebra.Etale R (R ⧸ I) := Algebra.Etale.of_isLocalizationAway (1 - e) |
| 59 | have hI' : I = DifferentialSaturation.Construction.relativeDifferentialSaturation k J := by |
| 60 | dsimp only [I] |
| 61 | rw [sub_sub_cancel, ← hI] |
| 62 | exact Algebra.Etale.of_equiv (Ideal.quotientEquivAlgOfEq R hI') |
| 63 | |
| 64 | theorem relativeDifferentialSaturation_quotient_smooth (J : Ideal R) : |
| 65 | Algebra.Smooth k (R ⧸ DifferentialSaturation.Construction.relativeDifferentialSaturation k J) := by |
| 66 | let : Algebra.Etale R (R ⧸ DifferentialSaturation.Construction.relativeDifferentialSaturation k J) := |
| 67 | relativeDifferentialSaturation_quotient_etale k J |
| 68 | exact Algebra.Smooth.comp k R _ |
| 69 | |
| 70 | theorem relativeDifferentialSaturation_pow_succ (J : Ideal R) (n : ℕ) : |
| 71 | DifferentialSaturation.Construction.relativeDifferentialSaturation k J ^ (n + 1) = DifferentialSaturation.Construction.relativeDifferentialSaturation k J := |
| 72 | (relativeDifferentialSaturation_idempotent k J).pow_succ_eq n |
| 73 | |
| 74 | theorem relativeDifferentialSaturation_permissible (J : Ideal R) (b : ℕ) : |
| 75 | J ≤ DifferentialSaturation.Construction.relativeDifferentialSaturation k J ^ b := by |
| 76 | cases b with |
| 77 | | zero => |
| 78 | rw [pow_zero, Ideal.one_eq_top] |
| 79 | exact (le_top : J ≤ (⊤ : Ideal R)) |
| 80 | | succ n => |
| 81 | rw [relativeDifferentialSaturation_pow_succ] |
| 82 | exact DifferentialSaturation.Construction.le_relativeDifferentialSaturation k J |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialSaturationComponents.Construction |