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.ArithmeticGeometry.Models.SpreadingOut.RootScalarExtension |
| 2 | import Mathlib.RingTheory.Localization.BaseChange |
| 3 | |
| 4 | /-! # Hypersurface Chart Base Change -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceChartBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar extension of a principal monic hypersurface chart. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def hypersurfaceChartScalarExtensionIso |
| 17 | (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | (n : ℕ) (p : Polynomial (MvPolynomial (Fin n) R)) (d : MvPolynomial (Fin n) R) : |
| 19 | S ⊗[R] Localization.Away (algebraMap (MvPolynomial (Fin n) R) (AdjoinRoot p) d) ≃ₐ[S] |
| 20 | Localization.Away (algebraMap (MvPolynomial (Fin n) S) |
| 21 | (AdjoinRoot (Polynomial.map (MvPolynomial.map (algebraMap R S)) p)) |
| 22 | (MvPolynomial.map (algebraMap R S) d)) := by |
| 23 | let c := algebraMap (MvPolynomial (Fin n) R) (AdjoinRoot p) d |
| 24 | let e₁ := IsLocalization.Away.tensorProductEquivTMulRight R S c (Localization.Away c) |
| 25 | let e := RootScalarExtension.Construction.rootScalarExtensionIso R S n p |
| 26 | refine e₁.trans (IsLocalization.algEquivOfAlgEquiv |
| 27 | (M := Submonoid.powers (1 ⊗ₜ[R] c : S ⊗[R] AdjoinRoot p)) |
| 28 | (T := Submonoid.powers (algebraMap (MvPolynomial (Fin n) S) |
| 29 | (AdjoinRoot (Polynomial.map (MvPolynomial.map (algebraMap R S)) p)) |
| 30 | (MvPolynomial.map (algebraMap R S) d))) _ _ e ?_) |
| 31 | rw [Submonoid.map_powers] |
| 32 | exact congrArg Submonoid.powers (RootScalarExtension.Construction.rootScalarExtensionIso_one_tmul_algebraMap R S n p d) |
| 33 | |
| 34 | theorem hypersurface_chart_generic_iso_of_coefficients |
| 35 | (R K : Type u) [CommRing R] [Field K] [Algebra R K] |
| 36 | (n : ℕ) (p₀ : Polynomial (MvPolynomial (Fin n) R)) (d₀ : MvPolynomial (Fin n) R) |
| 37 | (p : Polynomial (MvPolynomial (Fin n) K)) (d : MvPolynomial (Fin n) K) |
| 38 | (hp : Polynomial.map (MvPolynomial.map (algebraMap R K)) p₀ = p) |
| 39 | (hd : MvPolynomial.map (algebraMap R K) d₀ = d) : |
| 40 | Nonempty (K ⊗[R] Localization.Away (algebraMap (MvPolynomial (Fin n) R) (AdjoinRoot p₀) d₀) ≃ₐ[K] |
| 41 | Localization.Away (algebraMap (MvPolynomial (Fin n) K) (AdjoinRoot p) d)) := by |
| 42 | subst p |
| 43 | subst d |
| 44 | exact ⟨hypersurfaceChartScalarExtensionIso R K n p₀ d₀⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceChartBaseChange.Construction |