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.AbelianModuli.HilbertConstruction.Localized.PolynomialParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EtaleLocalRegularSequences |
| 3 | |
| 4 | /-! # Unramified Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.UnramifiedParameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A flat unramified local algebra over polynomial coordinates has an actual regular generating sequence at every point lying over a rational coordinate point. The source localization and its local algebra map are constructed in the proof. -/ |
| 11 | universe u v w |
| 12 | open IsLocalRing |
| 13 | |
| 14 | theorem polynomial_unramified_flat_local_regular_parameters |
| 15 | {K : Type u} [Field K] {ι : Type v} [Finite ι] (a : ι → K) |
| 16 | (B : Type w) [CommRing B] [IsLocalRing B] |
| 17 | [Algebra (MvPolynomial ι K) B] |
| 18 | [Algebra.EssFiniteType (MvPolynomial ι K) B] |
| 19 | [Algebra.FormallyUnramified (MvPolynomial ι K) B] |
| 20 | [Module.Flat (MvPolynomial ι K) B] |
| 21 | (hpoint : (maximalIdeal B).under (MvPolynomial ι K) = |
| 22 | RingHom.ker (MvPolynomial.eval a)) : |
| 23 | ∃ rs : List B, Regular.SequenceBasic.RingTheory.Sequence.IsRegular B rs ∧ Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal B ∧ |
| 24 | rs.length = Nat.card ι := by |
| 25 | let A := MvPolynomial ι K |
| 26 | let p : Ideal A := RingHom.ker (MvPolynomial.eval a) |
| 27 | let : p.IsMaximal := EvaluationIdeal.polynomial_evaluation_kernel_isMaximal a |
| 28 | let Aₚ := Localization.AtPrime p |
| 29 | have hu : ∀ y : p.primeCompl, IsUnit (algebraMap A B y) := by |
| 30 | intro y |
| 31 | apply not_not.mp |
| 32 | intro hn |
| 33 | apply y.2 |
| 34 | change (y : A) ∈ RingHom.ker (MvPolynomial.eval a) |
| 35 | rw [← hpoint] |
| 36 | exact hn |
| 37 | let ψ : Aₚ →+* B := IsLocalization.lift (S := Aₚ) hu |
| 38 | let : Algebra Aₚ B := ψ.toAlgebra |
| 39 | let : IsScalarTower A Aₚ B := |
| 40 | IsScalarTower.of_algebraMap_eq' (IsLocalization.lift_comp hu).symm |
| 41 | have hlocal : IsLocalHom ψ := by |
| 42 | apply ((IsLocalRing.local_hom_TFAE ψ).out 3 1).mp |
| 43 | rw [← IsLocalization.AtPrime.map_eq_maximalIdeal p Aₚ, Ideal.map_map] |
| 44 | change p.map (ψ.comp (algebraMap A Aₚ)) ≤ maximalIdeal B |
| 45 | rw [show ψ.comp (algebraMap A Aₚ) = algebraMap A B from |
| 46 | IsLocalization.lift_comp hu] |
| 47 | exact Ideal.map_le_iff_le_comap.mpr hpoint.symm.le |
| 48 | let : IsLocalHom (algebraMap Aₚ B) := hlocal |
| 49 | let : Algebra.EssFiniteType Aₚ B := Algebra.EssFiniteType.of_comp A Aₚ B |
| 50 | let : Algebra.FormallyUnramified Aₚ B := |
| 51 | Algebra.FormallyUnramified.of_restrictScalars A Aₚ B |
| 52 | let : Module.Flat Aₚ B := |
| 53 | (Module.flat_iff_of_isLocalization Aₚ p.primeCompl B).mpr inferInstance |
| 54 | obtain ⟨rs, hreg, hgen, hlen⟩ := Localized.PolynomialParameters.localized_polynomial_regular_parameters a Aₚ |
| 55 | obtain ⟨hregB, hgenB⟩ := |
| 56 | EtaleLocalRegularSequences.local_unramified_flat_regular_generators Aₚ B rs hreg hgen |
| 57 | exact ⟨rs.map (algebraMap Aₚ B), hregB, hgenB, by simpa only [List.length_map] using hlen⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.UnramifiedParameters |