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.AbelianModuli.HilbertConstruction.Polynomial.VariableSequence |
| 2 | import Mathlib.Algebra.Algebra.Equiv |
| 3 | |
| 4 | /-! # Translation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.Translation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Translation carries the regular sequence of polynomial variables to the coordinate differences at an arbitrary rational point. -/ |
| 11 | universe u v |
| 12 | variable {R : Type u} [CommRing R] {ι : Type v} |
| 13 | |
| 14 | def polynomialTranslation (a : ι → R) : MvPolynomial ι R ≃ₐ[R] MvPolynomial ι R := |
| 15 | AlgEquiv.ofAlgHom |
| 16 | (MvPolynomial.aeval fun i => MvPolynomial.X i - MvPolynomial.C (a i)) |
| 17 | (MvPolynomial.aeval fun i => MvPolynomial.X i + MvPolynomial.C (a i)) |
| 18 | (by ext i; simp) |
| 19 | (by ext i; simp) |
| 20 | |
| 21 | @[simp] theorem polynomialTranslation_X (a : ι → R) (i : ι) : |
| 22 | polynomialTranslation a (MvPolynomial.X i) = |
| 23 | MvPolynomial.X i - MvPolynomial.C (a i) := |
| 24 | MvPolynomial.aeval_X _ _ |
| 25 | |
| 26 | theorem coordinate_difference_list_regular [Nontrivial R] |
| 27 | (a : ι → R) (xs : List ι) (hxs : xs.Nodup) : |
| 28 | Regular.SequenceBasic.RingTheory.Sequence.IsRegular (MvPolynomial ι R) |
| 29 | (xs.map fun i => MvPolynomial.X i - MvPolynomial.C (a i)) := by |
| 30 | have hcongr : Regular.SequenceBasic.RingTheory.Sequence.IsRegular (MvPolynomial ι R) (xs.map (MvPolynomial.X : ι → MvPolynomial ι R)) ↔ |
| 31 | Regular.SequenceBasic.RingTheory.Sequence.IsRegular (MvPolynomial ι R) |
| 32 | (xs.map fun i => MvPolynomial.X i - MvPolynomial.C (a i)) := by |
| 33 | apply Regular.SequenceBasic.AddEquiv.isRegular_congr |
| 34 | (e := (polynomialTranslation a).toRingEquiv.toAddEquiv) |
| 35 | apply List.forall₂_map_left_iff.mpr |
| 36 | apply List.forall₂_map_right_iff.mpr |
| 37 | apply List.forall₂_same.mpr |
| 38 | intro i _ p |
| 39 | change polynomialTranslation a (MvPolynomial.X i * p) = |
| 40 | (MvPolynomial.X i - MvPolynomial.C (a i)) * polynomialTranslation a p |
| 41 | rw [map_mul, polynomialTranslation_X] |
| 42 | exact hcongr.mp (VariableSequence.variable_list_regular xs hxs) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.Translation |