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.RepresentationTheory.Theta.Geometric.SquareZero.LinearDetection |
| 2 | |
| 3 | /-! # Subalgebra -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.Subalgebra |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The constants together with an injected square-zero complex vector |
| 10 | space form an actual split square-zero subalgebra of the ambient ring. -/ |
| 11 | |
| 12 | variable {M R : Type*} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] [IsCentralScalar ℂ M] |
| 13 | [CommRing R] [Algebra ℂ R] |
| 14 | |
| 15 | def squareZeroSubalgebraMap (i : M →ₗ[ℂ] R) (hsq : ∀ x y, i x * i y = 0) : |
| 16 | TrivSqZeroExt ℂ M →ₐ[ℂ] R := |
| 17 | TrivSqZeroExt.liftEquivOfComm ⟨i, hsq⟩ |
| 18 | |
| 19 | theorem squareZeroSubalgebraMap_apply (i : M →ₗ[ℂ] R) (hsq : ∀ x y, i x * i y = 0) |
| 20 | (x : TrivSqZeroExt ℂ M) : |
| 21 | squareZeroSubalgebraMap i hsq x = algebraMap ℂ R x.fst + i x.snd := rfl |
| 22 | |
| 23 | theorem squareZeroSubalgebraMap_eq_zero [Nontrivial R] |
| 24 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 25 | (x : TrivSqZeroExt ℂ M) (hx : squareZeroSubalgebraMap i hsq x = 0) : x = 0 := by |
| 26 | have hsum : algebraMap ℂ R x.fst + i x.snd = 0 := hx |
| 27 | have hc : algebraMap ℂ R x.fst = -i x.snd := eq_neg_of_add_eq_zero_left hsum |
| 28 | have hc2 : algebraMap ℂ R (x.fst * x.fst) = 0 := by |
| 29 | rw [map_mul, hc, neg_mul_neg, hsq] |
| 30 | have hc0 : x.fst = 0 := mul_self_eq_zero.mp |
| 31 | ((algebraMap ℂ R).injective (hc2.trans (map_zero (algebraMap ℂ R)).symm)) |
| 32 | have hm : i x.snd = 0 := by |
| 33 | simpa only [hc0, map_zero, zero_add] using hsum |
| 34 | exact TrivSqZeroExt.ext hc0 (hi (hm.trans (map_zero i).symm)) |
| 35 | |
| 36 | theorem squareZeroSubalgebraMap_injective [Nontrivial R] |
| 37 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) : |
| 38 | Function.Injective (squareZeroSubalgebraMap i hsq) := by |
| 39 | intro x y h |
| 40 | apply sub_eq_zero.mp |
| 41 | apply squareZeroSubalgebraMap_eq_zero i hi hsq |
| 42 | rw [map_sub, h, sub_self] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.Subalgebra |