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.CycleClass.Thom.PolynomialRegularSequence |
| 2 | import Mathlib.Algebra.MvPolynomial.Equiv |
| 3 | |
| 4 | /-! # Polynomial Shifted Regular Sequence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PolynomialShiftedRegularSequence.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial coordinates minus prescribed scalar values form a |
| 11 | regular sequence. Translation is an actual polynomial automorphism, |
| 12 | and flat base change transports the resulting sequence. -/ |
| 13 | |
| 14 | open RingTheory.Sequence _root_.MvPolynomial |
| 15 | |
| 16 | universe u v |
| 17 | variable (R : Type u) [CommRing R] {σ : Type v} (c : σ → R) |
| 18 | |
| 19 | def translation : MvPolynomial σ R ≃ₐ[R] MvPolynomial σ R := |
| 20 | AlgEquiv.ofAlgHom (aeval (fun i => X i - C (c i))) (aeval (fun i => X i + C (c i))) |
| 21 | (by ext i; simp) (by ext i; simp) |
| 22 | |
| 23 | theorem translation_X (i : σ) : translation R c (X i) = X i - C (c i) := by |
| 24 | exact aeval_X _ _ |
| 25 | |
| 26 | theorem shifted_weaklyRegular (ls : List σ) (hl : ls.Nodup) : |
| 27 | IsWeaklyRegular (MvPolynomial σ R) (ls.map (fun i => X i - C (c i))) := by |
| 28 | apply ((translation R c).toAddEquiv.isWeaklyRegular_congr |
| 29 | (as := ls.map (X (R := R))) (bs := ls.map (fun i => X i - C (c i))) ?_).mp |
| 30 | (PolynomialRegularSequence.Constructions.variables_weaklyRegular ls hl) |
| 31 | apply List.forall₂_map_left_iff.mpr |
| 32 | apply List.forall₂_map_right_iff.mpr |
| 33 | apply List.forall₂_same.mpr |
| 34 | intro i _ x |
| 35 | change translation R c (X i * x) = (X i - C (c i)) * translation R c x |
| 36 | rw [map_mul, translation_X] |
| 37 | |
| 38 | def reflection : MvPolynomial σ R ≃ₐ[R] MvPolynomial σ R := |
| 39 | AlgEquiv.ofAlgHom (aeval (fun i => C (c i) - X i)) (aeval (fun i => C (c i) - X i)) |
| 40 | (by ext i; simp) (by ext i; simp) |
| 41 | |
| 42 | theorem reflection_X (i : σ) : reflection R c (X i) = C (c i) - X i := by |
| 43 | exact aeval_X _ _ |
| 44 | |
| 45 | theorem reflected_weaklyRegular (ls : List σ) (hl : ls.Nodup) : |
| 46 | IsWeaklyRegular (MvPolynomial σ R) (ls.map (fun i => C (c i) - X i)) := by |
| 47 | apply ((reflection R c).toAddEquiv.isWeaklyRegular_congr |
| 48 | (as := ls.map (X (R := R))) (bs := ls.map (fun i => C (c i) - X i)) ?_).mp |
| 49 | (PolynomialRegularSequence.Constructions.variables_weaklyRegular ls hl) |
| 50 | apply List.forall₂_map_left_iff.mpr |
| 51 | apply List.forall₂_map_right_iff.mpr |
| 52 | apply List.forall₂_same.mpr |
| 53 | intro i _ x |
| 54 | change reflection R c (X i * x) = (C (c i) - X i) * reflection R c x |
| 55 | rw [map_mul, reflection_X] |
| 56 | |
| 57 | variable (A : Type*) [CommRing A] [Algebra (MvPolynomial σ R) A] |
| 58 | [Module.Flat (MvPolynomial σ R) A] |
| 59 | |
| 60 | theorem shifted_flat_weaklyRegular (ls : List σ) (hl : ls.Nodup) : |
| 61 | IsWeaklyRegular A |
| 62 | (ls.map (fun i => algebraMap (MvPolynomial σ R) A (X i - C (c i)))) := by |
| 63 | simpa only [List.map_map, Function.comp_def] using |
| 64 | (shifted_weaklyRegular R c ls hl).of_flat (S := A) |
| 65 | |
| 66 | theorem reflected_flat_weaklyRegular (ls : List σ) (hl : ls.Nodup) : |
| 67 | IsWeaklyRegular A |
| 68 | (ls.map (fun i => algebraMap (MvPolynomial σ R) A (C (c i) - X i))) := by |
| 69 | simpa only [List.map_map, Function.comp_def] using |
| 70 | (reflected_weaklyRegular R c ls hl).of_flat (S := A) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.CycleClass.Thom.PolynomialShiftedRegularSequence.Constructions |