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.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.BasisTransport |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.LinearTheta |
| 3 | |
| 4 | /-! # Reindexed Theta -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ReindexedTheta.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reindexing actual finite tests, rational theta sums, and their first |
| 11 | derivatives. The two Siegel matrices are compared entry by entry. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open OAI.RepresentationTheory.Theta.Geometric.LinearTheta |
| 15 | |
| 16 | variable {I J : Type*} [Fintype I] [Fintype J] (e : I ≃ J) |
| 17 | |
| 18 | theorem siegelMatrixForm_reindex (M : Matrix J J ℂ) (x y : J → ℝ) : |
| 19 | ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm (M.submatrix e e) (fun i => x (e i)) (fun i => y (e i)) = |
| 20 | ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm M x y := by |
| 21 | simp only [ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm_apply, Matrix.submatrix_apply] |
| 22 | calc |
| 23 | _ = ∑ i : I, ∑ j : J, (x (e i) : ℂ) * ((y j : ℂ) * M (e i) j) := by |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro i _ |
| 26 | exact e.sum_comp (fun j : J => (x (e i) : ℂ) * ((y j : ℂ) * M (e i) j)) |
| 27 | _ = _ := e.sum_comp (fun i : J => ∑ j : J, (x i : ℂ) * ((y j : ℂ) * M i j)) |
| 28 | |
| 29 | theorem reindexedThetaTerm (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (ZI : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (ZJ : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J) |
| 30 | (hZ : ZI.matrix = ZJ.matrix.submatrix e e) (z : J → ℂ) (x : J → ℚ) : |
| 31 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.thetaTerm (Finite.BasisTransport.Test.reindexFiniteTest e φ) ZJ z x = |
| 32 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.thetaTerm φ ZI (fun i => z (e i)) (fun i => x (e i)) := by |
| 33 | simp only [RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.thetaTerm, Finite.BasisTransport.Test.reindexFiniteTest_rational, hZ] |
| 34 | rw [siegelMatrixForm_reindex e ZJ.matrix (fun j => (x j : ℝ)) (fun j => (x j : ℝ)), |
| 35 | e.sum_comp (fun j => (x j : ℂ) * z j)] |
| 36 | |
| 37 | theorem reindexedTheta (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (ZI : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (ZJ : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J) |
| 38 | (hZ : ZI.matrix = ZJ.matrix.submatrix e e) (z : J → ℂ) : |
| 39 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.theta (Finite.BasisTransport.Test.reindexFiniteTest e φ) ZJ z = |
| 40 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.theta φ ZI (fun i => z (e i)) := by |
| 41 | unfold RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.theta |
| 42 | simp only [reindexedThetaTerm e φ ZI ZJ hZ] |
| 43 | exact (LinearEquiv.funCongrLeft ℚ ℚ e).toEquiv.tsum_eq |
| 44 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.thetaTerm φ ZI (fun i => z (e i))) |
| 45 | |
| 46 | def positionReindexLinear (R : Type*) [NontriviallyNormedField R] : |
| 47 | (J → R) →L[R] (I → R) := |
| 48 | ContinuousLinearMap.pi fun i => ContinuousLinearMap.proj (e i) |
| 49 | |
| 50 | omit [Fintype I] [Fintype J] in |
| 51 | theorem positionReindexLinear_apply (R : Type*) [NontriviallyNormedField R] (x : J → R) : |
| 52 | positionReindexLinear e R x = fun i => x (e i) := rfl |
| 53 | |
| 54 | theorem reindexedFirst (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (ZI : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (ZJ : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J) |
| 55 | (hZ : ZI.matrix = ZJ.matrix.submatrix e e) : |
| 56 | RepresentationTheory.Theta.Geometric.LinearTheta.canonicalFirst (Finite.BasisTransport.Test.reindexFiniteTest e φ) ZJ = |
| 57 | (RepresentationTheory.Theta.Geometric.LinearTheta.canonicalFirst φ ZI).comp (positionReindexLinear e ℂ) := by |
| 58 | have hzero : positionReindexLinear e ℂ (0 : J → ℂ) = 0 := map_zero _ |
| 59 | have hd := ((hzero.symm ▸ RepresentationTheory.Theta.Geometric.LinearTheta.canonicalFirst_hasFDerivAt φ ZI).comp 0 |
| 60 | (positionReindexLinear e ℂ).hasFDerivAt) |
| 61 | have he : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.theta (Finite.BasisTransport.Test.reindexFiniteTest e φ) ZJ = |
| 62 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.theta φ ZI ∘ positionReindexLinear e ℂ := |
| 63 | funext (reindexedTheta e φ ZI ZJ hZ) |
| 64 | rw [← he] at hd |
| 65 | exact (RepresentationTheory.Theta.Geometric.LinearTheta.canonicalFirst_hasFDerivAt (Finite.BasisTransport.Test.reindexFiniteTest e φ) ZJ).unique hd |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ReindexedTheta.TestTransport |