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.ThetaCycle.JacobiDisplacement |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.JacobiBlockAction |
| 3 | |
| 4 | /-! # Real Gaussian Covariance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealGaussianCovariance.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! ThetaCycle: exact real displacement coordinates, Jacobi change, and |
| 13 | exponential correction for the oscillator in classical graph order. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open _root_.Matrix |
| 17 | |
| 18 | def transformedPositionShift {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 19 | (q p : Fin N → ℝ) : Fin N → ℝ := g.D *ᵥ q + g.C *ᵥ p |
| 20 | |
| 21 | def transformedMomentumShift {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 22 | (q p : Fin N → ℝ) : Fin N → ℝ := g.B *ᵥ q + g.A *ᵥ p |
| 23 | |
| 24 | theorem transformed_position_complexification {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 25 | (q p : Fin N → ℝ) : |
| 26 | (fun i => (transformedPositionShift g q p i : ℂ)) = |
| 27 | g.complexify.D *ᵥ (fun i => (q i : ℂ)) + g.complexify.C *ᵥ (fun i => (p i : ℂ)) := by |
| 28 | change (fun i => (((g.D *ᵥ q) i + (g.C *ᵥ p) i : ℝ) : ℂ)) = _ |
| 29 | simp only [Complex.ofReal_add] |
| 30 | change (fun i => ((g.D *ᵥ q) i : ℂ)) + (fun i => ((g.C *ᵥ p) i : ℂ)) = _ |
| 31 | rw [RepresentationTheory.Weil.Local.SiegelGaussian.Construction.complexify_mulVec, RepresentationTheory.Weil.Local.SiegelGaussian.Construction.complexify_mulVec] |
| 32 | rfl |
| 33 | |
| 34 | theorem transformed_momentum_complexification {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 35 | (q p : Fin N → ℝ) : |
| 36 | (fun i => (transformedMomentumShift g q p i : ℂ)) = |
| 37 | g.complexify.B *ᵥ (fun i => (q i : ℂ)) + g.complexify.A *ᵥ (fun i => (p i : ℂ)) := by |
| 38 | change (fun i => (((g.B *ᵥ q) i + (g.A *ᵥ p) i : ℝ) : ℂ)) = _ |
| 39 | simp only [Complex.ofReal_add] |
| 40 | change (fun i => ((g.B *ᵥ q) i : ℂ)) + (fun i => ((g.A *ᵥ p) i : ℂ)) = _ |
| 41 | rw [RepresentationTheory.Weil.Local.SiegelGaussian.Construction.complexify_mulVec, RepresentationTheory.Weil.Local.SiegelGaussian.Construction.complexify_mulVec] |
| 42 | rfl |
| 43 | |
| 44 | theorem transformed_displacement_jacobi {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 45 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (q p : Fin N → ℝ) : |
| 46 | JacobiDisplacement.CM.displacementJacobi (g.transformSiegel Z) (transformedPositionShift g q p) |
| 47 | (transformedMomentumShift g q p) = g.jacobiChange Z (JacobiDisplacement.CM.displacementJacobi Z q p) := by |
| 48 | rw [JacobiDisplacement.CM.displacementJacobi, transformed_position_complexification, transformed_momentum_complexification, |
| 49 | ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.transformSiegel_matrix, ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] |
| 50 | exact JacobiBlockAction.CM.jacobi_phase_action g.complexify Z.matrix Z.symmetric (g.denominator_det_isUnit Z) _ _ |
| 51 | |
| 52 | theorem transformed_displacement_pairing {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 53 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (q p : Fin N → ℝ) : |
| 54 | (fun i => (q i : ℂ)) ⬝ᵥ JacobiDisplacement.CM.displacementJacobi Z q p - |
| 55 | (fun i => (transformedPositionShift g q p i : ℂ)) ⬝ᵥ |
| 56 | JacobiDisplacement.CM.displacementJacobi (g.transformSiegel Z) (transformedPositionShift g q p) |
| 57 | (transformedMomentumShift g q p) = |
| 58 | -(JacobiDisplacement.CM.displacementJacobi Z q p ⬝ᵥ |
| 59 | ((g.complexify.denominator Z.matrix)⁻¹ * g.complexify.C) *ᵥ JacobiDisplacement.CM.displacementJacobi Z q p) := by |
| 60 | rw [transformed_displacement_jacobi, transformed_position_complexification, |
| 61 | ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] |
| 62 | exact JacobiBlockAction.CM.jacobi_pairing_correction g.complexify Z.matrix (g.denominator_det_isUnit Z) _ _ |
| 63 | |
| 64 | theorem transformed_displacement_scalar {N : ℕ} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (Fin N) ℝ) |
| 65 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (q p : Fin N → ℝ) : |
| 66 | JacobiDisplacement.CM.displacementScalar (g.transformSiegel Z) (transformedPositionShift g q p) |
| 67 | (transformedMomentumShift g q p) / JacobiDisplacement.CM.displacementScalar Z q p = |
| 68 | Complex.exp (-(g.thetaCorrectionForm Z (JacobiDisplacement.CM.displacementJacobi Z q p) (JacobiDisplacement.CM.displacementJacobi Z q p))) := by |
| 69 | rw [JacobiDisplacement.CM.displacementScalar, JacobiDisplacement.CM.displacementScalar, ← Complex.exp_sub] |
| 70 | congr 1 |
| 71 | calc |
| 72 | _ = (Real.pi : ℂ) * Complex.I * |
| 73 | ((fun i => (q i : ℂ)) ⬝ᵥ JacobiDisplacement.CM.displacementJacobi Z q p - |
| 74 | (fun i => (transformedPositionShift g q p i : ℂ)) ⬝ᵥ |
| 75 | JacobiDisplacement.CM.displacementJacobi (g.transformSiegel Z) (transformedPositionShift g q p) |
| 76 | (transformedMomentumShift g q p)) := by ring |
| 77 | _ = _ := by rw [transformed_displacement_pairing, ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.thetaCorrectionForm_apply, mul_neg] |
| 78 | |
| 79 | theorem swapped_symplectic_phase_action {N : ℕ} (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℝ) (q p : Fin N → ℝ) : |
| 80 | RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (OscillatorPhaseOrder.CM.swapSymplecticPhase g) (Sum.elim q p) = |
| 81 | Sum.elim (transformedPositionShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) (transformedMomentumShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) := by |
| 82 | change (OscillatorPhaseOrder.CM.swapSymplecticPhase g).val *ᵥ Sum.elim q p = _ |
| 83 | rw [OscillatorPhaseOrder.CM.swap_symplectic_phase_blocks] |
| 84 | ext i |
| 85 | cases i <;> simp [Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks, |
| 86 | transformedPositionShift, transformedMomentumShift, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks, Matrix.toBlocks₁₁, |
| 87 | Matrix.toBlocks₁₂, Matrix.toBlocks₂₁, Matrix.toBlocks₂₂] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! ThetaCycle: the full Jacobi-Gaussian transformation law of the actual real |
| 92 | oscillator. Its scalar is the independently computed coefficient at zero. -/ |
| 93 | |
| 94 | open scoped Classical _root_.Matrix |
| 95 | |
| 96 | theorem displaced_gaussian_heisenberg_graph {N : ℕ} (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) |
| 97 | (q p : Fin N → ℝ) : |
| 98 | RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.heisenbergGraph (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1) (Sum.elim q p) (RealGaussianCoefficient.CM.realSiegelGaussian Z 0) |
| 99 | (JacobiDisplacement.CM.displacementScalar Z q p • RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p)) := by |
| 100 | funext x |
| 101 | exact (JacobiDisplacement.CM.heisenberg_gaussian_displacement Z q p x).symm |
| 102 | |
| 103 | theorem real_oscillator_displaced_gaussian {N : ℕ} (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℝ) |
| 104 | (a : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.Oscillator ℝ N (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1)) |
| 105 | (ha : RepresentationTheory.Weil.Local.OscillatorProjection.Construction.oscillatorProjection ℝ N (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1) a = OscillatorPhaseOrder.CM.swapSymplecticPhase g) |
| 106 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (q p : Fin N → ℝ) : |
| 107 | a.val.2 (RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p)) = |
| 108 | (RealGaussianCoefficient.CM.realGaussianCoefficient a Z * |
| 109 | (JacobiDisplacement.CM.displacementScalar ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 110 | (transformedPositionShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) (transformedMomentumShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) / |
| 111 | JacobiDisplacement.CM.displacementScalar Z q p)) • |
| 112 | RealGaussianCoefficient.CM.realSiegelGaussian ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 113 | (JacobiDisplacement.CM.displacementJacobi ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 114 | (transformedPositionShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) (transformedMomentumShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p)) := by |
| 115 | obtain ⟨_, _, hcoeff⟩ := RealGaussianCoefficient.CM.real_oscillator_gaussian_coefficient g a ha |
| 116 | have h := (a.property.2 (Sum.elim q p) (RealGaussianCoefficient.CM.realSiegelGaussian Z 0) |
| 117 | (JacobiDisplacement.CM.displacementScalar Z q p • RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p))).mp |
| 118 | (displaced_gaussian_heisenberg_graph Z q p) |
| 119 | have hproj : a.val.1 = OscillatorPhaseOrder.CM.swapSymplecticPhase g := ha |
| 120 | change (a.val.2 (JacobiDisplacement.CM.displacementScalar Z q p • RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p))).val = |
| 121 | RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.heisenbergFunction (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1) (RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.symplecticAction a.val.1 (Sum.elim q p)) |
| 122 | (a.val.2 (RealGaussianCoefficient.CM.realSiegelGaussian Z 0)).val at h |
| 123 | rw [hproj, swapped_symplectic_phase_action, (hcoeff Z).2, map_smul] at h |
| 124 | apply Subtype.ext |
| 125 | funext x |
| 126 | have hx := congrFun h x |
| 127 | have he : JacobiDisplacement.CM.displacementScalar Z q p * |
| 128 | (a.val.2 (RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p))).val x = |
| 129 | RealGaussianCoefficient.CM.realGaussianCoefficient a Z * |
| 130 | (JacobiDisplacement.CM.displacementScalar ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 131 | (transformedPositionShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) (transformedMomentumShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) * |
| 132 | (RealGaussianCoefficient.CM.realSiegelGaussian ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 133 | (JacobiDisplacement.CM.displacementJacobi ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) |
| 134 | (transformedPositionShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p) (transformedMomentumShift (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g) q p))).val x) := by |
| 135 | rw [← JacobiDisplacement.CM.heisenberg_gaussian_displacement] |
| 136 | simpa only [RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.heisenbergFunction, Submodule.coe_smul, Pi.smul_apply, smul_eq_mul, |
| 137 | mul_assoc, mul_comm, mul_left_comm] using hx |
| 138 | change (a.val.2 (RealGaussianCoefficient.CM.realSiegelGaussian Z (JacobiDisplacement.CM.displacementJacobi Z q p))).val x = _ |
| 139 | apply mul_left_cancel₀ (JacobiDisplacement.CM.displacement_scalar_ne_zero Z q p) |
| 140 | rw [he] |
| 141 | change _ = JacobiDisplacement.CM.displacementScalar Z q p * |
| 142 | ((RealGaussianCoefficient.CM.realGaussianCoefficient a Z * (_ / JacobiDisplacement.CM.displacementScalar Z q p)) * _) |
| 143 | field_simp [JacobiDisplacement.CM.displacement_scalar_ne_zero Z q p] |
| 144 | |
| 145 | theorem real_oscillator_full_gaussian_covariance {N : ℕ} (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℝ) |
| 146 | (a : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.Oscillator ℝ N (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1)) |
| 147 | (ha : RepresentationTheory.Weil.Local.OscillatorProjection.Construction.oscillatorProjection ℝ N (RepresentationTheory.Weil.Local.Gaussian.Construction.realCharacter 1) a = OscillatorPhaseOrder.CM.swapSymplecticPhase g) |
| 148 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (z : Fin N → ℂ) : |
| 149 | a.val.2 (RealGaussianCoefficient.CM.realSiegelGaussian Z z) = |
| 150 | (RealGaussianCoefficient.CM.realGaussianCoefficient a Z * Complex.exp (-(RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).thetaCorrectionForm Z z z)) • |
| 151 | RealGaussianCoefficient.CM.realSiegelGaussian ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).transformSiegel Z) ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.blocks g).jacobiChange Z z) := by |
| 152 | obtain ⟨q, p, rfl⟩ := JacobiDisplacement.CM.exists_real_jacobi_displacement Z z |
| 153 | have h := real_oscillator_displaced_gaussian g a ha Z q p |
| 154 | rw [transformed_displacement_scalar, transformed_displacement_jacobi] at h |
| 155 | exact h |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealGaussianCovariance.CM |