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 Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho |
| 2 | import Mathlib.Analysis.InnerProductSpace.Continuous |
| 3 | |
| 4 | /-! # Gram Schmidt Continuity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.GramSchmidtContinuity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Gram--Schmidt varies continuously in a linearly independent |
| 11 | finite family of vectors. -/ |
| 12 | |
| 13 | open InnerProductSpace |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem gramSchmidt_continuous_family |
| 17 | {X E : Type*} [TopologicalSpace X] [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 18 | {n : ℕ} (f : X → Fin n → E) (hf : ∀ i, Continuous (fun x => f x i)) |
| 19 | (hli : ∀ x, LinearIndependent ℝ (f x)) (i : Fin n) : |
| 20 | Continuous (fun x => gramSchmidt ℝ (f x) i) := by |
| 21 | induction i using (wellFounded_lt (α := Fin n)).induction with |
| 22 | | h i ih => |
| 23 | have hrec (x : X) : gramSchmidt ℝ (f x) i = f x i - |
| 24 | ∑ j ∈ Finset.Iio i, |
| 25 | (inner ℝ (gramSchmidt ℝ (f x) j) (f x i) / ‖gramSchmidt ℝ (f x) j‖ ^ 2) • |
| 26 | gramSchmidt ℝ (f x) j := by |
| 27 | rw [eq_sub_iff_add_eq] |
| 28 | exact (gramSchmidt_def'' ℝ (f x) i).symm |
| 29 | simp_rw [hrec] |
| 30 | apply (hf i).sub |
| 31 | apply continuous_finsetSum |
| 32 | intro j hj |
| 33 | have hc := ih j (Finset.mem_Iio.mp hj) |
| 34 | exact ((hc.inner (hf i)).div (hc.norm.pow 2) (fun x => |
| 35 | pow_ne_zero 2 (norm_ne_zero_iff.mpr (gramSchmidt_ne_zero j (hli x))))).smul hc |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.ArithmeticGroups.Lattices.GramSchmidtContinuity.Construction |