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.NumberTheory.ArithmeticGroups.Lattices.CommutingSymmetricWeights |
| 2 | |
| 3 | /-! # Invariant Form Weight Pairing -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFormWeightPairing.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A nondegenerate invariant bilinear form pairs each simultaneous |
| 10 | weight with its negative. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem invariant_form_weights_opposite |
| 15 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [Fintype ι] |
| 16 | (a : Submodule ℝ (L →L[ℝ] L)) (b : OrthonormalBasis ι ℝ L) |
| 17 | (w : ι → Module.Dual ℝ a) (heig : ∀ i (A : a), A.val (b i) = w i A • b i) |
| 18 | (Q : LinearMap.BilinForm ℝ L) (hQ : Q.Nondegenerate) |
| 19 | (hinv : ∀ (A : a) x y, Q (A.val x) y + Q x (A.val y) = 0) : |
| 20 | ∀ i, ∃ j, w j = -w i := by |
| 21 | intro i |
| 22 | have hj : ∃ j, Q (b i) (b j) ≠ 0 := by |
| 23 | by_contra! h |
| 24 | have hz : Q (b i) = 0 := b.toBasis.ext (fun j => h j) |
| 25 | have hi : b i = 0 := hQ.1 (b i) (fun y => DFunLike.congr_fun hz y) |
| 26 | exact b.toBasis.ne_zero i hi |
| 27 | obtain ⟨j, hj⟩ := hj |
| 28 | refine ⟨j, ?_⟩ |
| 29 | ext A |
| 30 | have he := hinv A (b i) (b j) |
| 31 | rw [heig, heig] at he |
| 32 | simp only [map_smul, smul_eq_mul] at he |
| 33 | have hs : w i A + w j A = 0 := (mul_eq_zero.mp (by rwa [add_mul])).resolve_right hj |
| 34 | change w j A = -(w i A) |
| 35 | linarith |
| 36 | |
| 37 | theorem eigenbasis_weights_separate |
| 38 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [Fintype ι] |
| 39 | (a : Submodule ℝ (L →L[ℝ] L)) (b : OrthonormalBasis ι ℝ L) |
| 40 | (w : ι → Module.Dual ℝ a) (heig : ∀ i (A : a), A.val (b i) = w i A • b i) : |
| 41 | ∀ A : a, (∀ i, w i A = 0) → A = 0 := by |
| 42 | intro A hA |
| 43 | apply Subtype.ext |
| 44 | have hz : A.val.toLinearMap = 0 := by |
| 45 | apply b.toBasis.ext |
| 46 | intro i |
| 47 | change A.val (b i) = 0 |
| 48 | rw [heig, hA, zero_smul] |
| 49 | apply ContinuousLinearMap.ext |
| 50 | intro x |
| 51 | exact DFunLike.congr_fun hz x |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFormWeightPairing.Construction |