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.Bilinear.EuclideanCoordinates |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.UnitAction |
| 3 | |
| 4 | /-! # Diagonal Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DiagonalCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ordinary real coordinates for bilinear operations and their |
| 11 | diagonal change-of-basis weights. -/ |
| 12 | |
| 13 | open scoped Classical OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.UnitAction.Construction.BracketAction |
| 14 | |
| 15 | variable {L ι : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 16 | [Fintype ι] |
| 17 | |
| 18 | def continuousBilinearCoordinates (b : Module.Basis ι ℝ L) : |
| 19 | (L →L[ℝ] L →L[ℝ] L) ≃L[ℝ] (ι × ι × ι → ℝ) := |
| 20 | ((ContinuousBracketChange.Construction.finiteBilinearEquiv.symm.trans (EuclideanCoordinates.Construction.bilinearNestedBasisCoordinates b)).trans |
| 21 | (EuclideanCoordinates.Construction.tripleUncurryLinearEquiv ℝ ι)).toContinuousLinearEquiv |
| 22 | |
| 23 | theorem continuousBilinearCoordinates_apply (b : Module.Basis ι ℝ L) |
| 24 | (B : L →L[ℝ] L →L[ℝ] L) (i j l : ι) : |
| 25 | continuousBilinearCoordinates b B (i, j, l) = b.equivFun (B (b i) (b j)) l := rfl |
| 26 | |
| 27 | omit [FiniteDimensional ℝ L] in |
| 28 | theorem diagonal_operator_coordinate (b : Module.Basis ι ℝ L) |
| 29 | (A : L →L[ℝ] L) (a : ι → ℝ) (hA : ∀ i, A (b i) = a i • b i) (x : L) (i : ι) : |
| 30 | b.equivFun (A x) i = a i * b.equivFun x i := by |
| 31 | have he : (b.coord i).comp A.toLinearMap = a i • b.coord i := by |
| 32 | apply b.ext |
| 33 | intro j |
| 34 | simp only [Module.Basis.coord_apply, LinearMap.comp_apply, ContinuousLinearMap.coe_coe, |
| 35 | hA, map_smul, smul_eq_mul, LinearMap.smul_apply, |
| 36 | Module.Basis.repr_self_apply] |
| 37 | by_cases hij : j = i |
| 38 | · subst j; rfl |
| 39 | · simp [hij] |
| 40 | exact LinearMap.congr_fun he x |
| 41 | |
| 42 | omit [FiniteDimensional ℝ L] [Fintype ι] in |
| 43 | theorem diagonal_unit_inverse_basis (b : Module.Basis ι ℝ L) |
| 44 | (g : (L →L[ℝ] L)ˣ) (a : ι → ℝ) (ha : ∀ i, a i ≠ 0) |
| 45 | (hg : ∀ i, g.val (b i) = a i • b i) (i : ι) : |
| 46 | (g⁻¹).val (b i) = (a i)⁻¹ • b i := by |
| 47 | apply (ContinuousLinearEquiv.ofUnit g).injective |
| 48 | change g.val ((g⁻¹).val (b i)) = g.val ((a i)⁻¹ • b i) |
| 49 | rw [← ContinuousLinearMap.comp_apply, ← ContinuousLinearMap.mul_def, |
| 50 | Units.mul_inv, one_apply_eq_self, map_smul, hg, smul_smul, inv_mul_cancel₀ (ha i), one_smul] |
| 51 | |
| 52 | theorem continuousBilinearCoordinates_diagonal_action (b : Module.Basis ι ℝ L) |
| 53 | (g : (L →L[ℝ] L)ˣ) (a : ι → ℝ) (ha : ∀ i, a i ≠ 0) |
| 54 | (hg : ∀ i, g.val (b i) = a i • b i) (B : L →L[ℝ] L →L[ℝ] L) (i j l : ι) : |
| 55 | continuousBilinearCoordinates b (g • B) (i, j, l) = |
| 56 | (a l * (a i)⁻¹ * (a j)⁻¹) * continuousBilinearCoordinates b B (i, j, l) := by |
| 57 | change b.equivFun (g.val (B ((g⁻¹).val (b i)) ((g⁻¹).val (b j)))) l = _ |
| 58 | rw [diagonal_unit_inverse_basis b g a ha hg, diagonal_unit_inverse_basis b g a ha hg, |
| 59 | diagonal_operator_coordinate b g.val a hg] |
| 60 | simp only [map_smul, smul_apply, Pi.smul_apply, smul_eq_mul, continuousBilinearCoordinates_apply] |
| 61 | ring |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DiagonalCoordinates.Construction |