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.PowerSeriesContinuous |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesIs |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.HomogeneousLineAt |
| 4 | |
| 5 | /-! # Power Series Ne -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesNe.Construction.PowerSeriesRegularDirection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero formal power series becomes regular in one variable after a shear. -/ |
| 12 | |
| 13 | variable {K : Type*} [Field K] [Infinite K] {n : ℕ} |
| 14 | |
| 15 | theorem exists_shear_axis_ne_zero (f : MvPowerSeries (Fin (n + 1)) K) (hf : f ≠ 0) : |
| 16 | ∃ a : Fin n → K, PowerSeriesContinuous.Construction.PowerSeriesAxis.axis (PowerSeriesSubst.Construction.PowerSeriesShear.equiv a f) ≠ 0 := by |
| 17 | obtain ⟨d, hd⟩ := (MvPowerSeries.ne_zero_iff_exists_coeff_ne_zero f).mp hf |
| 18 | let P := MvPolynomial.homogeneousComponent d.degree (f.truncTotal (d.degree + 1)) |
| 19 | have hP : P ≠ 0 := by |
| 20 | intro h |
| 21 | have hz := congrArg ((fun p => AddMonoidAlgebra.coeff p (d))) h |
| 22 | rw [MvPolynomial.coeff_homogeneousComponent, ite_eq_left rfl, |
| 23 | MvPowerSeries.coeff_truncTotal _ (Nat.lt_succ_self _), AddMonoidAlgebra.coeff_zero] at hz |
| 24 | exact hd hz |
| 25 | obtain ⟨a, ha⟩ := HomogeneousLineAt.Construction.HomogeneousLine.exists_eval_at_one_ne_zero |
| 26 | (MvPolynomial.homogeneousComponent_isHomogeneous _ _) hP |
| 27 | refine ⟨a, ?_⟩ |
| 28 | intro hz |
| 29 | apply ha |
| 30 | have hc := congrArg (PowerSeries.coeff d.degree) hz |
| 31 | rw [PowerSeriesContinuous.Construction.PowerSeriesAxis.axis_shear, PowerSeriesMonomial.Construction.PowerSeriesLine.coeff, map_zero] at hc |
| 32 | exact hc |
| 33 | |
| 34 | theorem exists_shear_reduction_ne_zero (f : MvPowerSeries (Fin (n + 1)) K) (hf : f ≠ 0) : |
| 35 | ∃ a : Fin n → K, |
| 36 | (MvPowerSeries.finSuccEquiv K n (PowerSeriesSubst.Construction.PowerSeriesShear.equiv a f)).map |
| 37 | (IsLocalRing.residue (MvPowerSeries (Fin n) K)) ≠ 0 := by |
| 38 | obtain ⟨a, ha⟩ := exists_shear_axis_ne_zero f hf |
| 39 | refine ⟨a, ?_⟩ |
| 40 | intro hz |
| 41 | apply ha |
| 42 | apply PowerSeries.ext |
| 43 | intro m |
| 44 | have hc := congrArg (PowerSeries.coeff m) hz |
| 45 | rw [PowerSeries.coeff_map, map_zero] at hc |
| 46 | have hm := (PowerSeriesIs.Construction.PowerSeriesLocal.mem_maximalIdeal_iff _).mp |
| 47 | ((IsLocalRing.residue_eq_zero_iff _).mp hc) |
| 48 | change MvPowerSeries.constantCoeff (PowerSeries.coeff m |
| 49 | (MvPowerSeries.finSuccEquiv K n (PowerSeriesSubst.Construction.PowerSeriesShear.equiv a f))) = 0 |
| 50 | exact hm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerSeriesNe.Construction.PowerSeriesRegularDirection |