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.Quotients.FiniteDescent.EtaleLocal |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesX |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesFin |
| 4 | |
| 5 | /-! # Etale Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.EtalePolynomial.Construction.EtalePolynomialFactorial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Factoriality of a local étale algebra over polynomial coordinates at a rational point. -/ |
| 12 | |
| 13 | variable {K S : Type*} [Field K] [Infinite K] [CommRing S] [Algebra K S] |
| 14 | variable [IsLocalRing S] [IsNoetherianRing S] |
| 15 | |
| 16 | theorem of_point (n : ℕ) [Algebra (MvPolynomial (Fin n) K) S] |
| 17 | [IsScalarTower K (MvPolynomial (Fin n) K) S] |
| 18 | [Algebra.FormallyEtale (MvPolynomial (Fin n) K) S] |
| 19 | [Algebra.EssFiniteType (MvPolynomial (Fin n) K) S] |
| 20 | (e : S →ₐ[K] K) (he : RingHom.ker e = IsLocalRing.maximalIdeal S) : |
| 21 | UniqueFactorizationMonoid S := by |
| 22 | let P := MvPolynomial (Fin n) K |
| 23 | let T := MvPowerSeries (Fin n) K |
| 24 | let v : Fin n → K := fun i => e (algebraMap P S (MvPolynomial.X i)) |
| 25 | have hev (p : P) : e (algebraMap P S p) = MvPolynomial.eval v p := by |
| 26 | have h : e.toRingHom.comp (algebraMap P S) = MvPolynomial.eval v := by |
| 27 | apply MvPolynomial.ringHom_ext |
| 28 | · intro c |
| 29 | simp only [RingHom.comp_apply, MvPolynomial.eval_C] |
| 30 | change e (algebraMap P S (algebraMap K P c)) = c |
| 31 | rw [← IsScalarTower.algebraMap_apply K P S] |
| 32 | exact e.commutes c |
| 33 | · intro i |
| 34 | simp [v] |
| 35 | exact RingHom.congr_fun h p |
| 36 | let f : P →ₐ[K] T := PowerSeriesX.Construction.PowerSeriesFlatShift.map v |
| 37 | let : Algebra P T := f.toAlgebra |
| 38 | have : Module.Flat P T := PowerSeriesX.Construction.PowerSeriesFlatShift.flat v |
| 39 | have : IsDomain T := NoZeroDivisors.to_isDomain _ |
| 40 | have : UniqueFactorizationMonoid T := PowerSeriesFin.Construction.PowerSeriesFactorial.fin K n |
| 41 | have : IsAdicComplete (IsLocalRing.maximalIdeal T) T := PowerSeriesIs.Construction.PowerSeriesLocal.isAdicComplete |
| 42 | let m := IsLocalRing.maximalIdeal T |
| 43 | let q : S →ₐ[P] T ⧸ m := { |
| 44 | toRingHom := ((Ideal.Quotient.mk m).comp MvPowerSeries.C).comp e.toRingHom |
| 45 | commutes' := fun p => by |
| 46 | change Ideal.Quotient.mk m (MvPowerSeries.C (e (algebraMap P S p))) = |
| 47 | Ideal.Quotient.mk m (f p) |
| 48 | rw [Ideal.Quotient.eq] |
| 49 | apply (PowerSeriesIs.Construction.PowerSeriesLocal.mem_maximalIdeal_iff _).mpr |
| 50 | rw [map_sub, MvPowerSeries.constantCoeff_C, PowerSeriesX.Construction.PowerSeriesFlatShift.constantCoeff_map, hev, |
| 51 | sub_self] } |
| 52 | apply EtaleLocal.Construction.EtaleLocalFactorial.of_residue_map q |
| 53 | ext s |
| 54 | change Ideal.Quotient.mk m (MvPowerSeries.C (e s)) = 0 ↔ s ∈ IsLocalRing.maximalIdeal S |
| 55 | rw [Ideal.Quotient.eq_zero_iff_mem, PowerSeriesIs.Construction.PowerSeriesLocal.mem_maximalIdeal_iff, |
| 56 | MvPowerSeries.constantCoeff_C] |
| 57 | change s ∈ RingHom.ker e ↔ _ |
| 58 | rw [he] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.EtalePolynomial.Construction.EtalePolynomialFactorial |