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 | import Mathlib.RingTheory.Localization.Away.Basic |
| 4 | |
| 5 | /-! # Hypersurface Fiber Domain -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceFiberDomain.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometrically integral fibers of a localized monic hypersurface. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem root_isDomain_of_flatten_irreducible |
| 18 | (k : Type u) [Field k] (n : ℕ) (p : Polynomial (MvPolynomial (Fin n) k)) |
| 19 | (hp : Irreducible ((MvPolynomial.finSuccEquiv k n).symm p)) : IsDomain (AdjoinRoot p) := by |
| 20 | let q := (MvPolynomial.finSuccEquiv k n).symm p |
| 21 | have : (Ideal.span ({q} : Set (MvPolynomial (Fin (n + 1)) k))).IsPrime := |
| 22 | Ideal.isPrime_span_singleton_of_prime hp.prime |
| 23 | let e := PolynomialCoordinates.Construction.polynomialHypersurfaceIso k n p |
| 24 | exact Function.Injective.isDomain e.symm.toRingHom e.symm.injective |
| 25 | |
| 26 | theorem localized_monic_hypersurface_fiber_domain |
| 27 | (R k : Type u) [CommRing R] [Field k] [Algebra R k] |
| 28 | (n : ℕ) (p : Polynomial (MvPolynomial (Fin n) R)) |
| 29 | (hp : p.Monic) (hdegree : 0 < p.natDegree) (d : MvPolynomial (Fin n) R) |
| 30 | (hirr : Irreducible (MvPolynomial.map (algebraMap R k) |
| 31 | ((MvPolynomial.finSuccEquiv R n).symm p))) |
| 32 | (hd : MvPolynomial.map (algebraMap R k) d ≠ 0) : |
| 33 | IsDomain (k ⊗[R] Localization.Away |
| 34 | (algebraMap (MvPolynomial (Fin n) R) (AdjoinRoot p) d)) := by |
| 35 | let p' := Polynomial.map (MvPolynomial.map (algebraMap R k)) p |
| 36 | have hirr' : Irreducible ((MvPolynomial.finSuccEquiv k n).symm p') := by |
| 37 | rw [← PolynomialCoordinates.Construction.map_finSuccEquiv_symm] |
| 38 | exact hirr |
| 39 | have : IsDomain (AdjoinRoot p') := root_isDomain_of_flatten_irreducible k n p' hirr' |
| 40 | let e := RootScalarExtension.Construction.rootScalarExtensionIso R k n p |
| 41 | have : IsDomain (k ⊗[R] AdjoinRoot p) := |
| 42 | Function.Injective.isDomain e.toRingHom e.injective |
| 43 | have hdeg' : p'.degree ≠ 0 := by |
| 44 | apply ne_of_gt |
| 45 | apply Polynomial.natDegree_pos_iff_degree_pos.mp |
| 46 | rw [show p'.natDegree = p.natDegree from hp.natDegree_map _] |
| 47 | exact hdegree |
| 48 | have hcoeff : Function.Injective (algebraMap (MvPolynomial (Fin n) k) (AdjoinRoot p')) := |
| 49 | AdjoinRoot.of.injective_of_degree_ne_zero hdeg' |
| 50 | let c := algebraMap (MvPolynomial (Fin n) R) (AdjoinRoot p) d |
| 51 | have hc : (1 ⊗ₜ[R] c : k ⊗[R] AdjoinRoot p) ≠ 0 := by |
| 52 | intro hc |
| 53 | have H := congrArg e hc |
| 54 | rw [map_zero] at H |
| 55 | change e (1 ⊗ₜ[R] algebraMap _ (AdjoinRoot p) d) = 0 at H |
| 56 | rw [RootScalarExtension.Construction.rootScalarExtensionIso_one_tmul_algebraMap] at H |
| 57 | exact hd (hcoeff (H.trans (map_zero _).symm)) |
| 58 | have : IsDomain (Localization.Away (1 ⊗ₜ[R] c : k ⊗[R] AdjoinRoot p)) := |
| 59 | Localization.Away.isDomain hc |
| 60 | let e' := IsLocalization.Away.tensorProductEquivTMulRight R k c (Localization.Away c) |
| 61 | exact Function.Injective.isDomain e'.toRingHom e'.injective |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.ArithmeticGeometry.Models.SpreadingOut.HypersurfaceFiberDomain.Construction |