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.ContinuousBracketRepresentation |
| 3 | import Mathlib.Analysis.InnerProductSpace.Adjoint |
| 4 | import Mathlib.Analysis.InnerProductSpace.Trace |
| 5 | |
| 6 | /-! # Hilbert Schmidt -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.HilbertSchmidt.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The Euclidean norm on bilinear-operation coordinates is the |
| 13 | Hilbert--Schmidt norm. Infinitesimal changes of basis respect adjoints |
| 14 | for its associated inner product. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open _root_.ContinuousLinearMap |
| 18 | |
| 19 | variable {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] |
| 20 | [FiniteDimensional ℝ L] [Fintype ι] |
| 21 | |
| 22 | theorem continuousBilinearEuclideanCoordinates_inner |
| 23 | (b : OrthonormalBasis ι ℝ L) (B C : L →L[ℝ] L →L[ℝ] L) : |
| 24 | inner ℝ (EuclideanCoordinates.Construction.continuousBilinearEuclideanCoordinates b.toBasis B) |
| 25 | (EuclideanCoordinates.Construction.continuousBilinearEuclideanCoordinates b.toBasis C) = |
| 26 | ∑ i, ∑ j, inner ℝ (B (b i) (b j)) (C (b i) (b j)) := by |
| 27 | change (∑ p : ι × ι × ι, |
| 28 | EuclideanCoordinates.Construction.continuousBilinearEuclideanCoordinates b.toBasis C p * |
| 29 | EuclideanCoordinates.Construction.continuousBilinearEuclideanCoordinates b.toBasis B p) = _ |
| 30 | rw [Fintype.sum_prod_type] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro i _ |
| 33 | rw [Fintype.sum_prod_type] |
| 34 | apply Finset.sum_congr rfl |
| 35 | intro j _ |
| 36 | simp only [EuclideanCoordinates.Construction.continuousBilinearEuclideanCoordinates_apply, Module.Basis.equivFun_apply, |
| 37 | OrthonormalBasis.coe_toBasis_repr_apply, OrthonormalBasis.coe_toBasis] |
| 38 | exact b.repr.inner_map_map (B (b i) (b j)) (C (b i) (b j)) |
| 39 | |
| 40 | omit [FiniteDimensional ℝ L] in |
| 41 | theorem orthonormal_sum_inner_precomp_adjoint [CompleteSpace L] |
| 42 | (b : OrthonormalBasis ι ℝ L) (A F G : L →L[ℝ] L) : |
| 43 | ∑ i, inner ℝ (F (A (b i))) (G (b i)) = |
| 44 | ∑ i, inner ℝ (F (b i)) (G (adjoint A (b i))) := by |
| 45 | let T : L →L[ℝ] L := (adjoint F).comp G |
| 46 | have hleft : (∑ i, inner ℝ (F (A (b i))) (G (b i))) = |
| 47 | LinearMap.trace ℝ L ((adjoint A).toLinearMap * T.toLinearMap) := by |
| 48 | rw [LinearMap.trace_eq_sum_inner _ b] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | change inner ℝ (F (A (b i))) (G (b i)) = inner ℝ (b i) (adjoint A (adjoint F (G (b i)))) |
| 52 | rw [adjoint_inner_right, adjoint_inner_right] |
| 53 | have hright : LinearMap.trace ℝ L (T.toLinearMap * (adjoint A).toLinearMap) = |
| 54 | ∑ i, inner ℝ (F (b i)) (G (adjoint A (b i))) := by |
| 55 | rw [LinearMap.trace_eq_sum_inner _ b] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro i _ |
| 58 | change inner ℝ (b i) (adjoint F (G (adjoint A (b i)))) = _ |
| 59 | rw [adjoint_inner_right] |
| 60 | exact hleft.trans ((LinearMap.trace_mul_comm _ _ _).trans hright) |
| 61 | |
| 62 | theorem bilinear_derivationDefect_sum_inner [CompleteSpace L] |
| 63 | (b : OrthonormalBasis ι ℝ L) (A : L →L[ℝ] L) (B C : L →L[ℝ] L →L[ℝ] L) : |
| 64 | (∑ i, ∑ j, inner ℝ (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A (b i) (b j)) (C (b i) (b j))) = |
| 65 | ∑ i, ∑ j, inner ℝ (B (b i) (b j)) |
| 66 | (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect C (adjoint A) (b i) (b j)) := by |
| 67 | have h₀ : (∑ i, ∑ j, inner ℝ (A (B (b i) (b j))) (C (b i) (b j))) = |
| 68 | ∑ i, ∑ j, inner ℝ (B (b i) (b j)) (adjoint A (C (b i) (b j))) := by |
| 69 | apply Finset.sum_congr rfl |
| 70 | intro i _ |
| 71 | apply Finset.sum_congr rfl |
| 72 | intro j _ |
| 73 | exact (adjoint_inner_right A _ _).symm |
| 74 | have h₁ : (∑ i, ∑ j, inner ℝ (B (A (b i)) (b j)) (C (b i) (b j))) = |
| 75 | ∑ i, ∑ j, inner ℝ (B (b i) (b j)) (C (adjoint A (b i)) (b j)) := by |
| 76 | rw [Finset.sum_comm] |
| 77 | conv_rhs => rw [Finset.sum_comm] |
| 78 | apply Finset.sum_congr rfl |
| 79 | intro j _ |
| 80 | exact orthonormal_sum_inner_precomp_adjoint b A (B.flip (b j)) (C.flip (b j)) |
| 81 | have h₂ : (∑ i, ∑ j, inner ℝ (B (b i) (A (b j))) (C (b i) (b j))) = |
| 82 | ∑ i, ∑ j, inner ℝ (B (b i) (b j)) (C (b i) (adjoint A (b j))) := by |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro i _ |
| 85 | exact orthonormal_sum_inner_precomp_adjoint b A (B (b i)) (C (b i)) |
| 86 | simp only [Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect_apply, inner_sub_left, inner_sub_right, |
| 87 | Finset.sum_sub_distrib, h₀, h₁, h₂] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.HilbertSchmidt.Construction |