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.PowerSeriesNe |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.WeierstrassPrimeIs |
| 3 | import Mathlib.RingTheory.Noetherian.UniqueFactorizationDomain |
| 4 | import Mathlib.RingTheory.MvPowerSeries.NoZeroDivisors |
| 5 | |
| 6 | /-! # Power Series Fin -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesFin.Construction.PowerSeriesFactorial |
| 9 | |
| 10 | /-! Unique factorization for formal power series over an infinite field. -/ |
| 11 | |
| 12 | variable (K : Type*) [Field K] [Infinite K] |
| 13 | |
| 14 | theorem fin (n : ℕ) : UniqueFactorizationMonoid (MvPowerSeries (Fin n) K) := by |
| 15 | induction n with |
| 16 | | zero => |
| 17 | exact (MvPowerSeries.isEmptyEquiv (Fin 0) K).symm.toRingEquiv.toMulEquiv |
| 18 | |>.uniqueFactorizationMonoid inferInstance |
| 19 | | succ n ih => |
| 20 | have : IsDomain (MvPowerSeries (Fin n) K) := NoZeroDivisors.to_isDomain _ |
| 21 | have : IsDomain (MvPowerSeries (Fin (n + 1)) K) := NoZeroDivisors.to_isDomain _ |
| 22 | have : UniqueFactorizationMonoid (MvPowerSeries (Fin n) K) := ih |
| 23 | have : IsAdicComplete (IsLocalRing.maximalIdeal (MvPowerSeries (Fin n) K)) |
| 24 | (MvPowerSeries (Fin n) K) := PowerSeriesIs.Construction.PowerSeriesLocal.isAdicComplete |
| 25 | refine { toWellFounded := inferInstance, irreducible_iff_prime := ?_ } |
| 26 | intro f |
| 27 | refine ⟨fun hf => ?_, fun hf => hf.irreducible⟩ |
| 28 | obtain ⟨a, ha⟩ := PowerSeriesNe.Construction.PowerSeriesRegularDirection.exists_shear_reduction_ne_zero f hf.ne_zero |
| 29 | let e := (PowerSeriesSubst.Construction.PowerSeriesShear.equiv a).trans (MvPowerSeries.finSuccEquiv K n) |
| 30 | have hi : Irreducible (e f) := (MulEquiv.irreducible_iff e.toMulEquiv).mpr hf |
| 31 | have hp : Prime (e f) := WeierstrassPrimeIs.Construction.WeierstrassPrime.prime_of_irreducible_of_reduction_ne_zero ha hi |
| 32 | exact (MulEquiv.prime_iff e.toMulEquiv).mp hp |
| 33 | |
| 34 | theorem finite_variables (σ : Type*) [Finite σ] : |
| 35 | UniqueFactorizationMonoid (MvPowerSeries σ K) := by |
| 36 | classical |
| 37 | let := Fintype.ofFinite σ |
| 38 | let e := MvPowerSeries.renameEquiv K (Fintype.equivFin σ) |
| 39 | exact e.symm.toRingEquiv.toMulEquiv.uniqueFactorizationMonoid (fin K _) |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesFin.Construction.PowerSeriesFactorial |